update theme
This commit is contained in:
parent
1ac9bfe5aa
commit
4670ba6fbf
7 changed files with 66 additions and 5 deletions
20
dashboard-ui/themes/halloween/theme.js
Normal file
20
dashboard-ui/themes/halloween/theme.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
(function () {
|
||||
|
||||
Dashboard.importCss('themes/halloween/style.css');
|
||||
|
||||
|
||||
function onPageShow() {
|
||||
var page = this;
|
||||
|
||||
if (!$.browser.mobile) {
|
||||
Backdrops.setBackdropUrl(page, 'themes/halloween/bg.jpg');
|
||||
}
|
||||
}
|
||||
|
||||
pageClassOn('pageshow', "libraryPage", onPageShow);
|
||||
|
||||
if ($($.mobile.activePage)[0].classList.contains('libraryPage')) {
|
||||
onPageShow.call($($.mobile.activePage)[0]);
|
||||
}
|
||||
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue