69 lines
4.2 KiB
Twig
69 lines
4.2 KiB
Twig
<div class="content sysUserLogin{% if SESSION_EXPIRED_LOGIN %} session_exp_login{% endif %}">
|
|
<div class="content-inside">
|
|
<div id="form" style="visibility: hidden;">
|
|
{% if BROWSER_FAIL %}
|
|
<div id="browser-error" class="remove-to-fadein">
|
|
<div>
|
|
<div class="block">
|
|
<p>
|
|
{{BROWSER_FAIL.error}}
|
|
{% if BROWSER_FAIL.browsers and BROWSER_FAIL.browsers|length > 0 %}
|
|
{{ dt.gM("System login will fail!") }}
|
|
<br/>{{ dt.gM("Supported browsers:") }}
|
|
{% for k,v in BROWSER_FAIL.browsers %}{% if v['s_check'] is empty %}{% if not bb.first %}, {% endif %}<b>{% if v['link'] %}<a href="{{v['link']}}" target="_blank">{{k}}</a>{% else %}{{k}}{% if v['show_v'] %} {{v['v']}}{% endif %}{% endif %}</b>{% endif %}{% endfor %}
|
|
{% else %}
|
|
<br> <b>{{ dt.gM("System login will fail!") }}</b>
|
|
{% endif %}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% else %}
|
|
<form id="frm_passch_input">
|
|
<span class="v">v{{VERS}}</span>
|
|
<h1>{{ dt.gM("Password change") }}<b>{{ dt.gM("Please change password before continue") }}</b></h1>
|
|
|
|
<input id="action" type="hidden" value="pwd">
|
|
<div class="form-group">
|
|
<div class="input-icon validate">
|
|
<input id="user_name" data-validator="user_name" class="fe" type="text" value="{% if U and U.user_name and U.user_surname %}{{U.user_name}} {{U.user_surname}}{% endif %}" disabled="disabled" />
|
|
{% if SESSION_EXPIRED_LOGIN %}<input id="user_flogin" data-validator="user_flogin" type="hidden" value="1">{% endif %}
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="input-icon validate">
|
|
<input id="old_password" data-validator="old_password" class="le" type="password" placeholder="{{ dt.gM("User old password") }}" />
|
|
</div>
|
|
</div>
|
|
<br/><br/>
|
|
<div class="form-group">
|
|
<div class="input-icon validate">
|
|
<input id="new_password" data-validator="new_password" class="fe" type="password" placeholder="{{ dt.gM("User new password") }}" />
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="input-icon validate">
|
|
<input id="rnew_password" data-validator="rnew_password" class="le" type="password" placeholder="{{ dt.gM("New password again") }}" />
|
|
</div>
|
|
</div>
|
|
<button type="submit" class="btn ">{{ dt.gM("Change password") }}</button>
|
|
<div id="ju-loading-screen" class="style-fix custom-embed-loader" style="display:none;">
|
|
<div class="sk-double-bounce">
|
|
<div class="sk-child sk-double-bounce1"></div>
|
|
<div class="sk-child sk-double-bounce2"></div>
|
|
</div>
|
|
{#<div class="sk-wave">#}
|
|
{#<div class="sk-rect sk-rect1"></div>#}
|
|
{#<div class="sk-rect sk-rect2"></div>#}
|
|
{#<div class="sk-rect sk-rect3"></div>#}
|
|
{#<div class="sk-rect sk-rect4"></div>#}
|
|
{#<div class="sk-rect sk-rect5"></div>#}
|
|
{#</div>#}
|
|
</div>
|
|
<a href="{% if SESSION_EXPIRED_LOGIN %}{{ dt.gL(2, "action:loginf") }}{% else %}{{ dt.gL(2) }}{% endif %}">{{ dt.gM("Back to login") }}</a>
|
|
</form>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<footer class="footer"></footer> |