fix err_amount 2nd try
[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 <!--ERR_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               <div class="radio">
106                 <label for="amount_radio_other">
107                   <input type="radio" id="amount_radio_other" name="amount"
108                          value="other" /><!--CHECKOTHER-->
109                   other
110                 </label>
111               </div>
112             </div>
113             <div class="col-md-4">
114               <input type="text" class="form-control"
115                      name="amountother" id="amountother" placeholder=""
116                      value=""/><!--AMOUNT-->
117                                                 </div>
118             <div class="col-md-4">
119               <select class="form-control" name="currency" id="currency">
120                 <option value="EUR" selected="selected"><!--SEL_EUR-->Euro</option>
121                 <option value="USD" ><!--SEL_USD-->US Dollar</option>
122                 <option value="GBP" ><!--SEL_GBP-->British Pound</option>
123                 <option value="JPY" ><!--SEL_JPY-->Yen</option>
124               </select>
125             </div>
126           </div>
127           <span class="help-block">Choosing “other” allows to donate
128                 in other currencies.</span>
129         </div>
130       </div>
131
132       <!-- Recurring -->
133       <div class="form-group">
134         <label for="recur" class="col-md-2 control-label">Recurring</label>
135         <div class="col-md-2">
136           <select class="form-control" name="recur">
137             <option value="0"
138             selected="selected"><!--RECUR_NONE-->Just once</option>
139             <option value="12" ><!--RECUR_MONTH-->Monthly</option>
140             <option value="4" ><!--RECUR_QUARTER-->Quarterly</option>
141             <option value="1" ><!--RECUR_YEAR-->Yearly</option>
142           </select>
143         </div>
144       </div>
145
146       <!-- Pay using -->
147       <div class="form-group">
148         <label for="paytype" class="col-md-2 control-label">Pay using</label>
149         <div class="col-md-6">
150           <div class="radio">
151             <label>
152               <input type="radio" name="paytype" id="cc"
153                      value="cc" /><!--CHECK_CC-->
154               Credit Card
155             </label>
156             <!--ERR_PAYTYPE-->
157           </div>
158           <div class="radio">
159             <label>
160               <input type="radio" name="paytype" id="pp"
161                      value="pp" /><!--CHECK_PP-->
162               PayPal
163             </label>
164           </div>
165           <div class="radio">
166             <label>
167               <input type="radio" name="paytype" id="se"
168                      value="se" /><!--CHECK_SE-->
169               SEPA (European bank transfer)
170             </label>
171           </div>
172         </div>
173       </div>
174
175       <!-- Name -->
176       <div class="form-group">
177         <label for="name" class="col-md-2 control-label">
178           Name
179           <p class="text-muted"><small>(optional)</small></p>
180         </label>
181         <div class="col-md-6">
182           <input type="text" class="form-control" name="name"
183                  id="f_name" placeholder="Name (optional)"
184                  value=""/><!--NAME-->
185           <!--ERR_NAME-->
186           <span class="help-block">
187             If you want to be listed on the
188              <a href="https://www.gnupg.org/donate/kudos.html"
189                 >list of donors</a>, please enter your name as
190              it shall appear there.
191           </span>
192         </div>
193       </div>
194
195       <!-- Email -->
196       <div class="form-group">
197         <label for="mail" class="col-md-2 control-label">
198           Email
199           <p class="text-muted"><small>(optional)</small></p>
200         </label>
201         <div class="col-md-6">
202           <input type="email" class="form-control" name="mail"
203                  id="f_mail" placeholder="Email (optional)"
204                  value=""/><!--MAIL-->
205            <!--ERR_MAIL-->
206           <span class="help-block">
207             In case of payment problems we may want to contact you,
208             thus please enter your e-mail address.
209           </span>
210         </div>
211       </div>
212
213       <!-- Message -->
214       <div class="form-group">
215         <label for="message" class="col-md-2 control-label">
216           Message
217           <p class="text-muted"><small>(optional)</small></p>
218         </label>
219         <div class="col-md-6">
220           <textarea class="form-control" name="message" id="f_message"
221                     rows="4"
222                     ></textarea><!--MESSAGE-->
223           <span class="help-block">
224             If you want to leave a message for us, please enter it here.
225           </span>
226         </div>
227       </div>
228       <div class="row">
229         <div class="col-md-offset-2">
230           <button type="submit" class="btn btn-primary btn-large"
231                   >Proceed to checkout</button>
232         </div>
233       </div>
234     </form>
235   </div>
236 </body>
237 #+END_HTML