tor status UI update

This commit is contained in:
nikhil rayaprolu authored and James Valleroy committed 2016-07-28 18:36:36 -04:00
1 parent 942b23c3c3
commit f27615c748
1 file changed
+19 -4
+19 -4
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>