52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
{#
|
|
luci-theme-aurora:
|
|
Copyright 2025 eamonxg <eamonxiong@gmail.com>
|
|
This theme is derived from luci-theme-bootstrap UT template.
|
|
luci-theme-bootstrap:
|
|
Copyright 2022 Jo-Philipp Wich <jo@mein.io>
|
|
Licensed to the public under the Apache License 2.0.
|
|
-#}
|
|
|
|
{% include('header', { blank_page: true }) %}
|
|
|
|
<section hidden>
|
|
<form method="post" class="cbi-map">
|
|
<div class="cbi-section">
|
|
<div class="cbi-section-node">
|
|
<div class="cbi-value">
|
|
<label class="cbi-value-title" for="luci_username">{{ _('Username') }}</label>
|
|
<div class="cbi-value-field">
|
|
<input name="luci_username" id="luci_username" type="text" autocomplete="username" value="{{ entityencode(duser, true) }}">
|
|
</div>
|
|
</div>
|
|
<div class="cbi-value">
|
|
<label class="cbi-value-title" for="luci_password">{{ _('Password') }}</label>
|
|
<div class="cbi-value-field">
|
|
<input name="luci_password" id="luci_password" type="password" autocomplete="current-password">
|
|
</div>
|
|
</div>
|
|
{% if (fuser): %}
|
|
<div class="alert-message error">
|
|
{{ _('Invalid username and/or password! Please try again.') }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<hr>
|
|
|
|
<button class="btn cbi-button-positive important">{{ _('Log in') }}</button>
|
|
</section>
|
|
|
|
<div id="view">
|
|
<div class="spinning">{{ _('Loading view…') }}</div>
|
|
<script>
|
|
L.require('ui').then(function(ui) {
|
|
ui.instantiateView('aurora.sysauth');
|
|
});
|
|
</script>
|
|
</div>
|
|
|
|
{% include('footer', { blank_page: true }) %}
|