This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Incam_SGD/plugins/WemagDashboardManagement/admin/templates/defaultDashboard.smarty

46 lines
1.2 KiB
Plaintext

{i18n}This is the default dashboard that new users will see when they login. {/i18n}
<br />
<br />
{literal}
<style type="text/css">
tr.header {
background-color: #dddddd;
}
tr.evenRow {
background-color: #eeeeee;
}
tr.oddRow {
background-color: #dddddd;
}
tr.header td {
font-weight: bold;
}
</style>
{/literal}
<form method="post">
<table cellpadding="3">
<tr class="header">
<td>{i18n}Dashlet name{/i18n}</td>
<td>{i18n}Left column{/i18n}</td>
<td>{i18n}Right column{/i18n}</td>
<td>{i18n}Disabled{/i18n}</td>
<td>{i18n}Order in column{/i18n}</td>
</tr>
{foreach item=oDashlet from=$aDashlets}
<tr class="{cycle values="evenRow,oddRow"}">
<td>{$oDashlet->sTitle}</td>
<td><input type="radio" name="dashlets[{$oDashlet->id}]" value="left" {$oDashlet->left}/></td>
<td><input type="radio" name="dashlets[{$oDashlet->id}]" value="right" {$oDashlet->right}/></td>
<td><input type="radio" name="dashlets[{$oDashlet->id}]" value="disabled" {$oDashlet->disabled}/></td>
<td><input type="text" name="dashlet_order[{$oDashlet->id}]" value="{$oDashlet->order}" size=2/></td>
</tr>
{/foreach}
</table>
<br />
<input type="submit" name="saveDashboard" value="Save default dashboard" />
</form>