From 825dd6792d2d46b7d97e1f1626a9071382977cd2 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Fri, 19 Dec 2014 15:15:19 -0500 Subject: [PATCH] - First run of template converting for new layout --- interface/web/admin/templates/users_user_edit.htm | 89 +++++++++++++++++++++----------------------- 1 files changed, 43 insertions(+), 46 deletions(-) diff --git a/interface/web/admin/templates/users_user_edit.htm b/interface/web/admin/templates/users_user_edit.htm index 91c35bb..068eedc 100644 --- a/interface/web/admin/templates/users_user_edit.htm +++ b/interface/web/admin/templates/users_user_edit.htm @@ -1,79 +1,76 @@ -<h2><tmpl_var name="list_head_txt"></h2> +<div class='page-header'> + <h1><tmpl_var name="list_head_txt"></h1> +</div> <p><tmpl_var name="list_desc_txt"></p> -<div class="panel panel_users"> - - <div class="pnl_formsarea"> - <fieldset class="inlineLabels"> - <div class="ctrlHolder"> - <label for="username">{tmpl_var name='username_txt'}</label> - <input name="username" id="username" value="{tmpl_var name='username'}" size="15" maxlength="30" type="text" class="textInput" /> - </div> - <div class="ctrlHolder"> - <label for="passwort">{tmpl_var name='passwort_txt'}</label> + + + <div class="form-group"> + <label for="username" class="col-sm-3 control-label">{tmpl_var name='username_txt'}</label> + <div class="col-sm-9"><input type="text" name="username" id="username" value="{tmpl_var name='username'}" class="form-control" /> + </div></div> + <div class="form-group"> + <label for="passwort" class="col-sm-3 control-label">{tmpl_var name='passwort_txt'}</label> <input name="passwort" id="passwort" value="{tmpl_var name='passwort'}" size="15" maxlength="100" type="password" class="textInput" autocomplete="off" onkeyup="pass_check(this.value);checkPassMatch('passwort','repeat_password');"/> <a href="javascript:void(0);" onclick="generatePassword('passwort','repeat_password');">{tmpl_var name='generate_password_txt'}</a> </div> - <div class="ctrlHolder"> - <p class="label">{tmpl_var name='password_strength_txt'}</p> + <div class="form-group"> + <label class="col-sm-3 control-label">{tmpl_var name='password_strength_txt'}</label> <div id="passBar"></div> <p class="formHint"><span id="passText"> </span></p> </div> - <div class="ctrlHolder"> - <label for="repeat_password">{tmpl_var name='repeat_password_txt'}</label> + <div class="form-group"> + <label for="repeat_password" class="col-sm-3 control-label">{tmpl_var name='repeat_password_txt'}</label> <input name="repeat_password" id="repeat_password" value="" size="15" maxlength="100" type="password" class="textInput" style="width:100px;" autocomplete="off" onkeyup="checkPassMatch('passwort','repeat_password');" /> </div> <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 class="ctrlHolder"> - <p class="label">{tmpl_var name='modules_txt'}</p> - <div class="multiField"> + <div class="form-group"> + <label class="col-sm-3 control-label">{tmpl_var name='modules_txt'}</label> + <div class="col-sm-9"> {tmpl_var name='modules'} </div> </div> - <div class="ctrlHolder"> - <label for="startmodule">{tmpl_var name='startmodule_txt'}</label> - <select name="startmodule" id="startmodule" class="selectInput formLengthHalf"> + <div class="form-group"> + <label for="startmodule" class="col-sm-3 control-label">{tmpl_var name='startmodule_txt'}</label> + <div class="col-sm-9"><select name="startmodule" id="startmodule" class="form-control"> {tmpl_var name='startmodule'} </select> - </div> - <div class="ctrlHolder"> - <p class="label">{tmpl_var name='app_theme_txt'}</p> - <div class="multiField"> + </div></div> + <div class="form-group"> + <label class="col-sm-3 control-label">{tmpl_var name='app_theme_txt'}</label> + <div class="col-sm-9"> {tmpl_var name='app_theme'} </div> </div> - <div class="ctrlHolder"> - <p class="label">{tmpl_var name='typ_txt'}</p> - <div class="multiField"> + <div class="form-group"> + <label class="col-sm-3 control-label">{tmpl_var name='typ_txt'}</label> + <div class="col-sm-9"> {tmpl_var name='typ'} </div> </div> - <div class="ctrlHolder"> - <p class="label">{tmpl_var name='active_txt'}</p> - <div class="multiField"> + <div class="form-group"> + <label class="col-sm-3 control-label">{tmpl_var name='active_txt'}</label> + <div class="col-sm-9"> {tmpl_var name='active'} </div> </div> - <div class="ctrlHolder"> - <label for="language">{tmpl_var name='language_txt'}</label> - <select name="language" id="language" class="selectInput flags"> + <div class="form-group"> + <label for="language" class="col-sm-3 control-label">{tmpl_var name='language_txt'}</label> + <div class="col-sm-9"><select name="language" id="language" class="form-control"> {tmpl_var name='language'} </select> - </div> - <div class="ctrlHolder"> - <p class="label">{tmpl_var name='lost_password_function_txt'}</p> - <div class="multiField"> + </div></div> + <div class="form-group"> + <label class="col-sm-3 control-label">{tmpl_var name='lost_password_function_txt'}</label> + <div class="col-sm-9"> {tmpl_var name='lost_password_function'} </div> </div> - </fieldset> + <input type="hidden" name="id" value="{tmpl_var name='id'}"> - <div class="buttonHolder buttons"> - <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onclick="submitForm('pageForm','admin/users_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button> - <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onclick="loadContent('admin/users_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button> - </div> - </div> - -</div> + <div class="clear"><div class="right"> + <button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_save_txt'}" onclick="submitForm('pageForm','admin/users_edit.php');">{tmpl_var name='btn_save_txt'}</button> + <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="admin/users_list.php"><span>{tmpl_var name='btn_cancel_txt'}</span></button> + </div></div> -- Gitblit v1.9.1