first commit

This commit is contained in:
2019-05-25 23:11:05 -04:00
commit 16f48376bc
6139 changed files with 990356 additions and 0 deletions
@@ -0,0 +1,37 @@
<!-- Dashboard content -->
<div class="row">
<div class="col-lg-8">
<!-- Support tickets -->
<div class="panel panel-flat">
<div class="table-responsive">
<?=$dryclean_table?>
</div>
</div>
<!-- /support tickets -->
</div>
<div class="col-lg-4">
<!-- Recent Members -->
<div class="panel panel-flat">
<div class="panel-heading">
<h6 class="panel-title">.</h6>
</div>
<div class="panel-body">
<div id="sales-heatmap"></div>
</div>
<div class="table-responsive">
</div>
</div>
<!-- /Recent Members -->
</div>
</div>
<!-- /dashboard content -->
@@ -0,0 +1,145 @@
<!-- Dashboard content -->
<div class="row">
<div class="col-lg-8">
<!-- Form horizontal -->
<div class="panel panel-flat">
<div class="panel-heading">
<h5 class="panel-title">Add new Back Office user</h5>
</div>
<div class="panel-body">
<p class="content-group-lg">Add new back office user. Ensure that the correct permission level is set.</p>
<form class="form-horizontal" action="/bkoadmin/adduser" method="POST">
<fieldset class="content-group">
<legend class="text-bold">New User</legend>
<div class="form-group">
<label class="control-label col-lg-2">Created by</label>
<div class="col-lg-10">
<input type="text" class="form-control" readonly="readonly" value='Web Admin'>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">Firstname</label>
<div class="col-lg-10">
<input type="text" class="form-control" name="firstname" value="<?=$firstname?>">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">Lastname</label>
<div class="col-lg-10">
<input type="text" class="form-control" name="lastname" value="<?=$lastname?>">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">Email</label>
<div class="col-lg-10">
<input type="text" class="form-control" name="email" value="<?=$email?>">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">Username</label>
<div class="col-lg-10">
<input type="text" class="form-control" placeholder="Enter the username..." name="username" value="<?=$username?>">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">Password</label>
<div class="col-lg-10">
<input type="password" class="form-control" name="password" value="<?=$password?>">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2">Permission</label>
<div class="col-lg-10">
<select name="plevel" class="form-control">
<option value="">Select Permission Level</option>
<option value="10">Customer Support</option>
<option value="40">Transport Administration</option>
<option value="50">Payment Administration</option>
<option value="100">Total Administration</option>
</select>
</div>
</div>
</fieldset>
<div class="text-right">
<button type="submit" class="btn btn-primary">Create User <i class="icon-arrow-right14 position-right"></i></button>
</div>
</form>
</div>
</div>
<!-- /form horizontal -->
</div>
<div class="col-lg-4">
<!-- Recent Members -->
<div class="panel panel-flat">
<div class="panel-heading">
<h6 class="panel-title">Back Office User Logs</h6>
</div>
<div class="panel-body">
<div id="sales-heatmap"></div>
</div>
<div class="table-responsive">
<table class="table text-nowrap">
<thead>
<tr>
<th>Name/Date</th>
<th>Action</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<?php
// print_r($recent_signup);
foreach ($recent_logs as $rect) {
?>
<tr>
<td>
<div class="media-body">
<div class="media-heading">
<a href="#" class="letter-icon-title"><? echo $rect->firstname; ?> <? echo $rect->lastname; ?></a>
</div>
<div class="text-muted text-size-small"><? echo $rect->added; ?></div>
</div>
</td>
<td>
<span class="text-muted text-size-small"><? echo $rect->action; ?></span>
</td>
<td>
<h6 class="text-semibold no-margin"><? echo $rect->loc; ?></h6>
</td>
</tr>
<?
}
?>
<tr>
<td colspan='3'>More Logs ...</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- /Recent Members -->
</div>
</div>
<!-- /dashboard content -->
@@ -0,0 +1,178 @@
<!-- Dashboard content -->
<div class="row">
<div class="col-lg-4">
<!-- Form horizontal -->
<div class="panel panel-flat">
<div class="panel-body">
<fieldset class="content-group">
<legend id="translator_name" class="text-bold">Edit Profile</legend>
<input type="hidden" id="interpreter_id" name="interpreter_id" value="0">
<!-- Basic text input -->
<div class="form-group">
<label class="control-label col-lg-3">Email <span class="text-danger">*</span></label>
<div class="col-lg-9">
<input type="email" id="email" name="email" class="form-control" required="required" placeholder="Email">
</div>
</div>
<!-- /basic text input -->
<!-- Basic text input -->
<div class="form-group">
<label class="control-label col-lg-3">Firstname <span class="text-danger">*</span></label>
<div class="col-lg-9">
<input type="text" id="firstname" name="firstname" class="form-control" required="required" placeholder="Firstname">
</div>
</div>
<!-- /basic text input -->
<!-- Basic text input -->
<div class="form-group">
<label class="control-label col-lg-3">Lastname <span class="text-danger">*</span></label>
<div class="col-lg-9">
<input type="text" id="lastname" name="lastname" class="form-control" required="required" placeholder="Lastname">
</div>
</div>
<!-- /basic text input -->
<!-- Basic text input -->
<div class="form-group">
<label class="control-label col-lg-3">Phone <span class="text-danger">*</span></label>
<div class="col-lg-9">
<input type="text" id="phone" name="phone" class="form-control" required="required" placeholder="phone">
</div>
</div>
<!-- /basic text input -->
<!-- Input with icons -->
<div class="form-group has-feedback">
<label class="control-label col-lg-3">Address <span class="text-danger">*</span></label>
<div class="col-lg-9">
<input type="text" id="street" name="street" class="form-control" required="required" placeholder="Address">
</div>
</div>
<!-- /input with icons -->
<!-- Input with icons -->
<div class="form-group has-feedback">
<label class="control-label col-lg-3">City <span class="text-danger">*</span></label>
<div class="col-lg-9">
<input type="text" id="city" name="city" class="form-control" required="required" placeholder="City">
</div>
</div>
<!-- /input with icons -->
<!-- Multiple select -->
<div class="form-group">
<label class="control-label col-lg-3">State <span class="text-danger">*</span></label>
<div class="col-lg-9">
<select id="stat" name="state" class="form-control" required="required">
<option value="GA">Georgia</option>
</select>
</div>
</div>
<!-- /multiple select -->
<!-- Input group -->
<div class="form-group">
<label class="control-label col-lg-3">Zipcode <span class="text-danger">*</span></label>
<div class="col-lg-9">
<div class="input-group">
<input type="text" id="zipcode" name="zipcode" class="form-control" required="required" placeholder="Zipcode">
</div>
</div>
</div>
<!-- /input group -->
<div class="text-right">
<button type="submit" class="btn btn-primary btn-xs">Submit <i class="icon-arrow-right14 position-right"></i></button>
</div>
</fieldset>
</div>
</div>
<!-- /form horizontal -->
</div>
<div class="col-lg-4">
<!-- Form horizontal -->
<div class="panel panel-flat">
<div class="panel-heading">
<h5 class="panel-title">My Profile</h5>
</div>
<div class="panel-body">
</div>
<div class="panel-body">
</div>
</div>
<!-- /form horizontal -->
</div>
<div class="col-lg-4">
<!-- Recent Members -->
<div class="panel panel-flat">
<div class="panel-heading">
<h6 class="panel-title">My Recent Activities[Limit <?= $log_limit ?>]</h6>
</div>
<div class="panel-body">
<div id="sales-heatmap"></div>
</div>
<div class="table-responsive">
<table class="table text-nowrap">
<thead>
<tr>
<th style='width:120px;'>Date Time</th>
<th>Action</th>
<th style='width:120px;'>Location</th>
</tr>
</thead>
<tbody>
<?php
foreach ($recent_logs as $rect) {
?>
<tr>
<td>
<div class="media-body">
<div class="media-heading">
<a href="#" class="letter-icon-title"><? echo $rect->added; ?></a>
</div>
</div>
</td>
<td>
<span class="text text-size-medium"><? echo $rect->action; ?></span>
</td>
<td>
<h6 class="text-semibold no-margin"><? echo $rect->loc; ?></h6>
</td>
</tr>
<?
}
?>
</tbody>
</table>
</div>
</div>
<!-- /Recent Members -->
</div>
</div>
<!-- /dashboard content -->
@@ -0,0 +1,89 @@
<!-- Dashboard content -->
<div class="row">
<div class="col-lg-8">
<!-- Form horizontal -->
<div class="panel panel-flat">
<div class="panel-heading">
<h5 class="panel-title">Back Office Users</h5>
</div>
<div class="panel-heading">
<div class="text-right">
<a href="/bkoadmin/adduser"> <button type="button" class="btn-info btn-xs" onclick="/bkoadmin/adduser">Add New User</button></a>
</div>
</div>
<div class="panel-body">
<?= $output_table; ?>
</div>
<div class="panel-body">
<?= $links; ?>
</div>
</div>
<!-- /form horizontal -->
</div>
<div class="col-lg-4">
<!-- Recent Members -->
<div class="panel panel-flat">
<div class="panel-heading">
<h6 class="panel-title">Back Office User Logs</h6>
</div>
<div class="panel-body">
<div id="sales-heatmap"></div>
</div>
<div class="table-responsive">
<table class="table text-nowrap">
<thead>
<tr>
<th>Name/Date</th>
<th>Action</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<?php
// print_r($recent_signup);
foreach ($recent_logs as $rect) {
?>
<tr>
<td>
<div class="media-body">
<div class="media-heading">
<a href="#" class="letter-icon-title"><? echo $rect->firstname; ?> <? echo $rect->lastname; ?></a>
</div>
<div class="text-muted text-size-small"><? echo $rect->added; ?></div>
</div>
</td>
<td>
<span class="text-muted text-size-small"><? echo $rect->action; ?></span>
</td>
<td>
<h6 class="text-semibold no-margin"><? echo $rect->loc; ?></h6>
</td>
</tr>
<?
}
?>
<tr>
<td colspan='3'>More Logs ...</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- /Recent Members -->
</div>
</div>
<!-- /dashboard content -->