[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tpo/master] Update template



commit 841a1934e58e0653afd62dd609dbc173b4998572
Author: Antonela <hola@xxxxxxxxxxx>
Date:   Tue Jun 2 08:37:57 2020 -0300

    Update template
    
    Add sidebar callouts
---
 templates/release.html | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/templates/release.html b/templates/release.html
index c1ad2f2e..1671cb60 100644
--- a/templates/release.html
+++ b/templates/release.html
@@ -8,12 +8,36 @@
 
           <div class="container py-3 mt-5">
 
+            <div class="row">
+
             <div class="col-sm-9">
               {% block body %}
                 {{ this.body }}
               {% endblock %}
             </div>
 
+            <div class="col-sm-3">
+
+              <div class="card-body h-100% w-50% text-center border">
+                  <h4 class="text-primary">{{ _("Do you need help?") }}</h4>
+                  <i class="fas fa-life-ring h1 text-primary mx-auto"></i>
+                  <div class=" pt-2" style="text-align: center;">
+                    <p class="toc-entry toc-h2 nav-item mb-0" >{{ ("See our community FAQ's") }}</p>
+                    <a href="https://support.torproject.org"; class="pt-1">{{ ("Visit Support") }}</a>
+                  </div>
+              </div>
+
+              <div class="card-body h-100% w-50% text-center mt-4" style="background:#F2ECF4;">
+                  <h4 class="text-primary">{{ _("Get in Touch") }}</h4>
+                  <i class="fas fa-comments h1 text-primary mx-auto"></i>
+                  <div class=" pt-2" style="text-align: center;">
+                    <p class="toc-entry toc-h2 nav-item mb-0" >{{ ("Chat with us live!") }}</p>
+                    <a href="https://webchat.oftc.net/?channels=tor"; class="pt-1">{{ ("Join us on IRC") }}</a>
+                  </div>
+              </div>
+
+            </div>
+
             <div class="card mt-5">
               <ul class="list-group list-group-flush">
                 <!--li class="list-group-item"><a><span class="card-text text-muted">{{ _("Contributors to this page:") }} <a href="#" title="#">cypherpunk</a></span></li-->
@@ -25,10 +49,13 @@
 
           </div>
 
+          </div>
+
         </main>
       </div>
     </div>
   </div>
+  
   {% if this.section == "Download" %}
     {% include 'footer-min.html' %}
   {% else %}

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits