tor status UI update

This commit is contained in:
nikhil rayaprolu 2016-07-22 15:46:50 +05:30 committed by James Valleroy
parent 942b23c3c3
commit f27615c748
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -26,23 +26,38 @@
{% if config_running %}
<meta http-equiv="refresh" content="3" />
{% endif %}
<style type="text/css">
.loader {
border: 16px solid #f3f3f3; /* Light grey */
border-top: 16px solid #3498db; /* Blue */
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
{% endblock %}
{% block configuration %}
<h3>{% trans "Status" %}</h3>
<h3>{% trans "Status" %}</h3>
{% if config_running %}
<p class="running-status-parent">
<span class="running-status active"></span>
{% trans "Tor configuration is being updated" %}
</p>
</p>
<div class="loader"></div>
{% else %}
<p class="running-status-parent">
{% if status.is_running %}
<span class="running-status active"></span>