Add frontend assets and plugin bundles

Add the legacy frontend themes, scripts, and plugin assets required by the main SPOTA interfaces.
This commit is contained in:
Power BI Dev
2026-05-02 10:09:32 +07:00
parent efdb11db3f
commit a52c2a8462
2061 changed files with 513282 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
(function($, undefined){
function createDemos(){
var simple = $("<div id='slider' />").appendTo("body"),
date = $("<div id='date' />").appendTo("body"),
modifiable = $("<div id='modifiable' />").appendTo("body");
simple.sliderDemo();
date.dateSliderDemo();
modifiable.editSliderDemo();
}
function changeTheme(e){
var target = $(e.currentTarget),
path = "../css/",
theme;
if (target.hasClass("selected")){
return
}
$("#themeSelector .selected").removeClass("selected");
theme = target.attr("class");
$("#themeSelector ."+theme).addClass("selected");
$("#themeCSS").attr("href", path + theme + ".css");
setTimeout(function(){
$(window).resize();
}, 500);
}
function initTheme(){
$("#themeSelector dd, #themeSelector dt").click(changeTheme);
}
$(document).ready(function(){
createDemos();
initTheme();
});
})(jQuery);