Use margins or <p> instead of <br />

This commit is contained in:
Sunil Mohan Adapa 2014-12-06 16:50:07 +05:30
parent 96a14e3d0d
commit e6b5bed1f3
4 changed files with 11 additions and 8 deletions

View File

@ -25,13 +25,14 @@
{% if is_installed %} {% if is_installed %}
<h3>Status</h3> <h3>Status</h3>
<br style='clear:both'>
<p>
{% if is_running %} {% if is_running %}
<div class='running-status active'></div> Tor is running <div class='running-status active'></div> Tor is running
{% else %} {% else %}
<div class='running-status inactive'></div> Tor is not running <div class='running-status inactive'></div> Tor is not running
{% endif %} {% endif %}
<br style='clear:both'> </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
@ -69,8 +70,6 @@ port-forwarded, if necessary:</p>
</div> </div>
</div> </div>
<br style='clear:both'>
<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

@ -38,9 +38,11 @@ XMPP client
{% else %} {% else %}
<h2>XMPP Server</h2> <h2>XMPP Server</h2>
<p>The XMPP server <i>ejabberd</i> is not installed.<br />ejabberd comes
pre-installed with {{ cfg.box_name }}. On any Debian-based system (such as <p>The XMPP server <i>ejabberd</i> is not installed.</p>
{{ cfg.box_name }}) you may install it using the command
<p>ejabberd comes pre-installed with {{ cfg.box_name }}. On any Debian-based
system (such as {{ cfg.box_name }}) you may install it using the command
<code>aptitude install ejabberd</code>.</p> <code>aptitude install ejabberd</code>.</p>
{% endif %} {% endif %}

View File

@ -153,7 +153,6 @@
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
<br />
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -11,6 +11,9 @@ body {
float: left; float: left;
margin-top: -14px; margin-top: -14px;
padding: 8px; padding: 8px;
.nav-tabs {
margin-bottom: 20px;
} }
.running-status { .running-status {