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/help/templates/faq_manage_questions_list.htm | 51 ++++++++++++++++++++++++---------------------------
1 files changed, 24 insertions(+), 27 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..1bc7822 100644
--- a/interface/web/help/templates/faq_manage_questions_list.htm
+++ b/interface/web/help/templates/faq_manage_questions_list.htm
@@ -1,25 +1,23 @@
<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');">
+
+ <p>{tmpl_var name="toolsarea_head_txt"}</p>
+
+ <button class="button iconstxt icoAdd" type="button" data-load-content="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="faq_sections_txt"></p>
+ <div class="table-wrapper marginTop15">
+<table class="table">
+ <thead class="dark">
+ <tr>
+ <th>{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>
@@ -27,11 +25,11 @@
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
<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-delete" href="javascript: del_record('help/faq_delete.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');">{tmpl_var name="faq_delete_txt"}</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="button icons16 icoEdit" data-load-content="help/faq_edit.php?id={tmpl_var name='id'}"><span>{tmpl_var name="faq_edit_txt"}</span></a>
</td>
</tr>
</tmpl_loop>
@@ -43,11 +41,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