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/mail/templates/spamfilter_other_edit.htm | 133 +++++++++++++++++++++---------------------- 1 files changed, 65 insertions(+), 68 deletions(-) diff --git a/interface/web/mail/templates/spamfilter_other_edit.htm b/interface/web/mail/templates/spamfilter_other_edit.htm index a25a2e7..911e34d 100644 --- a/interface/web/mail/templates/spamfilter_other_edit.htm +++ b/interface/web/mail/templates/spamfilter_other_edit.htm @@ -1,80 +1,77 @@ -<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_spamfilter_policy"> - <div class="pnl_formsarea"> - <fieldset class="inlineLabels"> - <div class="ctrlHolder"> - <label for="addr_extension_virus">{tmpl_var name='addr_extension_virus_txt'}</label> - <input name="addr_extension_virus" id="addr_extension_virus" value="{tmpl_var name='addr_extension_virus'}" size="30" maxlength="255" type="text" class="textInput" /> - </div> - <div class="ctrlHolder"> - <label for="addr_extension_spam">{tmpl_var name='addr_extension_spam_txt'}</label> - <input name="addr_extension_spam" id="addr_extension_spam" value="{tmpl_var name='addr_extension_spam'}" size="30" maxlength="255" type="text" class="textInput" /> - </div> - <div class="ctrlHolder"> - <label for="addr_extension_banned">{tmpl_var name='addr_extension_banned_txt'}</label> - <input name="addr_extension_banned" id="addr_extension_banned" value="{tmpl_var name='addr_extension_banned'}" size="30" maxlength="255" type="text" class="textInput" /> - </div> - <div class="ctrlHolder"> - <label for="addr_extension_bad_header">{tmpl_var name='addr_extension_bad_header_txt'}</label> - <input name="addr_extension_bad_header" id="addr_extension_bad_header" value="{tmpl_var name='addr_extension_bad_header'}" size="30" maxlength="255" type="text" class="textInput" /> - </div> - <div class="ctrlHolder"> - <label for="warnvirusrecip">{tmpl_var name='warnvirusrecip_txt'}</label> - <select name="warnvirusrecip" id="warnvirusrecip" class="selectInput formLengthBool"> + + <div class="form-group"> + <label for="addr_extension_virus" class="col-sm-3 control-label">{tmpl_var name='addr_extension_virus_txt'}</label> + <div class="col-sm-9"><input type="text" name="addr_extension_virus" id="addr_extension_virus" value="{tmpl_var name='addr_extension_virus'}" class="form-control" /> + </div></div> + <div class="form-group"> + <label for="addr_extension_spam" class="col-sm-3 control-label">{tmpl_var name='addr_extension_spam_txt'}</label> + <div class="col-sm-9"><input type="text" name="addr_extension_spam" id="addr_extension_spam" value="{tmpl_var name='addr_extension_spam'}" class="form-control" /> + </div></div> + <div class="form-group"> + <label for="addr_extension_banned" class="col-sm-3 control-label">{tmpl_var name='addr_extension_banned_txt'}</label> + <div class="col-sm-9"><input type="text" name="addr_extension_banned" id="addr_extension_banned" value="{tmpl_var name='addr_extension_banned'}" class="form-control" /> + </div></div> + <div class="form-group"> + <label for="addr_extension_bad_header" class="col-sm-3 control-label">{tmpl_var name='addr_extension_bad_header_txt'}</label> + <div class="col-sm-9"><input type="text" name="addr_extension_bad_header" id="addr_extension_bad_header" value="{tmpl_var name='addr_extension_bad_header'}" class="form-control" /> + </div></div> + <div class="form-group"> + <label for="warnvirusrecip" class="col-sm-3 control-label">{tmpl_var name='warnvirusrecip_txt'}</label> + <div class="col-sm-9"><select name="warnvirusrecip" id="warnvirusrecip" class="form-control"> {tmpl_var name='warnvirusrecip'} </select> - </div> - <div class="ctrlHolder"> - <label for="warnbannedrecip">{tmpl_var name='warnbannedrecip_txt'}</label> - <select name="warnbannedrecip" id="warnbannedrecip" class="selectInput formLengthBool"> + </div></div> + <div class="form-group"> + <label for="warnbannedrecip" class="col-sm-3 control-label">{tmpl_var name='warnbannedrecip_txt'}</label> + <div class="col-sm-9"><select name="warnbannedrecip" id="warnbannedrecip" class="form-control"> {tmpl_var name='warnbannedrecip'} </select> - </div> - <div class="ctrlHolder"> - <label for="warnbadhrecip">{tmpl_var name='warnbadhrecip_txt'}</label> - <select name="warnbadhrecip" id="warnbadhrecip" class="selectInput formLengthBool"> + </div></div> + <div class="form-group"> + <label for="warnbadhrecip" class="col-sm-3 control-label">{tmpl_var name='warnbadhrecip_txt'}</label> + <div class="col-sm-9"><select name="warnbadhrecip" id="warnbadhrecip" class="form-control"> {tmpl_var name='warnbadhrecip'} </select> - </div> - <div class="ctrlHolder"> - <label for="newvirus_admin">{tmpl_var name='newvirus_admin_txt'}</label> - <input name="newvirus_admin" id="newvirus_admin" value="{tmpl_var name='newvirus_admin'}" size="30" maxlength="255" type="text" class="textInput" /> - </div> - <div class="ctrlHolder"> - <label for="virus_admin">{tmpl_var name='virus_admin_txt'}</label> - <input name="virus_admin" id="virus_admin" value="{tmpl_var name='virus_admin'}" size="30" maxlength="255" type="text" class="textInput" /> - </div> - <div class="ctrlHolder"> - <label for="banned_admin">{tmpl_var name='banned_admin_txt'}</label> - <input name="banned_admin" id="banned_admin" value="{tmpl_var name='banned_admin'}" size="30" maxlength="255" type="text" class="textInput" /> - </div> - <div class="ctrlHolder"> - <label for="bad_header_admin">{tmpl_var name='bad_header_admin_txt'}</label> - <input name="bad_header_admin" id="bad_header_admin" value="{tmpl_var name='bad_header_admin'}" size="30" maxlength="255" type="text" class="textInput" /> - </div> - <div class="ctrlHolder"> - <label for="spam_admin">{tmpl_var name='spam_admin_txt'}</label> - <input name="spam_admin" id="spam_admin" value="{tmpl_var name='spam_admin'}" size="30" maxlength="255" type="text" class="textInput" /> - </div> - <div class="ctrlHolder"> - <label for="message_size_limit">{tmpl_var name='message_size_limit_txt'}</label> - <input name="message_size_limit" id="message_size_limit" value="{tmpl_var name='message_size_limit'}" size="10" maxlength="255" type="text" class="textInput formLengthLimit" /> Bytes - </div> - <div class="ctrlHolder"> - <label for="banned_rulenames">{tmpl_var name='banned_rulenames_txt'}</label> - <input name="banned_rulenames" id="banned_rulenames" value="{tmpl_var name='banned_rulenames'}" size="30" maxlength="255" type="text" class="textInput" /> - </div> - </fieldset> + </div></div> + <div class="form-group"> + <label for="newvirus_admin" class="col-sm-3 control-label">{tmpl_var name='newvirus_admin_txt'}</label> + <div class="col-sm-9"><input type="text" name="newvirus_admin" id="newvirus_admin" value="{tmpl_var name='newvirus_admin'}" class="form-control" /> + </div></div> + <div class="form-group"> + <label for="virus_admin" class="col-sm-3 control-label">{tmpl_var name='virus_admin_txt'}</label> + <div class="col-sm-9"><input type="text" name="virus_admin" id="virus_admin" value="{tmpl_var name='virus_admin'}" class="form-control" /> + </div></div> + <div class="form-group"> + <label for="banned_admin" class="col-sm-3 control-label">{tmpl_var name='banned_admin_txt'}</label> + <div class="col-sm-9"><input type="text" name="banned_admin" id="banned_admin" value="{tmpl_var name='banned_admin'}" class="form-control" /> + </div></div> + <div class="form-group"> + <label for="bad_header_admin" class="col-sm-3 control-label">{tmpl_var name='bad_header_admin_txt'}</label> + <div class="col-sm-9"><input type="text" name="bad_header_admin" id="bad_header_admin" value="{tmpl_var name='bad_header_admin'}" class="form-control" /> + </div></div> + <div class="form-group"> + <label for="spam_admin" class="col-sm-3 control-label">{tmpl_var name='spam_admin_txt'}</label> + <div class="col-sm-9"><input type="text" name="spam_admin" id="spam_admin" value="{tmpl_var name='spam_admin'}" class="form-control" /> + </div></div> + <div class="form-group"> + <label for="message_size_limit" class="col-sm-3 control-label">{tmpl_var name='message_size_limit_txt'}</label> + <div class="col-sm-9"><input type="text" name="message_size_limit" id="message_size_limit" value="{tmpl_var name='message_size_limit'}" class="form-control" /> Bytes + </div></div> + <div class="form-group"> + <label for="banned_rulenames" class="col-sm-3 control-label">{tmpl_var name='banned_rulenames_txt'}</label> + <div class="col-sm-9"><input type="text" name="banned_rulenames" id="banned_rulenames" value="{tmpl_var name='banned_rulenames'}" class="form-control" /> + </div></div> + <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','mail/spamfilter_policy_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('mail/spamfilter_policy_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','mail/spamfilter_policy_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="mail/spamfilter_policy_list.php"><span>{tmpl_var name='btn_cancel_txt'}</span></button> + </div></div> -- Gitblit v1.9.1