Bugfixes and Bootstrap 5 finalized

This commit is contained in:
Joey Kimsey
2024-12-17 22:57:55 -05:00
parent 2220c6cda3
commit a859fb7ace
79 changed files with 2011 additions and 1597 deletions

View File

@ -1,26 +0,0 @@
<legend><h2>Installed Dependencies</h2></legend>
<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><a href="{ROOT_URL}admin/dependencies/viewInfo/{name}">{name}</a></td>
<td>{requiredVersion}</td>
<td>{version}</td>
</tr>
{/LOOP}
{ALT}
<tr>
<td colspan="6">
No results to show.
</td>
</tr>
{/ALT}
</tbody>
</table>

View 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>

View File

@ -1,6 +0,0 @@
<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>

View File

@ -1,34 +0,0 @@
<legend><h2>Installed Models</h2></legend>
<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"><i class="fa fa-fw fa-upload"></i></a></td>
</tr>
{/LOOP}
{ALT}
<tr>
<td colspan="6">
No results to show.
</td>
</tr>
{/ALT}
</tbody>
</table>

View File

@ -1,6 +0,0 @@
<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>

View File

@ -1,69 +0,0 @@
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-6 col-lg-6 col-sm-offset-0 col-md-offset-3 col-lg-offset-3 top-pad" >
<div class="card">
<div class="card-header bg-dark">
<h3 class="card-title">Model Info</h3>
</div>
<div class="card-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="card-footer">
<a href="{ROOT_URL}admin/models/install/{name}" class="btn btn-sm btn-warning">Install</a>
<a href="{ROOT_URL}admin/models/uninstall/{name}" class="btn btn-sm btn-danger">Uninstall</a>
</div>
</div>
</div>
</div>
</div>

View File

@ -1,7 +1,13 @@
<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>
<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>

View File

@ -1,7 +1,13 @@
<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>
<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-primary center-block">Enable</button>
<input type="hidden" name="installHash" value="{TOKEN}">
</form>
</div>
</div>

View File

@ -1,6 +1,12 @@
<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>
<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>

View File

@ -1,34 +1,38 @@
<legend><h2>Installed Plugins</h2></legend>
<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>
<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}">{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>

View File

@ -1,6 +1,12 @@
<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>
<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-primary center-block">Uninstall</button>
<input type="hidden" name="uninstallHash" value="{TOKEN}">
</form>
</div>
</div>

View File

@ -1,75 +1,80 @@
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-6 col-lg-6 col-sm-offset-0 col-md-offset-3 col-lg-offset-3 top-pad" >
<div class="card">
<div class="card-header bg-dark">
<h3 class="card-title">Plugin Info</h3>
</div>
<div class="card-body">
<div class="row">
<div class=" col-md-12 col-lg-12 ">
<table class="table table-user-primary">
<tbody>
<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>
<td align="left" width="200">Name:</td>
<td align="right">{name}</td>
<th scope="row" class="col-3">Name</th>
<td>{name}</td>
</tr>
<tr>
<td>Enabled:</td>
<td align="right">{enabled_txt}</td>
<th scope="row">Enabled</th>
<td>{enabled_txt}</td>
</tr>
<tr>
<td>Status:</td>
<td align="right">{installStatus}</td>
<th scope="row">Status</th>
<td>{installStatus}</td>
</tr>
<tr>
<td>Install Date:</td>
<td align="right">{DTC}{installDate}{/DTC}</td>
<th scope="row">Install Date</th>
<td>{DTC}{installDate}{/DTC}</td>
</tr>
<tr>
<td>Last Updated:</td>
<td align="right">{DTC}{lastUpdate}{/DTC}</td>
<th scope="row">Last Updated</th>
<td>{DTC}{lastUpdate}{/DTC}</td>
</tr>
<tr>
<td>File Version:</td>
<td align="right">{version}</td>
<th scope="row">File Version</th>
<td>{version}</td>
</tr>
<tr>
<td>Installed Version:</td>
<td align="right">{installedVersion}</td>
<th scope="row">Installed Version</th>
<td>{installedVersion}</td>
</tr>
<tr>
<td>Preferences Installed:</td>
<td align="right">{preferences_installed}</td>
<th scope="row">Preferences Installed</th>
<td>{preferences_installed}</td>
</tr>
<tr>
<td>Permissions Installed:</td>
<td align="right">{permissions_installed}</td>
<th scope="row">Permissions Installed</th>
<td>{permissions_installed}</td>
</tr>
<tr>
<td>Configs Installed:</td>
<td align="right">{configs_installed}</td>
<th scope="row">Configs Installed</th>
<td>{configs_installed}</td>
</tr>
<tr>
<td>Models Installed:</td>
<td align="right">{models_installed}</td>
<th scope="row">Models Installed</th>
<td>{models_installed}</td>
</tr>
<tr>
<td>Resources Installed:</td>
<td align="right">{resources_installed}</td>
<th scope="row">Resources Installed</th>
<td>{resources_installed}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="card-footer">
</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>
</div>
</div>
</div>