:class="[
`theme-${config.theme}`,
isDark ? 'is-dark' : 'is-light',
- !config.footer ? 'no-footer' : ''
+ !config.footer ? 'no-footer' : '',
]"
>
<DynamicTheme :themes="config.colors" />
<section v-if="config.header" class="first-line">
<div v-cloak class="container">
<div class="logo">
- <img v-if="config.logo" :src="config.logo" />
+ <img v-if="config.logo" :src="config.logo" alt="dashboard logo" />
<i v-if="config.icon" :class="config.icon"></i>
</div>
<div class="dashboard-title">
SearchInput,
SettingToggle,
DarkMode,
- DynamicTheme
+ DynamicTheme,
},
data: function () {
return {
filter: "",
vlayout: true,
isDark: null,
- showMenu: false
+ showMenu: false,
};
},
created: async function () {
let config = await this.getConfig();
this.config = merge(defaults, config);
-
- console.log(this.config);
this.services = this.config.services;
document.title = `${this.config.title} | ${this.config.subtitle}`;
} catch (error) {
{
name: filter,
icon: "fas fa-search",
- items: searchResultItems
- }
+ items: searchResultItems,
+ },
];
- }
- }
+ },
+ },
};
</script>