Make appointment thing readable in dark mode
This commit is contained in:
parent
11db39805b
commit
1edf38a855
@ -38,11 +38,15 @@ var routes = [
|
|||||||
path: '/appointment',
|
path: '/appointment',
|
||||||
name: 'appointment',
|
name: 'appointment',
|
||||||
async: function (routeTo, routeFrom, resolve, reject) {
|
async: function (routeTo, routeFrom, resolve, reject) {
|
||||||
|
var url = SETTINGS.appointmenturl;
|
||||||
|
if ($("#app").hasClass("theme-dark")) {
|
||||||
|
url = SETTINGS.appointmenturl_darkmode;
|
||||||
|
}
|
||||||
resolve({
|
resolve({
|
||||||
templateUrl: './pages/appointment.html'
|
templateUrl: './pages/appointment.html'
|
||||||
}, {
|
}, {
|
||||||
context: {
|
context: {
|
||||||
url: SETTINGS.appointmenturl
|
url: url
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@ var SETTINGS = {
|
|||||||
rates: "https://helena.express/rateapi.php"
|
rates: "https://helena.express/rateapi.php"
|
||||||
},
|
},
|
||||||
appointmenturl: "https://appointments.netsyms.com/index.php?service=19&hlnexp=1&embed=1&only=1",
|
appointmenturl: "https://appointments.netsyms.com/index.php?service=19&hlnexp=1&embed=1&only=1",
|
||||||
|
appointmenturl_darkmode: "https://appointments.netsyms.com/index.php?service=19&hlnexp=1&embed=1&only=1&theme=darkly",
|
||||||
branding: {
|
branding: {
|
||||||
apptitle: "Helena Express",
|
apptitle: "Helena Express",
|
||||||
company: "Helena Express",
|
company: "Helena Express",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user