[git] gnupg-doc - branch, preview, updated. 1ed78c4cf6626675e6085ed5dc1a6bc2fbe81bee

by Kai Michaelis cvs at cvs.gnupg.org
Tue May 16 16:52:43 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GnuPG website and other docs".

The branch, preview has been updated
       via  1ed78c4cf6626675e6085ed5dc1a6bc2fbe81bee (commit)
      from  b9cc4e4cd66827e28b4db8b44b7c8e77460c7238 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1ed78c4cf6626675e6085ed5dc1a6bc2fbe81bee
Author: Kai Michaelis <kai at gnupg.org>
Date:   Tue May 16 16:51:58 2017 +0200

    campaign: button bar for sug. amounts

diff --git a/web/donate/donate.org b/web/donate/donate.org
index 68f93fe..1b54843 100644
--- a/web/donate/donate.org
+++ b/web/donate/donate.org
@@ -73,21 +73,9 @@
         <label for="inputType" class="col-md-2 control-label">
 					Amount <!--ERR_AMOUNT-->
 				</label>
-				<div class="col-md-1">
-					<select class="form-control" name="amount" id="amount">
-						<option value="500" /><!--CHK_AMT500--> 500 €</option>
-						<option value="200" /><!--CHK_AMT200--> 200 €</option>
-						<option value="100" /><!--CHK_AMT100--> 100 €</option>
-						<option value="50" /><!--CHK_AMT50--> 50 €</option>
-						<option value="20" /><!--CHK_AMT20--> 20 €</option>
-						<option value="10" /><!--CHK_AMT10--> 10 €</option>
-						<option value="5" /><!--CHK_AMT5--> 5 €</option>
-						<option value="other" /><!--CHK_AMTOTHER--> Other</option>
-					</select>
-				</div>
-				<div class="col-md-2">
+				<div class="col-md-3">
 					<input type="text" class="form-control"
-								 name="amountother" id="amountother" placeholder="other amount"
+								 name="amountother" id="amountother" placeholder="Other amount in €"
 								 value=""/><!--AMT_OTHER-->
 				</div>
 				<div class="col-md-2">
@@ -98,26 +86,20 @@
 						<option value="JPY" ><!--SEL_JPY-->Yen</option>
 					</select>
 				</div>
-      </div>
+			</div>
 
-      <!-- Custom amounts -->
-      <div class="form-group">
-        <div class="col-md-offset-2 col-md-6">
-          <div class="form-group row">
-            <div class="col-md-2">
-              <div class="radio">
-                <label for="amount_radio_other">
-                  <input type="radio" id="amount_radio_other" name="amount"
-                         value="other" /><!--CHK_AMTX-->
-                  other
-                </label>
-              </div>
-            </div>
-                    </div>
-          <span class="help-block">Choosing “other” allows to donate
-                in other currencies.</span>
-        </div>
-      </div>
+			<!-- Custom amounts -->
+			<div class="form-group">
+				<div class="col-md-offset-2 col-md-6">
+					<div class="form-group row">
+						<div class="btn-group" role="group" aria-label="suggested amounts">
+							<button type="button" class="btn btn-default">500 €</button>
+							<button type="button" class="btn btn-default">Middle</button>
+							<button type="button" class="btn btn-default">Right</button>
+						</div>
+					</div>
+				</div>
+			</div>
 
       <!-- Recurring -->
       <div class="form-group">

-----------------------------------------------------------------------

Summary of changes:
 web/donate/donate.org | 48 +++++++++++++++---------------------------------
 1 file changed, 15 insertions(+), 33 deletions(-)


hooks/post-receive
-- 
The GnuPG website and other docs
http://git.gnupg.org




More information about the Gnupg-commits mailing list