remove noscript, update urls
This commit is contained in:
parent
aca687974a
commit
ed6da528a2
|
@ -12,10 +12,6 @@
|
||||||
<!-- display error message -->
|
<!-- display error message -->
|
||||||
<div class="center-text flash-message font-failure" style="padding-left: 5px;">{{ flash_msg }}.</div>
|
<div class="center-text flash-message font-failure" style="padding-left: 5px;">{{ flash_msg }}.</div>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
<!-- share ux information with the user if JS is disabled -->
|
|
||||||
<noscript>
|
|
||||||
<p class="center-text flash-message">This website will be unresponsive while the device shuts down or reboots.</p>
|
|
||||||
</noscript>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{%- endblock card -%}
|
{%- endblock card -%}
|
||||||
|
|
|
@ -24,9 +24,8 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<!-- middle -->
|
<!-- middle -->
|
||||||
<a class="middle" href="/hello">
|
<a class="middle">
|
||||||
<div class="circle circle-large">
|
<div class="circle circle-large"></div>
|
||||||
</div>
|
|
||||||
</a>
|
</a>
|
||||||
<!-- bottom-left -->
|
<!-- bottom-left -->
|
||||||
<!-- SYSTEM STATUS LINK AND ICON -->
|
<!-- SYSTEM STATUS LINK AND ICON -->
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
<div class="card-container">
|
<div class="card-container">
|
||||||
<!-- FLASH MESSAGE -->
|
<!-- FLASH MESSAGE -->
|
||||||
{% include "snippets/flash_message" %}
|
{% include "snippets/flash_message" %}
|
||||||
<!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
|
|
||||||
{% include "snippets/noscript" %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{%- endblock card -%}
|
{%- endblock card -%}
|
||||||
|
|
|
@ -10,13 +10,8 @@
|
||||||
<a class="button button-secondary center" href="/settings/admin/configure" title="Cancel">Cancel</a>
|
<a class="button button-secondary center" href="/settings/admin/configure" title="Cancel">Cancel</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<!-- FLASH MESSAGE -->
|
||||||
<!-- FLASH MESSAGE -->
|
{% include "snippets/flash_message" %}
|
||||||
{% include "snippets/flash_message" %}
|
|
||||||
|
|
||||||
<!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
|
|
||||||
{% include "snippets/noscript" %}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{%- endblock card -%}
|
{%- endblock card -%}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- CHANGE PASSWORD FORM -->
|
<!-- CHANGE PASSWORD FORM -->
|
||||||
<div class="card center">
|
<div class="card center">
|
||||||
<div class="form-container">
|
<div class="form-container">
|
||||||
<form id="changePassword" action="/settings/change_password" method="post">
|
<form id="changePassword" action="/settings/admin/change_password" method="post">
|
||||||
<!-- input for current password -->
|
<!-- input for current password -->
|
||||||
<input id="currentPassword" class="center input" name="current_password" type="password" placeholder="Current password" title="Current password" autofocus>
|
<input id="currentPassword" class="center input" name="current_password" type="password" placeholder="Current password" title="Current password" autofocus>
|
||||||
<!-- input for new password -->
|
<!-- input for new password -->
|
||||||
|
|
|
@ -20,11 +20,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a class="button button-primary center full-width" style="margin-top: 25px;" href="/settings/admin/add" title="Add Admin">Add Admin</a>
|
<a class="button button-primary center full-width" style="margin-top: 25px;" href="/settings/admin/add" title="Add Admin">Add Admin</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- FLASH MESSAGE -->
|
<!-- FLASH MESSAGE -->
|
||||||
{% include "snippets/flash_message" %}
|
{% include "snippets/flash_message" %}
|
||||||
|
|
||||||
<!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
|
|
||||||
{% include "snippets/noscript" %}
|
|
||||||
</div>
|
</div>
|
||||||
{%- endblock card -%}
|
{%- endblock card -%}
|
||||||
|
|
|
@ -14,7 +14,5 @@
|
||||||
</form>
|
</form>
|
||||||
<!-- FLASH MESSAGE -->
|
<!-- FLASH MESSAGE -->
|
||||||
{% include "snippets/flash_message" %}
|
{% include "snippets/flash_message" %}
|
||||||
<!-- NO SCRIPT FOR WHEN JS IS DISABLED -->
|
|
||||||
{% include "snippets/noscript" %}
|
|
||||||
</div>
|
</div>
|
||||||
{%- endblock card -%}
|
{%- endblock card -%}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- NETWORK ADD CREDENTIALS FORM -->
|
<!-- NETWORK ADD CREDENTIALS FORM -->
|
||||||
<div class="card center">
|
<div class="card center">
|
||||||
<div class="card-container">
|
<div class="card-container">
|
||||||
<form id="wifiCreds" action="/network/wifi/add" method="post">
|
<form id="wifiCreds" action="/settings/network/wifi/add" method="post">
|
||||||
<!-- input for network ssid -->
|
<!-- input for network ssid -->
|
||||||
<input id="ssid" name="ssid" class="center input" type="text" placeholder="SSID" title="Network name (SSID) for WiFi access point" value="{%- if selected -%}{{ selected }}{%- endif -%}" autofocus>
|
<input id="ssid" name="ssid" class="center input" type="text" placeholder="SSID" title="Network name (SSID) for WiFi access point" value="{%- if selected -%}{{ selected }}{%- endif -%}" autofocus>
|
||||||
<!-- input for network password -->
|
<!-- input for network password -->
|
||||||
|
|
|
@ -1,10 +1,19 @@
|
||||||
{%- extends "nav" -%}
|
{%- extends "nav" -%}
|
||||||
{%- block card -%}
|
{%- block card -%}
|
||||||
|
{# ASSIGN VARIABLES #}
|
||||||
|
{# ---------------- #}
|
||||||
|
{%- if data_total -%}
|
||||||
|
{% set data_usage_total = data_total.total / 1024 / 1024 | round -%}
|
||||||
|
{%- else -%}
|
||||||
|
{% set data_usage_total = "x" -%}
|
||||||
|
{% endif -%}
|
||||||
<!-- NETWORK DATA ALERTS VIEW -->
|
<!-- NETWORK DATA ALERTS VIEW -->
|
||||||
<form id="wifiAlerts" action="/settings/network/wifi/usage" class="card center" method="post">
|
<form id="wifiAlerts" action="/settings/network/wifi/usage" class="card center" method="post">
|
||||||
<div class="stack capsule" style="margin-left: 2rem; margin-right: 2rem;">
|
<div class="stack capsule" style="margin-left: 2rem; margin-right: 2rem;">
|
||||||
<div class="flex-grid">
|
<div class="flex-grid">
|
||||||
<label id="dataTotal" class="label-large" title="Data download total in MB">{{ data_total.total / 1024 / 1024 | round }}</label>
|
<label id="dataTotal" class="label-large" title="Data download total in MB">
|
||||||
|
{{ data_usage_total }}
|
||||||
|
</label>
|
||||||
<label class="label-small font-near-black">MB</label>
|
<label class="label-small font-near-black">MB</label>
|
||||||
</div>
|
</div>
|
||||||
<label class="center-text label-small font-gray">USAGE TOTAL</label>
|
<label class="center-text label-small font-gray">USAGE TOTAL</label>
|
||||||
|
|
Loading…
Reference in New Issue