Commit 1352da61 authored by Till Brehm's avatar Till Brehm
Browse files

Better password generate button on website stats tab.

parent a0e1606d
......@@ -11,15 +11,19 @@
</div>
</div>
</tmpl_if>
<div class="form-group">
<label class="col-sm-3 control-label">{tmpl_var name='stats_user_txt'}</label><p class="value">admin</p>
</div>
<div class="form-group">
<div class="form-group">
<label for="stats_password" class="col-sm-3 control-label">{tmpl_var name='stats_password_txt'}</label>
<div class="col-sm-6"><input type="password" name="stats_password" id="stats_password" value="{tmpl_var name='stats_password'}" autocomplete="off" class="form-control" onkeyup="checkPassMatch('stats_password','repeat_password');" /></div><div class="col-sm-3 input-sm">&nbsp;</div><a href="javascript:void(0);" onclick="generatePassword('stats_password','repeat_password');">{tmpl_var name='generate_password_txt'}</a>
<div class="col-sm-9">
<div class="input-group">
<input type="password" name="stats_password" id="stats_password" value="{tmpl_var name='stats_password'}" class="form-control" autocomplete="off" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');" />
<span class="input-group-btn">
<button class="btn btn-default" type="button" onclick="generatePassword('stats_password','repeat_password');">{tmpl_var name='generate_password_txt'}</button>
</span>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{tmpl_var name='password_strength_txt'}</label>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment