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