From 680c56f95b14b1b33e0218f1eb62a58f9f491483 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Thu, 08 Jan 2015 04:11:57 -0500 Subject: [PATCH] Layout improvements (column width) --- interface/web/help/templates/faq_manage_questions_list.htm | 55 +++++++++++++++++++++++++------------------------------ 1 files changed, 25 insertions(+), 30 deletions(-) diff --git a/interface/web/help/templates/faq_manage_questions_list.htm b/interface/web/help/templates/faq_manage_questions_list.htm index e7b5eaf..2de35d2 100644 --- a/interface/web/help/templates/faq_manage_questions_list.htm +++ b/interface/web/help/templates/faq_manage_questions_list.htm @@ -1,37 +1,33 @@ <h2>{tmpl_var name="faq_faq_questions_txt"}</h2> -<div class="panel panel_support_message"> - - <div class="pnl_toolsarea"> - <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> - <div class="buttons"> - <button class="button iconstxt icoAdd" type="button" onclick="loadContent('help/faq_edit.php');"> - <span>{tmpl_var name="faq_new_question_txt"}</span> - </button> - </div> - </fieldset> - </div> - <div class="pnl_listarea"> - <fieldset><legend><tmpl_var name="faq_sections_txt"></legend> - <table class="list"> - <thead> - <tr class="caption"> - <th class="tbl_col_active" scope="col">{tmpl_var name="faq_question_txt"}</th> - <th class="tbl_col_section_name" scope="col">{tmpl_var name="faq_section_name_txt"}</th> - <th class="tbl_col_buttons" scope="col">{tmpl_var name="faq_delete_txt"}</th> - <th class="tbl_col_buttons" scope="col">{tmpl_var name="faq_edit_txt"}</th> + <p>{tmpl_var name="toolsarea_head_txt"}</p> + + <button class="btn btn-default formbutton-success" type="button" data-load-content="help/faq_edit.php">{tmpl_var name="faq_new_question_txt"}</button> + + + + + <p><tmpl_var name="faq_sections_txt"></p> + <div class="table-wrapper marginTop15"> +<table class="table"> + <thead class="dark form-group-sm"> + <tr> + <th class="tiny-col">{tmpl_var name="faq_question_txt"}</th> + <th>{tmpl_var name="faq_section_name_txt"}</th> + <th>{tmpl_var name="faq_delete_txt"}</th> + <th>{tmpl_var name="faq_edit_txt"}</th> </tr> </thead> <tbody> <tmpl_loop name="records"> - <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>"> + <tr> <td width="60%">{tmpl_var name='hf_question'}</td> <td width="30%">{tmpl_var name='hf_section'}</td> - <td class="tbl_col_buttons" width="5%"> - <a class="button icons16 icoDelete" href="javascript: del_record('help/faq_delete.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name="faq_delete_txt"}</span></a> + <td width="5%"> + <a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: del_record('help/faq_delete.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></button> </td> - <td class="tbl_col_buttons" width="5%"> - <a class="button icons16 icoEdit" href="javascript: loadContent('help/faq_edit.php?id={tmpl_var name='id'}');"><span>{tmpl_var name="faq_edit_txt"}</span></a> + <td width="5%"> + <a class="btn btn-default formbutton-default formbutton-narrow" data-load-content="help/faq_edit.php?id={tmpl_var name='id'}"><span class="icon icon-edit"></span></button> </td> </tr> </tmpl_loop> @@ -43,11 +39,10 @@ </tbody> <tfoot> <tr> - <td class="tbl_footer tbl_paging" colspan="4"><tmpl_var name="paging"></td> + <td colspan="4"><tmpl_var name="paging"></td> </tr> </tfoot> </table> - </fieldset> - </div> - -</div> \ No newline at end of file +</div> + + \ No newline at end of file -- Gitblit v1.9.1