|
|
@@ -99,6 +99,7 @@
|
|
|
<p id="profile-name" class="profile-name-card"></p>
|
|
|
|
|
|
<form action="" method="post" id="login-form">
|
|
|
+ <!--@AdminLoginFormBegin-->
|
|
|
<div id="errtips" class="hide"></div>
|
|
|
{:token()}
|
|
|
<div class="input-group">
|
|
|
@@ -110,15 +111,17 @@
|
|
|
<div class="input-group-addon"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></div>
|
|
|
<input type="password" class="form-control" id="pd-form-password" placeholder="{:__('Password')}" name="password" autocomplete="off" value="" data-rule="{:__('Password')}:required;password"/>
|
|
|
</div>
|
|
|
+ <!--@CaptchaBegin-->
|
|
|
{if $Think.config.fastadmin.login_captcha}
|
|
|
<div class="input-group">
|
|
|
<div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>
|
|
|
<input type="text" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="{:__('Captcha')}:required;length({$Think.config.captcha.length})" autocomplete="off"/>
|
|
|
<span class="input-group-addon" style="padding:0;border:none;cursor:pointer;">
|
|
|
- <img src="{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha" width="100" height="30" onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha&r=' + Math.random();"/>
|
|
|
- </span>
|
|
|
+ <img src="{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha" width="100" height="30" onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha&r=' + Math.random();"/>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
{/if}
|
|
|
+ <!--@CaptchaEnd-->
|
|
|
<div class="form-group checkbox">
|
|
|
<label class="inline" for="keeplogin">
|
|
|
<input type="checkbox" name="keeplogin" id="keeplogin" value="1"/>
|
|
|
@@ -128,6 +131,7 @@
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-success btn-lg btn-block" style="background:#708eea;">{:__('Sign in')}</button>
|
|
|
</div>
|
|
|
+ <!--@AdminLoginFormEnd-->
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|