]>
iEval git - plack-app-gruntmaster.git/blob - 90-themes.js
5ec968a4552821ba55119ec759b007f5057d0826
3 function set_style(name
){
4 $('#stylesheet').attr("href", "/css/" + name
+ ".css");
5 localStorage
.setItem("theme", name
);
8 $( document
).ready(function() {
9 $('#theme_slate' ).on('click', function () { set_style("slate"); });
10 $('#theme_cerulean').on('click', function () { set_style("cerulean"); });
11 $('#theme_cyborg' ).on('click', function () { set_style("cyborg"); });
12 $('#theme_cosmo' ).on('click', function () { set_style("cosmo"); });
15 var theme
= localStorage
.getItem("theme");
This page took 0.049192 seconds and 3 git commands to generate.