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