Minor indentation fixes in templates

This commit is contained in:
Sunil Mohan Adapa 2014-12-06 16:58:48 +05:30
parent 057d1063f3
commit 522ece851c
10 changed files with 24 additions and 13 deletions

View File

@ -21,6 +21,7 @@
{% block content %} {% block content %}
<h2>Apps</h2> <h2>Apps</h2>
<p>User Applications are web apps hosted on your <p>User Applications are web apps hosted on your
{{ cfg.product_name }}.</p> {{ cfg.product_name }}.</p>

View File

@ -19,6 +19,7 @@
{% endcomment %} {% endcomment %}
{% block content %} {% block content %}
<h2>{{ title }}</h2> <h2>{{ title }}</h2>
<p>The system diagnostic test will run a number of checks on your <p>The system diagnostic test will run a number of checks on your

View File

@ -19,6 +19,7 @@
{% endcomment %} {% endcomment %}
{% block content %} {% block content %}
<h2>{{ title }}</h2> <h2>{{ title }}</h2>
<p>Firewall is a network security system that controls the incoming <p>Firewall is a network security system that controls the incoming

View File

@ -21,6 +21,7 @@
{% block content %} {% block content %}
<h2>Help</h2> <h2>Help</h2>
<p>There are a variety of places to go for help with <p>There are a variety of places to go for help with
{{ cfg.product_name }} and the box it runs on.</p> {{ cfg.product_name }} and the box it runs on.</p>

View File

@ -21,6 +21,7 @@
{% load bootstrap %} {% load bootstrap %}
{% block content %} {% block content %}
<h2>{{ title }}</h2> <h2>{{ title }}</h2>
<p><code>aptitude purge modules</code></p> <p><code>aptitude purge modules</code></p>

View File

@ -35,9 +35,11 @@
</p> </p>
<h3>Hidden Service</h3> <h3>Hidden Service</h3>
<p>A hidden service will allow your {{ cfg.box_name }} to provide selected <p>A hidden service will allow your {{ cfg.box_name }} to provide selected
services (such as OwnCloud or Chat) without revealing its location. services (such as OwnCloud or Chat) without revealing its location.
Here is the current configuration:</p> Here is the current configuration:</p>
<ul> <ul>
<li>Hostname: {{ tor_hs_hostname }}</li> <li>Hostname: {{ tor_hs_hostname }}</li>
<li>Ports: {{ tor_hs_ports }}</li> <li>Ports: {{ tor_hs_ports }}</li>
@ -52,6 +54,7 @@ Here is the current configuration:</p>
</form> </form>
<h3>Bridge</h3> <h3>Bridge</h3>
<p>Your {{ cfg.box_name }} is configured as a Tor bridge with obfsproxy, so it <p>Your {{ cfg.box_name }} is configured as a Tor bridge with obfsproxy, so it
can help circumvent censorship. If your {{ cfg.box_name }} is behind a router can help circumvent censorship. If your {{ cfg.box_name }} is behind a router
or firewall, you should make sure the following ports are open, and or firewall, you should make sure the following ports are open, and
@ -71,6 +74,7 @@ port-forwarded, if necessary:</p>
</div> </div>
<h3>SOCKS</h3> <h3>SOCKS</h3>
<p>A Tor SOCKS port is available on your {{ cfg.box_name }} on TCP port <p>A Tor SOCKS port is available on your {{ cfg.box_name }} on TCP port
9050.</p> 9050.</p>

View File

@ -24,19 +24,18 @@
{% if is_installed %} {% if is_installed %}
<p>XMPP is an open and standardized communication protocol.
Here you can run and configure your XMPP server, called ejabberd.
To actually communicate you can use the
<a href='/jwchat'>web client</a>
or any other
<a href='http://xmpp.org/xmpp-software/clients/' target='_blank'>
XMPP client
</a>.</p>
<a href='/jwchat' target='_blank'class='btn btn-primary'> <a href='/jwchat' target='_blank'class='btn btn-primary'>
Launch web client Launch web client
</a> </a>
<p>XMPP is an open and standardized communication protocol. Here you
can run and configure your XMPP server, called ejabberd. To actually
communicate, you can use the <a href='/jwchat'>web client</a> or any
other <a href='http://xmpp.org/xmpp-software/clients/'
target='_blank'> XMPP client </a>.</p>
{% else %} {% else %}
<h2>XMPP Server</h2> <h2>XMPP Server</h2>
<p>The XMPP server <i>ejabberd</i> is not installed.</p> <p>The XMPP server <i>ejabberd</i> is not installed.</p>

View File

@ -19,6 +19,7 @@
{% endcomment %} {% endcomment %}
{% block content %} {% block content %}
<h2>404</h2> <h2>404</h2>
<p>Requested page {{ request_path }} was not found.</p> <p>Requested page {{ request_path }} was not found.</p>

View File

@ -19,6 +19,7 @@
{% endcomment %} {% endcomment %}
{% block content %} {% block content %}
<h2>500</h2> <h2>500</h2>
<p>This is an internal error and not something you caused or can fix. Please <p>This is an internal error and not something you caused or can fix. Please

View File

@ -1,16 +1,17 @@
body { body {
padding-top: 70px; padding-top: 70px;
} }
.nav .glyphicon, .nav .glyphicon,
.sidebar .glyphicon { .sidebar .glyphicon {
margin-right: 4px; margin-right: 4px;
} }
.navbar-brand img { .navbar-brand img {
float: left; float: left;
margin-top: -14px; margin-top: -14px;
padding: 8px; padding: 8px;
}
.nav-tabs { .nav-tabs {
margin-bottom: 20px; margin-bottom: 20px;