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