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: [
|
||||
{
|
||||
title: "Schedule Pickup",
|
||||
href: "/schedule",
|
||||
href: "/appointment",
|
||||
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',
|
||||
url: './pages/track.html',
|
||||
|
@ -8,6 +8,7 @@ var SETTINGS = {
|
||||
apis: {
|
||||
track: "https://helena.express/tracker/api.php"
|
||||
},
|
||||
appointmenturl: "https://appointments.netsyms.com/index.php?service=19&hlnexp=1&embed=1&only=1",
|
||||
branding: {
|
||||
apptitle: "Helena Express",
|
||||
company: "Helena Express",
|
||||
|
Loading…
x
Reference in New Issue
Block a user