campaign: make button bar work
authorKai Michaelis <kai@gnupg.org>
Tue, 16 May 2017 15:22:25 +0000 (17:22 +0200)
committerKai Michaelis <kai@gnupg.org>
Tue, 16 May 2017 15:22:25 +0000 (17:22 +0200)
web/donate/donate.org

index 027605c..3a44efb 100644 (file)
@@ -75,7 +75,7 @@
                                </label>
                                <div class="col-md-3">
                                        <input type="text" class="form-control"
-                                                                name="amountother" id="amountother" placeholder="Other amount in €"
+                                                                name="amountother" id="amountother" placeholder=""
                                                                 value=""/><!--AMT_OTHER-->
                                </div>
                                <div class="col-md-2">
                        <div class="form-group">
                                <div class="col-md-offset-2 col-md-6">
                                        <div class="btn-group" role="group" aria-label="suggested amounts">
-                                               <button type="button" class="btn btn-default">500&thinsp;€</button>
-                                               <button type="button" class="btn btn-default">200&thinsp;€</button>
-                                               <button type="button" class="btn btn-default">100&thinsp;€</button>
-                                               <button type="button" class="btn btn-default">50&thinsp;€</button>
-                                               <button type="button" class="btn btn-default">20&thinsp;€</button>
-                                               <button type="button" class="btn btn-default">10&thinsp;€</button>
-                                               <button type="button" class="btn btn-default">5&thinsp;€</button>
+                                               <a href="https://preview.gnupg.org/cgi-bin/procdonate.cgi?mode=preset;plan=12-500-eur" class="btn btn-default">500&thinsp;€</button>
+                                               <a href="https://preview.gnupg.org/cgi-bin/procdonate.cgi?mode=preset;plan=12-200-eur" class="btn btn-default">200&thinsp;€</button>
+                                               <a href="https://preview.gnupg.org/cgi-bin/procdonate.cgi?mode=preset;plan=12-100-eur" class="btn btn-default">100&thinsp;€</button>
+                                               <a href="https://preview.gnupg.org/cgi-bin/procdonate.cgi?mode=preset;plan=12-50-eur" class="btn btn-default">50&thinsp;€</button>
+                                               <a href="https://preview.gnupg.org/cgi-bin/procdonate.cgi?mode=preset;plan=12-20-eur" class="btn btn-default">20&thinsp;€</button>
+                                               <a href="https://preview.gnupg.org/cgi-bin/procdonate.cgi?mode=preset;plan=12-10-eur" class="btn btn-default">10&thinsp;€</button>
+                                               <a href="https://preview.gnupg.org/cgi-bin/procdonate.cgi?mode=preset;plan=12-5-eur" class="btn btn-default">5&thinsp;€</button>
                                        </div>
                                        <span class="help-block">
                                                Suggested amounts.