Initial commit
This commit is contained in:
7
app/views/admin/modules/plugins/disable.html
Normal file
7
app/views/admin/modules/plugins/disable.html
Normal file
@ -0,0 +1,7 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Disable {PLUGIN}</legend>
|
||||
<p>Are you absolutely <b>SURE</b> you wish to <b>Disable</b> this plugin?</p>
|
||||
<p>The Tempus Project cannot guarantee the safety or effectiveness of any plugins not offered directly from the organization's GitHub at <a href="https://github.com/TheTempusProject">The Tempus Project</a></p>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Disable</button>
|
||||
<input type="hidden" name="installHash" value="{TOKEN}">
|
||||
</form><br>
|
7
app/views/admin/modules/plugins/enable.html
Normal file
7
app/views/admin/modules/plugins/enable.html
Normal file
@ -0,0 +1,7 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Enable {PLUGIN}</legend>
|
||||
<p>Are you absolutely <b>SURE</b> you wish to <b>Enable</b> this plugin?</p>
|
||||
<p>The Tempus Project cannot guarantee the safety or effectiveness of any plugins not offered directly from the organization's GitHub at <a href="https://github.com/TheTempusProject">The Tempus Project</a></p>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Enable</button>
|
||||
<input type="hidden" name="installHash" value="{TOKEN}">
|
||||
</form><br>
|
6
app/views/admin/modules/plugins/install.html
Normal file
6
app/views/admin/modules/plugins/install.html
Normal file
@ -0,0 +1,6 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Install {PLUGIN}</legend>
|
||||
<p>The Tempus Project cannot guarantee the safety or effectiveness of any plugins not offered directly from the organization's GitHub at <a href="https://github.com/TheTempusProject">The Tempus Project</a></p>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Install</button>
|
||||
<input type="hidden" name="installHash" value="{TOKEN}">
|
||||
</form><br>
|
35
app/views/admin/modules/plugins/list.html
Normal file
35
app/views/admin/modules/plugins/list.html
Normal file
@ -0,0 +1,35 @@
|
||||
<legend><h2>Installed Plugins</h2></legend>
|
||||
{PAGINATION}
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 20%">Name</th>
|
||||
<th style="width: 5%">Enabled</th>
|
||||
<th style="width: 15%">Install Status</th>
|
||||
<th style="width: 10%">File Version</th>
|
||||
<th style="width: 10%">Installed Version</th>
|
||||
<th style="width: 15%">Install Date</th>
|
||||
<th style="width: 15%">Last Updated</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td><a href="{ROOT_URL}admin/plugins/view/{name}">{name}</a></td>
|
||||
<td>{enabled_txt}</td>
|
||||
<td>{installStatus}</td>
|
||||
<td>{version}</td>
|
||||
<td>{installedVersion}</td>
|
||||
<td>{DTC=date}{installDate}{/DTC}</td>
|
||||
<td>{DTC=date}{lastUpdate}{/DTC}</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
6
app/views/admin/modules/plugins/uninstall.html
Normal file
6
app/views/admin/modules/plugins/uninstall.html
Normal file
@ -0,0 +1,6 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Uninstall {PLUGIN}</legend>
|
||||
<p>Are you sure you would like to uninstall this plugin and all of its components? There is no guarantee that your site will continue to run without error.</p>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Uninstall</button>
|
||||
<input type="hidden" name="uninstallHash" value="{TOKEN}">
|
||||
</form><br>
|
75
app/views/admin/modules/plugins/view.html
Normal file
75
app/views/admin/modules/plugins/view.html
Normal file
@ -0,0 +1,75 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xs-offset-0 col-sm-offset-0 col-md-offset-3 col-lg-offset-3 top-pad" >
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Plugin Info</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class=" col-md-12 col-lg-12 ">
|
||||
<table class="table table-user-primary">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left" width="200">Name:</td>
|
||||
<td align="right">{name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enabled:</td>
|
||||
<td align="right">{enabled_txt}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Status:</td>
|
||||
<td align="right">{installStatus}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Install Date:</td>
|
||||
<td align="right">{DTC}{installDate}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Last Updated:</td>
|
||||
<td align="right">{DTC}{lastUpdate}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>File Version:</td>
|
||||
<td align="right">{version}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Installed Version:</td>
|
||||
<td align="right">{installedVersion}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Preferences Installed:</td>
|
||||
<td align="right">{preferences_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Permissions Installed:</td>
|
||||
<td align="right">{permissions_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Configs Installed:</td>
|
||||
<td align="right">{configs_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Models Installed:</td>
|
||||
<td align="right">{models_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Resources Installed:</td>
|
||||
<td align="right">{resources_installed}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="{ROOT_URL}admin/plugins/install/{name}" class="btn btn-sm btn-primary" role="button">Install</a>
|
||||
<a href="{ROOT_URL}admin/plugins/enable/{name}" class="btn btn-sm btn-success" role="button">Enable</a>
|
||||
<a href="{ROOT_URL}admin/plugins/disable/{name}" class="btn btn-sm btn-danger" role="button">Disable</a>
|
||||
<a href="{ROOT_URL}admin/plugins/uninstall/{name}" class="btn btn-sm btn-danger" role="button">Uninstall</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user