Add appointment scheduler
This commit is contained in:
parent
13915df0d3
commit
952417f231
24
www/pages/appointment.html
Normal file
24
www/pages/appointment.html
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
|
||||||
|
<div class="page" data-name="appointment">
|
||||||
|
|
||||||
|
<div class="navbar">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="left">
|
||||||
|
<a class="link back" href="#">
|
||||||
|
<i class="icon icon-back"></i>
|
||||||
|
<span class="if-not-md">Back</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="title">Schedule Pickup</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="page-content" style="overflow-y: hidden;">
|
||||||
|
<iframe src="{{url}}" style="width: 100%; border: none; height: 100%;"></iframe>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
@ -16,7 +16,7 @@ var routes = [
|
|||||||
pages: [
|
pages: [
|
||||||
{
|
{
|
||||||
title: "Schedule Pickup",
|
title: "Schedule Pickup",
|
||||||
href: "/schedule",
|
href: "/appointment",
|
||||||
icon: "fad fa-calendar-alt"
|
icon: "fad fa-calendar-alt"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -34,6 +34,19 @@ var routes = [
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/appointment',
|
||||||
|
name: 'appointment',
|
||||||
|
async: function (routeTo, routeFrom, resolve, reject) {
|
||||||
|
resolve({
|
||||||
|
templateUrl: './pages/appointment.html'
|
||||||
|
}, {
|
||||||
|
context: {
|
||||||
|
url: SETTINGS.appointmenturl
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/track',
|
path: '/track',
|
||||||
url: './pages/track.html',
|
url: './pages/track.html',
|
||||||
|
@ -8,6 +8,7 @@ var SETTINGS = {
|
|||||||
apis: {
|
apis: {
|
||||||
track: "https://helena.express/tracker/api.php"
|
track: "https://helena.express/tracker/api.php"
|
||||||
},
|
},
|
||||||
|
appointmenturl: "https://appointments.netsyms.com/index.php?service=19&hlnexp=1&embed=1&only=1",
|
||||||
branding: {
|
branding: {
|
||||||
apptitle: "Helena Express",
|
apptitle: "Helena Express",
|
||||||
company: "Helena Express",
|
company: "Helena Express",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user