Initial commit
This commit is contained in:
6
app/views/admin/modules/models/install.html
Normal file
6
app/views/admin/modules/models/install.html
Normal file
@ -0,0 +1,6 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Install {MODEL}</legend>
|
||||
<p>The Tempus Project cannot guarantee the safety or effectiveness of any models not offered directly from the organizations 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/models/list.html
Normal file
35
app/views/admin/modules/models/list.html
Normal file
@ -0,0 +1,35 @@
|
||||
<legend><h2>Installed Models</h2></legend>
|
||||
{PAGINATION}
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 40%">Name</th>
|
||||
<th style="width: 15%">Install Status</th>
|
||||
<th style="width: 5%">File Version</th>
|
||||
<th style="width: 5%">Installed Version</th>
|
||||
<th style="width: 15%">Install Date</th>
|
||||
<th style="width: 15%">Last Updated</th>
|
||||
<th style="width: 10%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td><a href="{ROOT_URL}admin/models/view/{name}">{name}</a></td>
|
||||
<td>{installStatus}</td>
|
||||
<td>{version}</td>
|
||||
<td>{installedVersion}</td>
|
||||
<td>{DTC=date}{installDate}{/DTC}</td>
|
||||
<td>{DTC=date}{lastUpdate}{/DTC}</td>
|
||||
<td><a href="{ROOT_URL}admin/models/view/{name}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-open"></i></a></td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
6
app/views/admin/modules/models/uninstall.html
Normal file
6
app/views/admin/modules/models/uninstall.html
Normal file
@ -0,0 +1,6 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Uninstall {MODEL}</legend>
|
||||
<p>Are you sure you would like to uninstall this model and all of its components? There is no guarantee that your site will continue to run without error. This is especially the case when uninstalling core TTP models.</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>
|
69
app/views/admin/modules/models/view.html
Normal file
69
app/views/admin/modules/models/view.html
Normal file
@ -0,0 +1,69 @@
|
||||
<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">Model 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>Status:</td>
|
||||
<td align="right">{installStatus}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Installed:</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>installTable:</td>
|
||||
<td align="right">{installTable}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>installPermissions:</td>
|
||||
<td align="right">{installPermissions}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>installConfigs:</td>
|
||||
<td align="right">{installConfigs}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>installResources:</td>
|
||||
<td align="right">{installResources}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>installPreferences:</td>
|
||||
<td align="right">{installPreferences}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="{ROOT_URL}admin/models/install/{name}" class="btn btn-sm btn-warning" role="button">Install</a>
|
||||
<a href="{ROOT_URL}admin/models/uninstall/{name}" class="btn btn-sm btn-danger" role="button">Uninstall</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user