From 5fdcdc9177877f4b54260e4429e9998b6d9598b5 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 28 Feb 2015 16:24:45 +0200 Subject: [PATCH] Move theme selector to sidebar --- js/90-themes.js | 1 + tmpl/skel.en | 17 ++++++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/js/90-themes.js b/js/90-themes.js index 5ec968a..eb5987c 100644 --- a/js/90-themes.js +++ b/js/90-themes.js @@ -6,6 +6,7 @@ } $( document ).ready(function() { + $('#theme-selector').detach().prependTo($('#sidebar')); $('#theme_slate' ).on('click', function () { set_style("slate"); }); $('#theme_cerulean').on('click', function () { set_style("cerulean"); }); $('#theme_cyborg' ).on('click', function () { set_style("cyborg"); }); diff --git a/tmpl/skel.en b/tmpl/skel.en index de00cd8..e6ac878 100644 --- a/tmpl/skel.en +++ b/tmpl/skel.en @@ -17,13 +17,6 @@
  • Theme - @@ -38,6 +31,16 @@ +
    +Themes: + +
    +

    Track user

    -- 2.39.2