remote_user_edit.htm 3.67 KB
Newer Older
1 2 3
<div class='page-header'>
	<h1><tmpl_var name="list_head_txt"></h1>
</div>
4 5 6
<p><tmpl_var name="list_desc_txt"></p>


7 8 9
        
            <div class="form-group">
                <label for="remote_username" class="col-sm-3 control-label">{tmpl_var name='username_txt'}</label>
10
                <div class="col-sm-9"><input type="text" name="remote_username" id="username" value="{tmpl_var name='remote_username'}" class="form-control" /></div></div>
11
                
12 13
            <div class="form-group">
                <label for="remote_password" class="col-sm-3 control-label">{tmpl_var name='password_txt'}</label>
14 15 16 17 18 19 20 21
                <div class="col-sm-9">
					<div class="input-group">
						<input type="password" name="remote_password" id="password" value="{tmpl_var name='remote_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('password','repeat_password');">{tmpl_var name='generate_password_txt'}</button>
						</span>
					</div><!-- /input-group -->
				</div>
22
            </div>
23 24
            <div class="form-group">
                <label class="col-sm-3 control-label">{tmpl_var name='password_strength_txt'}</label>
25
                <div class="col-sm-9 checkbox">
26
                <div id="passBar"></div>
27 28
                <span id="passText">&nbsp;</span>
                </div>
29
            </div>
30 31
            <div class="form-group">
                <label for="repeat_password" class="col-sm-3 control-label">{tmpl_var name='repeat_password_txt'}</label>
32
                <div class="col-sm-9"><input type="password" name="repeat_password" id="repeat_password" value="" class="form-control" autocomplete="off" onkeyup="checkPassMatch('password','repeat_password');" /></div></div>
33 34 35 36 37 38
            <div class="form-group">
				<div class="col-sm-offset-3 col-sm-9">
					<div id="confirmpasswordError" style="display:none;" class="confirmpassworderror">{tmpl_var name='password_mismatch_txt'}</div>
					<div id="confirmpasswordOK" style="display:none;" class="confirmpasswordok">{tmpl_var name='password_match_txt'}</div>
				</div>
			</div>
39 40 41 42 43 44
            <div class="form-group">
                <label class="col-sm-3 control-label">{tmpl_var name='remote_access_txt'}</label>
                <div class="col-sm-9">{tmpl_var name='remote_access'}</div></div>
            <div class="form-group">
                <label for="remote_ips" class="col-sm-3 control-label">{tmpl_var name='remote_ips_txt'}</label>
                <div class="col-sm-9"><input type="text" name="remote_ips" id="remote_ips" value="{tmpl_var name='remote_ips'}" class="form-control" /></div></div>
45 46 47
            <div class="form-group">
                <label class="col-sm-3 control-label">{tmpl_var name='function_txt'}</label>
                <div class="col-sm-9">
48
                    {tmpl_var name='remote_functions'}
49 50 51
                </div>
            </div>
                
52
        
53 54 55 56
            
        <input type="hidden" name="remote_userid" value="{tmpl_var name='id'}">
        <input type="hidden" name="id" value="{tmpl_var name='id'}">
            
57
        <div class="clear"><div class="right">
Marius Cramer's avatar
Marius Cramer committed
58
            <button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="admin/remote_user_edit.php">{tmpl_var name='btn_save_txt'}</button>
Marius Cramer's avatar
Marius Cramer committed
59
            <button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="admin/remote_user_list.php">{tmpl_var name='btn_cancel_txt'}</button>
60
        </div></div>