Initial commit
This commit is contained in:
39
app/views/install/adminUser.html
Normal file
39
app/views/install/adminUser.html
Normal file
@ -0,0 +1,39 @@
|
||||
{installer-nav}
|
||||
<br>
|
||||
<br>
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="newUsername" class="col-lg-6 control-label">Username:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="newUsername" id="newUsername" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="userEmail" class="col-lg-6 control-label">Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="email" name="userEmail" id="userEmail" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="userEmail2" class="col-lg-6 control-label">Re-enter Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="email" name="userEmail2" id="userEmail2" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="userPassword" class="col-lg-6 control-label">Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="password" name="userPassword" id="userPassword">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="userPassword2" class="col-lg-6 control-label">Re-enter Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="password" name="userPassword2" id="userPassword2">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Install</button><br>
|
||||
</form>
|
14
app/views/install/agreement.html
Normal file
14
app/views/install/agreement.html
Normal file
@ -0,0 +1,14 @@
|
||||
{installer-nav}
|
||||
<br>
|
||||
<br>
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<center>
|
||||
<div class="install-terms">
|
||||
{TERMS}
|
||||
</div>
|
||||
</center>
|
||||
</div>
|
||||
<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>
|
15
app/views/install/check.html
Normal file
15
app/views/install/check.html
Normal file
@ -0,0 +1,15 @@
|
||||
{installer-nav}
|
||||
<h2>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>
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<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>
|
3
app/views/install/complete.html
Normal file
3
app/views/install/complete.html
Normal file
@ -0,0 +1,3 @@
|
||||
<h1>Success</h1>
|
||||
<h3>The Tempus Project has been successfully installed. You can now log in and manage your site or jump straight in to building your new features!</h3>
|
||||
<p>here there should be some basic info readout.</p>
|
50
app/views/install/configure.html
Normal file
50
app/views/install/configure.html
Normal file
@ -0,0 +1,50 @@
|
||||
{installer-nav}
|
||||
<br>
|
||||
<form action="" method="post" class="form-horizontal" enctype="multipart/form-data">
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="siteName" class="col-lg-6 control-label">Site Name:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="siteName" id="siteName" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="logo" class="col-lg-6 control-label">Logo (200 x 200px):</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="file" name="logo" id="logo">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dbPrefix" class="col-lg-6 control-label">Database Table Prefix:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="dbPrefix" id="dbPrefix" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dbHost" class="col-lg-6 control-label">Database Host:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="dbHost" id="dbHost" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dbName" class="col-lg-6 control-label">Database Name:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="dbName" id="dbName" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dbUsername" class="col-lg-6 control-label">Database Username:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="dbUsername" id="dbUsername" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dbPassword" class="col-lg-6 control-label">Database Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="password" name="dbPassword" id="dbPassword">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Configure</button><br>
|
||||
</form>
|
38
app/views/install/install.html
Normal file
38
app/views/install/install.html
Normal file
@ -0,0 +1,38 @@
|
||||
{installer-nav}
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Install</legend>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="siteName" class="col-lg-6 control-label">Site Name:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="siteName" id="siteName" value="{name}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dbHost" class="col-lg-6 control-label">Database Host:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="dbHost" id="dbHost" value="{dbHost}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dbName" class="col-lg-6 control-label">Database Name:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="dbName" id="dbName" value="{dbName}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dbUsername" class="col-lg-6 control-label">Database Username:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="dbUsername" id="dbUsername" value="{dbUsername}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dbPassword" class="col-lg-6 control-label">Database Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="password" name="dbPassword" id="dbPassword">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Install</button><br>
|
||||
</form>
|
31
app/views/install/models.html
Normal file
31
app/views/install/models.html
Normal file
@ -0,0 +1,31 @@
|
||||
{installer-nav}
|
||||
<br>
|
||||
<p>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>
|
||||
<br>
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 70%">Model Name</th>
|
||||
<th style="width: 20%">Version</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td>{name}</td>
|
||||
<td>{version}</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}">
|
||||
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Install</button><br>
|
||||
</form>
|
12
app/views/install/nav.html
Normal file
12
app/views/install/nav.html
Normal file
@ -0,0 +1,12 @@
|
||||
<ul class="nav nav-tabs nav-justified" role="tablist" style="margin-top: 55px">
|
||||
<li class="{menu-Welcome}"><a href="#">Welcome</a></li>
|
||||
<li class="{menu-Terms}"><a href="#">Terms</a></li>
|
||||
<li class="{menu-Verify}"><a href="#">Verify</a></li>
|
||||
<li class="{menu-Configure}"><a href="#">Configure</a></li>
|
||||
<li class="{menu-Routing}"><a href="#">Routing</a></li>
|
||||
<li class="{menu-Models}"><a href="#">Models</a></li>
|
||||
<li class="{menu-Plugins}"><a href="#">Plugins</a></li>
|
||||
<li class="{menu-Resources}"><a href="#">Resources</a></li>
|
||||
<li class="{menu-User}"><a href="#">User</a></li>
|
||||
<li class="{menu-Complete}"><a href="#">Complete</a></li>
|
||||
</ul>
|
37
app/views/install/plugins.html
Normal file
37
app/views/install/plugins.html
Normal file
@ -0,0 +1,37 @@
|
||||
{installer-nav}
|
||||
<br>
|
||||
<p>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>
|
||||
<br>
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 70%">Plugin Name</th>
|
||||
<th style="width: 20%">Version</th>
|
||||
<th style="width: 10%">
|
||||
<INPUT type="checkbox" onchange="checkAll(this)" name="check.m" value="P_[]" checked="checked"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td>{name}</td>
|
||||
<td>{version}</td>
|
||||
<td>
|
||||
<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}">
|
||||
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Install</button><br>
|
||||
</form>
|
10
app/views/install/resources.html
Normal file
10
app/views/install/resources.html
Normal file
@ -0,0 +1,10 @@
|
||||
{installer-nav}
|
||||
<br>
|
||||
<br>
|
||||
<p>Some models such as groups will need additional database resources and configurations to function properly. In this step, we will install those features.</p>
|
||||
<br>
|
||||
<br>
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Install Resources</button><br>
|
||||
</form>
|
14
app/views/install/routing.html
Normal file
14
app/views/install/routing.html
Normal file
@ -0,0 +1,14 @@
|
||||
{installer-nav}
|
||||
<br>
|
||||
<br>
|
||||
<p>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>
|
||||
<br>
|
||||
<br>
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Generate</button><br>
|
||||
</form>
|
11
app/views/install/start.html
Normal file
11
app/views/install/start.html
Normal file
@ -0,0 +1,11 @@
|
||||
{installer-nav}
|
||||
<h1>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>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button class="btn btn-lg btn-primary center-block" type="submit" name="submit" value="submit">Begin Installation</button><br>
|
||||
</form>
|
Reference in New Issue
Block a user