Merge branch 'main' into joeykimsey-com
This commit is contained in:
@ -1,39 +1,69 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Send Email</legend>
|
||||
<p>Please be very careful with this feature. This form allows you to send an email (formatted within the default site email template) to registered emails from various sources including newsletter subscribers, call to action subscribers, and all registered user accounts.</p>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="mailType" class="col-lg-3 control-label">Recipients:</label>
|
||||
<div class="col-lg-2">
|
||||
<select class="form-control" name="mailType" id="mailType">
|
||||
<option value='none' checked>none</option>
|
||||
<option value='registered'>all registered users</option>
|
||||
<option value='newsletter'>only newsletter opt-ins</option>
|
||||
<option value='subscribers'>only CTA subscribers</option>
|
||||
<option value='opt'>CTA subscribers and newsletter opt-ins</option>
|
||||
<option value='all'>all available emails</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Send Email</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<div class="col-lg-6 offset-md-3">
|
||||
<p>
|
||||
Please be very careful with this feature. This form allows you to send an email (formatted within the default site email template) to registered emails from various sources including newsletter subscribers, call to action subscribers, and all registered user accounts.
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="mailSubject" class="col-lg-3 control-label">Subject:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="mailSubject" id="mailSubject">
|
||||
<form action="" method="post">
|
||||
<fieldset>
|
||||
<!-- Subject -->
|
||||
<div class="mb-3 row">
|
||||
<label for="mailSubject" class="col-lg-3 col-form-label text-end">Subject:</label>
|
||||
<div class="col-lg-6">
|
||||
<input type="text" class="form-control" name="mailSubject" id="mailSubject" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Title -->
|
||||
<div class="mb-3 row">
|
||||
<label for="mailTitle" class="col-lg-3 col-form-label text-end">Title:</label>
|
||||
<div class="col-lg-6">
|
||||
<input type="text" class="form-control" name="mailTitle" id="mailTitle" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Recipients -->
|
||||
<div class="mb-3 row">
|
||||
<label for="mailType" class="col-lg-3 col-form-label text-end">Recipients:</label>
|
||||
<div class="col-lg-6">
|
||||
<select class="form-control" name="mailType" id="mailType">
|
||||
<option value='none' checked>none</option>
|
||||
<option value='registered'>all registered users</option>
|
||||
<option value='newsletter'>only newsletter opt-ins</option>
|
||||
<option value='subscribers'>only CTA subscribers</option>
|
||||
<option value='opt'>CTA subscribers and newsletter opt-ins</option>
|
||||
<option value='all'>all available emails</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Email (Optional) -->
|
||||
<div class="mb-3 row">
|
||||
<label for="contactEmail" class="col-lg-3 col-form-label text-end">E-mail: (optional)</label>
|
||||
<div class="col-lg-6">
|
||||
<input type="email" class="form-control" name="contactEmail" id="contactEmail">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Message -->
|
||||
<div class="mb-3 row">
|
||||
<label for="mailMessage" class="col-lg-3 col-form-label text-end">Body:</label>
|
||||
<div class="col-lg-6">
|
||||
<textarea class="form-control" name="mailMessage" id="mailMessage" rows="6" maxlength="2000" required></textarea>
|
||||
<small class="form-text text-muted">Max: 2000 characters</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
</fieldset>
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg center-block">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="mailTitle" class="col-lg-3 control-label">Title:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="mailTitle" id="mailTitle">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="mailMessage" class="col-lg-3 control-label">Body:<br> (max:2000 characters)</label>
|
||||
<div class="col-lg-6">
|
||||
<textarea class="form-control" name="mailMessage" maxlength="2000" rows="10" cols="50" id="mailMessage"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Send</button><br>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
@ -1,14 +1,16 @@
|
||||
<legend>Admin Dashboard</legend>
|
||||
<div class="row">
|
||||
<div class="col-xlg-6 col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
{userDash}
|
||||
<div class="context-main-bg context-main">
|
||||
<legend class="text-center my-2">Admin Dashboard</legend>
|
||||
<div class="row">
|
||||
<div class="col-5 offset-1">
|
||||
{userDash}
|
||||
</div>
|
||||
<div class="col-5">
|
||||
{commentDash}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xlg-6 col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
{commentDash}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xlg-12 col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||||
{blogDash}
|
||||
<div class="row">
|
||||
<div class="col-10 offset-1">
|
||||
{blogDash}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,5 +1,5 @@
|
||||
<legend>New Users</legend>
|
||||
<table class="table table-striped">
|
||||
<table class="table context-main">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 85%"></th>
|
||||
@ -12,9 +12,9 @@
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td align="center">{username}</td>
|
||||
<td><a href="{ROOT_URL}admin/users/view/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-user"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/users/edit/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/users/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/users/view/{ID}" class="btn btn-sm btn-primary"><i class="fa fa-fw fa-user"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/users/edit/{ID}" class="btn btn-sm btn-warning"><i class="fa fa-fw fa-pencil"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/users/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
|
@ -1,12 +1,26 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>New Group</legend>
|
||||
<div class="form-group">
|
||||
<label for="name" class="col-lg-3 control-label">Name</label>
|
||||
<div class="col-lg-3">
|
||||
<input type="text" class="form-check-input" name="name" id="name">
|
||||
</div>
|
||||
</div>
|
||||
{PERMISSIONS_FORM}
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Create</button>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
</form>
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Add Group</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form method="post">
|
||||
<fieldset>
|
||||
<!-- Name -->
|
||||
<div class="mb-3 row">
|
||||
<label for="name" class="col-lg-6 col-form-label text-end">Name:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="text" class="form-control" name="name" id="name" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{PERMISSIONS_FORM}
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Create</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
@ -1,12 +1,26 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Edit Group: {name}</legend>
|
||||
<div class="form-group">
|
||||
<label for="name" class="col-lg-3 control-label">Name</label>
|
||||
<div class="col-lg-3">
|
||||
<input type="text" class="form-check-input" name="name" id="name" value="{name}">
|
||||
</div>
|
||||
</div>
|
||||
{PERMISSIONS_FORM}
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Edit</button>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
</form>
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Edit Group: {name}</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form method="post">
|
||||
<fieldset>
|
||||
<!-- Name -->
|
||||
<div class="mb-3 row">
|
||||
<label for="name" class="col-lg-6 col-form-label text-end">Name:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="text" class="form-control" name="name" id="name" value="{name}" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{PERMISSIONS_FORM}
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Save</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
@ -1,39 +1,42 @@
|
||||
<legend>Groups</legend>
|
||||
{PAGINATION}
|
||||
<form action="{ROOT_URL}admin/groups/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 50%">Name</th>
|
||||
<th style="width: 35%">Users</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%">
|
||||
<INPUT type="checkbox" onchange="checkAll(this)" name="check.g" value="G_[]"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td><a href="{ROOT_URL}admin/groups/view/{ID}">{name}</a></td>
|
||||
<td><a href="{ROOT_URL}admin/groups/listmembers/{ID}">{userCount}</a></td>
|
||||
<td><a href="{ROOT_URL}admin/groups/edit/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/groups/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="G_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="5">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="{ROOT_URL}admin/groups/create" class="btn btn-sm btn-primary" role="button">Create</a>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger">Delete</button>
|
||||
</form>
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Groups</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="{ROOT_URL}admin/groups/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 50%">Name</th>
|
||||
<th style="width: 35%">Users</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%">
|
||||
<input type="checkbox" onchange="checkAll(this)" name="check.g" value="G_[]">
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td><a href="{ROOT_URL}admin/groups/view/{ID}">{name}</a></td>
|
||||
<td><a href="{ROOT_URL}admin/groups/listmembers/{ID}">{userCount}</a></td>
|
||||
<td><a href="{ROOT_URL}admin/groups/edit/{ID}" class="btn btn-sm btn-warning"><i class="fa fa-fw fa-pencil"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/groups/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="G_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="5">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="{ROOT_URL}admin/groups/create" class="btn btn-sm btn-primary">Create</a>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
||||
</div>
|
@ -1,6 +1,4 @@
|
||||
<div class="page-header">
|
||||
<h1>{groupName} <small>user list</small></h1>
|
||||
</div>
|
||||
<h1>{groupName} <small>user list</small></h1>
|
||||
{PAGINATION}
|
||||
<form action="{ROOT_URL}admin/users/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
@ -12,7 +10,7 @@
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%">
|
||||
<input type="checkbox" onchange="checkAll(this)" name="check.u" value="U_[]"/>
|
||||
<input type="checkbox" onchange="checkAll(this)" name="check.u" value="U_[]">
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -22,8 +20,8 @@
|
||||
<td>{ID}</td>
|
||||
<td><a href='{ROOT_URL}admin/users/view/{ID}'>{username}</a></td>
|
||||
<td>{DTC date}{registered}{/DTC}</td>
|
||||
<td><a href="{ROOT_URL}admin/users/edit/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/users/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/users/edit/{ID}" class="btn btn-sm btn-warning"><i class="fa fa-fw fa-pencil"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/users/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="U_[]">
|
||||
</td>
|
||||
@ -38,5 +36,5 @@
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger">Delete</button>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
@ -1,24 +1,29 @@
|
||||
<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">{name}</h3>
|
||||
<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">{name}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class=" col-md-9 col-lg-9 ">
|
||||
<table class="table table-user-primary">
|
||||
|
||||
<!-- Card Body -->
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<!-- Log Details -->
|
||||
<table class="table table-borderless">
|
||||
<tbody>
|
||||
{PERMISSIONS_ROWS}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="{ROOT_URL}admin/groups/edit/{ID}" class="btn btn-sm btn-warning" role="button">Edit</a>
|
||||
<a href="{ROOT_URL}admin/groups/delete/{ID}" class="btn btn-sm btn-danger" role="button">Delete</a>
|
||||
|
||||
<!-- Admin Controls -->
|
||||
<div class="card-footer text-center">
|
||||
<a href="{ROOT_URL}admin/groups/edit/{ID}" class="btn btn-sm btn-warning"><i class="fa fa-fw fa-pencil"></i></a>
|
||||
<a href="{ROOT_URL}admin/groups/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,50 +1,56 @@
|
||||
<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">Admin Log</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">ID</td>
|
||||
<td align="right">{ID}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>User:</td>
|
||||
<td align="right">{logUser}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Time:</td>
|
||||
<td align="right">{DTC}{time}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IP:</td>
|
||||
<td align="right">{ip}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Log:</td>
|
||||
<td align="right">{action}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<div class="container py-4">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card shadow">
|
||||
<!-- Card Header -->
|
||||
<div class="card-header text-center bg-dark text-white">
|
||||
<h3 class="card-title mb-0">Admin Log</h3>
|
||||
</div>
|
||||
|
||||
<!-- Card Body -->
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<!-- Log Details -->
|
||||
<div class="col-md-8">
|
||||
<table class="table table-borderless">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">ID:</th>
|
||||
<td>{ID}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">User:</th>
|
||||
<td>{logUser}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Time:</th>
|
||||
<td>{DTC}{time}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">IP:</th>
|
||||
<td>{ip}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Log:</th>
|
||||
<td>{action}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Admin Controls -->
|
||||
<div class="card-footer text-center">
|
||||
{ADMIN}
|
||||
<form action="{ROOT_URL}admin/admin/delete" method="post">
|
||||
<INPUT type="hidden" name="L_" value="{ID}"/>
|
||||
<input type="hidden" name="token" value="{TOKEN}" />
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="glyphicon glyphicon-remove"></i></button>
|
||||
<input type="hidden" name="L_" value="{ID}">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
||||
{/ADMIN}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,40 +1,43 @@
|
||||
<legend>Admin Logs</legend>
|
||||
{PAGINATION}
|
||||
<form action="{ROOT_URL}admin/admin/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 30%">Time</th>
|
||||
<th style="width: 50%">Action</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"">
|
||||
<INPUT type="checkbox" onchange="checkAll(this)" name="check.l" value="A_[]"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td>{ID}</td>
|
||||
<td>{DTC}{time}{/DTC}</td>
|
||||
<td>{action}</td>
|
||||
<td><a href="{ROOT_URL}admin/admin/view/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-open"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/admin/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="A_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger">Delete</button>
|
||||
</form>
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Admin Logs</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="{ROOT_URL}admin/admin/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 30%">Time</th>
|
||||
<th style="width: 50%">Action</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"">
|
||||
<input type="checkbox" onchange="checkAll(this)" name="check.l" value="A_[]">
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td>{ID}</td>
|
||||
<td>{DTC}{time}{/DTC}</td>
|
||||
<td>{action}</td>
|
||||
<td><a href="{ROOT_URL}admin/admin/view/{ID}" class="btn btn-sm btn-primary"><i class="fa fa-fw fa-upload"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/admin/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="A_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
||||
</div>
|
@ -1,57 +1,66 @@
|
||||
<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">Error</h3>
|
||||
</div>
|
||||
<div class="panel-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">
|
||||
<div class="card shadow">
|
||||
<!-- Card Header -->
|
||||
<div class="card-header text-center bg-dark text-white">
|
||||
<h3 class="card-title mb-0">Error Log</h3>
|
||||
</div>
|
||||
|
||||
<!-- Card Body -->
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<!-- Log Details -->
|
||||
<div class="col-md-8">
|
||||
<table class="table table-borderless">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">ID:</th>
|
||||
<td>{ID}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Class:</th>
|
||||
<td>{class}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Function:</th>
|
||||
<td>{function}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Time:</th>
|
||||
<td>{DTC}{time}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">IP:</th>
|
||||
<td>{ip}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Error:</th>
|
||||
<td>{error}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" width="200">ID</td>
|
||||
<td align="right">{ID}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Time submitted:</td>
|
||||
<td align="right">{DTC}{time}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IP:</td>
|
||||
<td align="right">{ip}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Class:</td>
|
||||
<td align="right">{class}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Function</td>
|
||||
<td align="right">{function}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Error:</td>
|
||||
<td align="right">{error}</td>
|
||||
<th scope="row" colspan="2">Description:</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{description}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Admin Controls -->
|
||||
<div class="card-footer text-center">
|
||||
{ADMIN}
|
||||
<form action="{ROOT_URL}admin/errors/delete" method="post">
|
||||
<INPUT type="hidden" name="E_" value="{ID}"/>
|
||||
<input type="hidden" name="token" value="{TOKEN}" />
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="glyphicon glyphicon-remove"></i></button>
|
||||
<input type="hidden" name="E_" value="{ID}">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
||||
{/ADMIN}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,40 +1,43 @@
|
||||
<legend>Errors</legend>
|
||||
{PAGINATION}
|
||||
<form action="{ROOT_URL}admin/errors/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 25%">Time</th>
|
||||
<th style="width: 55%">Description</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%">
|
||||
<INPUT type="checkbox" onchange="checkAll(this)" name="check.e" value="E_[]"/>
|
||||
</th>
|
||||
</tr></thead><tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td align="center">{ID}</td>
|
||||
<td align="center">{DTC}{time}{/DTC}</td>
|
||||
<td>{error}</td>
|
||||
<td><a href="{ROOT_URL}admin/errors/view/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-open"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/errors/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="E_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger">Delete</button>
|
||||
</form>
|
||||
<br />
|
||||
<a href="{ROOT_URL}admin/errors/clear">clear all</a>
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Errors</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="{ROOT_URL}admin/errors/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 25%">Time</th>
|
||||
<th style="width: 55%">Description</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%">
|
||||
<input type="checkbox" onchange="checkAll(this)" name="check.e" value="E_[]">
|
||||
</th>
|
||||
</tr></thead><tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td align="center">{ID}</td>
|
||||
<td align="center">{DTC}{time}{/DTC}</td>
|
||||
<td>{error}</td>
|
||||
<td><a href="{ROOT_URL}admin/errors/view/{ID}" class="btn btn-sm btn-primary"><i class="fa fa-fw fa-upload"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/errors/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="E_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
||||
<br>
|
||||
<a href="{ROOT_URL}admin/errors/clear">clear all</a>
|
||||
</div>
|
@ -1,50 +1,56 @@
|
||||
<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">Login Record</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">ID</td>
|
||||
<td align="right">{ID}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>User:</td>
|
||||
<td align="right">{logUser}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Time:</td>
|
||||
<td align="right">{DTC}{time}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IP:</td>
|
||||
<td align="right">{ip}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Pass or Fail:</td>
|
||||
<td align="right">{action}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<div class="container py-4">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card shadow">
|
||||
<!-- Card Header -->
|
||||
<div class="card-header text-center bg-dark text-white">
|
||||
<h3 class="card-title mb-0">Login Log</h3>
|
||||
</div>
|
||||
|
||||
<!-- Card Body -->
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<!-- Log Details -->
|
||||
<div class="col-md-8">
|
||||
<table class="table table-borderless">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">ID:</th>
|
||||
<td>{ID}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">User:</th>
|
||||
<td>{logUser}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Time:</th>
|
||||
<td>{DTC}{time}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">IP:</th>
|
||||
<td>{ip}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Pass or Fail:</th>
|
||||
<td>{action}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Admin Controls -->
|
||||
<div class="card-footer text-center">
|
||||
{ADMIN}
|
||||
<form action="{ROOT_URL}admin/logins/delete" method="post">
|
||||
<INPUT type="hidden" name="L_" value="{ID}"/>
|
||||
<input type="hidden" name="token" value="{TOKEN}" />
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="glyphicon glyphicon-remove"></i></button>
|
||||
<input type="hidden" name="L_" value="{ID}">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
||||
{/ADMIN}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,42 +1,45 @@
|
||||
<legend>Logins</legend>
|
||||
{PAGINATION}
|
||||
<form action="{ROOT_URL}admin/logins/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 30%">Time</th>
|
||||
<th style="width: 50%">Pass / fail</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"">
|
||||
<INPUT type="checkbox" onchange="checkAll(this)" name="check.l" value="L_[]"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td>{ID}</td>
|
||||
<td>{DTC}{time}{/DTC}</td>
|
||||
<td>{action}</td>
|
||||
<td><a href="{ROOT_URL}admin/logins/view/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-open"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/logins/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="L_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger">Delete</button>
|
||||
</form>
|
||||
<br />
|
||||
<a href="{ROOT_URL}admin/logins/clear">clear all</a>
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Logins</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="{ROOT_URL}admin/logins/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 30%">Time</th>
|
||||
<th style="width: 50%">Pass / fail</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"">
|
||||
<input type="checkbox" onchange="checkAll(this)" name="check.l" value="L_[]">
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td>{ID}</td>
|
||||
<td>{DTC}{time}{/DTC}</td>
|
||||
<td>{action}</td>
|
||||
<td><a href="{ROOT_URL}admin/logins/view/{ID}" class="btn btn-sm btn-primary"><i class="fa fa-fw fa-upload"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/logins/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="L_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
||||
<br>
|
||||
<a href="{ROOT_URL}admin/logins/clear">clear all</a>
|
||||
</div>
|
@ -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>
|
30
app/views/admin/modules/dependencies.html
Normal file
30
app/views/admin/modules/dependencies.html
Normal 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>
|
@ -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>
|
@ -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" 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>
|
@ -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>
|
@ -1,69 +0,0 @@
|
||||
<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>
|
@ -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>
|
@ -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-success center-block">Enable</button>
|
||||
<input type="hidden" name="installHash" value="{TOKEN}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
@ -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>
|
@ -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>
|
@ -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-outline-danger center-block">Uninstall</button>
|
||||
<input type="hidden" name="uninstallHash" value="{TOKEN}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
@ -1,75 +1,80 @@
|
||||
<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">Plugin 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>Enabled:</td>
|
||||
<td align="right">{enabled_txt}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Status:</td>
|
||||
<td align="right">{installStatus}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Install Date:</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>Preferences Installed:</td>
|
||||
<td align="right">{preferences_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Permissions Installed:</td>
|
||||
<td align="right">{permissions_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Configs Installed:</td>
|
||||
<td align="right">{configs_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Models Installed:</td>
|
||||
<td align="right">{models_installed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Resources Installed:</td>
|
||||
<td align="right">{resources_installed}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="{ROOT_URL}admin/plugins/install/{name}" class="btn btn-sm btn-primary" role="button">Install</a>
|
||||
<a href="{ROOT_URL}admin/plugins/enable/{name}" class="btn btn-sm btn-success" role="button">Enable</a>
|
||||
<a href="{ROOT_URL}admin/plugins/disable/{name}" class="btn btn-sm btn-danger" role="button">Disable</a>
|
||||
<a href="{ROOT_URL}admin/plugins/uninstall/{name}" class="btn btn-sm btn-danger" role="button">Uninstall</a>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</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>
|
@ -1,34 +1,51 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>New Route</legend>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="nickname" class="col-lg-6 control-label">Nickname:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="nickname" id="nickname">
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Create Route</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form method="post">
|
||||
<fieldset>
|
||||
<!-- Name -->
|
||||
<div class="mb-3 row">
|
||||
<label for="nickname" class="col-lg-6 col-form-label text-end">Nickname:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="text" class="form-control" name="nickname" id="nickname" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="original_url" class="col-lg-6 control-label">Original URL:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="original_url" id="original_url">
|
||||
|
||||
<!-- Original URL -->
|
||||
<div class="mb-3 row">
|
||||
<label for="original_url" class="col-lg-6 col-form-label text-end">Original URL:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="text" class="form-control" name="original_url" id="original_url" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="forwarded_url" class="col-lg-6 control-label">Forward URL:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="forwarded_url" id="forwarded_url">
|
||||
|
||||
<!-- Forward URL -->
|
||||
<div class="mb-3 row">
|
||||
<label for="forwarded_url" class="col-lg-6 col-form-label text-end">Forward URL:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="text" class="form-control" name="forwarded_url" id="forwarded_url" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="redirect_type" class="col-lg-6 control-label">Redirect Type:</label>
|
||||
<div class="col-lg-2">
|
||||
<select name="redirect_type" id="redirect_type" class="">
|
||||
<option value='internal' selected>Internal</option>
|
||||
<option value='external'>External</option>
|
||||
</select>
|
||||
|
||||
<!-- Redirect Type -->
|
||||
<div class="mb-3 row">
|
||||
<label for="redirect_type" class="col-lg-6 col-form-label text-end">Redirect Type:</label>
|
||||
<div class="col-lg-2">
|
||||
<select name="redirect_type" id="redirect_type" class="form-control">
|
||||
<option value='external'>External</option>
|
||||
<option value='internal'>Internal</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Create</button><br>
|
||||
</form>
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Save</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
@ -1,35 +1,52 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Edit Route</legend>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="nickname" class="col-lg-6 control-label">Nickname:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="nickname" id="nickname" value="{nickname}">
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Edit Route: {nickname}</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form method="post">
|
||||
<fieldset>
|
||||
<!-- Name -->
|
||||
<div class="mb-3 row">
|
||||
<label for="nickname" class="col-lg-6 col-form-label text-end">Nickname:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="text" class="form-control" name="nickname" id="nickname" value="{nickname}" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="original_url" class="col-lg-6 control-label">Original URL:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="original_url" id="original_url" value="{original_url}">
|
||||
|
||||
<!-- Original URL -->
|
||||
<div class="mb-3 row">
|
||||
<label for="original_url" class="col-lg-6 col-form-label text-end">Original URL:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="text" class="form-control" name="original_url" id="original_url" value="{original_url}" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="forwarded_url" class="col-lg-6 control-label">Forward URL:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="forwarded_url" id="forwarded_url" value="{forwarded_url}">
|
||||
|
||||
<!-- Forward URL -->
|
||||
<div class="mb-3 row">
|
||||
<label for="forwarded_url" class="col-lg-6 col-form-label text-end">Forward URL:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="text" class="form-control" name="forwarded_url" id="forwarded_url" value="{forwarded_url}" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="redirect_type" class="col-lg-6 control-label">Redirect Type:</label>
|
||||
<div class="col-lg-2">
|
||||
<select name="redirect_type" id="redirect_type" class="">
|
||||
{OPTION=redirect_type}
|
||||
<option value='external'>External</option>
|
||||
<option value='internal'>Internal</option>
|
||||
</select>
|
||||
|
||||
<!-- Redirect Type -->
|
||||
<div class="mb-3 row">
|
||||
<label for="redirect_type" class="col-lg-6 col-form-label text-end">Redirect Type:</label>
|
||||
<div class="col-lg-2">
|
||||
<select name="redirect_type" id="redirect_type" class="form-control">
|
||||
{OPTION=redirect_type}
|
||||
<option value='external'>External</option>
|
||||
<option value='internal'>Internal</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Save</button><br>
|
||||
</form>
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Save</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
@ -1,45 +1,48 @@
|
||||
<legend>Redirects</legend>
|
||||
{PAGINATION}
|
||||
<form action="{ROOT_URL}admin/routes/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 15%">Nickname</th>
|
||||
<th style="width: 15%">Type</th>
|
||||
<th style="width: 15%">Path</th>
|
||||
<th style="width: 15%">Destination</th>
|
||||
<th style="width: 5%">Edit</th>
|
||||
<th style="width: 5%">Delete</th>
|
||||
<th style="width: 5%">
|
||||
<input type="checkbox" onchange="checkAll(this)" name="check.r" value="R_[]"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td align="center">{ID}</td>
|
||||
<td><a href='{ROOT_URL}admin/routes/view/{ID}'>{nickname}</a></td>
|
||||
<td>{redirect_type}</td>
|
||||
<td>{original_url}</td>
|
||||
<td>{forwarded_url}</td>
|
||||
<td><a href="{ROOT_URL}admin/routes/edit/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/routes/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="R_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="{ROOT_URL}admin/routes/create" class="btn btn-sm btn-primary" role="button">Create</a>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger">Delete</button>
|
||||
</form>
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Redirects</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="{ROOT_URL}admin/routes/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 15%">Nickname</th>
|
||||
<th style="width: 15%">Type</th>
|
||||
<th style="width: 15%">Path</th>
|
||||
<th style="width: 15%">Destination</th>
|
||||
<th style="width: 5%">Edit</th>
|
||||
<th style="width: 5%">Delete</th>
|
||||
<th style="width: 5%">
|
||||
<input type="checkbox" onchange="checkAll(this)" name="check.r" value="R_[]">
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td align="center">{ID}</td>
|
||||
<td><a href='{ROOT_URL}admin/routes/view/{ID}'>{nickname}</a></td>
|
||||
<td>{redirect_type}</td>
|
||||
<td>{original_url}</td>
|
||||
<td>{forwarded_url}</td>
|
||||
<td><a href="{ROOT_URL}admin/routes/edit/{ID}" class="btn btn-sm btn-warning"><i class="fa fa-fw fa-pencil"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/routes/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="R_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="{ROOT_URL}admin/routes/create" class="btn btn-sm btn-primary">Create</a>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
||||
</div>
|
@ -1,35 +1,40 @@
|
||||
<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">{nickname}</h3>
|
||||
<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">{nickname}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class=" col-md-9 col-lg-9 ">
|
||||
<table class="table table-user-primary">
|
||||
|
||||
<!-- Card Body -->
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<!-- Log Details -->
|
||||
<table class="table table-borderless">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Type</td>
|
||||
<th scope="row" class="col-3">Type</th>
|
||||
<td>{redirect_type}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Original URL</td>
|
||||
<th scope="row" class="col-3">Original URL</th>
|
||||
<td>{original_url}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Destination URL</td>
|
||||
<th scope="row" class="col-3">Destination URL</th>
|
||||
<td>{forwarded_url}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="{ROOT_URL}admin/routes/edit/{ID}" class="btn btn-sm btn-warning" role="button">Edit</a>
|
||||
<a href="{ROOT_URL}admin/routes/delete/{ID}" class="btn btn-sm btn-danger" role="button">Delete</a>
|
||||
|
||||
<!-- Admin Controls -->
|
||||
<div class="card-footer text-center">
|
||||
<a href="{ROOT_URL}admin/routes/edit/{ID}" class="btn btn-sm btn-warning"><i class="fa fa-fw fa-pencil"></i></a>
|
||||
<a href="{ROOT_URL}admin/routes/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,6 +1,16 @@
|
||||
<form action="" method="post" class="form-horizontal" enctype="multipart/form-data">
|
||||
<legend>Settings</legend>
|
||||
{configForm}
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Save</button><br>
|
||||
</form>
|
||||
<div class="context-main-bg context-main p-3">
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="" method="post" class="form-horizontal" enctype="multipart/form-data">
|
||||
<fieldset>
|
||||
{configForm}
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
</fieldset>
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg center-block">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
40
app/views/admin/tokens/create.html
Normal file
40
app/views/admin/tokens/create.html
Normal file
@ -0,0 +1,40 @@
|
||||
<div class="mb-4 mt-4">
|
||||
<div class="offset-md-1 col-10 py-3 context-main-bg">
|
||||
<legend class="text-center">Create Token</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="" method="post" class="container py-4">
|
||||
<fieldset>
|
||||
<div class="mb-3 row">
|
||||
<label for="name" class="col-lg-5 col-form-label text-end">Name</label>
|
||||
<div class="col-lg-3">
|
||||
<input type="text" class="form-control" name="name" id="name" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label for="token_type" class="col-lg-5 col-form-label text-end">Token Type</label>
|
||||
<div class="col-lg-3">
|
||||
<select id="token_type" name="token_type" class="form-control">
|
||||
<option value='app' selected>Application</option>
|
||||
<option value='user'>User</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label for="notes" class="col-lg-5 col-form-label text-end">Notes:</label>
|
||||
<div class="col-lg-3">
|
||||
<textarea class="form-control" name="notes" maxlength="2000" rows="5" cols="50" id="notes"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Create</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
41
app/views/admin/tokens/edit.html
Normal file
41
app/views/admin/tokens/edit.html
Normal file
@ -0,0 +1,41 @@
|
||||
<div class="mb-4 mt-4">
|
||||
<div class="offset-md-1 col-10 p-3 context-main-bg">
|
||||
<legend class="text-center">Edit Token</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="" method="post" class="container py-4">
|
||||
<fieldset>
|
||||
<div class="mb-3 row">
|
||||
<label for="name" class="col-lg-5 col-form-label text-end">Name</label>
|
||||
<div class="col-lg-3">
|
||||
<input type="text" class="form-control" name="name" id="name" value="{name}" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label for="token_type" class="col-lg-5 col-form-label text-end">Token Type</label>
|
||||
<div class="col-lg-3">
|
||||
<select id="token_type" name="token_type" class="form-control">
|
||||
{OPTION=token_type}
|
||||
<option value='app' selected>Application</option>
|
||||
<option value='user'>User</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label for="title" class="col-lg-5 col-form-label text-end">Notes:</label>
|
||||
<div class="col-lg-3">
|
||||
<textarea class="form-control" name="notes" maxlength="2000" rows="5" cols="50" id="notes">{notes}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Save</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
33
app/views/admin/tokens/list.html
Normal file
33
app/views/admin/tokens/list.html
Normal file
@ -0,0 +1,33 @@
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Tokens</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 55%">Name</th>
|
||||
<th style="width: 25%">Type</th>
|
||||
<th style="width: 10%">Delete</th>
|
||||
<th style="width: 10%">Delete</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td><a href='{ROOT_URL}admin/tokens/view/{ID}'>{name}</a></td>
|
||||
<td>{token_type}</td>
|
||||
<td><a href="{ROOT_URL}admin/tokens/edit/{ID}" class="btn btn-sm btn-warning"><i class="fa fa-fw fa-pencil"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/tokens/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="{ROOT_URL}admin/tokens/create" class="btn btn-sm btn-primary">Create</a>
|
||||
</div>
|
53
app/views/admin/tokens/view.html
Normal file
53
app/views/admin/tokens/view.html
Normal file
@ -0,0 +1,53 @@
|
||||
<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">{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">Type</th>
|
||||
<td>{token_type}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Created At</th>
|
||||
<td>{DTC}{createdAt}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Expires At</th>
|
||||
<td>{DTC}{expiresAt}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Token</th>
|
||||
<td class="text-break">{token}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Secret</th>
|
||||
<td class="text-break">{secret}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Notes</th>
|
||||
<td>{notes}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Admin Controls -->
|
||||
<div class="card-footer text-center">
|
||||
<a href="{ROOT_URL}admin/tokens/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,44 +1,74 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Register</legend>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="username" class="col-lg-3 control-label">Username:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="username" id="username">
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Add User</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form method="post">
|
||||
<fieldset>
|
||||
<!-- Group -->
|
||||
<div class="mb-3 row">
|
||||
<label for="groupSelect" class="col-lg-6 col-form-label text-end">Group:</label>
|
||||
<div class="col-lg-2">
|
||||
{groupSelect}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email" class="col-lg-3 control-label">Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="email" name="email" id="email">
|
||||
|
||||
<!-- Username -->
|
||||
<div class="mb-3 row">
|
||||
<label for="username" class="col-lg-6 col-form-label text-end">Username:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="text" class="form-control" name="username" id="username" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email2" class="col-lg-3 control-label">Re-Enter Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="email" name="email2" id="email2">
|
||||
|
||||
<!-- Email -->
|
||||
<div class="mb-3 row">
|
||||
<label for="email" class="col-lg-6 col-form-label text-end">Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="email" class="form-control" name="email" id="email" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="col-lg-3 control-label">Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="password" name="password" id="password">
|
||||
|
||||
<!-- Re-enter Email -->
|
||||
<div class="mb-3 row">
|
||||
<label for="email2" class="col-lg-6 col-form-label text-end">Re-Enter Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="email" class="form-control" name="email2" id="email2" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password2" class="col-lg-3 control-label">Re-Enter Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="password" name="password2" id="password2">
|
||||
|
||||
<!-- Password -->
|
||||
<div class="mb-3 row">
|
||||
<label for="password" class="col-lg-6 col-form-label text-end">Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="password" class="form-control" name="password" id="password" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="confirmation" class="col-lg-3 control-label">Send Confirmation Email?:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="checkbox" name="confirmation" id="confirmation">
|
||||
|
||||
<!-- Re-enter Password -->
|
||||
<div class="mb-3 row">
|
||||
<label for="password2" class="col-lg-6 col-form-label text-end">Re-Enter Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="password" class="form-control" name="password2" id="password2" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{groupSelect}
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Create</button><br>
|
||||
</form>
|
||||
|
||||
<!-- Confirmation -->
|
||||
<div class="mb-3 row">
|
||||
<label for="confirmation" class="col-lg-6 col-form-label text-end">Send Confirmation:</label>
|
||||
<div class="col-lg-2">
|
||||
<div class="mb-3 form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="confirmation" id="confirmation" value="true">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Create</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
@ -1,45 +1,78 @@
|
||||
<form action="{ROOT_URL}admin/users/edit/{ID}" method="post" class="form-horizontal" enctype="multipart/form-data">
|
||||
<legend>Edit User: <b>{USERNAME}</b></legend>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="username" class="col-lg-3 control-label">Username:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="username" id="username" value="{username}">
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Edit User: <b>{USERNAME}</b></legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="{ROOT_URL}admin/users/edit/{ID}" method="post" enctype="multipart/form-data">
|
||||
<fieldset>
|
||||
<!-- Group -->
|
||||
<div class="mb-3 row">
|
||||
<label for="groupSelect" class="col-lg-6 col-form-label text-end">Group:</label>
|
||||
<div class="col-lg-2">
|
||||
{groupSelect}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email" class="col-lg-3 control-label">Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="email" name="email" id="email" value="{email}">
|
||||
|
||||
<!-- Username -->
|
||||
<div class="mb-3 row">
|
||||
<label for="username" class="col-lg-6 col-form-label text-end">Username:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="text" class="form-control" name="username" id="username" value="{username}" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="confirmation" class="col-lg-3 control-label">Send Confirmation Email? (when updating the email):</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="checkbox" name="confirmation" id="confirmation">
|
||||
|
||||
<!-- Email -->
|
||||
<div class="mb-3 row">
|
||||
<label for="email" class="col-lg-6 col-form-label text-end">Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="email" class="form-control" name="email" id="email" value="{email}" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="col-lg-3 control-label">New Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="password" name="password" id="password" value="">
|
||||
|
||||
{AvatarSettings}
|
||||
|
||||
<!-- Password -->
|
||||
<div class="mb-3 row">
|
||||
<label for="password" class="col-lg-6 col-form-label text-end">Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="password" class="form-control" name="password" id="password" value="" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password2" class="col-lg-3 control-label">Re-Enter New Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="password" name="password2" id="password2" value="">
|
||||
|
||||
<!-- Re-enter Password -->
|
||||
<div class="mb-3 row">
|
||||
<label for="password2" class="col-lg-6 col-form-label text-end">Re-Enter Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input type="password" class="form-control" name="password2" id="password2" value="" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{AvatarSettings}
|
||||
<div class="form-group">
|
||||
<label for="confirmed" class="col-lg-3 control-label">Email is confirmed:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="checkbox" name="confirmed" id="confirmed" value="true" {CHECKED:confirmed=1}>
|
||||
|
||||
<!-- Confirmation -->
|
||||
<div class="mb-3 row">
|
||||
<label for="confirmation" class="col-lg-6 col-form-label text-end">Send Confirmation:</label>
|
||||
<div class="col-lg-2">
|
||||
<div class="mb-3 form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="confirmation" id="confirmation" value="true">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{groupSelect}
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Update</button><br>
|
||||
</form>
|
||||
|
||||
<!-- Confirmed -->
|
||||
<div class="mb-3 row">
|
||||
<label for="confirmed" class="col-lg-6 col-form-label text-end">Email is confirmed:</label>
|
||||
<div class="col-lg-2">
|
||||
<div class="mb-3 form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="confirmed" id="confirmed" value="true">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Save</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
@ -1,41 +1,44 @@
|
||||
<legend>Users</legend>
|
||||
{PAGINATION}
|
||||
<form action="{ROOT_URL}admin/users/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 60%">Username</th>
|
||||
<th style="width: 20%">Joined</th>
|
||||
<th style="width: 5%">Edit</th>
|
||||
<th style="width: 5%">Delete</th>
|
||||
<th style="width: 5%">
|
||||
<input type="checkbox" onchange="checkAll(this)" name="check.u" value="U_[]"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td align="center">{ID}</td>
|
||||
<td><a href='{ROOT_URL}admin/users/view/{ID}'>{username}</a></td>
|
||||
<td>{DTC date}{registered}{/DTC}</td>
|
||||
<td><a href="{ROOT_URL}admin/users/edit/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/users/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="U_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="{ROOT_URL}admin/users/create" class="btn btn-sm btn-primary" role="button">Create</a>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger">Delete</button>
|
||||
</form>
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Users</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="{ROOT_URL}admin/users/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 60%">Username</th>
|
||||
<th style="width: 20%">Joined</th>
|
||||
<th style="width: 5%">Edit</th>
|
||||
<th style="width: 5%">Delete</th>
|
||||
<th style="width: 5%">
|
||||
<input type="checkbox" onchange="checkAll(this)" name="check.u" value="U_[]">
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td align="center">{ID}</td>
|
||||
<td><a href='{ROOT_URL}admin/users/view/{ID}'>{username}</a></td>
|
||||
<td>{DTC date}{registered}{/DTC}</td>
|
||||
<td><a href="{ROOT_URL}admin/users/edit/{ID}" class="btn btn-sm btn-warning"><i class="fa fa-fw fa-pencil"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/users/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
|
||||
<td>
|
||||
<input type="checkbox" value="{ID}" name="U_[]">
|
||||
</td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="{ROOT_URL}admin/users/create" class="btn btn-sm btn-primary">Create</a>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
||||
</div>
|
@ -1,68 +1,78 @@
|
||||
<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">{username}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-lg-3 " align="center">
|
||||
<img alt="User Pic" src="{ROOT_URL}{avatar}" class="img-circle img-responsive">
|
||||
</div>
|
||||
<div class=" col-md-9 col-lg-9 ">
|
||||
<table class="table table-user-primary">
|
||||
<tbody>
|
||||
{ADMIN}
|
||||
<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">{username}</h3>
|
||||
</div>
|
||||
|
||||
<!-- Card Body -->
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<!-- User Image -->
|
||||
<div class="col-md-4 text-center">
|
||||
<img src="{ROOT_URL}{avatar}" alt="User Pic" class="rounded-circle img-fluid" style="max-width: 150px;">
|
||||
</div>
|
||||
|
||||
<!-- User Details -->
|
||||
<div class="col-md-8">
|
||||
<table class="table table-borderless">
|
||||
<tbody>
|
||||
{ADMIN}
|
||||
<tr>
|
||||
<th scope="row">Confirmed:</th>
|
||||
<td>{confirmedText}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Confirmed:</td>
|
||||
<td>{confirmedText}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Group:</td>
|
||||
<th scope="row">Group:</th>
|
||||
<td><a href="{ROOT_URL}admin/groups/view/{userGroup}">{groupName}</a></td>
|
||||
</tr>
|
||||
{/ADMIN}
|
||||
<tr>
|
||||
<td>Registered:</td>
|
||||
<td>{DTC date}{registered}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Last seen</td>
|
||||
<td>{DTC date}{lastLogin}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gender</td>
|
||||
<td>{gender}</td>
|
||||
</tr>
|
||||
{ADMIN}
|
||||
<tr>
|
||||
<td>Email</td>
|
||||
<td><a href="mailto:{email}">{email}</a></td>
|
||||
</tr>
|
||||
<td>User ID</td>
|
||||
<td>{ID}</td>
|
||||
</tr>
|
||||
{/ADMIN}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="{ROOT_URL}messages/create?prepopuser={USERNAME}" data-original-title="Broadcast Message" data-toggle="tooltip" type="button" class="btn btn-sm btn-primary"><i class="glyphicon glyphicon-envelope"></i></a>
|
||||
{ADMIN}
|
||||
<span class="pull-right">
|
||||
<a href="{ROOT_URL}admin/users/edit/{ID}">
|
||||
<button name="submit" value="edit" class="btn btn-sm btn-warning"><i class="glyphicon glyphicon-edit"></i></button>
|
||||
</a>
|
||||
<a href="{ROOT_URL}admin/users/delete/{ID}">
|
||||
<button name="submit" value="delete" class="btn btn-sm btn-danger"><i class="glyphicon glyphicon-remove"></i></button>
|
||||
</a>
|
||||
</span>
|
||||
{/ADMIN}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/ADMIN}
|
||||
<tr>
|
||||
<th scope="row">Registered:</th>
|
||||
<td>{DTC}{registered}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Last Seen:</th>
|
||||
<td>{DTC}{lastLogin}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Gender:</th>
|
||||
<td>{gender}</td>
|
||||
</tr>
|
||||
{ADMIN}
|
||||
<tr>
|
||||
<th scope="row">Email:</th>
|
||||
<td><a href="mailto:{email}">{email}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">User ID:</th>
|
||||
<td>{ID}</td>
|
||||
</tr>
|
||||
{/ADMIN}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Admin Controls -->
|
||||
<div class="card-footer text-center">
|
||||
{ADMIN}
|
||||
<a href="{ROOT_URL}messages/create?prepopuser={USERNAME}" class="btn btn-primary btn-sm me-2" data-bs-toggle="tooltip" title="Broadcast Message">
|
||||
<i class="fa fa-fw fa-envelope"></i>
|
||||
</a>
|
||||
<a href="{ROOT_URL}admin/users/edit/{ID}" class="btn btn-warning btn-sm me-2" data-bs-toggle="tooltip" title="Edit User">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
<a href="{ROOT_URL}admin/users/delete/{ID}" class="btn btn-danger btn-sm" data-bs-toggle="tooltip" title="Delete User">
|
||||
<i class="fa fa-fw fa-trash"></i>
|
||||
</a>
|
||||
{/ADMIN}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,8 +1,8 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12 col-centered">
|
||||
<div class="col-lg-9 col-md-9 col-sm-12 col-centered">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<h2>Welcome to The Tempus-Project Friends and Family Alpha.</h2>
|
||||
<hr>
|
||||
<p>This project is now entering its third official version and nearly its tenth year of development. What a long journey it has been to get here.</p>
|
||||
|
15
app/views/confirmation.html
Normal file
15
app/views/confirmation.html
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
<div class="container py-5 context-main-bg my-5 text-center">
|
||||
<h1 class="mb-4">Email Confirmation</h1>
|
||||
<hr>
|
||||
<p>Please enter the confirmation code you received in your email.</p>
|
||||
<form action="" method="post" class="">
|
||||
<fieldset>
|
||||
<div data-mdb-input-init class="form-outline mb-4 col-2 offset-5">
|
||||
<input class="form-control" type="text" name="confirmationCode" id="confirmationCode" placeholder="Confirmation Code">
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Submit</button><br>
|
||||
</form>
|
||||
</div>
|
10
app/views/confirmation_resend.html
Normal file
10
app/views/confirmation_resend.html
Normal file
@ -0,0 +1,10 @@
|
||||
<div class="container py-5 context-main-bg my-5 text-center">
|
||||
<h1 class="mb-4">Re-Send Confirmation</h1>
|
||||
<hr>
|
||||
<p>Please click the resend button to resend your email confirmation. Don't forget to check the spam folder!</p>
|
||||
<form action="" method="post" class="">
|
||||
<input type="hidden" name="resendConfirmation" value="true">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Resend Confirmation</button><br>
|
||||
</form>
|
||||
</div>
|
0
app/views/contact.html
Normal file
0
app/views/contact.html
Normal file
@ -1,5 +1,5 @@
|
||||
<div class="copy">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 text-center">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 text-center">
|
||||
<p class="text-muted">Powered by <a href="https://thetempusproject.com">The Tempus Project</a>.</p>
|
||||
</div>
|
||||
</div>
|
@ -1,14 +0,0 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Email Confirmation</legend>
|
||||
<p>Please enter the confirmation code you received in your email.</p>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="confirmationCode" class="col-lg-3 control-label">Confirmation Code:</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="text" name="confirmationCode" id="confirmationCode">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Submit</button><br>
|
||||
</form>
|
@ -1,6 +0,0 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<p>Please click the resend button to resend your email confirmation. Don't forget to check the spam folder!</p>
|
||||
<input type="hidden" name="resendConfirmation" value="true">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Resend Confirmation</button><br>
|
||||
</form>
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>{SITENAME}</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
|
67
app/views/faq.html
Normal file
67
app/views/faq.html
Normal file
@ -0,0 +1,67 @@
|
||||
<div class="container p-4 context-main-bg my-4">
|
||||
<h1 class="mb-4">Frequently Asked Questions</h1>
|
||||
<hr>
|
||||
|
||||
<!-- Table of Contents -->
|
||||
<div class="mb-5">
|
||||
<h2 class="h4">Table of Contents</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="#question1" class="text-decoration-none context-main">Does this work on mobile?</a></li>
|
||||
<li><a href="#question2" class="text-decoration-none context-main">Does this work on Mac/PC/Linux?</a></li>
|
||||
<li><a href="#question3" class="text-decoration-none context-main">How do I use the extension on my mobile device?</a></li>
|
||||
<li><a href="#question4" class="text-decoration-none context-main">How do I add this to my phone like an app?</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Accordion for Questions -->
|
||||
<div class="accordion" id="faqAccordion">
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header context-second-bg" id="heading1">
|
||||
<button class="accordion-button context-main context-main-bg" type="button" data-bs-toggle="collapse" data-bs-target="#collapse1" aria-expanded="true" aria-controls="collapse1">
|
||||
Does this work on mobile?
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapse1" class="accordion-collapse collapse show" aria-labelledby="heading1" data-bs-parent="#faqAccordion">
|
||||
<div class="ml-5 accordion-body context-main context-main-bg" id="question1">
|
||||
Yes, this works seamlessly on mobile devices.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header context-main context-second-bg" id="heading2">
|
||||
<button class="accordion-button context-main context-main-bg collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse2" aria-expanded="false" aria-controls="collapse2">
|
||||
Does this work on Mac/PC/Linux?
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapse2" class="accordion-collapse collapse" aria-labelledby="heading2" data-bs-parent="#faqAccordion">
|
||||
<div class="accordion-body context-main context-main-bg" id="question2">
|
||||
Yes, it is compatible with Mac, PC, and Linux platforms.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header context-main context-second-bg" id="heading3">
|
||||
<button class="accordion-button context-main context-main-bg collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse3" aria-expanded="false" aria-controls="collapse3">
|
||||
How do I use the extension on my mobile device?
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapse3" class="accordion-collapse collapse" aria-labelledby="heading3" data-bs-parent="#faqAccordion">
|
||||
<div class="accordion-body context-main context-main-bg" id="question3">
|
||||
To use the extension on mobile, open your browser, install the extension, and follow the setup instructions.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header context-main context-second-bg" id="heading4">
|
||||
<button class="accordion-button context-main context-main-bg collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse4" aria-expanded="false" aria-controls="collapse4">
|
||||
How do I add this to my phone like an app?
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapse4" class="accordion-collapse collapse" aria-labelledby="heading4" data-bs-parent="#faqAccordion">
|
||||
<div class="accordion-body context-main context-main-bg" id="question4">
|
||||
You can add it to your phone by installing the app or creating a shortcut from your browser to your home screen.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,9 +1,8 @@
|
||||
<div class="col-lg-6 text-center">
|
||||
<div class="social">
|
||||
<i><a href="{ROOT_URL}fb"><span class="fa fa-facebook"></span></a></i>
|
||||
<i><a href="{ROOT_URL}twitter"><span class="fa fa-twitter"></span></a></i>
|
||||
<i><a href="{ROOT_URL}in"><span class="fa fa-linkedin"></span></a></i>
|
||||
<i><a href="{ROOT_URL}youtube"><span class="fa fa-youtube"></span></a></i>
|
||||
<i><a href="{ROOT_URL}git"><span class="fa fa-github"></span></a></i>
|
||||
</div>
|
||||
<div class="col-6 col-md-2 mb-3 text-center">
|
||||
<h5>More Info</h5>
|
||||
<ul class="nav flex-column">
|
||||
{LOOP}
|
||||
<li class="nav-item mb-2"><a href="{url}" class="nav-link p-0 text-muted">{text}</a></li>
|
||||
{/LOOP}
|
||||
</ul>
|
||||
</div>
|
@ -1,17 +1,13 @@
|
||||
<div class="footer-head" id="footer-head">
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 text-center hidden-lg hidden-md hidden-sm">
|
||||
<a href="#footer" class="navbar-toggle collapsed" data-toggle="collapse">
|
||||
<span class="bars"></span>
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
</a>
|
||||
<div class="container border-top border-white mt-auto">
|
||||
<footer class="pt-4">
|
||||
<div class="row">
|
||||
{FOOTER_LEFT}
|
||||
{FOOTER_CENTER}
|
||||
{FOOTER_RIGHT}
|
||||
</div>
|
||||
<div id="footer" class="navbar-collapse collapse">
|
||||
<div class="row">
|
||||
{FOOTER_LEFT}
|
||||
{FOOTER_CENTER}
|
||||
{FOOTER_RIGHT}
|
||||
</div>
|
||||
<div class="d-flex flex-column flex-sm-row justify-content-between py-3 mt-2 border-top border-white">
|
||||
{COPY}
|
||||
{SOCIAL}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
1
app/views/footer/copy.html
Normal file
1
app/views/footer/copy.html
Normal file
@ -0,0 +1 @@
|
||||
<span>© 2024 {SITENAME}, Powered by <a href="https://thetempusproject.com" class="text-decoration-none">The Tempus Project</a>.</span>
|
@ -1,7 +1,11 @@
|
||||
|
||||
<div class="col-lg-3 text-center">
|
||||
<h3> Contact </h3>
|
||||
<ul>
|
||||
{FOOTER_LINKS}
|
||||
<div class="col-6 col-md-2 mb-3 text-center">
|
||||
<h5>Contact Us</h5>
|
||||
<ul class="nav flex-column">
|
||||
{LOOP}
|
||||
<li class="nav-item mb-2"><a href="{url}" class="nav-link p-0 text-muted">{text}</a></li>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<li class="nav-item mb-2"></li>
|
||||
{/ALT}
|
||||
</ul>
|
||||
</div>
|
@ -1,15 +1,7 @@
|
||||
|
||||
<div class="col-lg-3 text-center">
|
||||
<h3>Information</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{ROOT_URL}about">About Us</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{ROOT_URL}contact">Contact Us</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{ROOT_URL}privacy">Privacy Policy</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="col-6 col-md-2 mb-3 text-center">
|
||||
<h5>Dark Mode</h5>
|
||||
<div class="material-switch px-4 mt-2">
|
||||
<input name="dark-mode-toggle" type="checkbox" id="dark-mode-toggle" class="form-check-input">
|
||||
<label for="dark-mode-toggle" class="label-default"></label>
|
||||
</div>
|
||||
</div>
|
27
app/views/footer/social.html
Normal file
27
app/views/footer/social.html
Normal file
@ -0,0 +1,27 @@
|
||||
<ul class="list-unstyled d-flex mb-0">
|
||||
<li class="ms-3">
|
||||
<a class="context-main" href="{ROOT_URL}fb">
|
||||
<span class="fa-brands fa-fw fa-facebook"></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="ms-3">
|
||||
<a class="context-main" href="{ROOT_URL}twitter">
|
||||
<span class="fa-brands fa-fw fa-twitter"></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="ms-3">
|
||||
<a class="context-main" href="{ROOT_URL}in">
|
||||
<span class="fa-brands fa-fw fa-linkedin"></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="ms-3">
|
||||
<a class="context-main" href="{ROOT_URL}youtube">
|
||||
<span class="fa-brands fa-fw fa-youtube"></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="ms-3">
|
||||
<a class="context-main" href="{ROOT_URL}git">
|
||||
<span class="fa-brands fa-fw fa-github"></span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
@ -1,13 +1,13 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Lost and Found</legend>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="entry" class="col-lg-3 control-label">Username or Email:</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="text" name="entry" id="entry">
|
||||
<div class="col-8 mx-auto p-4 rounded shadow-sm mb-5 context-main-bg mt-4 text-center">
|
||||
<form action="" method="post">
|
||||
<legend class=" my-2">Lost and Found</legend>
|
||||
<p class="col-8 offset-2">You can begin the process of recovering your account here. Provide your username, or email address and instructions for ressetting your password will be mailed to you shortly.</p>
|
||||
<fieldset>
|
||||
<div data-mdb-input-init class="form-outline mb-4 col-2 offset-5">
|
||||
<input name="entry" type="text" id="entry" class="form-control" placeholder="Username or Email">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Reset Password</button><br>
|
||||
</form>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Reset Password</button><br>
|
||||
</form>
|
||||
</div>
|
@ -1,17 +1,17 @@
|
||||
<div id="selected-icon">No icon selected</div>
|
||||
<button class="btn btn-default dropdown-toggle" type="button" id="iconMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<button class="btn btn-default dropdown-toggler" type="button" id="iconMenu" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
Select Icon <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="iconMenu">
|
||||
<li><a href="#" onclick="setIcon('asterisk', 'Asterisk')"><span class="glyphicon glyphicon-asterisk"></span> Asterisk</a></li>
|
||||
<li><a href="#" onclick="setIcon('plus', 'Plus')"><span class="glyphicon glyphicon-plus"></span> Plus</a></li>
|
||||
<li><a href="#" onclick="setIcon('cloud', 'Cloud')"><span class="glyphicon glyphicon-cloud"></span> Cloud</a></li>
|
||||
<li><a href="#" onclick="setIcon('envelope', 'Envelope')"><span class="glyphicon glyphicon-envelope"></span> Envelope</a></li>
|
||||
<li><a href="#" onclick="setIcon('pencil', 'Pencil')"><span class="glyphicon glyphicon-pencil"></span> Pencil</a></li>
|
||||
<li><a href="#" onclick="setIcon('envelope', 'Envelope')"><span class="fa fa-fw fa-envelope"></span> Envelope</a></li>
|
||||
<li><a href="#" onclick="setIcon('pencil', 'Pencil')"><span class="fa fa-fw fa-pencil"></span> Pencil</a></li>
|
||||
<li><a href="#" onclick="setIcon('film', 'Film')"><span class="glyphicon glyphicon-film"></span> Film</a></li>
|
||||
<li><a href="#" onclick="setIcon('star', 'Star')"><span class="glyphicon glyphicon-star"></span> Star</a></li>
|
||||
<li><a href="#" onclick="setIcon('star-empty', 'Star Empty')"><span class="glyphicon glyphicon-star-empty"></span> Star Empty</a></li>
|
||||
<li><a href="#" onclick="setIcon('remove', 'Remove')"><span class="glyphicon glyphicon-remove"></span> Remove</a></li>
|
||||
<li><a href="#" onclick="setIcon('remove', 'Remove')"><span class="fa fa-fw fa-times"></span> Remove</a></li>
|
||||
<li><a href="#" onclick="setIcon('ok', 'Ok')"><span class="glyphicon glyphicon-ok"></span> Ok</a></li>
|
||||
<li><a href="#" onclick="setIcon('th-large', 'Th Large')"><span class="glyphicon glyphicon-th-large"></span> Th Large</a></li>
|
||||
<li><a href="#" onclick="setIcon('home', 'Home')"><span class="glyphicon glyphicon-home"></span> Home</a></li>
|
||||
@ -29,14 +29,14 @@
|
||||
<li><a href="#" onclick="setIcon('blackboard', 'Blackboard')"><span class="glyphicon glyphicon-blackboard"></span> Blackboard</a></li>
|
||||
<li><a href="#" onclick="setIcon('headphones', 'Headphones')"><span class="glyphicon glyphicon-headphones"></span> Headphones</a></li>
|
||||
<li><a href="#" onclick="setIcon('usd', 'USD')"><span class="glyphicon glyphicon-usd"></span> USD</a></li>
|
||||
<li><a href="#" onclick="setIcon('info-sign', 'Info Sign')"><span class="glyphicon glyphicon-info-sign"></span> Info Sign</a></li>
|
||||
<li><a href="#" onclick="setIcon('info-sign', 'Info Sign')"><span class="fa fa-fw fa-info-circle"></span> Info Sign</a></li>
|
||||
<li><a href="#" onclick="setIcon('scissors', 'Scissors')"><span class="glyphicon glyphicon-scissors"></span> Scissors</a></li>
|
||||
<li><a href="#" onclick="setIcon('hourglass', 'Hourglass')"><span class="glyphicon glyphicon-hourglass"></span> Hourglass</a></li>
|
||||
<li><a href="#" onclick="setIcon('pushpin', 'Pushpin')"><span class="glyphicon glyphicon-pushpin"></span> Pushpin</a></li>
|
||||
<li><a href="#" onclick="setIcon('folder-open', 'Folder Open')"><span class="glyphicon glyphicon-folder-open"></span> Folder Open</a></li>
|
||||
<li><a href="#" onclick="setIcon('flash', 'Flash')"><span class="glyphicon glyphicon-flash"></span> Flash</a></li>
|
||||
<li><a href="#" onclick="setIcon('question-sign', 'Question Sign')"><span class="glyphicon glyphicon-question-sign"></span> Question Sign</a></li>
|
||||
<li><a href="#" onclick="setIcon('comment', 'Comment')"><span class="glyphicon glyphicon-comment"></span> Comment</a></li>
|
||||
<li><a href="#" onclick="setIcon('comment', 'Comment')"><span class="fa fa-fw fa-comment"></span> Comment</a></li>
|
||||
<li><a href="#" onclick="setIcon('warning-sign', 'Warning Sign')"><span class="glyphicon glyphicon-warning-sign"></span> Warning Sign</a></li>
|
||||
<li><a href="#" onclick="setIcon('calendar', 'Calendar')"><span class="glyphicon glyphicon-calendar"></span> Calendar</a></li>
|
||||
<li><a href="#" onclick="setIcon('thumbs-down', 'Thumbs Down')"><span class="glyphicon glyphicon-thumbs-down"></span> Thumbs Down</a></li>
|
||||
|
@ -1,54 +1,58 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div id="carousel-home" class="carousel slide" data-ride="carousel">
|
||||
<ol class="carousel-indicators">
|
||||
<li data-target="#carousel-home" data-slide-to="0" class="active"></li>
|
||||
<li data-target="#carousel-home" data-slide-to="1"></li>
|
||||
<li data-target="#carousel-home" data-slide-to="2"></li>
|
||||
</ol>
|
||||
<div class="carousel-inner">
|
||||
<div class="bg-primary slide-text-bg carousel-caption main-text">
|
||||
<div class="center-block">
|
||||
<h1>The Tempus Project</h1>
|
||||
<h3>PHP powered web application for rapid prototyping</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item active">
|
||||
<img src="{ROOT_URL}app/images/ttp.png" alt="First slide">
|
||||
<div class="carousel-caption bg-primary slide-text-bg">
|
||||
<h3>Powerful</h3>
|
||||
<p>The Tempus Project is built with expansion in mind. From a custom template engine to the simple to use MVC style, The Tempus Project is built to provide a powerful and stable foundation for web applications.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<img src="{ROOT_URL}app/images/ttp-install.png" alt="Second slide">
|
||||
<div class="carousel-caption bg-primary slide-text-bg">
|
||||
<h3>Quick and Simple Installation</h3>
|
||||
<p>Built with rapid deployment in mind you can have The Tempus Project installed in just minutes.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<img src="{ROOT_URL}app/images/ttp-github.png" alt="Third slide">
|
||||
<div class="carousel-caption bg-primary slide-text-bg">
|
||||
<h3>Open Source</h3>
|
||||
<p>The Tempus Project is completely open source and only utilizes other open-source components. The Project is provided under thee MIT license.</p>
|
||||
</div>
|
||||
<div id="myCarousel" class="carousel slide m-3" data-bs-ride="carousel">
|
||||
<div class="carousel-indicators">
|
||||
<button type="button" data-bs-target="#myCarousel" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
|
||||
<button type="button" data-bs-target="#myCarousel" data-bs-slide-to="1" aria-label="Slide 2"></button>
|
||||
<button type="button" data-bs-target="#myCarousel" data-bs-slide-to="2" aria-label="Slide 3"></button>
|
||||
</div>
|
||||
<div class="carousel-inner">
|
||||
<div class="carousel-item active">
|
||||
<img src="{ROOT_URL}app/images/ttp.png" class="bd-placeholder-img" alt="First slide">
|
||||
<div class="container">
|
||||
<div class="carousel-caption text-start bg-dark px-4">
|
||||
<h1>Powerful</h1>
|
||||
<p>
|
||||
The Tempus Project is built with expansion in mind. From a custom template engine to the simple to use MVC style, The Tempus Project is built to provide a powerful and stable foundation for web applications.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="{ROOT_URL}app/images/ttp-install.png" class="bd-placeholder-img" alt="Second slide">
|
||||
<div class="container">
|
||||
<div class="carousel-caption bg-dark px-4">
|
||||
<h1>Quick and Simple Installation</h1>
|
||||
<p>
|
||||
Built with rapid deployment in mind you can have The Tempus Project installed in just minutes.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<img src="{ROOT_URL}app/images/ttp-github.png" class="bd-placeholder-img" alt="Third slide">
|
||||
<div class="container">
|
||||
<div class="carousel-caption text-end bg-dark px-4">
|
||||
<h1>Open Source</h1>
|
||||
<p>
|
||||
The Tempus Project is completely open source and only utilizes other open-source components. The Project is provided under the MIT license.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#carousel-home" class="left carousel-control" data-slide="prev">
|
||||
<span class="glyphicon glyphicon-chevron-left"></span>
|
||||
</a>
|
||||
<a href="#carousel-home" class="right carousel-control" data-slide="next">
|
||||
<span class="glyphicon glyphicon-chevron-right"></span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<button class="carousel-control-prev" type="button" data-bs-target="#myCarousel" data-bs-slide="prev">
|
||||
<span class="carousel-control-prev-icon text-dark" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Previous</span>
|
||||
</button>
|
||||
<button class="carousel-control-next" type="button" data-bs-target="#myCarousel" data-bs-slide="next">
|
||||
<span class="carousel-control-next-icon text-dark" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Next</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12 col-centered">
|
||||
<div class="row m-3">
|
||||
<div class="col-lg-9 col-md-9 col-sm-12 col-centered">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<h2>Welcome to The Tempus Project</h2>
|
||||
<hr>
|
||||
<p>The aim of The Tempus Project is to create an easy to use and implement CMS based
|
||||
@ -63,9 +67,9 @@
|
||||
<li>Bug reports and feedback forms included!</li>
|
||||
<li>Drag and drop simple to install</li>
|
||||
</ul>
|
||||
<p>DISCLAIMER: as of January 1, 2023 this code is not production ready! Please use at your own risk! That being said, I am always trying to improve this system. If you have any suggestions or need to report a bug, you can do so on my <a href="https://github.com/TheTempusProject/TheTempusProject">GitHub</a>.</p>
|
||||
<p>DISCLAIMER: as of January 1, 2025 this code is not production ready! Please use at your own risk! That being said, I am always trying to improve this system. If you have any suggestions or need to report a bug, you can do so on my <a href="https://github.com/TheTempusProject/TheTempusProject">GitHub</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,39 +1,35 @@
|
||||
{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 class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-10 pt-4">
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<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 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>
|
||||
</div>
|
@ -1,14 +1,16 @@
|
||||
{installer-nav}
|
||||
<br>
|
||||
<br>
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<center>
|
||||
<div class="install-terms">
|
||||
<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>
|
||||
</center>
|
||||
<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>
|
||||
<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>
|
@ -1,15 +1,23 @@
|
||||
{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>
|
||||
<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 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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,3 +1,32 @@
|
||||
<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>
|
||||
<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="/login" class="btn btn-success btn-lg">
|
||||
<i class="fa fa-sign-in-alt me-2"></i> Log In
|
||||
</a>
|
||||
<a href="/dashboard" class="btn btn-outline-success btn-lg">
|
||||
<i class="fa fa-cogs me-2"></i> Go to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,50 +1,44 @@
|
||||
{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 class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-10">
|
||||
<legend class="my-3 text-center">Configure</legend>
|
||||
<form action="" 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 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>
|
||||
</div>
|
||||
</div>
|
@ -1,31 +1,37 @@
|
||||
{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>
|
||||
<div class="container">
|
||||
<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 action="" method="post" class="form-horizontal">
|
||||
<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>
|
@ -1,12 +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 class="nav nav-tabs justify-content-center mt-4" role="tablist">
|
||||
<li class="nav-item context-main-bg mx-1 {menu-Welcome}"><a href="#" class="nav-link context-main">Welcome</a></li>
|
||||
<li class="nav-item context-main-bg mx-1 {menu-Terms}"><a href="#" class="nav-link context-main">Terms</a></li>
|
||||
<li class="nav-item context-main-bg mx-1 {menu-Verify}"><a href="#" class="nav-link context-main">Verify</a></li>
|
||||
<li class="nav-item context-main-bg mx-1 {menu-Configure}"><a href="#" class="nav-link context-main">Configure</a></li>
|
||||
<li class="nav-item context-main-bg mx-1 {menu-Routing}"><a href="#" class="nav-link context-main">Routing</a></li>
|
||||
<li class="nav-item context-main-bg mx-1 {menu-Models}"><a href="#" class="nav-link context-main">Models</a></li>
|
||||
<li class="nav-item context-main-bg mx-1 {menu-Plugins}"><a href="#" class="nav-link context-main">Plugins</a></li>
|
||||
<li class="nav-item context-main-bg mx-1 {menu-Resources}"><a href="#" class="nav-link context-main">Resources</a></li>
|
||||
<li class="nav-item context-main-bg mx-1 {menu-User}"><a href="#" class="nav-link context-main">User</a></li>
|
||||
<li class="nav-item context-main-bg mx-1 {menu-Complete}"><a href="#" class="nav-link context-main">Complete</a></li>
|
||||
</ul>
|
@ -1,37 +1,45 @@
|
||||
{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>
|
||||
<div class="container">
|
||||
<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 action="" method="post" class="form-horizontal">
|
||||
<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>
|
@ -1,10 +1,16 @@
|
||||
{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>
|
||||
<div class="container">
|
||||
<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 action="" method="post" class="">
|
||||
<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>
|
@ -1,14 +1,18 @@
|
||||
{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>
|
||||
<div class="container">
|
||||
<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 action="" method="post" class="form-horizontal">
|
||||
<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">Generate</button><br>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,11 +1,13 @@
|
||||
{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>
|
||||
<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>
|
@ -1,4 +1,4 @@
|
||||
<div class="alert alert-danger" role="alert">
|
||||
<div class="alert alert-danger w-100" role="alert">
|
||||
{LOOP}
|
||||
{message}<br>
|
||||
{/LOOP}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="alert alert-info" role="alert">
|
||||
<div class="alert alert-info w-100" role="alert">
|
||||
{LOOP}
|
||||
{message}<br>
|
||||
{/LOOP}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<div class="alert alert-warning w-100" role="alert">
|
||||
{LOOP}
|
||||
{message}<br>
|
||||
{/LOOP}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="alert alert-success" role="alert">
|
||||
<div class="alert alert-success w-100" role="alert">
|
||||
{LOOP}
|
||||
{message}<br>
|
||||
{/LOOP}
|
||||
|
@ -1,25 +1,55 @@
|
||||
<form action="{ROOT_URL}home/login" method="post" class="form-horizontal">
|
||||
<legend>Please sign in</legend>
|
||||
<div class="form-group">
|
||||
<label for="username" class="col-lg-3 control-label">Username</label>
|
||||
<div class="col-lg-3">
|
||||
<input type="text" class="form-check-input" name="username" id="username" placeholder="username" required autofocus>
|
||||
<section class="h-100 gradient-form">
|
||||
<div class="container pb-5 h-100 context-main-bg pt-5">
|
||||
<div class="row d-flex justify-content-center align-items-center h-100">
|
||||
<div class="col-xl-10">
|
||||
<div class="card rounded-3 text-black">
|
||||
<div class="row g-0">
|
||||
<div class="col-lg-6">
|
||||
<div class="card-body p-md-5 mx-md-4">
|
||||
<div class="text-center">
|
||||
<img src="{ROOT_URL}{LOGO}" style="width: 185px;" alt="logo">
|
||||
<h4 class="mt-1 mb-5 pb-1">{SITENAME}</h4>
|
||||
</div>
|
||||
<form action="{ROOT_URL}home/login" method="post">
|
||||
<div data-mdb-input-init class="form-outline mb-4">
|
||||
<input name="username" type="text" id="username" class="form-control" placeholder="Username">
|
||||
</div>
|
||||
<div data-mdb-input-init class="form-outline mb-4">
|
||||
<input name="password" type="password" id="password" class="form-control" placeholder="password">
|
||||
</div>
|
||||
<div class="mb-4 row">
|
||||
<div class="col-lg-6 offset-2">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="remember" id="remember" value="true">
|
||||
<label class="form-check-label" for="remember">Stay Logged In</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center pt-1 mb-5 pb-1">
|
||||
<button name="submit" value="submit" type="submit" data-mdb-button-init data-mdb-ripple-init class="btn btn-primary btn-block mb-3">
|
||||
Sign in
|
||||
</button>
|
||||
<a class="text-muted" href="{ROOT_URL}register/recover">Forgot password?</a>
|
||||
</div>
|
||||
<div class="d-flex align-items-center justify-content-center pb-4">
|
||||
<p class="mb-0 me-2">Don't have an account?</p>
|
||||
<a href="{ROOT_URL}register" data-mdb-button-init data-mdb-ripple-init class="btn btn-outline-dark">
|
||||
Create new
|
||||
</a>
|
||||
</div>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 d-flex align-items-center gradient-custom-2">
|
||||
<div class="text-white px-3 py-4 p-md-5 mx-md-4">
|
||||
<h4 class="mb-4">I appreciate you.</h4>
|
||||
<p class="small mb-0">As a solo developer, i appreciate each and every person who uses my products. There aren't many of you, so thank you</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="col-lg-3 control-label">Password</label>
|
||||
<div class="col-lg-3">
|
||||
<input type="password" class="form-check-input" name="password" id="password" placeholder="password" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="remember" class="col-lg-3 control-label">Remember me</label>
|
||||
<div class="col-lg-3">
|
||||
<input name="remember" id="remember" type="checkbox" value="remember-me">
|
||||
</div>
|
||||
</div>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Sign in</button><br>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
</form>
|
||||
Don't have an account? You can register <a href="{ROOT_URL}register">here</a>.<br>
|
||||
if you need assistance with your username or password, please <a href="{ROOT_URL}register/recover">Click here</a>.
|
||||
</section>
|
@ -1,5 +1,10 @@
|
||||
<div class="collapse navbar-collapse navbar-ex1-collapse">
|
||||
<ul class="nav navbar-nav side-nav">
|
||||
{ADMIN_LINKS}
|
||||
</ul>
|
||||
</div>
|
||||
<ul class="nav nav-pills flex-column mb-auto">
|
||||
{LOOP}
|
||||
<li class="nav-item">
|
||||
<a href="{url}" class="text-white {linkClasses}" {linkAttributes}>
|
||||
{text}
|
||||
</a>
|
||||
{duuuuuuuh}
|
||||
</li>
|
||||
{/LOOP}
|
||||
</ul>
|
6
app/views/nav/adminSub.html
Normal file
6
app/views/nav/adminSub.html
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
<ul class="collapse list-unstyled ms-3 text-small shadow" id="{dropdownName}Dropdown">
|
||||
{LOOP}
|
||||
<li class="nav-item"><a href="{url}" class="nav-link text-white">{text}</a></li>
|
||||
{/LOOP}
|
||||
</ul>
|
@ -1,3 +1,5 @@
|
||||
<ul class="nav navbar-nav">
|
||||
{MENU_LINKS}
|
||||
<ul class="nav col-12 col-lg-auto mb-2 justify-content-center mb-md-0 mx-auto">
|
||||
{LOOP}
|
||||
<li><a href="{url}" class="nav-link px-2 text-white">{text}</a></li>
|
||||
{/LOOP}
|
||||
</ul>
|
@ -1,12 +1,21 @@
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{USERNAME} <i class="fa fa-user"></i></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="{ROOT_URL}usercp"><i class="fa fa-fw fa-user"></i> Profile</a></li>
|
||||
<!-- User Dropdown -->
|
||||
<div class="dropdown nav-item mx-2">
|
||||
<a
|
||||
href="#"
|
||||
class="d-flex align-items-center text-white text-decoration-none dropdown-toggle"
|
||||
id="userDropdown"
|
||||
data-bs-toggle="dropdown"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false">
|
||||
<img src="{ROOT_URL}{AVATAR}" alt="" width="32" height="32" class="rounded-circle me-2"> <strong class="ms-2">{USERNAME}</strong>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-dark dropdown-menu-end text-small shadow" aria-labelledby="userDropdown">
|
||||
<li><a href="{ROOT_URL}usercp" class="dropdown-item"><i class="fa fa-fw fa-user"></i> Profile</a></li>
|
||||
{topNavRightDropdown}
|
||||
<li><a href="{ROOT_URL}usercp/settings"><i class="fa fa-fw fa-gear"></i> Settings</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="{ROOT_URL}usercp/settings" class="dropdown-item"><i class="fa fa-fw fa-gear"></i> Settings</a></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li>
|
||||
<a href="{ROOT_URL}home/logout"><i class="fa fa-fw fa-power-off"></i> Log Out</a>
|
||||
<a href="{ROOT_URL}home/logout" class="dropdown-item"><i class="fa fa-fw fa-power-off"></i> Log Out</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</div>
|
@ -1,22 +1,51 @@
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i></a>
|
||||
<ul class="dropdown-menu">
|
||||
<form method="post" action="{ROOT_URL}home/login" id="signin" class="navbar-form navbar-right" role="form">
|
||||
<div class="dropdown nav-item mx-2">
|
||||
<a
|
||||
href="#"
|
||||
class="d-flex align-items-center text-white text-decoration-none dropdown-toggle"
|
||||
id="userDropdown"
|
||||
data-bs-toggle="dropdown"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false">
|
||||
<i class="fa fa-user"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-dark dropdown-menu-end text-small shadow" aria-labelledby="userDropdown" style="min-width: 300px;">
|
||||
<form method="post" action="{ROOT_URL}home/login" id="signin" class="px-4 py-3">
|
||||
<input type="hidden" name="rurl" id="rurl" value="{CURRENT_URL}">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<li style="margin-left: 10px;margin-right: 10px;">
|
||||
<div class="input-group">
|
||||
<input id="username" type="text" class="form-control" name="username" value="" placeholder="Username">
|
||||
<input id="password" type="password" class="form-control" name="password" value="" placeholder="Password">
|
||||
<span class="input-group-addon">
|
||||
<input type="checkbox" name="remember" id="remember">
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li style="margin-left: 10px;">
|
||||
<button type="submit" class="btn btn-primary" name="submit" value="submit">Sign in</button>
|
||||
</li>
|
||||
|
||||
<!-- Username -->
|
||||
<div class="form-group mb-3">
|
||||
<input id="username"
|
||||
type="text"
|
||||
class="form-control"
|
||||
name="username"
|
||||
placeholder="Username">
|
||||
</div>
|
||||
|
||||
<!-- Password -->
|
||||
<div class="form-group mb-3">
|
||||
<input id="password"
|
||||
type="password"
|
||||
class="form-control"
|
||||
name="password"
|
||||
placeholder="Password">
|
||||
</div>
|
||||
|
||||
<!-- Remember Me -->
|
||||
<div class="form-check form-switch mb-3">
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="remember" id="remember" value="true">
|
||||
<label class="form-check-label" for="remember">Stay Logged In</label>
|
||||
</div>
|
||||
|
||||
<!-- Submit and Register Buttons -->
|
||||
<div class="d-flex gap-1">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-primary flex-fill">
|
||||
Sign in
|
||||
</button>
|
||||
<a href="{ROOT_URL}register" class="btn btn-outline-primary flex-fill">
|
||||
Create new
|
||||
</a>
|
||||
</div>
|
||||
</form>
|
||||
</ul>
|
||||
</li>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,7 +1,5 @@
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li><a href="{ROOT_URL}usercp">Profile</a></li>
|
||||
<li><a href="{ROOT_URL}usercp/settings">Settings</a></li>
|
||||
<li><a href="{ROOT_URL}usercp/email">Change Email</a></li>
|
||||
<li><a href="{ROOT_URL}usercp/password">Change Password</a></li>
|
||||
<li><a href="{ROOT_URL}messages">Messages</a></li>
|
||||
<ul class="nav nav-tabs justify-content-center my-3" role="tablist">
|
||||
{LOOP}
|
||||
<li class="nav-item context-main-bg mx-1"><a href="{url}" class="nav-link context-main">{name}</a></li>
|
||||
{/LOOP}
|
||||
</ul>
|
@ -1,20 +1,18 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Change Password</legend>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="password" class="col-lg-3 control-label">New Password:</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="password" name="password" id="password">
|
||||
<div class="container py-5 context-main-bg my-5 text-center">
|
||||
<h1 class="mb-4">Change Password</h1>
|
||||
<hr>
|
||||
<p>Please enter the confirmation code you received in your email.</p>
|
||||
<form action="" method="post" class="">
|
||||
<fieldset>
|
||||
<div data-mdb-input-init class="form-outline mb-4 col-2 offset-5">
|
||||
<input class="form-control" type="password" name="password" id="password" placeholder="New Password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password2" class="col-lg-3 control-label">Re-Type New Password:</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="password" name="password2" id="password2">
|
||||
<div data-mdb-input-init class="form-outline mb-4 col-2 offset-5">
|
||||
<input class="form-control" type="password" name="password2" id="password2" placeholder="New Password Confirmation">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="resetCode" value="{resetCode}">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Submit</button><br>
|
||||
</form>
|
||||
</fieldset>
|
||||
<input type="hidden" name="resetCode" value="{resetCode}">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Submit</button><br>
|
||||
</form>
|
||||
</div>
|
@ -1,14 +1,14 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Change Password</legend>
|
||||
<div class="container py-5 context-main-bg my-5 text-center">
|
||||
<h1 class="mb-4">Change Password</h1>
|
||||
<hr>
|
||||
<p>Please enter the code you received in your email. If you did not receive the code, please check your spam filter or <a href="{ROOT_URL}">click here</a> to request a new reset code.</p>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="resetCode" class="col-lg-3 control-label">Reset Code</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="text" name="resetCode" id="resetCode">
|
||||
<form action="" method="post" class="">
|
||||
<fieldset>
|
||||
<div data-mdb-input-init class="form-outline mb-4 col-2 offset-5">
|
||||
<input class="form-control" type="text" name="resetCode" id="resetCode" placeholder="Password Reset Code">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Submit</button><br>
|
||||
</form>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Submit</button><br>
|
||||
</form>
|
||||
</div>
|
205
app/views/privacy.html
Normal file
205
app/views/privacy.html
Normal file
@ -0,0 +1,205 @@
|
||||
<div class="context-main-bg p-4 my-5">
|
||||
<h1>Privacy Policy</h1>
|
||||
<hr>
|
||||
<p>Last updated: December 09, 2024</p>
|
||||
<p>This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information when You use the Service and tells You about Your privacy rights and how the law protects You.</p>
|
||||
<p>We use Your Personal data to provide and improve the Service. By using the Service, You agree to the collection and use of information in accordance with this Privacy Policy. This Privacy Policy has been created with the help of the <a href="https://www.termsfeed.com/privacy-policy-generator/" target="_blank" class="text-decoration-none">Privacy Policy Generator</a>.</p>
|
||||
<h2>Interpretation and Definitions</h2>
|
||||
<h3>Interpretation</h3>
|
||||
<p>The words of which the initial letter is capitalized have meanings defined under the following conditions. The following definitions shall have the same meaning regardless of whether they appear in singular or in plural.</p>
|
||||
<h3>Definitions</h3>
|
||||
<p>For the purposes of this Privacy Policy:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p><strong>Account</strong> means a unique account created for You to access our Service or parts of our Service.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Affiliate</strong> means an entity that controls, is controlled by or is under common control with a party, where "control" means ownership of 50% or more of the shares, equity interest or other securities entitled to vote for election of directors or other managing authority.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Application</strong> refers to {SITENAME}, the software program provided by the Company.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Company</strong> (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to {SITENAME}.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Cookies</strong> are small files that are placed on Your computer, mobile device or any other device by a website, containing the details of Your browsing history on that website among its many uses.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Country</strong> refers to: Georgia, United States</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Device</strong> means any device that can access the Service such as a computer, a cellphone or a digital tablet.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Personal Data</strong> is any information that relates to an identified or identifiable individual.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Service</strong> refers to the Application or the Website or both.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Service Provider</strong> means any natural or legal person who processes the data on behalf of the Company. It refers to third-party companies or individuals employed by the Company to facilitate the Service, to provide the Service on behalf of the Company, to perform services related to the Service or to assist the Company in analyzing how the Service is used.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Third-party Social Media Service</strong> refers to any website or any social network website through which a User can log in or create an account to use the Service.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Usage Data</strong> refers to data collected automatically, either generated by the use of the Service or from the Service infrastructure itself (for example, the duration of a page visit).</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Website</strong> refers to {SITENAME}, accessible from <a href="{SITE_URL}" rel="external nofollow noopener" class="text-decoration-none" target="_blank">{SITE_URL}</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>You</strong> means the individual accessing or using the Service, or the company, or other legal entity on behalf of which such individual is accessing or using the Service, as applicable.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>Collecting and Using Your Personal Data</h2>
|
||||
<h3>Types of Data Collected</h3>
|
||||
<h4>Personal Data</h4>
|
||||
<p>While using Our Service, We may ask You to provide Us with certain personally identifiable information that can be used to contact or identify You. Personally identifiable information may include, but is not limited to:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>Email address</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>First name and last name</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Usage Data</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h4>Usage Data</h4>
|
||||
<p>Usage Data is collected automatically when using the Service.</p>
|
||||
<p>Usage Data may include information such as Your Device's Internet Protocol address (e.g. IP address), browser type, browser version, the pages of our Service that You visit, the time and date of Your visit, the time spent on those pages, unique device identifiers and other diagnostic data.</p>
|
||||
<p>When You access the Service by or through a mobile device, We may collect certain information automatically, including, but not limited to, the type of mobile device You use, Your mobile device unique ID, the IP address of Your mobile device, Your mobile operating system, the type of mobile Internet browser You use, unique device identifiers and other diagnostic data.</p>
|
||||
<p>We may also collect information that Your browser sends whenever You visit our Service or when You access the Service by or through a mobile device.</p>
|
||||
<h4>Information from Third-Party Social Media Services</h4>
|
||||
<p>The Company allows You to create an account and log in to use the Service through the following Third-party Social Media Services:</p>
|
||||
<ul>
|
||||
<li>Google</li>
|
||||
<li>Facebook</li>
|
||||
<li>Instagram</li>
|
||||
<li>Twitter</li>
|
||||
<li>LinkedIn</li>
|
||||
</ul>
|
||||
<p>If You decide to register through or otherwise grant us access to a Third-Party Social Media Service, We may collect Personal data that is already associated with Your Third-Party Social Media Service's account, such as Your name, Your email address, Your activities or Your contact list associated with that account.</p>
|
||||
<p>You may also have the option of sharing additional information with the Company through Your Third-Party Social Media Service's account. If You choose to provide such information and Personal Data, during registration or otherwise, You are giving the Company permission to use, share, and store it in a manner consistent with this Privacy Policy.</p>
|
||||
<h4>Tracking Technologies and Cookies</h4>
|
||||
<p>We use Cookies and similar tracking technologies to track the activity on Our Service and store certain information. Tracking technologies used are beacons, tags, and scripts to collect and track information and to improve and analyze Our Service. The technologies We use may include:</p>
|
||||
<ul>
|
||||
<li><strong>Cookies or Browser Cookies.</strong> A cookie is a small file placed on Your Device. You can instruct Your browser to refuse all Cookies or to indicate when a Cookie is being sent. However, if You do not accept Cookies, You may not be able to use some parts of our Service. Unless you have adjusted Your browser setting so that it will refuse Cookies, our Service may use Cookies.</li>
|
||||
<li><strong>Web Beacons.</strong> Certain sections of our Service and our emails may contain small electronic files known as web beacons (also referred to as clear gifs, pixel tags, and single-pixel gifs) that permit the Company, for example, to count users who have visited those pages or opened an email and for other related website statistics (for example, recording the popularity of a certain section and verifying system and server integrity).</li>
|
||||
</ul>
|
||||
<p>Cookies can be "Persistent" or "Session" Cookies. Persistent Cookies remain on Your personal computer or mobile device when You go offline, while Session Cookies are deleted as soon as You close Your web browser. You can learn more about cookies on <a class="text-decoration-none" href="https://www.termsfeed.com/blog/cookies/#What_Are_Cookies" target="_blank">TermsFeed website</a> article.</p>
|
||||
<p>We use both Session and Persistent Cookies for the purposes set out below:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p><strong>Necessary / Essential Cookies</strong></p>
|
||||
<p>Type: Session Cookies</p>
|
||||
<p>Administered by: Us</p>
|
||||
<p>Purpose: These Cookies are essential to provide You with services available through the Website and to enable You to use some of its features. They help to authenticate users and prevent fraudulent use of user accounts. Without these Cookies, the services that You have asked for cannot be provided, and We only use these Cookies to provide You with those services.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Cookies Policy / Notice Acceptance Cookies</strong></p>
|
||||
<p>Type: Persistent Cookies</p>
|
||||
<p>Administered by: Us</p>
|
||||
<p>Purpose: These Cookies identify if users have accepted the use of cookies on the Website.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>Functionality Cookies</strong></p>
|
||||
<p>Type: Persistent Cookies</p>
|
||||
<p>Administered by: Us</p>
|
||||
<p>Purpose: These Cookies allow us to remember choices You make when You use the Website, such as remembering your login details or language preference. The purpose of these Cookies is to provide You with a more personal experience and to avoid You having to re-enter your preferences every time You use the Website.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>For more information about the cookies we use and your choices regarding cookies, please visit our Cookies Policy or the Cookies section of our Privacy Policy.</p>
|
||||
<h3>Use of Your Personal Data</h3>
|
||||
<p>The Company may use Personal Data for the following purposes:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p><strong>To provide and maintain our Service</strong>, including to monitor the usage of our Service.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>To manage Your Account:</strong> to manage Your registration as a user of the Service. The Personal Data You provide can give You access to different functionalities of the Service that are available to You as a registered user.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>For the performance of a contract:</strong> the development, compliance and undertaking of the purchase contract for the products, items or services You have purchased or of any other contract with Us through the Service.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>To contact You:</strong> To contact You by email, telephone calls, SMS, or other equivalent forms of electronic communication, such as a mobile application's push notifications regarding updates or informative communications related to the functionalities, products or contracted services, including the security updates, when necessary or reasonable for their implementation.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>To provide You</strong> with news, special offers and general information about other goods, services and events which we offer that are similar to those that you have already purchased or enquired about unless You have opted not to receive such information.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>To manage Your requests:</strong> To attend and manage Your requests to Us.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>For business transfers:</strong> We may use Your information to evaluate or conduct a merger, divestiture, restructuring, reorganization, dissolution, or other sale or transfer of some or all of Our assets, whether as a going concern or as part of bankruptcy, liquidation, or similar proceeding, in which Personal Data held by Us about our Service users is among the assets transferred.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>For other purposes</strong>: We may use Your information for other purposes, such as data analysis, identifying usage trends, determining the effectiveness of our promotional campaigns and to evaluate and improve our Service, products, services, marketing and your experience.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>We may share Your personal information in the following situations:</p>
|
||||
<ul>
|
||||
<li><strong>With Service Providers:</strong> We may share Your personal information with Service Providers to monitor and analyze the use of our Service, to contact You.</li>
|
||||
<li><strong>For business transfers:</strong> We may share or transfer Your personal information in connection with, or during negotiations of, any merger, sale of Company assets, financing, or acquisition of all or a portion of Our business to another company.</li>
|
||||
<li><strong>With Affiliates:</strong> We may share Your information with Our affiliates, in which case we will require those affiliates to honor this Privacy Policy. Affiliates include Our parent company and any other subsidiaries, joint venture partners or other companies that We control or that are under common control with Us.</li>
|
||||
<li><strong>With business partners:</strong> We may share Your information with Our business partners to offer You certain products, services or promotions.</li>
|
||||
<li><strong>With other users:</strong> when You share personal information or otherwise interact in the public areas with other users, such information may be viewed by all users and may be publicly distributed outside. If You interact with other users or register through a Third-Party Social Media Service, Your contacts on the Third-Party Social Media Service may see Your name, profile, pictures and description of Your activity. Similarly, other users will be able to view descriptions of Your activity, communicate with You and view Your profile.</li>
|
||||
<li><strong>With Your consent</strong>: We may disclose Your personal information for any other purpose with Your consent.</li>
|
||||
</ul>
|
||||
<h3>Retention of Your Personal Data</h3>
|
||||
<p>The Company will retain Your Personal Data only for as long as is necessary for the purposes set out in this Privacy Policy. We will retain and use Your Personal Data to the extent necessary to comply with our legal obligations (for example, if we are required to retain your data to comply with applicable laws), resolve disputes, and enforce our legal agreements and policies.</p>
|
||||
<p>The Company will also retain Usage Data for internal analysis purposes. Usage Data is generally retained for a shorter period of time, except when this data is used to strengthen the security or to improve the functionality of Our Service, or We are legally obligated to retain this data for longer time periods.</p>
|
||||
<h3>Transfer of Your Personal Data</h3>
|
||||
<p>Your information, including Personal Data, is processed at the Company's operating offices and in any other places where the parties involved in the processing are located. It means that this information may be transferred to — and maintained on — computers located outside of Your state, province, country or other governmental jurisdiction where the data protection laws may differ than those from Your jurisdiction.</p>
|
||||
<p>Your consent to this Privacy Policy followed by Your submission of such information represents Your agreement to that transfer.</p>
|
||||
<p>The Company will take all steps reasonably necessary to ensure that Your data is treated securely and in accordance with this Privacy Policy and no transfer of Your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of Your data and other personal information.</p>
|
||||
<h3>Delete Your Personal Data</h3>
|
||||
<p>You have the right to delete or request that We assist in deleting the Personal Data that We have collected about You.</p>
|
||||
<p>Our Service may give You the ability to delete certain information about You from within the Service.</p>
|
||||
<p>You may update, amend, or delete Your information at any time by signing in to Your Account, if you have one, and visiting the account settings section that allows you to manage Your personal information. You may also contact Us to request access to, correct, or delete any personal information that You have provided to Us.</p>
|
||||
<p>Please note, however, that We may need to retain certain information when we have a legal obligation or lawful basis to do so.</p>
|
||||
<h3>Disclosure of Your Personal Data</h3>
|
||||
<h4>Business Transactions</h4>
|
||||
<p>If the Company is involved in a merger, acquisition or asset sale, Your Personal Data may be transferred. We will provide notice before Your Personal Data is transferred and becomes subject to a different Privacy Policy.</p>
|
||||
<h4>Law enforcement</h4>
|
||||
<p>Under certain circumstances, the Company may be required to disclose Your Personal Data if required to do so by law or in response to valid requests by public authorities (e.g. a court or a government agency).</p>
|
||||
<h4>Other legal requirements</h4>
|
||||
<p>The Company may disclose Your Personal Data in the good faith belief that such action is necessary to:</p>
|
||||
<ul>
|
||||
<li>Comply with a legal obligation</li>
|
||||
<li>Protect and defend the rights or property of the Company</li>
|
||||
<li>Prevent or investigate possible wrongdoing in connection with the Service</li>
|
||||
<li>Protect the personal safety of Users of the Service or the public</li>
|
||||
<li>Protect against legal liability</li>
|
||||
</ul>
|
||||
<h3>Security of Your Personal Data</h3>
|
||||
<p>The security of Your Personal Data is important to Us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While We strive to use commercially acceptable means to protect Your Personal Data, We cannot guarantee its absolute security.</p>
|
||||
<h2>Children's Privacy</h2>
|
||||
<p>Our Service does not address anyone under the age of 13. We do not knowingly collect personally identifiable information from anyone under the age of 13. If You are a parent or guardian and You are aware that Your child has provided Us with Personal Data, please contact Us. If We become aware that We have collected Personal Data from anyone under the age of 13 without verification of parental consent, We take steps to remove that information from Our servers.</p>
|
||||
<p>If We need to rely on consent as a legal basis for processing Your information and Your country requires consent from a parent, We may require Your parent's consent before We collect and use that information.</p>
|
||||
<h2>Links to Other Websites</h2>
|
||||
<p>Our Service may contain links to other websites that are not operated by Us. If You click on a third party link, You will be directed to that third party's site. We strongly advise You to review the Privacy Policy of every site You visit.</p>
|
||||
<p>We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.</p>
|
||||
<h2>Changes to this Privacy Policy</h2>
|
||||
<p>We may update Our Privacy Policy from time to time. We will notify You of any changes by posting the new Privacy Policy on this page.</p>
|
||||
<p>We will let You know via email and/or a prominent notice on Our Service, prior to the change becoming effective and update the "Last updated" date at the top of this Privacy Policy.</p>
|
||||
<p>You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.</p>
|
||||
<h2>Contact Us</h2>
|
||||
<p>If you have any questions about this Privacy Policy, You can contact us:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>By email: {DEBUG_EMAIL}</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>By visiting this page on our website: <a href="{SITE_URL}/contact" rel="external nofollow noopener" class="text-decoration-none" target="_blank">{SITE_URL}/contact</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="text-center py-3">
|
||||
<a href="#top" class="btn btn-outline-primary">Back to Top</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,60 +1,75 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-6 col-lg-8 col-sm-offset-0 col-md-offset-3 col-lg-offset-2 top-pad" >
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{username}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-lg-3 " align="center">
|
||||
<img alt="User Pic" src="{ROOT_URL}{avatar}" class="img-circle img-responsive">
|
||||
</div>
|
||||
<div class=" col-md-9 col-lg-9 ">
|
||||
<table class="table table-user-primary">
|
||||
<tbody>
|
||||
{ADMIN}
|
||||
<tr>
|
||||
<td>Confirmed:</td>
|
||||
<td>{confirmedText}</td>
|
||||
</tr>
|
||||
{/ADMIN}
|
||||
<tr>
|
||||
<td>registered:</td>
|
||||
<td>{DTC}{registered}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Last seen</td>
|
||||
<td>{DTC}{lastLogin}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gender</td>
|
||||
<td>{gender}</td>
|
||||
</tr>
|
||||
{ADMIN}
|
||||
<tr>
|
||||
<td>Email</td>
|
||||
<td><a href="mailto:{email}">{email}</a></td>
|
||||
</tr>
|
||||
<td>User ID</td>
|
||||
<td>{ID}</td>
|
||||
</tr>
|
||||
{/ADMIN}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<a href="{ROOT_URL}messages/create?prepopuser={USERNAME}" data-original-title="Broadcast Message" data-toggle="tooltip" type="button" class="btn btn-sm btn-primary"><i class="glyphicon glyphicon-envelope"></i></a>
|
||||
{ADMIN}
|
||||
<span class="pull-right">
|
||||
<a href="{ROOT_URL}admin/users/edit/{ID}" data-original-title="Edit this user" data-toggle="tooltip" type="button" class="btn btn-sm btn-warning"><i class="glyphicon glyphicon-edit"></i></a>
|
||||
<a href="{ROOT_URL}admin/users/delete/{ID}" data-original-title="Remove this user" data-toggle="tooltip" type="button" class="btn btn-sm btn-danger"><i class="glyphicon glyphicon-remove"></i></a>
|
||||
</span>
|
||||
{/ADMIN}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container py-4 context-main-bg my-4">
|
||||
<h3 class="mb-4 text-center">Profile</h3>
|
||||
<hr>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card shadow">
|
||||
<!-- Card Header -->
|
||||
<div class="card-header text-center bg-dark text-white">
|
||||
<h3 class="card-title mb-0">{username}</h3>
|
||||
</div>
|
||||
|
||||
<!-- Card Body -->
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<!-- User Image -->
|
||||
<div class="col-md-4 text-center">
|
||||
<img src="{ROOT_URL}{avatar}" alt="User Pic" class="rounded-circle img-fluid" style="max-width: 150px;">
|
||||
</div>
|
||||
|
||||
<!-- User Details -->
|
||||
<div class="col-md-8">
|
||||
<table class="table table-borderless">
|
||||
<tbody>
|
||||
{ADMIN}
|
||||
<tr>
|
||||
<th scope="row">Confirmed:</th>
|
||||
<td>{confirmedText}</td>
|
||||
</tr>
|
||||
{/ADMIN}
|
||||
<tr>
|
||||
<th scope="row">Registered:</th>
|
||||
<td>{DTC}{registered}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Last Seen:</th>
|
||||
<td>{DTC}{lastLogin}{/DTC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Gender:</th>
|
||||
<td>{gender}</td>
|
||||
</tr>
|
||||
{ADMIN}
|
||||
<tr>
|
||||
<th scope="row">Email:</th>
|
||||
<td><a href="mailto:{email}">{email}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">User ID:</th>
|
||||
<td>{ID}</td>
|
||||
</tr>
|
||||
{/ADMIN}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Admin Controls -->
|
||||
<div class="card-footer text-center">
|
||||
{ADMIN}
|
||||
<a href="{ROOT_URL}messages/create?prepopuser={USERNAME}" class="btn btn-primary btn-sm me-2" data-bs-toggle="tooltip" title="Broadcast Message">
|
||||
<i class="fa fa-envelope"></i> Message
|
||||
</a>
|
||||
<a href="{ROOT_URL}admin/users/edit/{ID}" class="btn btn-warning btn-sm me-2" data-bs-toggle="tooltip" title="Edit User">
|
||||
<i class="fa fa-pencil"></i> Edit
|
||||
</a>
|
||||
<a href="{ROOT_URL}admin/users/delete/{ID}" class="btn btn-danger btn-sm" data-bs-toggle="tooltip" title="Delete User">
|
||||
<i class="fa fa-trash"></i> Delete
|
||||
</a>
|
||||
{/ADMIN}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,46 +1,65 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Register</legend>
|
||||
<form action="" method="post" class="container py-4">
|
||||
<h2 class="text-center mb-4">Create an Account</h2>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="username" class="col-lg-6 control-label">Username:</label>
|
||||
<!-- Username -->
|
||||
<div class="mb-3 row">
|
||||
<label for="username" class="col-lg-6 col-form-label text-end">Username:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="username" id="username">
|
||||
<input type="text" class="form-control" name="username" id="username" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email" class="col-lg-6 control-label">Email:</label>
|
||||
|
||||
<!-- Email -->
|
||||
<div class="mb-3 row">
|
||||
<label for="email" class="col-lg-6 col-form-label text-end">Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="email" name="email" id="email">
|
||||
<input type="email" class="form-control" name="email" id="email" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email2" class="col-lg-6 control-label">Re-Enter Email:</label>
|
||||
|
||||
<!-- Re-enter Email -->
|
||||
<div class="mb-3 row">
|
||||
<label for="email2" class="col-lg-6 col-form-label text-end">Re-Enter Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="email" name="email2" id="email2">
|
||||
<input type="email" class="form-control" name="email2" id="email2" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="col-lg-6 control-label">Password:</label>
|
||||
|
||||
<!-- Password -->
|
||||
<div class="mb-3 row">
|
||||
<label for="password" class="col-lg-6 col-form-label text-end">Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="password" name="password" id="password">
|
||||
<input type="password" class="form-control" name="password" id="password" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password2" class="col-lg-6 control-label">Re-Enter Password:</label>
|
||||
|
||||
<!-- Re-enter Password -->
|
||||
<div class="mb-3 row">
|
||||
<label for="password2" class="col-lg-6 col-form-label text-end">Re-Enter Password:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="password" name="password2" id="password2">
|
||||
<input type="password" class="form-control" name="password2" id="password2" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<center>
|
||||
I have read and agree to the Terms of Service
|
||||
<input type="checkbox" name="terms" id="terms" value="1"/>
|
||||
<div class="terms">
|
||||
{TERMS}
|
||||
</div>
|
||||
</center>
|
||||
|
||||
<!-- Terms of Service -->
|
||||
<div class="mb-3 text-center">
|
||||
<div class="">
|
||||
<input type="checkbox" class="form-check-input" name="terms" id="terms" value="1" required>
|
||||
<label for="terms" class="form-check-label">
|
||||
I have read and agree to the <a href="/home/terms" class="text-primary text-decoration-none">Terms of Service</a>
|
||||
</label>
|
||||
</div>
|
||||
<div class="terms mt-2 mx-auto">
|
||||
{TERMS}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hidden Token -->
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="text-center">
|
||||
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Sign up</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Sign up</button><br>
|
||||
</form>
|
||||
</form>
|
||||
|
52
app/views/switches.html
Normal file
52
app/views/switches.html
Normal file
@ -0,0 +1,52 @@
|
||||
<div class="col-sm-6 col-md-4 col-sm-offset-3 col-md-offset-4">
|
||||
<div class="card">
|
||||
<!-- Default panel contents -->
|
||||
<div class="card-header">Material Design Switch Demos</div>
|
||||
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
Bootstrap Switch Default
|
||||
<div class="material-switch float-right">
|
||||
<input id="someSwitchOptionDefault" name="someSwitchOption001" type="checkbox"/>
|
||||
<label for="someSwitchOptionDefault" class="label-default"></label>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
Bootstrap Switch Primary
|
||||
<div class="material-switch float-right">
|
||||
<input id="someSwitchOptionPrimary" name="someSwitchOption001" type="checkbox"/>
|
||||
<label for="someSwitchOptionPrimary" class="label-primary"></label>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
Bootstrap Switch Success
|
||||
<div class="material-switch float-right">
|
||||
<input id="someSwitchOptionSuccess" name="someSwitchOption001" type="checkbox"/>
|
||||
<label for="someSwitchOptionSuccess" class="label-success"></label>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
Bootstrap Switch Info
|
||||
<div class="material-switch float-right">
|
||||
<input id="someSwitchOptionInfo" name="someSwitchOption001" type="checkbox"/>
|
||||
<label for="someSwitchOptionInfo" class="label-info"></label>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
Bootstrap Switch Warning
|
||||
<div class="material-switch float-right">
|
||||
<input id="someSwitchOptionWarning" name="someSwitchOption001" type="checkbox"/>
|
||||
<label for="someSwitchOptionWarning" class="label-warning"></label>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
Bootstrap Switch Danger
|
||||
<div class="material-switch float-right">
|
||||
<input id="someSwitchOptionDanger" name="someSwitchOption001" type="checkbox"/>
|
||||
<label for="someSwitchOptionDanger" class="label-danger"></label>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
6
app/views/termsPage.html
Normal file
6
app/views/termsPage.html
Normal file
@ -0,0 +1,6 @@
|
||||
<div class="terms-page col-lg-8 mx-auto my-5">
|
||||
{TERMS}
|
||||
<div class="text-center py-3">
|
||||
<a href="#top" class="btn btn-outline-primary">Back to Top</a>
|
||||
</div>
|
||||
</div>
|
@ -1,19 +1,22 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Email Settings</legend>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="email" class="col-lg-3 control-label">New Email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="email" name="email" id="email">
|
||||
</div>
|
||||
<div class="container py-4 context-main-bg my-4 text-center">
|
||||
<h3 class="mb-4">Email Settings</h3>
|
||||
<hr>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-4">
|
||||
<form action="" method="post">
|
||||
<fieldset>
|
||||
<div class="mb-3">
|
||||
<label for="email" class="form-label">New Email:</label>
|
||||
<input type="email" class="form-control" name="email" id="email" placeholder="Enter new email">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="email2" class="form-label">Re-type Email:</label>
|
||||
<input type="email" class="form-control" name="email2" id="email2" placeholder="Re-enter new email">
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-primary">Update</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email2" class="col-lg-3 control-label">Re-type email:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="email" name="email2" id="email2">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Update</button><br>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,25 +1,26 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Change Password</legend>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="curpass" class="col-lg-3 control-label">Current Password:</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="password" name="curpass" id="curpass">
|
||||
</div>
|
||||
<div class="container py-4 context-main-bg my-4 text-center">
|
||||
<h3 class="mb-4">Change Password</h3>
|
||||
<hr>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-4">
|
||||
<form action="" method="post">
|
||||
<fieldset>
|
||||
<div class="mb-3">
|
||||
<label for="curpass" class="form-label">Current Password:</label>
|
||||
<input type="password" class="form-control" name="curpass" id="curpass" placeholder="Enter current password">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="password" class="form-label">New Password:</label>
|
||||
<input type="password" class="form-control" name="password" id="password" placeholder="Enter new password">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="password2" class="form-label">Re-type New Password:</label>
|
||||
<input type="password" class="form-control" name="password2" id="password2" placeholder="Re-enter new password">
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-primary">Update</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="col-lg-3 control-label">New Password:</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="password" name="password" id="password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password2" class="col-lg-3 control-label">Re-Type New Password:</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="password" name="password2" id="password2">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Update</button><br>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
@ -1,6 +1,15 @@
|
||||
<form action="" method="post" class="form-horizontal" enctype="multipart/form-data">
|
||||
<legend>Preferences</legend>
|
||||
{PREFERENCES_FORM}
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Update</button><br>
|
||||
</form>
|
||||
<div class="container py-4 context-main-bg my-4 text-center">
|
||||
<h3 class="mb-4">Preferences</h3>
|
||||
<hr>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-6">
|
||||
<form action="" method="post" class="">
|
||||
<fieldset>
|
||||
{PREFERENCES_FORM}
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Update</button><br>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user