[tor-commits] [tpo/staging] Update footer

emmapeel at torproject.org emmapeel at torproject.org
Thu Apr 25 14:48:48 UTC 2019


commit a5eb778fef738712f65236ccc792466cd9433ece
Author: hiro <hiro at torproject.org>
Date:   Tue Apr 16 21:31:44 2019 +0200

    Update footer
---
 templates/download-android.html | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/templates/download-android.html b/templates/download-android.html
index 957c4ad..6392e95 100644
--- a/templates/download-android.html
+++ b/templates/download-android.html
@@ -14,18 +14,35 @@
       <div class="row">
         <h3 class="mx-auto defend text-white">{{ _('Protect yourself against tracking, surveillance, and censorship.') }}</h3>
       </div>
+    </div>
+    <div class="d-none d-lg-block col-lg-4">
+      <img class="img-fluid p-5" height="auto" src="{{ 'static/images/tor-browser-mobile-window/png/TBAa-onboarding at 2x.png'|asseturl }}">
+    </div>
+  </div>
+  <div class="row col-lg-10 mx-auto">
+    <div class="col-lg-12 py-5 mt-5">
       <div class="row my-5">
-          <a class="btn btn-lg btn-light text-primary py-3 px-4 my-1 mx-auto" href="https://dist.torproject.org/torbrowser/8.5a10/tor-browser-8.5a10-android-armv7-multi.apk">{{ _('Download .apk') }}</a>
-          <a class="btn btn-lg btn-light text-primary py-3 px-4 my-1 mx-auto" href="https://play.google.com/store/apps/details?id=org.torproject.torbrowser_alpha">{{ _('Go to Google Play') }}</a>
+          <div class="col-md-6 col-sm-4 text-center p1">
+            <div class="row">
+              {% set t = bag('versions', 'torbrowser-alpha') %}
+              <a class="btn btn-lg btn-light text-primary py-1 px-4 my-1" href="https://dist.torproject.org/torbrowser/{{ t.version }}/tor-browser-{{ t.version }}-android-armv7-multi.apk">{{ _('Download .apk') }}  <small class="badge-pill badge-dark mx-1 nick">arm</small></a>
+              <a class="btn btn-primary btn-sm nick mx-3 my-2" href="https://dist.torproject.org/torbrowser/{{ t.version }}/tor-browser-{{ t.version }}-android-armv7-multi.apk.asc"><small>{{ _('sig') }}</small></a>
+              <a class="btn btn-lg btn-light text-primary py-1 px-4 my-1" href="https://dist.torproject.org/torbrowser/{{ t.version }}/tor-browser-{{ t.version }}-android-x86-multi.apk">{{ _('Download .apk') }}  <small class="badge-pill badge-dark mx-1 nick">x86</small></a>
+              <a class="btn btn-primary btn-sm nick mx-3 my-2" href="https://dist.torproject.org/torbrowser/{{ t.version }}/tor-browser-{{ t.version }}-android-x86-multi.apk.asc"><small>{{ _('sig') }}</small></a>
+            </div>
+          </div>
+          <div class="col-md-3 col-sm-4 text-center p1">
+            <a class="btn btn-lg btn-light text-primary py-3 my-1" href="https://play.google.com/store/apps/details?id=org.torproject.torbrowser_alpha">{{ _('Go to Google Play') }}</a>
+          </div>
           {% from "macros/downloads.html" import render_fdroid %}
-          <a class="btn btn-lg btn-light text-primary py-3 px-4 my-1 mx-auto disabled" href="">{{ _('Go to F-droid %s')|format(render_fdroid())|safe }}</a>
+          <div class="col-md-3 col-sm-4 text-center p1">
+            <a class="btn btn-lg btn-light text-primary py-3 my-1 disabled" href="">{{ _('Go to F-droid %s')|format(render_fdroid())|safe }}</a>
+            <!--a class="btn btn-primary btn-sm nick mx-5 my-4" href="#"><small>sig</small></a-->
+          </div>
       </div>
       <div class="row">
         <a class="text-light mx-auto nick" href="https://itunes.apple.com/us/app/onion-browser/id519296448?mt=8">{{ _('Are you a iOS user? We encourage you to try Onion Browser.') }} </a>
       </div>
     </div>
-    <div class="d-none d-lg-block col-lg-4">
-      <img class="img-fluid p-5" height="auto" src="{{ 'static/images/tor-browser-mobile-window/png/TBAa-onboarding at 2x.png'|asseturl }}">
-    </div>
   </div>
 </div>



More information about the tor-commits mailing list