Skip to content

Commit bc909de

Browse files
committed
fixed form to adhere to bootstrap standards (#4080)
1 parent c650cb5 commit bc909de

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

interface/web/admin/templates/remote_user_edit.htm

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ <h1><tmpl_var name="list_head_txt"></h1>
77

88
<div class="form-group">
99
<label for="remote_username" class="col-sm-3 control-label">{tmpl_var name='username_txt'}</label>
10-
<!--
11-
<div class="col-sm-2">{tmpl_var name='username_prefix'}</div>
12-
-->
13-
<div class="col-sm-7"><input type="text" name="remote_username" id="username" value="{tmpl_var name='remote_username'}" class="form-control" /></div></div>
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>
1411

1512
<div class="form-group">
1613
<label for="remote_password" class="col-sm-3 control-label">{tmpl_var name='password_txt'}</label>
17-
<div class="col-sm-6"><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');" /></div><div class="col-sm-3 input-sm">&nbsp;</div><a href="javascript:void(0);" onclick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a>
14+
<div class="col-sm-9">
15+
<div class="input-group">
16+
<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');" />
17+
<span class="input-group-btn">
18+
<button class="btn btn-default" type="button" onclick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</button>
19+
</span>
20+
</div><!-- /input-group -->
21+
</div>
1822
</div>
1923
<div class="form-group">
2024
<label class="col-sm-3 control-label">{tmpl_var name='password_strength_txt'}</label>
@@ -35,7 +39,7 @@ <h1><tmpl_var name="list_head_txt"></h1>
3539
<div class="form-group">
3640
<label class="col-sm-3 control-label">{tmpl_var name='function_txt'}</label>
3741
<div class="col-sm-9">
38-
&nbsp; {tmpl_var name='remote_functions'}
42+
{tmpl_var name='remote_functions'}
3943
</div>
4044
</div>
4145

0 commit comments

Comments
 (0)