Current File : //etc/sentora/panel/modules/sentoraconfig/module.zpm |
<div class="zmodule_content panel" id="zmodule_header_<@ ModuleName @>">
<div class="panel-heading">
<img src="<@ ModuleIcon @>" width="35" height="35" border="0" alt="<@ ModuleName @>">
<div class="zmodule_title">
<@ ModuleName @>
</div>
<div class="zmodule_desc" id="zmodule_desc_<@ ModuleName @>"><@ ModuleDesc @></div>
</div>
<@ Result @>
<div class="zgrid_wrapper">
<h2><: Configure your Sentora Settings :></h2>
<form action="./?module=sentoraconfig&action=UpdateConfig" method="post">
<table class="table table-striped">
<% loop Config %>
<tr valign="top">
<th nowrap="nowrap"><& cleanname &></th>
<td><& fieldhtml &><br><& description &><br><br></td>
</tr>
<% endloop %>
<tr>
<th colspan="3">
<@ CSFR_Tag @><button class="button-loader btn btn-primary" type="submit" id="button" name="inSaveSystem"><: Save Changes :></button>
</th>
</tr>
</table>
</form>
</div>
<div class="zgrid_wrapper">
<h2><: Sentora Daemon :></h2>
<form action="./?module=sentoraconfig&action=ForceDaemon" method="post">
<table class="table table-striped">
<tr valign="top">
<th nowrap="nowrap" width="300px"><: Next Daemon Run :>:</th><td><@ NextRunTime @></td>
</tr>
<tr valign="top">
<th nowrap="nowrap"><: Last Daemon Run :>:</th><td><% if LastRunTime %><@ LastRunTime @><% else %><: Never :><% endif %></td>
</tr>
<tr valign="top">
<th nowrap="nowrap"><: Last Day Daemon Run :>:</th><td><% if LastDayRunTime %><@ LastDayRunTime @><% else %><: Never :><% endif %></td>
</tr>
<tr valign="top">
<th nowrap="nowrap"><: Last Week Daemon Run :>:</th><td><% if LastWeekRunTime %><@ LastWeekRunTime @><% else %><: Never :><% endif %></td>
</tr>
<tr valign="top">
<th nowrap="nowrap"><: Last Month Daemon Run :>:</th><td><% if LastMonthRunTime %><@ LastMonthRunTime @><% else %><: Never :><% endif %></td>
</tr>
<tr>
<th><: Queue a full daemon run (reset) :>:</th><td><@ CSFR_Tag @><button class="btn btn-primary" type="submit" id="button" name="inForceFull"><: Go :></button></td>
</tr>
</table>
</form>
</div>
</div>