exterior.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>Acredito-me Donations</title>
  8. <!-- Bootstrap -->
  9. <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> -->
  10. <link href="{{baseurl}}/css/bootstrap.css" rel="stylesheet">
  11. <link rel="stylesheet" href="{{baseurl}}/css/bootstrap-select.css">
  12. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  13. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  14. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  15. <!--[if lt IE 9]>
  16. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.2/html5shiv.js"></script>
  17. <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  18. <![endif]-->
  19. </head>
  20. <body>
  21. <center>
  22. <br>
  23. <img src="{{baseurl}}/logo.png" style="max-width:200px">
  24. <br> <br> Select your currency:<br><br>
  25. <select class="selectpicker" id="currency_code" data-live-search="true">
  26. <option value="">Select Currency</option>
  27. <option value="AUD">Australian Dollar (AUD)</option>
  28. <option value="BRL">Brazilian Real (BRL)</option>
  29. <option value="CAD">Canadian Dollar (CAD)</option>
  30. <option value="CZK">Czech Koruna (CZK)</option>
  31. <option value="DKK">Danish Krone (DKK)</option>
  32. <option value="EUR">Euro (EUR)</option>
  33. <option value="HKD">Hong Kong Dollar (HKD)</option>
  34. <option value="HUF">Hungarian Forint (HUF)</option>
  35. <option value="ILS">Israeli New Sheqel (ILS)</option>
  36. <option value="JPY">Japanese Yen (JPY)</option>
  37. <option value="MYR">Malaysian Ringgit (MYR)</option>
  38. <option value="MXN">Mexican Peso (MXN)</option>
  39. <option value="NOK">Norwegian Krone (NOK)</option>
  40. <option value="NZD">New Zealand Dollar (NZD)</option>
  41. <option value="PHP">Philippine Peso (PHP)</option>
  42. <option value="PLN">Polish Zloty (PLN)</option>
  43. <option value="GBP">Pound Sterling (GBP)</option>
  44. <option value="SGD">Singapore Dollar (SGD)</option>
  45. <option value="SEK">Swedish Krona (SEK)</option>
  46. <option value="CHF">Swiss Franc (CHF)</option>
  47. <option value="TWD">Taiwan New Dollar (TWD)</option>
  48. <option value="THB">Thai Baht (THB)</option>
  49. <option value="TRY">Turkish Lira (TRY)</option>
  50. <option value="USD" SELECTED="YES">U.S. Dollar (USD)</option>
  51. </select>
  52. <br>
  53. <br>
  54. <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_self" >
  55. <input type="hidden" name="cmd" value="_xclick">
  56. <input type="hidden" name="business" value="{{ c.paypal_email }}" >
  57. <input type="hidden" name="item_name" value="{{ c.name }}">
  58. <test> </test>
  59. <input type="hidden" name="quantity" value="1">
  60. <!-- <input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
  61. <img alt="" border="0" src="https://www.paypalobjects.com/pt_BR/i/scr/pixel.gif" width="1" height="1"> -->
  62. <button type="submit" class="btn btn-success">Continue</button>
  63. </form>
  64. <br>
  65. You will be redirected to <br><img src="{{baseurl}}/img/bancos/paypal.png" width="100px">
  66. </center>
  67. </script>
  68. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  69. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  70. <!-- Include all compiled plugins (below), or include individual files as needed -->
  71. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
  72. <script src="{{baseurl}}/js/bootstrap-select.js"></script>
  73. <script>
  74. function displayVals() {
  75. var cc = $( "#currency_code" ).val();
  76. $( "test" ).html( "<input type='hidden' name='currency_code' value='" + cc + "'>");
  77. }
  78. $( "select" ).change( displayVals );
  79. displayVals();
  80. </script>
  81. </body>
  82. </html>