Some more design fixes

This commit is contained in:
BNoiZe
2013-10-20 11:29:54 +02:00
parent d4c4e31804
commit a86d2d2df3
6 changed files with 72 additions and 55 deletions

View File

@@ -28,9 +28,11 @@ $header
<td><b>{$lng['admin']['configfiles']['daemon']}:</b></td> <td><b>{$lng['admin']['configfiles']['daemon']}:</b></td>
<td><select id="config_daemon" name="daemon"><option value="choose">{$lng['admin']['configfiles']['choosedaemon']}</option>{$daemons_select}</select></td> <td><select id="config_daemon" name="daemon"><option value="choose">{$lng['admin']['configfiles']['choosedaemon']}</option>{$daemons_select}</select></td>
</tr> </tr>
<tfoot>
<tr> <tr>
<td colspan="2" align="center"><input class="bottom" type="submit" value="{$lng['panel']['next']}" /></td> <td colspan="2" align="center"><input class="bottom" type="submit" value="{$lng['panel']['next']}" /></td>
</tr> </tr>
</tfoot>
</table> </table>
</fieldset> </fieldset>
</form> </form>

View File

@@ -2,13 +2,13 @@
<td> <td>
<if $row['company'] != '' && $row['name'] != ''> <if $row['company'] != '' && $row['name'] != ''>
{$row['company']}<br /> {$row['company']}<br />
<small>{$row['name']}&nbsp;{$row['firstname']}</small> <small>{$row['name']}, {$row['firstname']}</small>
</if> </if>
<if $row['company'] != '' && $row['name'] == ''> <if $row['company'] != '' && $row['name'] == ''>
{$row['company']} {$row['company']}
</if> </if>
<if $row['company'] == ''> <if $row['company'] == ''>
{$row['name']}&nbsp;{$row['firstname']} {$row['name']}, {$row['firstname']}
</if> </if>
</td> </td>
<td> <td>
@@ -36,7 +36,7 @@
</if> </if>
<else> <else>
<div class="progress"> <div class="progress">
<div class="bar" style="width: 0px"></div> <div class="bar" style="width: 50%"></div>
</div> </div>
</if> </if>
</span> </span>
@@ -54,7 +54,7 @@
</if> </if>
<else> <else>
<div class="progress"> <div class="progress">
<div class="bar" style="width: 0%"></div> <div class="bar" style="width: 50%"></div>
</div> </div>
</if> </if>
</span> </span>

View File

@@ -17,27 +17,34 @@ $header
</if> </if>
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded"> <form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['admin']['message']}</legend>
<p>
<label for="receipient">{$lng['admin']['receipient']}</label>&nbsp;
<select name="receipient" id="receipient">$receipients</select>
</p>
<p>
<label for="subject">{$lng['admin']['subject']}</label>&nbsp;
<input type="text" name="subject" id="subject" value="{$lng['admin']['nosubject']}"/>
</p>
<p>
<label for="message">{$lng['admin']['text']}</label>&nbsp;
<textarea rows="12" name="message" id="message"></textarea>
</p>
<p class="submit">
<input type="hidden" name="s" value="$s"/> <input type="hidden" name="s" value="$s"/>
<input type="hidden" name="page" value="$page"/> <input type="hidden" name="page" value="$page"/>
<input type="hidden" name="action" value="$action"/> <input type="hidden" name="action" value="$action"/>
<input type="hidden" name="send" value="send"/> <input type="hidden" name="send" value="send"/>
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['admin']['message']}</legend>
<table class="formtable">
<tr>
<td><label for="receipient">{$lng['admin']['receipient']}</label></td>
<td><select name="receipient" id="receipient">$receipients</select></td>
</tr>
<tr>
<td><label for="subject">{$lng['admin']['subject']}</label></td>
<td><input type="text" name="subject" id="subject" value="{$lng['admin']['nosubject']}"/></td>
</tr>
<tr>
<td><label for="message">{$lng['admin']['text']}</label></td>
<td><textarea rows="12" name="message" id="message"></textarea></td>
</tr>
<tfoot>
<tr>
<td align="right" colspan="2">
<input type="submit" value="{$lng['panel']['send']}" /> <input type="submit" value="{$lng['panel']['send']}" />
</p> </td>
</tr>
</tfoot>
</table>
</fieldset> </fieldset>
</form> </form>

View File

@@ -31,12 +31,6 @@ $header
<br /> <br />
<br /> <br />
<article> <article>
<header>
<h3>
{$lng['ticket']['search']}
</h3>
</header>
<section class="fullform bradius"> <section class="fullform bradius">
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded"> <form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded">
@@ -46,6 +40,11 @@ $header
<input type="hidden" name="send" value="send" /> <input type="hidden" name="send" value="send" />
<table class="formtable"> <table class="formtable">
<thead>
<tr>
<th colspan="2">{$lng['ticket']['search']}</th>
</tr>
</thead>
<tr> <tr>
<td>{$lng['ticket']['subject']}:</td> <td>{$lng['ticket']['subject']}:</td>
<td ><input type="text" name="subject" /></td> <td ><input type="text" name="subject" /></td>
@@ -60,10 +59,10 @@ $header
</tr> </tr>
<tr> <tr>
<td>{$lng['ticket']['lastchange']}:</td> <td>{$lng['ticket']['lastchange']}:</td>
<td><label for="fromdate">{$lng['ticket']['lastchange_from']}</label> <td>
<input type="text" id="fromdate" name="fromdate" /><br /><br /> <label for="fromdate">{$lng['ticket']['lastchange_from']}<br /><input type="text" id="fromdate" name="fromdate" /></label>
<label for="todate">{$lng['ticket']['lastchange_to']}</label> <label for="todate">{$lng['ticket']['lastchange_to']}<br /><input type="text" id="todate" name="todate" /></label>
<input type="text" id="todate" name="todate" /></td> </td>
</tr> </tr>
<tr> <tr>
<td>{$lng['ticket']['message']}:</td> <td>{$lng['ticket']['message']}:</td>
@@ -73,9 +72,11 @@ $header
<td>{$lng['ticket']['customer']}:</td> <td>{$lng['ticket']['customer']}:</td>
<td><select name="customer">$customers</select></td> <td><select name="customer">$customers</select></td>
</tr> </tr>
<tfoot>
<tr> <tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['panel']['search']}" /></td> <td class="main_field_confirm" colspan="2" align="right"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['panel']['search']}" /></td>
</tr> </tr>
</tfoot>
</table> </table>
</form> </form>

View File

@@ -222,6 +222,9 @@ footer img {
padding:10px 0; padding:10px 0;
text-align:center; text-align:center;
} }
.tinyform {
padding: 0;
}
.fullform { .fullform {
width:100%; width:100%;
@@ -235,6 +238,9 @@ footer img {
padding:10px 0; padding:10px 0;
text-align:left; text-align:left;
} }
.midform {
padding: 0;
}
.tinyform,.loginsec form { .tinyform,.loginsec form {
width:400px; width:400px;
@@ -616,6 +622,7 @@ table tfoot td {
height:25px; height:25px;
border-top: 1px solid #d1d5d8; border-top: 1px solid #d1d5d8;
background-color: #f2f8fa; background-color: #f2f8fa;
padding-right: 0px;
} }
.tfootleft { .tfootleft {

View File

@@ -1,5 +1,5 @@
<tr> <tr>
<td{$style} class="formlabeltd"> <td{$style} class="formlabeltd" style="width:50%">
<label for="{$fieldname}">{$label}{$mandatory}: <label for="{$fieldname}">{$label}{$mandatory}:
<if $desc != ''> <if $desc != ''>
<br /><span style="font-size:85%;">{$desc}</span> <br /><span style="font-size:85%;">{$desc}</span>