Conflicts:
tmpl/header.en
(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() {
<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">