Redesigned tables to use less CSS

Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
Roman Schmerold (BNoiZe)
2014-01-27 19:57:03 +01:00
parent ff06513115
commit c69a05efa5
96 changed files with 388 additions and 545 deletions

View File

@@ -9,7 +9,7 @@ $header
<section>
<table class="bradius">
<table class="full">
<thead>
<tr>
<th>{$lng['ticket']['archivedtime']}</th>
@@ -31,7 +31,7 @@ $header
<br />
<br />
<article>
<section class="fullform bradius">
<section>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded">
@@ -39,7 +39,7 @@ $header
<input type="hidden" name="page" value="$page"/>
<input type="hidden" name="send" value="send" />
<table class="formtable">
<table class="full">
<thead>
<tr>
<th colspan="2">{$lng['ticket']['search']}</th>

View File

@@ -1,28 +1,31 @@
$header
<header>
<h2><img src="templates/{$theme}/assets/img/icons/ticket_archive_big.png" alt="" />&nbsp;{$lng['ticket']['archivesearch']}</h2>
</header>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post">
<input type="hidden" name="s" value="$s"/>
<input type="hidden" name="page" value="$page"/>
<input type="hidden" name="send" value="send" />
<table cellpadding="5" cellspacing="0" border="0" align="center" class="fullform bradius">
<if 0 < $tickets_count >
<section>
<header>
<h2><img src="templates/{$theme}/assets/img/icons/ticket_archive_big.png" alt="" />&nbsp;{$lng['ticket']['archivesearch']}</h2>
</header>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post">
<input type="hidden" name="s" value="$s"/>
<input type="hidden" name="page" value="$page"/>
<input type="hidden" name="send" value="send" />
<table class="full">
<if 0 < $tickets_count >
<tr>
<th class="field_display_border_left">{$lng['ticket']['archivedtime']}</th>
<th class="field_display">{$lng['ticket']['ticket_answers']}</th>
<th class="field_display">{$lng['ticket']['subject']}</th>
<th class="field_display">{$lng['ticket']['lastreplier']}</th>
<th class="field_display">{$lng['ticket']['priority']}</th>
<th class="field_display_search">&nbsp;</th>
<th class="field_display_search">&nbsp;</th>
</tr>
$tickets
</if>
<if $tickets_count < 1 >
<tr>
<td class="field_display_border_left" colspan="6">{$lng['ticket']['noresults']}</td>
</if>
<if $tickets_count < 1 >
<tr>
<td class="field_display_border_left" colspan="6">{$lng['ticket']['noresults']}</td>
</tr>
</if>
</table>
</form>
</if>
</table>
</form>
</section>
$footer

View File

@@ -23,7 +23,7 @@ $header
<a href="{$linker->getLink(array('section' => 'tickets', 'page' => 'categories', 'action' => 'addcategory'))}">{$lng['ticket']['ticket_newcateory']}</a>
</div>
<table class="bradius">
<table class="full hl">
<thead>
<tr>
<th>{$lng['ticket']['category']}&nbsp;{$arrowcode['name']}</th>

View File

@@ -25,7 +25,7 @@ $header
</div>
</if>
<table class="bradius">
<table class="full hl">
<thead>
<tr>
<th>{$lng['ticket']['lastchange']}&nbsp;{$arrowcode['lastchange']}</th>

View File

@@ -7,7 +7,7 @@ $header
</h2>
</header>
<section class="fullform bradius">
<section>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="s" value="$s" />
@@ -16,7 +16,7 @@ $header
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="send" value="send" />
<table class="formtable">
<table class="full">
{$category_edit_form}
</table>
</form>

View File

@@ -7,7 +7,7 @@ $header
</h2>
</header>
<section class="fullform bradius">
<section>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="s" value="$s" />
@@ -15,7 +15,7 @@ $header
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
<table class="formtable">
<table class="full">
{$ticket_new_form}
</table>
</form>

View File

@@ -7,7 +7,7 @@ $header
</h2>
</header>
<section class="fullform bradius">
<section>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="s" value="$s" />
@@ -15,7 +15,7 @@ $header
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
<table class="formtable">
<table class="full">
{$category_new_form}
</table>
</form>

View File

@@ -20,7 +20,7 @@ $header
$ticket_replies
</if>
<section class="fullform bradius">
<section>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="s" value="$s" />
@@ -29,7 +29,7 @@ $header
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="send" value="send" />
<table class="formtable">
<table class="full">
{$ticket_reply_form}
</table>
</form>

View File

@@ -1,5 +1,5 @@
<section class="fullform bradius">
<table class="formtable">
<section>
<table class="full">
<tr>
<th>{$lastchange}&nbsp;{$lng['ticket']['by']}&nbsp;{$by}</th>
</tr>

View File

@@ -1,5 +1,5 @@
<section class="fullform bradius">
<table class="formtable">
<section>
<table class="full">
<tr>
<th>{$dt}&nbsp;{$lng['ticket']['by']}&nbsp;{$by}&nbsp;({$status})</th>
</tr>