[tor-commits] [bridgedb/master] Mako the templates

aagbsn at torproject.org aagbsn at torproject.org
Wed Apr 17 00:26:44 UTC 2013


commit 35d974a72ef8694495236be93e64bce6d92cb20e
Author: Sathyanarayanan Gunasekaran <gsathya.ceg at gmail.com>
Date:   Sat Mar 16 19:22:16 2013 -0400

    Mako the templates
---
 templates/bridges.html |   76 +-----------------------------------------------
 templates/captcha.html |   75 +----------------------------------------------
 templates/index.html   |   75 -----------------------------------------------
 3 files changed, 2 insertions(+), 224 deletions(-)

diff --git a/templates/bridges.html b/templates/bridges.html
index df7c9f5..70f64cb 100644
--- a/templates/bridges.html
+++ b/templates/bridges.html
@@ -1,28 +1,3 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="utf-8">
-    <title>BridgeDB ·</title>
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <meta name="description" content="Bridge IP database">
-    <meta name="author" content="The Tor Project">
-
-    <!-- Le styles -->
-    <link href="assets/bootstrap.min.css" rel="stylesheet">
-    <link href="assets/custom.css" rel="stylesheet">
-
-</head>
-<body>
-<div class="container-narrow">
-
-<div class="masthead">
-  <ul class="nav nav-pills pull-right">
-    <h3 class="muted">BridgeDB</h3>
-  </ul>            
-  <img src="assets/tor.svg" height="10%" width="20%"/>
-</div>
-
-<hr>
 <h2> Bridges </h3>
 <br />
 <pre>
@@ -33,53 +8,4 @@
 <br />
 <p >To use the above lines, go to Vidalia's Network settings page, and click "My ISP blocks connections to the Tor network". Then add each bridge address one at a time.
 </p>
-<hr>
-
-<div class="faq">
-<div class="row-fluid marketing">
-<div class="span6">
-  <h4>What are bridges?</h4>
-  <p><a href="https://www.torproject.org/docs/bridges">Bridge relays</a>
-  (or "bridges" for short) are Tor relays that aren't
-  listed in the main directory. Since there is no complete public list
-  of them, even if your ISP is filtering connections to all the known
-  Tor relays, they probably won't be able to block all the bridges.</p>
-
-  <h4>How to use this site?</h4>
-  <a href="https://www.torproject.org/docs/bridges#UsingBridges">This</a>
-  is a website where you can get bridge addresses. Select what kind
-  of bridges you want, and then add them to Tor using Vidalia.</p>
-
-
-  <h4>What are obfuscated bridges?</h4>
-  <p>Please read <a href="https://www.torproject.org/docs/bridges#PluggableTransports">here</a>
-  for an introduction to obfuscated bridges and
-  pluggable transports.</p>
-</div>
-
-<div class="span6">
-  <h4>My bridges don't work! I need help!</h4>
-  <p>If your Tor doesn't work, you should email
-  <a href="mailto:help at rt.torproject.org">help at rt.torproject.org</a>. Try
-  including as much info about your case as you can, including the
-  list of bridges you used, the bundle filename/version you used, the
-  messages that Tor gave out, etc.</p>
-
-  <h4>I need an alternative way of getting bridges!</h4>
-  <p>Another way to find public bridge addresses is to send an email (from
-  a <a href="https://mail.google.com/">gmail</a> or a <a
-  href="https://mail.yahoo.com/"> yahoo</a> address) to <a
-  href="mailto:bridges at torproject.org">bridges at torproject.org</a>
-  with the line "get bridges" by itself in the body of the mail.</p>
-</div>
-</div>
-</div>
-<hr>
-
-<div class="footer">
-  <p>© The Tor Project</p>
-</div>
-
-</div> <!-- /container -->
-</body>
-</html>
+<hr>
\ No newline at end of file
diff --git a/templates/captcha.html b/templates/captcha.html
index 9f4c5c2..ca6699f 100644
--- a/templates/captcha.html
+++ b/templates/captcha.html
@@ -1,27 +1,3 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="utf-8">
-    <title>BridgeDB ·</title>
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <meta name="description" content="Bridge IP database">
-    <meta name="author" content="The Tor Project">
-
-    <!-- Le styles -->
-    <link href="assets/bootstrap.min.css" rel="stylesheet">
-    <link href="assets/custom.css" rel="stylesheet">
-
-</head>
-<body>
-<div class="container-narrow">
-
-<div class="masthead">
-  <ul class="nav nav-pills pull-right">
-    <h3 class="muted">BridgeDB</h3>
-  </ul>            
-  <img src="assets/tor.svg" height="10%" width="20%"/>
-</div>
-<hr>
 <div class="captcha">
   <input type="hidden" name="recaptcha_challenge_field"
     id="recaptcha_challenge_field"                        value="03AHJ_VuuEc-3bxAV4t4czoovajwas7ZxKMTAf8QumwzO6pjV_19gnLT-WIhfhgWaR_APT9K5aqaV-F2z9wja-1JrmHSVsWPzj8QHJTU0T2PHr-f3zY409BgWLp1cvpnHu36i_aArc6WpZ0Lw3hI8SEY6MybG9YyKmpZm2jcVobV3oA8iqNkkOsMw">
@@ -35,53 +11,4 @@
     <input class="btn btn-success" type="submit" name="submit" value="I am human">
 
 </div>
-<hr>
-
-<div class="faq">
-<div class="row-fluid marketing">
-<div class="span6">
-  <h4>What are bridges?</h4>
-  <p><a href="https://www.torproject.org/docs/bridges">Bridge relays</a>
-  (or "bridges" for short) are Tor relays that aren't
-  listed in the main directory. Since there is no complete public list
-  of them, even if your ISP is filtering connections to all the known
-  Tor relays, they probably won't be able to block all the bridges.</p>
-
-  <h4>How to use this site?</h4>
-  <a href="https://www.torproject.org/docs/bridges#UsingBridges">This</a>
-  is a website where you can get bridge addresses. Select what kind
-  of bridges you want, and then add them to Tor using Vidalia.</p>
-
-
-  <h4>What are obfuscated bridges?</h4>
-  <p>Please read <a href="https://www.torproject.org/docs/bridges#PluggableTransports">here</a>
-  for an introduction to obfuscated bridges and
-  pluggable transports.</p>
-</div>
-
-<div class="span6">
-  <h4>My bridges don't work! I need help!</h4>
-  <p>If your Tor doesn't work, you should email
-  <a href="mailto:help at rt.torproject.org">help at rt.torproject.org</a>. Try
-  including as much info about your case as you can, including the
-  list of bridges you used, the bundle filename/version you used, the
-  messages that Tor gave out, etc.</p>
-
-  <h4>I need an alternative way of getting bridges!</h4>
-  <p>Another way to find public bridge addresses is to send an email (from
-  a <a href="https://mail.google.com/">gmail</a> or a <a
-  href="https://mail.yahoo.com/"> yahoo</a> address) to <a
-  href="mailto:bridges at torproject.org">bridges at torproject.org</a>
-  with the line "get bridges" by itself in the body of the mail.</p>
-</div>
-</div>
-</div>
-<hr>
-
-<div class="footer">
-  <p>© The Tor Project</p>
-</div>
-
-</div> <!-- /container -->
-</body>
-</html>
\ No newline at end of file
+<hr>
\ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
index c189ddc..019451d 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,28 +1,3 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="utf-8">
-    <title>BridgeDB ·</title>
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <meta name="description" content="Bridge IP database">
-    <meta name="author" content="The Tor Project">
-
-    <!-- Le styles -->
-    <link href="assets/bootstrap.min.css" rel="stylesheet">
-    <link href="assets/custom.css" rel="stylesheet">
-</head>
-<body>
-<div class="container-narrow">
-
-<div class="masthead">
-  <ul class="nav nav-pills pull-right">
-    <h3 class="muted">BridgeDB</h3>
-  </ul>            
-
-  <img src="assets/tor.svg" height="10%" width="20%"/>
-</div>
-
-<hr>
 <h3>Looking for obfuscated bridges?</h3>
 
 <p class="lead">Depending on the bundle you are using you will need different bridges:</p>
@@ -43,53 +18,3 @@
 tor-browser-2.4.7-alpha-1.
   </li>
 </ul>
-<hr>
-
-<div class="faq">
-<div class="row-fluid marketing">
-<div class="span6">
-  <h4>What are bridges?</h4>
-  <p><a href="https://www.torproject.org/docs/bridges">Bridge relays</a>
-  (or "bridges" for short) are Tor relays that aren't
-  listed in the main directory. Since there is no complete public list
-  of them, even if your ISP is filtering connections to all the known
-  Tor relays, they probably won't be able to block all the bridges.</p>
-
-  <h4>How to use this site?</h4>
-  <a href="https://www.torproject.org/docs/bridges#UsingBridges">This</a>
-  is a website where you can get bridge addresses. Select what kind
-  of bridges you want, and then add them to Tor using Vidalia.</p>
-
-
-  <h4>What are obfuscated bridges?</h4>
-  <p>Please read <a href="https://www.torproject.org/docs/bridges#PluggableTransports">here</a>
-  for an introduction to obfuscated bridges and
-  pluggable transports.</p>
-</div>
-
-<div class="span6">
-  <h4>My bridges don't work! I need help!</h4>
-  <p>If your Tor doesn't work, you should email
-  <a href="mailto:help at rt.torproject.org">help at rt.torproject.org</a>. Try
-  including as much info about your case as you can, including the
-  list of bridges you used, the bundle filename/version you used, the
-  messages that Tor gave out, etc.</p>
-
-  <h4>I need an alternative way of getting bridges!</h4>
-  <p>Another way to find public bridge addresses is to send an email (from
-  a <a href="https://mail.google.com/">gmail</a> or a <a
-  href="https://mail.yahoo.com/"> yahoo</a> address) to <a
-  href="mailto:bridges at torproject.org">bridges at torproject.org</a>
-  with the line "get bridges" by itself in the body of the mail.</p>
-</div>
-</div>
-</div>
-<hr>
-
-<div class="footer">
-  <p>© The Tor Project</p>
-</div>
-
-</div> <!-- /container -->
-</body>
-</html>





More information about the tor-commits mailing list