hfkfhkfhgjkuhgfkjfghkj
This commit is contained in:
30
app/views/admin/modules/dependencies.html
Executable file
30
app/views/admin/modules/dependencies.html
Executable file
@ -0,0 +1,30 @@
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Installed Dependencies</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 40%">Name</th>
|
||||
<th style="width: 40%">Required Version</th>
|
||||
<th style="width: 20%">Installed Version</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td><b>{name}</b></td>
|
||||
<td>{requiredVersion}</td>
|
||||
<td>{version}</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
13
app/views/admin/modules/plugins/disable.html
Executable file
13
app/views/admin/modules/plugins/disable.html
Executable file
@ -0,0 +1,13 @@
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Disable {PLUGIN}</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<div class="col-lg-6 offset-md-3 text-center">
|
||||
<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>
|
||||
<form method="post">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
13
app/views/admin/modules/plugins/enable.html
Executable file
13
app/views/admin/modules/plugins/enable.html
Executable file
@ -0,0 +1,13 @@
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Enable {PLUGIN}</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<div class="col-lg-6 offset-md-3 text-center">
|
||||
<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>
|
||||
<form method="post">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-success center-block">Enable</button>
|
||||
<input type="hidden" name="installHash" value="{TOKEN}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
12
app/views/admin/modules/plugins/install.html
Executable file
12
app/views/admin/modules/plugins/install.html
Executable file
@ -0,0 +1,12 @@
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Install {PLUGIN}</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<div class="col-lg-6 offset-md-3 text-center">
|
||||
<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>
|
||||
<form method="post">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
38
app/views/admin/modules/plugins/list.html
Executable file
38
app/views/admin/modules/plugins/list.html
Executable file
@ -0,0 +1,38 @@
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Installed Plugins</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<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}" class="text-decoration-none">{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>
|
||||
</div>
|
12
app/views/admin/modules/plugins/uninstall.html
Executable file
12
app/views/admin/modules/plugins/uninstall.html
Executable file
@ -0,0 +1,12 @@
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Uninstall {PLUGIN}</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<div class="col-lg-6 offset-md-3 text-center">
|
||||
<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>
|
||||
<form method="post">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-outline-danger center-block">Uninstall</button>
|
||||
<input type="hidden" name="uninstallHash" value="{TOKEN}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
80
app/views/admin/modules/plugins/view.html
Executable file
80
app/views/admin/modules/plugins/view.html
Executable file
@ -0,0 +1,80 @@
|
||||
<div class="container py-4">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<div class="card shadow">
|
||||
<!-- Card Header -->
|
||||
<div class="card-header text-center bg-dark text-white">
|
||||
<h3 class="card-title mb-0">Plugin: {name}</h3>
|
||||
</div>
|
||||
|
||||
<!-- Card Body -->
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<!-- Log Details -->
|
||||
<table class="table table-borderless">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" class="col-3">Name</th>
|
||||
<td>{name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Enabled</th>
|
||||
<td>{enabled_txt}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Status</th>
|
||||
<td>{installStatus}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Install Date</th>
|
||||
<td>{DTC}{installDate}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Last Updated</th>
|
||||
<td>{DTC}{lastUpdate}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">File Version</th>
|
||||
<td>{version}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Installed Version</th>
|
||||
<td>{installedVersion}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Preferences Installed</th>
|
||||
<td>{preferences_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Permissions Installed</th>
|
||||
<td>{permissions_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Configs Installed</th>
|
||||
<td>{configs_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Models Installed</th>
|
||||
<td>{models_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Resources Installed</th>
|
||||
<td>{resources_installed}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Admin Controls -->
|
||||
<div class="card-footer text-center">
|
||||
<a href="{ROOT_URL}admin/plugins/install/{name}" class="btn btn-sm btn-primary">Install</a>
|
||||
<a href="{ROOT_URL}admin/plugins/enable/{name}" class="btn btn-sm btn-success">Enable</a>
|
||||
<a href="{ROOT_URL}admin/plugins/disable/{name}" class="btn btn-sm btn-danger">Disable</a>
|
||||
<a href="{ROOT_URL}admin/plugins/uninstall/{name}" class="btn btn-sm btn-danger">Uninstall</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user