Added resize plugin to flot, removed inline css
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
56
templates/Sparkle/customer/ftp/accounts.tpl
vendored
56
templates/Sparkle/customer/ftp/accounts.tpl
vendored
@@ -10,50 +10,48 @@
|
||||
<section>
|
||||
|
||||
<form action="{$linker->getLink(array('section' => 'ftp'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
|
||||
<div class="overviewsearch">
|
||||
{$searchcode}
|
||||
</div>
|
||||
|
||||
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') >
|
||||
<div class="overviewsearch">
|
||||
{$searchcode}
|
||||
</div>
|
||||
|
||||
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') >
|
||||
<div class="overviewadd">
|
||||
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a>
|
||||
</div>
|
||||
</if>
|
||||
</if>
|
||||
|
||||
<table class="bradius">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$lng['login']['username']} {$arrowcode['username']}</th>
|
||||
<th>{$lng['panel']['path']} {$arrowcode['homedir']}</th>
|
||||
<th>{$lng['panel']['options']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<if $pagingcode != ''>
|
||||
<table class="bradius">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$lng['login']['username']} {$arrowcode['username']}</th>
|
||||
<th>{$lng['panel']['path']} {$arrowcode['homedir']}</th>
|
||||
<th>{$lng['panel']['options']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<if $pagingcode != ''>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="3">{$pagingcode}</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</if>
|
||||
<tbody>
|
||||
{$accounts}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p style="display:none;">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
</p>
|
||||
</if>
|
||||
|
||||
<tbody>
|
||||
{$accounts}
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') && 15 < $ftps_count >
|
||||
<div class="overviewadd">
|
||||
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a>
|
||||
</div>
|
||||
<div class="overviewadd">
|
||||
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a>
|
||||
</div>
|
||||
</if>
|
||||
|
||||
</section>
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
<td>{$row['username']}</td>
|
||||
<td>{$row['documentroot']}</td>
|
||||
<td>
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'edit', 'id' => $row['id']))}" style="text-decoration:none;">
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'edit', 'id' => $row['id']))}">
|
||||
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['panel']['edit']}" title="{$lng['panel']['edit']}" />
|
||||
</a>
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'delete', 'id' => $row['id']))}" style="text-decoration:none;">
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'delete', 'id' => $row['id']))}">
|
||||
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="{$lng['panel']['delete']}" title="{$lng['panel']['delete']}" />
|
||||
</a>
|
||||
</td>
|
||||
|
||||
20
templates/Sparkle/customer/ftp/accounts_add.tpl
vendored
20
templates/Sparkle/customer/ftp/accounts_add.tpl
vendored
@@ -10,20 +10,14 @@ $header
|
||||
<section class="fullform bradius">
|
||||
|
||||
<form action="{$linker->getLink(array('section' => 'ftp'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$title}</legend>
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
<input type="hidden" name="send" value="send" />
|
||||
|
||||
<table class="formtable">
|
||||
{$ftp_add_form}
|
||||
</table>
|
||||
|
||||
<p style="display: none;">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
<input type="hidden" name="send" value="send" />
|
||||
</p>
|
||||
</fieldset>
|
||||
<table class="formtable">
|
||||
{$ftp_add_form}
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</section>
|
||||
|
||||
22
templates/Sparkle/customer/ftp/accounts_edit.tpl
vendored
22
templates/Sparkle/customer/ftp/accounts_edit.tpl
vendored
@@ -10,21 +10,15 @@ $header
|
||||
<section class="fullform bradius">
|
||||
|
||||
<form action="{$linker->getLink(array('section' => 'ftp'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$title}</legend>
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
<input type="hidden" name="send" value="send" />
|
||||
<input type="hidden" name="id" value="$id" />
|
||||
|
||||
<table class="formtable">
|
||||
{$ftp_edit_form}
|
||||
</table>
|
||||
|
||||
<p style="display: none;">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
<input type="hidden" name="send" value="send" />
|
||||
<input type="hidden" name="id" value="$id" />
|
||||
</p>
|
||||
</fieldset>
|
||||
<table class="formtable">
|
||||
{$ftp_edit_form}
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user