hfkfhkfhgjkuhgfkjfghkj

This commit is contained in:
Local Dev
2025-02-03 12:03:51 -05:00
commit fd36f0f4bf
302 changed files with 22625 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{installer-nav}
<div class="container">
<div class="row justify-content-center">
<div class="col-md-10 pt-4">
<form method="post">
<fieldset>
<div class="mb-3 col-md-4 offset-md-4">
<label for="newUsername" class="form-label">Username:</label>
<input class="form-control" type="text" name="newUsername" id="newUsername" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="userEmail" class="form-label">Email:</label>
<input class="form-control" type="email" name="userEmail" id="userEmail" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="userEmail2" class="form-label">Re-enter Email:</label>
<input class="form-control" type="email" name="userEmail2" id="userEmail2" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="userPassword" class="form-label">Password:</label>
<input class="form-control" type="password" name="userPassword" id="userPassword">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="userPassword2" class="form-label">Re-enter Password:</label>
<input class="form-control" type="password" name="userPassword2" id="userPassword2">
</div>
</fieldset>
<input type="hidden" name="token" value="{TOKEN}">
<div class="text-center">
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Complete</button>
</div>
</form>
</div>
</div>
</div>

View File

@ -0,0 +1,16 @@
{installer-nav}
<div class="container">
<div class="row justify-content-center">
<div class="col-md-10">
<div class="install-terms col-lg-8 mx-auto mt-4">
{TERMS}
</div>
<div class="text-center my-4">
<form method="post">
<input type="hidden" name="token" value="{TOKEN}">
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">I Agree</button><br>
</form>
</div>
</div>
</div>
</div>

23
app/views/install/check.html Executable file
View File

@ -0,0 +1,23 @@
{installer-nav}
<div class="container">
<div class="row justify-content-center">
<div class="col-md-10">
<h2 class="mt-4">Requirements</h2>
<ul>
<li>PHP version greater than 5.6</li>
<li>Session storage must be enabled</li>
<li>PHP mail must be enabled.</li>
<li>Safe mode must be disabled.</li>
<li>Rewrite rule must be on</li>
<li>file uploads must be on</li>
<li>mysql_pdo must be enabled</li>
</ul>
<div class="text-center">
<form method="post">
<input type="hidden" name="token" value="{TOKEN}">
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Check</button><br>
</form>
</div>
</div>
</div>
</div>

32
app/views/install/complete.html Executable file
View File

@ -0,0 +1,32 @@
<div class="container py-5">
<div class="row justify-content-center">
<div class="col-lg-8 text-center">
<!-- Success Icon -->
<div class="mb-4">
<i class="fa fa-check-circle text-success display-3"></i>
</div>
<!-- Title -->
<h1 class="display-5 fw-bold text-success">Success</h1>
<!-- Subtitle -->
<h3 class="mt-3">
The Tempus Project has been successfully installed.
</h3>
<p class="lead mt-3">
You can now log in and manage your site or jump straight into building your new features!
</p>
<!-- Info Readout Placeholder -->
<p class="mt-4 text-muted">
<em>Some plugins may need additional configuration and there are already some pre-made resources to get you started. (Both in the files and the Admin Panel)</em>
</p>
<!-- Call-to-Action Buttons -->
<div class="d-flex justify-content-center gap-3 mt-4">
<a href="/home/login" class="btn btn-success btn-lg">
<i class="fa fa-sign-in-alt me-2"></i> Log In
</a>
<a href="/home/index" class="btn btn-outline-success btn-lg">
<i class="fa fa-cogs me-2"></i> Go to Homepage
</a>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,44 @@
<div class="context-main-bg my-3 pb-3 rounded col-10 offset-1">
{installer-nav}
<div class="row justify-content-center">
<div class="col-md-10">
<legend class="my-3 text-center">Configure</legend>
<form method="post" enctype="multipart/form-data">
<fieldset>
<div class="mb-3 col-md-4 offset-md-4">
<label for="siteName" class="form-label">Site Name:</label>
<input class="form-control" type="text" name="siteName" id="siteName" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="logo" class="form-label">Logo (200 x 200px):</label>
<input class="form-control" type="file" name="logo" id="logo">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="dbPrefix" class="form-label">Database Table Prefix:</label>
<input class="form-control" type="text" name="dbPrefix" id="dbPrefix" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="dbHost" class="form-label">Database Host:</label>
<input class="form-control" type="text" name="dbHost" id="dbHost" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="dbName" class="form-label">Database Name:</label>
<input class="form-control" type="text" name="dbName" id="dbName" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="dbUsername" class="form-label">Database Username:</label>
<input class="form-control" type="text" name="dbUsername" id="dbUsername" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="dbPassword" class="form-label">Database Password:</label>
<input class="form-control" type="password" name="dbPassword" id="dbPassword">
</div>
</fieldset>
<input type="hidden" name="token" value="{TOKEN}">
<div class="text-center mb-3">
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Save</button><br>
</div>
</form>
</div>
</div>
</div>

37
app/views/install/models.html Executable file
View File

@ -0,0 +1,37 @@
<div class="context-main-bg my-3 pb-3 rounded col-10 offset-1">
{installer-nav}
<div class="row justify-content-center">
<div class="col-md-10">
<p class="my-4">All models are required for proper installation of The Tempus Project. In this step, we will add the database tables required for these models. In the next step, you'll be able to select which plugins you would like installed.</p>
<form method="post">
<table class="table table-striped">
<thead>
<tr>
<th class="px-5" style="width: 70%">Model Name</th>
<th class="text-center" style="width: 20%">Version</th>
</tr>
</thead>
<tbody>
{LOOP}
<tr>
<td class="px-5">{name}</td>
<td class="text-center">{version}</td>
</tr>
{/LOOP}
{ALT}
<tr>
<td class="text-center" colspan="3">
No models to install.
</td>
</tr>
{/ALT}
</tbody>
</table>
<input type="hidden" name="token" value="{TOKEN}">
<div class="text-center">
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Install</button>
</div>
</form>
</div>
</div>
</div>

12
app/views/install/nav.html Executable file
View File

@ -0,0 +1,12 @@
<div class="nav nav-tabs justify-content-center pt-3 col-10 offset-1" id="nav-tab" role="tablist">
<button class="nav-link {menu-Welcome}" type="button" role="tab">Welcome</button>
<button class="nav-link {menu-Terms}" type="button" role="tab">Terms</button>
<button class="nav-link {menu-Verify}" type="button" role="tab">Verify</button>
<button class="nav-link {menu-Configure}" type="button" role="tab">Configure</button>
<button class="nav-link {menu-Routing}" type="button" role="tab">Routing</button>
<button class="nav-link {menu-Models}" type="button" role="tab">Models</button>
<button class="nav-link {menu-Plugins}" type="button" role="tab">Plugins</button>
<button class="nav-link {menu-Resources}" type="button" role="tab">Resources</button>
<button class="nav-link {menu-User}" type="button" role="tab">User</button>
<button class="nav-link {menu-Complete}" type="button" role="tab">Complete</button>
</div>

45
app/views/install/plugins.html Executable file
View File

@ -0,0 +1,45 @@
<div class="context-main-bg my-3 pb-3 rounded col-10 offset-1">
{installer-nav}
<div class="row justify-content-center">
<div class="col-md-10">
<p class="my-4">
The Tempus Project was built to utilize all of the plugins provided with the installer. You can choose not to enable any one of them, but it may negatively impact the operation of your site.
</p>
<form method="post">
<table class="table table-striped">
<thead>
<tr>
<th class="px-5" style="width: 70%">Plugin Name</th>
<th class="text-center" style="width: 20%">Version</th>
<th class="text-center" style="width: 10%">
<input type="checkbox" onchange="checkAll(this)" name="check.m" value="P_[]" checked="checked">
</th>
</tr>
</thead>
<tbody>
{LOOP}
<tr>
<td class="px-5">{name}</td>
<td class="text-center">{version}</td>
<td class="text-center">
<input type="checkbox" value="{name}" name="P_[]" checked="checked">
</td>
</tr>
{/LOOP}
{ALT}
<tr>
<td align="center" colspan="3">
No models to install.
</td>
</tr>
{/ALT}
</tbody>
</table>
<input type="hidden" name="token" value="{TOKEN}">
<div class="text-center mb-3">
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Install</button>
</div>
</form>
</div>
</div>
</div>

View File

@ -0,0 +1,16 @@
<div class="context-main-bg my-3 pb-3 rounded col-10 offset-1">
{installer-nav}
<div class="row justify-content-center">
<div class="col-md-10">
<p class="my-4">
Some models such as groups will need additional database resources and configurations to function properly. In this step, we will install those features.
</p>
<form method="post">
<input type="hidden" name="token" value="{TOKEN}">
<div class="text-center my-3">
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Install Resources</button>
</div>
</form>
</div>
</div>
</div>

18
app/views/install/routing.html Executable file
View File

@ -0,0 +1,18 @@
<div class="context-main-bg my-3 pb-3 rounded col-10 offset-1">
{installer-nav}
<div class="row justify-content-center">
<div class="col-md-10">
<p class="mt-4">The Tempus Project uses rewrites in htaccess files (Apache), or location directives (Nginx), to automatically route all incoming traffic through the app. In this step, we will help set-up and then test that the required configurations have been made.</p>
<h3>Apache Users</h3>
<p>In this step, we will attempt to generate the appropriate files for Apache servers.</p>
<h3>Nginx Users</h3>
<p>If you are using Nginx, you will need to update your server's configuration manually. Please see the documentation, for convenience, an example configuration has been provided with TheTempusProject and can be found in the app/resources directory.</p>
<form method="post">
<input type="hidden" name="token" value="{TOKEN}">
<div class="text-center">
<button class="btn btn-lg btn-primary center-block mb-3" type="submit" name="submit" value="submit">Generate</button><br>
</div>
</form>
</div>
</div>
</div>

13
app/views/install/start.html Executable file
View File

@ -0,0 +1,13 @@
<div class="container">
<div class="row justify-content-center">
<div class="col-md-10 text-center">
{installer-nav}
<h1 class="mt-4">Welcome to The Tempus Project Installer.</h1>
<p>This installer will guide you through the process of installing and configuring The Tempus Project. Do not forget to delete this file once you have completed installation.</p>
<form action="" method="post">
<input type="hidden" name="token" value="{TOKEN}">
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" id="submit" value="submit">Begin Installation</button><br>
</form>
</div>
</div>
</div>

View File

@ -0,0 +1,16 @@
<div class="context-main-bg my-3 pb-3 rounded col-10 offset-1">
{installer-nav}
<div class="row justify-content-center">
<div class="col-10">
<div class="install-terms col-lg-8 mx-auto mt-4">
{TERMS}
</div>
<div class="text-center my-4">
<form method="post">
<input type="hidden" name="token" value="{TOKEN}">
<button class="btn btn-lg btn-primary center-block mb-3" type="submit" name="submit" value="submit">I Agree</button><br>
</form>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,35 @@
<div class="context-main-bg my-3 pb-3 rounded col-10 offset-1">
{installer-nav}
<div class="row justify-content-center">
<div class="col-md-10 pt-4">
<form method="post">
<fieldset>
<div class="mb-3 col-md-4 offset-md-4">
<label for="newUsername" class="form-label">Username:</label>
<input class="form-control" type="text" name="newUsername" id="newUsername" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="userEmail" class="form-label">Email:</label>
<input class="form-control" type="email" name="userEmail" id="userEmail" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="userEmail2" class="form-label">Re-enter Email:</label>
<input class="form-control" type="email" name="userEmail2" id="userEmail2" value="">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="userPassword" class="form-label">Password:</label>
<input class="form-control" type="password" name="userPassword" id="userPassword">
</div>
<div class="mb-3 col-md-4 offset-md-4">
<label for="userPassword2" class="form-label">Re-enter Password:</label>
<input class="form-control" type="password" name="userPassword2" id="userPassword2">
</div>
</fieldset>
<input type="hidden" name="token" value="{TOKEN}">
<div class="text-center">
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Complete</button>
</div>
</form>
</div>
</div>
</div>

View File

@ -0,0 +1,23 @@
<div class="context-main-bg my-3 pb-3 rounded col-10 offset-1">
{installer-nav}
<div class="row justify-content-center">
<div class="col-md-10">
<h2 class="mt-4">Requirements</h2>
<ul>
<li>PHP version greater than 5.6</li>
<li>Session storage must be enabled</li>
<li>PHP mail must be enabled.</li>
<li>Safe mode must be disabled.</li>
<li>Rewrite rule must be on</li>
<li>file uploads must be on</li>
<li>mysql_pdo must be enabled</li>
</ul>
<div class="text-center">
<form method="post">
<input type="hidden" name="token" value="{TOKEN}">
<button class="btn btn-lg btn-primary center-block mb-3" type="submit" name="submit" value="submit">Check</button><br>
</form>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,17 @@
<div class="container">
<div class="row justify-content-center">
<div class="col-md-10 text-center">
<div class="context-main-bg my-3 pb-3 rounded">
{installer-nav}
<h1 class="mt-5 mb-4">Welcome to The Tempus Project Installer.</h1>
<p class="lead p-3">
This installer will guide you through the process of installing and configuring The Tempus Project. Do not forget to delete this file once you have completed installation.
</p>
<form method="post">
<input type="hidden" name="token" value="{TOKEN}">
<button class="btn btn-lg btn-primary center-block mb-3" type="submit" name="submit" id="submit" value="submit">Begin Installation</button><br>
</form>
</div>
</div>
</div>
</div>