]> iEval git - plack-app-gruntmaster.git/commitdiff
Merge branch 'master' into mindcoding
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 11 Feb 2014 07:17:40 +0000 (09:17 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 11 Feb 2014 07:17:40 +0000 (09:17 +0200)
Conflicts:
tmpl/header.en

1  2 
js/90-custom.js
tmpl/header.en

diff --cc js/90-custom.js
index 8b1435d05301d20714ef3f00ea74f6b7384701ef,750aaa101822763bfb7171b430d375e4089640f0..d847fc12092dc8dcd444e7929088dc02993e59e9
@@@ -1,17 -1,8 +1,17 @@@
  (function(){
        'use strict';
        function set_style(name){
-               $('#stylesheet').attr("href", "/css/" + name);
+               $('#stylesheet').attr("href", "/css/" + name + ".css");
                localStorage.setItem("theme", name);
 +              if(name == 'slate' || name == 'cyborg')
 +                      $('.logo').addClass('logo-dark');
 +              else
 +                      $('.logo').removeClass('logo-dark');
 +      }
 +
 +      var theme = localStorage.getItem("theme");
 +      if(theme) {
 +              set_style(theme);
        }
  
        $( document ).ready(function() {
diff --cc tmpl/header.en
index 2238a38856249e1e2f6dd70a7092020e84bf3335,c4f51f6c9c07e99040daf75ed209e23f28525438..72c4da3dedc95ec2560e0b35459c4b7c5d34dbe7
@@@ -3,9 -3,8 +3,9 @@@
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
- <link rel="stylesheet" href="/css/cosmo" id="stylesheet">
- <script src="/js" type="text/javascript"></script>
 +<link rel="shortcut icon" href="/static/favicon.png">
+ <link rel="stylesheet" href="/css/cyborg.css" id="stylesheet">
+ <script src="/js.js" type="text/javascript"></script>
  
  <nav class="navbar navbar-default navbar-static-top" role="navigation">
  <div class="container-fluid">
This page took 0.022968 seconds and 4 git commands to generate.