first commit
This commit is contained in:
@@ -0,0 +1,151 @@
|
||||
<!-- Main sidebar -->
|
||||
<div class="sidebar sidebar-main">
|
||||
<div class="sidebar-content">
|
||||
|
||||
<!-- User menu -->
|
||||
<div class="sidebar-user">
|
||||
<div class="category-content">
|
||||
<div class="media">
|
||||
<div class="media-body">
|
||||
<span class="media-heading text-semibold"><?php echo $_SESSION['firstname']; ?></span>
|
||||
<div class="text-size-mini text-muted">
|
||||
<?php echo $_SESSION['loc']; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="media-right media-middle">
|
||||
<ul class="icons-list">
|
||||
<li>
|
||||
<a href="#"><i class="icon-cog3"></i></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /user menu -->
|
||||
|
||||
|
||||
<!-- Main navigation -->
|
||||
<div class="sidebar-category sidebar-category-visible">
|
||||
<div class="category-content no-padding">
|
||||
<ul class="navigation navigation-main navigation-accordion">
|
||||
|
||||
<!-- Main -->
|
||||
<li class="navigation-header"><span>Main</span> <i class="icon-menu" title="Main pages"></i></li>
|
||||
<li><a href="/dash"><i class="icon-home4"></i> <span>Dashboard</span></a></li>
|
||||
|
||||
|
||||
<!-- /main -->
|
||||
|
||||
<!-- Forms -->
|
||||
<li class="navigation-header"><span>Members</span> <i class="icon-menu" title="Members"></i></li>
|
||||
<li><a href="/dash/memberlist"><i class="icon-home4"></i> <span>Member List</span></span></a></li>
|
||||
<li>
|
||||
<a href="/member/findmember"><i class="icon-people"></i> <span>Find Members</span></a>
|
||||
</li>
|
||||
|
||||
<li class="navigation-header"><span>Notifications</span> <i class="icon-menu" title="Notifications"></i></li>
|
||||
<li>
|
||||
<a href="/notifications/noticelist"><i class="icon-home4"></i> <span>Notification</span></span></a>
|
||||
<ul>
|
||||
<li><a href="/notifications/noticelist">Notification Triggers</a></li>
|
||||
<li><a href="/notifications/emailtrigger">Trigger Settings</a></li>
|
||||
<li><a href="/notifications/triggerreport">Trigger Reports</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="navigation-header"><span>Reports</span> <i class="icon-menu" title="Reports"></i></li>
|
||||
|
||||
<!-- Data Reports -->
|
||||
<li>
|
||||
<a href="/bkoreport/"><i class="icon-graph"></i> <span>Reports</span></a>
|
||||
<ul>
|
||||
<!-- <li><a href="/dash">Members</a></li>-->
|
||||
<li><a href="/bkoreport/devices">Member Devices</a></li>
|
||||
<li><a href="/bkoreport/cards_clicked_report">Cards Clicked Report</a></li>
|
||||
<li><a href="/bkoreport/signup_email_report">Email Signup Report</a></li>
|
||||
<li><a href="/bkoreport/quotes">Quotes</a></li>
|
||||
<li><a href="/bkoreport/trips">Transport Vendors</a></li>
|
||||
<li><a href="/bkoreport/heatmap">Heatmap</a></li>
|
||||
<li><a href="/bkoreport/oauth2pulls">OAuth2 Pulls</a></li>
|
||||
<li><a href="#">Activities</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="/bkoreport/loginreport">Login</a></li>
|
||||
<li><a href="/bkoreport/resetreport">Pass Reset</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
<li><a href="/report/chart">Price Comparison Trend</a></li>
|
||||
<li><a href="/report/surgePricingVaraition">Surge Pricing Varaition</a></li>
|
||||
<li><a href="/report/emailAndBankConnectionReport">Email & Bank Connection Report</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/bkoreport/grabpricing"><i class="icon-graph"></i> <span>Grab Pricing Simulator</span></a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/phone_farm_phones/"><i class="icon-menu"></i> <span>Phone Farm</span></a>
|
||||
<ul>
|
||||
<li><a href="/phone_farm_phones">Phone farm phones</a></li>
|
||||
<li><a href="/transport_provider">Transport Provider</a></li>
|
||||
<li><a href="/transport_provider_accounts">Transport Provider Account</a></li>
|
||||
<li><a href="/automation_jobs">Automation Job</a></li>
|
||||
<li><a href="/android_automation_job_details">Android Automation Job Detail</a></li>
|
||||
<li><a href="/farm_records">Farm Records Generated Daily</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/bkoreport/"><i class="icon-graph"></i> <span>Integrations</span></a>
|
||||
<ul>
|
||||
<li><a href="/bkoadmin/mytransport"><i class="icon-graph"></i> <span>MyTransportSG</span></a></li>
|
||||
<li> <a href="/bkoadmin/compare"><i class="icon-graph"></i> <span>Compare</span></a> </li>
|
||||
<li> <a href="/bkoadmin/geofencing"><i class="icon-graph"></i> <span>Geofencing</span></a></li>
|
||||
<li> <a href="/bkoadmin/gas_station_map"><i class="icon-graph"></i> <span>Gas station Map</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/bkoreport/surgereport"><i class="icon-graph"></i> <span>Surge Report</span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/bkoreport/"><i class="icon-menu"></i><span>Geofencing Area Types</span></a>
|
||||
<ul>
|
||||
<li><a href="/geofence_area"><span>Geofence Area</span></a></li>
|
||||
<li><a href="/geofence_area_anchor"><span>Geofence Area Anchor</span></a></li>
|
||||
<li><a href="/geofence_area_city"><span>Geofence Area City</span></a></li>
|
||||
<li><a href="/geofence_area_city_settings"><span>Geofence Area City Settings</span></a></li>
|
||||
<li><a href="/geofence_area_country"><span>Geofence Area Country</span></a></li>
|
||||
<li><a href="/geofence_area/comparePriceBetweenAreas"><span>Price comparison</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/emission/"><i class="icon-menu"></i><span>Emission</span></a>
|
||||
<ul>
|
||||
<li><a href="/emission/"><span>Model</span></a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/member/trackedemail"><i class="icon-graph"></i> <span>Tracked Email</span></a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/Parsed_Receipts/index"><i class="icon-graph"></i> <span>Parsed Receipts</span></a>
|
||||
</li>
|
||||
|
||||
<!-- <li>
|
||||
<a href="/blog"><i class="icon-graph"></i> <span>Blog</span></a>
|
||||
</li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /main navigation -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- /main sidebar -->
|
||||
|
||||
|
||||
@@ -0,0 +1,122 @@
|
||||
<form method="POST" action="?">
|
||||
<?php if (isset($card_id) && $card_id > 0) { ?>
|
||||
<input type="hidden" name="id" value="<?= $card_id ?>" />
|
||||
<?php } ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col col-lg-6">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="categoryLabel">Template</label>
|
||||
<?= $card_template ?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="categoryLabel">Category</label>
|
||||
<?= $card_category ?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cansaveLabel">Can user save ?</label>
|
||||
<?= $card_can_save ?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cardPictureslabel">Picture</label>
|
||||
<?= $card_pictures ?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cardName">Card ID</label>
|
||||
<input type="text" class="form-control" id="cardName" name="card_name" maxlength="100" placeholder="Card Unique ID" value="<?= $card_name ?>" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="showTitleInput">Show Title</label>
|
||||
<?= $card_titleshow ?>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="cardShortTitle">Card Short Title</label>
|
||||
<input type="text" class="form-control" id="cardShortTitle" name="short_title" maxlength="35" placeholder="Card Short Title" value="<?= $short_title ?>" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cardTitle">Card Title</label>
|
||||
<input type="text" class="form-control" id="cardTitle" name="card_title" maxlength="100" placeholder="Card Title" value="<?= $card_title ?>" />
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="card_country">Card Country</label>
|
||||
<?= $card_country ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col col-lg-6">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="descriptionCardlab">Description[250]</label>
|
||||
<textarea class="form-control" name="description" id="descriptionCardlab" rows="5" maxlength="250" placeholder="Description"><?= $description ?></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleFormControlTextarea1">1st Button </label>
|
||||
<input type="text" class="form-control" name="button1" id="exampleFormControlTextarea1" maxlength="35" placeholder="Button 1" value="<?= $button1 ?>" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleFormControlTextarea1">1st Button Text</label>
|
||||
<input type="text" class="form-control" name="button1_text" id="descriptionCardlab" maxlength="35" placeholder="Button 1 Text" value="<?= $button1_text ?>" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="categoryLabel">Can Expire</label>
|
||||
<?= $card_canexpire ?>
|
||||
<br>
|
||||
<label for="categoryLabel">Expiration date</label>
|
||||
<input type="text" class="form-control" name="card_expiration" value="<?= $card_expiration ?>" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cansaveLabel">Status</label>
|
||||
<?= $card_status ?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cansaveLabel">Notification</label>
|
||||
<?= $card_notify ?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button type="submit" name="go" class="btn btn-info btn-block btn-sm"><?= $form_button ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card" style="width: 100%; background-color:honeydew;">
|
||||
<div class="card-body">
|
||||
<?php if (isset($card_id) && $card_id > 0) { ?>
|
||||
|
||||
<button type="button" class="btn btn-danger btn-block btn-sm" data-toggle="modal" data-target="#exampleModalScrollable">More Setting</button>
|
||||
|
||||
<p class="card-text">We are ready to go on here.</p>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<? /* http://www.daterangepicker.com/ */ ?>
|
||||
<script>
|
||||
$(function () {
|
||||
$('input[name="card_expiration"]').daterangepicker({
|
||||
singleDatePicker: true,
|
||||
showDropdowns: true,
|
||||
minYear: <?= date("Y") ?>,
|
||||
maxYear: <?= date("Y") + 10 ?>, /*parseInt(moment().format('YYYY'),10),*/
|
||||
locale: {
|
||||
format: 'YYYY-MM-DD'
|
||||
}
|
||||
}, function (start, end, label) {
|
||||
var years = moment().diff(start, 'years');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@@ -0,0 +1,80 @@
|
||||
<style>
|
||||
#wrapper {
|
||||
width:600px;
|
||||
margin:0 auto;
|
||||
border-radius:0 0 5px 5px;
|
||||
-moz-border-radius:0 0 5px 5px;
|
||||
-webkit-border-radius: 0 0 5px 5px;
|
||||
background:#fff;
|
||||
border:1px solid #ccc;
|
||||
padding:25px;
|
||||
border-top:none;
|
||||
box-shadow:0 0 5px #ccc;
|
||||
-moz-box-shadow:0 0 5px #ccc;
|
||||
-webkit-box-shadow:0 0 5px #ccc;
|
||||
text-align:left;
|
||||
}
|
||||
#lightbox {
|
||||
position:fixed; /* keeps the lightbox window in the current viewport */
|
||||
top:0;
|
||||
left:0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
background:url(/assets/images/overlay.png) repeat;
|
||||
text-align:center;
|
||||
}
|
||||
#lightbox p {
|
||||
text-align:right;
|
||||
color:#fff;
|
||||
margin-right:20px;
|
||||
font-size:12px;
|
||||
}
|
||||
#lightbox img {
|
||||
box-shadow:0 0 25px #111;
|
||||
-webkit-box-shadow:0 0 25px #111;
|
||||
-moz-box-shadow:0 0 25px #111;
|
||||
max-width:940px;
|
||||
}
|
||||
#lightbox_container {
|
||||
background:red;
|
||||
width:200px;
|
||||
position:fixed;
|
||||
top:50%;
|
||||
left:50%;
|
||||
/* bring your own prefixes */
|
||||
transform: translate(-50%, -50%);
|
||||
border: 1px solid Black;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
function show_light_box(id) {
|
||||
/*
|
||||
If the lightbox window HTML already exists in document,
|
||||
change the img src to to match the href of whatever link was clicked
|
||||
If the lightbox window HTML doesn't exists, create it and insert it.
|
||||
(This will only happen the first time around)
|
||||
*/
|
||||
if ($('#lightbox').length > 0) { // #lightbox exists
|
||||
//place href as img src value
|
||||
$('#lightbox_container').html($('#'+id).html());
|
||||
//show lightbox window - you could use .show('fast') for a transition
|
||||
$('#lightbox').show();
|
||||
}
|
||||
else { //#lightbox does not exist - create and insert (runs 1st time only)
|
||||
//create HTML markup for lightbox window
|
||||
var lightbox =
|
||||
'<div id="lightbox">' +
|
||||
'<p>Click to close</p>' +
|
||||
'<div id="lightbox_container">' + //insert clicked link's href into img src
|
||||
$('#'+id).html()
|
||||
'</div>' +
|
||||
'</div>';
|
||||
//insert lightbox HTML into page
|
||||
$('body').append(lightbox);
|
||||
//Click anywhere on the page to get rid of lightbox window
|
||||
$('#lightbox').click(function() { //must use live, as the lightbox element is inserted into the DOM
|
||||
$('#lightbox').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,69 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-2">
|
||||
|
||||
<!-- Members online -->
|
||||
<div class="panel">
|
||||
<div class="panel-body">
|
||||
<a href='/service/ludropoff'>Laundry Drop Off</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /members online -->
|
||||
</div>
|
||||
|
||||
<div class="col-lg-2">
|
||||
<!-- Current server load -->
|
||||
<div class="panel">
|
||||
<div class="panel-body">
|
||||
<a href='/service/dryclean'>Dryclean Pick & Deliv</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /current server load -->
|
||||
</div>
|
||||
|
||||
<div class="col-lg-2">
|
||||
<!-- Today's revenue -->
|
||||
<div class="panel">
|
||||
<div class="panel-body">
|
||||
<a href='/service/homecleaning'>Home Cleaning</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /today's revenue -->
|
||||
</div>
|
||||
|
||||
<div class="col-lg-2">
|
||||
<!-- Current server load -->
|
||||
<div class="panel">
|
||||
<div class="panel-body">
|
||||
<a href='/service/homelundry'>Home Laundry</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /current server load -->
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-2">
|
||||
<!-- Current server load -->
|
||||
<div class="panel">
|
||||
<div class="panel-body">
|
||||
<a href='/service/washandfold'>Wash/Fold</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /current server load -->
|
||||
</div>
|
||||
|
||||
<div class="col-lg-2">
|
||||
<!-- Current server load -->
|
||||
<div class="panel">
|
||||
<div class="panel-body">
|
||||
<a href='/serv/support'>Contacts</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /current server load -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<div class="panel-heading">
|
||||
<h6 class="panel-title text-semibold">Configured Subscrtiption</h6>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<?= $subscription_table ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user