fix err_amount
[gnupg-doc.git] / web / donate / donate.org
1 #+TITLE: GnuPG - Donate
2 #+STARTUP: showall
3 #+SETUPFILE: "../share/setup.inc"
4 #
5 # Note: Do not use relative links because this page is also used as a
6 #       template from cgi-bin/.  Using https://www.gnupg.org/... is
7 #       fine as it is stripped before publishing.
8
9 #+BEGIN_HTML
10 <!--custom-page-->  <!-- this disables all standard processing. -->
11         <!-- bootstrap core and site css -->
12         <link href="/share/3rdparty/bootstrap/bootstrap-gnupg.css" rel="stylesheet">
13         <link href="/share/campaign/campaign.css" rel="stylesheet">
14
15         <script defer src="/share/3rdparty/jquery/jquery.min.js"></script>
16         <script defer src="/share/3rdparty/bootstrap/bootstrap.min.js"></script>
17         <script defer src="/share/3rdparty/bootstrap/carousel.js"></script>
18         <script defer src="/share/3rdparty/bs-autohidingnavbar.js"></script>
19         <script defer src="/share/3rdparty/bcswipe.js"></script>
20         <script defer src="/share/campaign/campaign.js"></script>
21
22 </head>
23 <body lang="en">
24   <!-- Fixed navbar -->
25   <nav class="navbar navbar-default navbar-fixed-top">
26     <div class="container">
27
28       <div class="navbar-header">
29         <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
30           <span class="sr-only">Toggle navigation</span>
31           <span class="icon-bar"></span>
32           <span class="icon-bar"></span>
33           <span class="icon-bar"></span>
34         </button>
35         <img class="navbar-brand" alt="GnuPG" src="/share/gnupg-lock-white-250x250.png">
36       </div>
37
38       <div id="navbar" class="navbar-collapse collapse">
39         <ul class="nav navbar-nav">
40           <li><a href="/donate">Back</a></li>
41         </ul>
42       </div><!--/.nav-collapse -->
43     </div>
44   </nav>
45
46   <div class="camp-gutter container">
47     <div class="row">
48       <div class="col-md-8 col-md-offset-2">
49         <h1>Support GnuPG</h1>
50         <p>To process your donation we need to collect some information. This information is only used for the purpose of the donation and no data will ever be send to any entity not directly involved in the donation process. Not giving a name makes the donation “anonymous” in that the name won’t be listed on the public thank you page.</p>
51         <p>You can also send us <b>Bitcoin</b>. Our address is <a href="bitcoin:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"><small><tt>xxxxxxxxxxxxxxxxx&shy;xxxxxxxxxxxxxxxxx</tt></small></a>.</p>
52       </div>
53     </div>
54
55                 <div class="row">
56                         <div class="col-md-8 col-md-offset-2">
57                                 <!--ERRORPANEL-->
58                         </div>
59                 </div>
60
61
62     <form class="form-horizontal" role="form"
63           action="/cgi-bin/procdonate.cgi" method="POST">
64       <input type="hidden" name="mode" value="main">
65
66       <!-- Predefined amounts -->
67       <div class="form-group">
68         <label for="inputType" class="col-md-2 control-label">Amount</label>
69         <div class="col-md-6">
70           <label class="radio-inline">
71             <input type="radio" name="amount" id="amount500" value="500"> 500€
72           </label>
73
74           <label class="radio-inline">
75             <input type="radio" name="amount" id="amount200" value="200"> 200€
76           </label>
77
78           <label class="radio-inline">
79             <input type="radio" name="amount" id="amount100" value="100"> 100€
80           </label>
81
82           <label class="radio-inline">
83             <input type="radio" name="amount" id="amount50" value="50"> 50€
84           </label>
85
86           <label class="radio-inline">
87             <input type="radio" name="amount" id="amount20" value="20"> 20€
88           </label>
89
90           <label class="radio-inline">
91             <input type="radio" name="amount" id="amount10" value="10"> 10€
92           </label>
93
94           <label class="radio-inline">
95             <input type="radio" name="amount" id="amount5" value="5"> 5€
96           </label>
97         </div>
98       </div>
99
100       <!-- Custom amounts -->
101       <div class="form-group">
102         <div class="col-md-offset-2 col-md-6">
103           <div class="form-group row">
104             <div class="col-md-2">
105                                                         <!--ERR_AMOUNT-->
106               <div class="radio">
107                 <label for="amount_radio_other">
108                   <input type="radio" id="amount_radio_other" name="amount"
109                          value="other" /><!--CHECKOTHER-->
110                   other
111                 </label>
112               </div>
113             </div>
114             <div class="col-md-4">
115               <input type="text" class="form-control"
116                      name="amountother" id="amountother" placeholder=""
117                      value=""/><!--AMOUNT-->
118                                                 </div>
119             <div class="col-md-4">
120               <select class="form-control" name="currency" id="currency">
121                 <option value="EUR" selected="selected"><!--SEL_EUR-->Euro</option>
122                 <option value="USD" ><!--SEL_USD-->US Dollar</option>
123                 <option value="GBP" ><!--SEL_GBP-->British Pound</option>
124                 <option value="JPY" ><!--SEL_JPY-->Yen</option>
125               </select>
126             </div>
127           </div>
128           <span class="help-block">Choosing “other” allows to donate
129                 in other currencies.</span>
130         </div>
131       </div>
132
133       <!-- Recurring -->
134       <div class="form-group">
135         <label for="recur" class="col-md-2 control-label">Recurring</label>
136         <div class="col-md-2">
137           <select class="form-control" name="recur">
138             <option value="0"
139             selected="selected"><!--RECUR_NONE-->Just once</option>
140             <option value="12" ><!--RECUR_MONTH-->Monthly</option>
141             <option value="4" ><!--RECUR_QUARTER-->Quarterly</option>
142             <option value="1" ><!--RECUR_YEAR-->Yearly</option>
143           </select>
144         </div>
145       </div>
146
147       <!-- Pay using -->
148       <div class="form-group">
149         <label for="paytype" class="col-md-2 control-label">Pay using</label>
150         <div class="col-md-6">
151           <div class="radio">
152             <label>
153               <input type="radio" name="paytype" id="cc"
154                      value="cc" /><!--CHECK_CC-->
155               Credit Card
156             </label>
157             <!--ERR_PAYTYPE-->
158           </div>
159           <div class="radio">
160             <label>
161               <input type="radio" name="paytype" id="pp"
162                      value="pp" /><!--CHECK_PP-->
163               PayPal
164             </label>
165           </div>
166           <div class="radio">
167             <label>
168               <input type="radio" name="paytype" id="se"
169                      value="se" /><!--CHECK_SE-->
170               SEPA (European bank transfer)
171             </label>
172           </div>
173         </div>
174       </div>
175
176       <!-- Name -->
177       <div class="form-group">
178         <label for="name" class="col-md-2 control-label">
179           Name
180           <p class="text-muted"><small>(optional)</small></p>
181         </label>
182         <div class="col-md-6">
183           <input type="text" class="form-control" name="name"
184                  id="f_name" placeholder="Name (optional)"
185                  value=""/><!--NAME-->
186           <!--ERR_NAME-->
187           <span class="help-block">
188             If you want to be listed on the
189              <a href="https://www.gnupg.org/donate/kudos.html"
190                 >list of donors</a>, please enter your name as
191              it shall appear there.
192           </span>
193         </div>
194       </div>
195
196       <!-- Email -->
197       <div class="form-group">
198         <label for="mail" class="col-md-2 control-label">
199           Email
200           <p class="text-muted"><small>(optional)</small></p>
201         </label>
202         <div class="col-md-6">
203           <input type="email" class="form-control" name="mail"
204                  id="f_mail" placeholder="Email (optional)"
205                  value=""/><!--MAIL-->
206            <!--ERR_MAIL-->
207           <span class="help-block">
208             In case of payment problems we may want to contact you,
209             thus please enter your e-mail address.
210           </span>
211         </div>
212       </div>
213
214       <!-- Message -->
215       <div class="form-group">
216         <label for="message" class="col-md-2 control-label">
217           Message
218           <p class="text-muted"><small>(optional)</small></p>
219         </label>
220         <div class="col-md-6">
221           <textarea class="form-control" name="message" id="f_message"
222                     rows="4"
223                     ></textarea><!--MESSAGE-->
224           <span class="help-block">
225             If you want to leave a message for us, please enter it here.
226           </span>
227         </div>
228       </div>
229       <div class="row">
230         <div class="col-md-offset-2">
231           <button type="submit" class="btn btn-primary btn-large"
232                   >Proceed to checkout</button>
233         </div>
234       </div>
235     </form>
236   </div>
237 </body>
238 #+END_HTML