aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2013-04-19 22:41:02 -0700
committerNicolas Lœuillet <nicolas@loeuillet.org>2013-04-19 22:41:02 -0700
commit4e97e6e8b9b6b02942f506b930b215540cd1f2a1 (patch)
tree9e82447101d85d63f486dbad541707a8e3ea47be /tpl
parent682536a9e759bf8c17e171bbd75d64c4cb3a308d (diff)
parentb4397510e75fe9c387bec4161769392906c81bd7 (diff)
downloadwallabag-4e97e6e8b9b6b02942f506b930b215540cd1f2a1.tar.gz
wallabag-4e97e6e8b9b6b02942f506b930b215540cd1f2a1.tar.zst
wallabag-4e97e6e8b9b6b02942f506b930b215540cd1f2a1.zip
Merge pull request #61 from Silvus/master
Fixed #36 - Thème dark
Diffstat (limited to 'tpl')
-rw-r--r--tpl/head.html6
-rw-r--r--tpl/home.html1
-rw-r--r--tpl/view.html7
3 files changed, 12 insertions, 2 deletions
diff --git a/tpl/head.html b/tpl/head.html
index 6fcf9741..66b6895d 100644
--- a/tpl/head.html
+++ b/tpl/head.html
@@ -15,8 +15,12 @@
15 <link rel="apple-touch-icon-precomposed" href="./img/apple-touch-icon-precomposed.png"> 15 <link rel="apple-touch-icon-precomposed" href="./img/apple-touch-icon-precomposed.png">
16 <link rel="stylesheet" href="./css/knacss.css" media="all"> 16 <link rel="stylesheet" href="./css/knacss.css" media="all">
17 <link rel="stylesheet" href="./css/style.css" media="all"> 17 <link rel="stylesheet" href="./css/style.css" media="all">
18 <!-- Light Theme -->
19 <link rel="stylesheet" href="./css/style-light.css" media="all" title="light-style">
20 <!-- Dark Theme -->
21 <link rel="alternate stylesheet" href="./css/style-dark.css" media="all" title="dark-style">
18 </head> 22 </head>
19 <body> 23 <body class="light-style">
20 <header> 24 <header>
21 <h1><img src="./img/logo.png" alt="logo poche" />poche</h1> 25 <h1><img src="./img/logo.png" alt="logo poche" />poche</h1>
22 </header> 26 </header>
diff --git a/tpl/home.html b/tpl/home.html
index 6fb9444c..62c77bd3 100644
--- a/tpl/home.html
+++ b/tpl/home.html
@@ -2,6 +2,7 @@
2 <li><a href="index.php" {if="$view == 'index'"}class="current"{/if}>home</a></li> 2 <li><a href="index.php" {if="$view == 'index'"}class="current"{/if}>home</a></li>
3 <li><a href="?view=fav" {if="$view == 'fav'"}class="current"{/if}>favorites</a></li> 3 <li><a href="?view=fav" {if="$view == 'fav'"}class="current"{/if}>favorites</a></li>
4 <li><a href="?view=archive" {if="$view == 'archive'"}class="current"{/if}>archive</a></li> 4 <li><a href="?view=archive" {if="$view == 'archive'"}class="current"{/if}>archive</a></li>
5 <li><a href="#" id="themeswitch">dark</a></li>
5 <li><a style="cursor: move" title="i am a bookmarklet, use me !" href="javascript:(function(){var%20url%20=%20location.href%20||%20url;window.open('{$poche_url}?action=add&url='%20+%20encodeURIComponent(url),'_self');})();">poche it !</a></li> 6 <li><a style="cursor: move" title="i am a bookmarklet, use me !" href="javascript:(function(){var%20url%20=%20location.href%20||%20url;window.open('{$poche_url}?action=add&url='%20+%20encodeURIComponent(url),'_self');})();">poche it !</a></li>
6 <li><a href="?logout" title="Logout">logout</a></li> 7 <li><a href="?logout" title="Logout">logout</a></li>
7 </ul> 8 </ul>
diff --git a/tpl/view.html b/tpl/view.html
index 4b8ce60f..9ba5e208 100644
--- a/tpl/view.html
+++ b/tpl/view.html
@@ -15,8 +15,12 @@
15 <link rel="apple-touch-icon-precomposed" href="./img/apple-touch-icon-precomposed.png"> 15 <link rel="apple-touch-icon-precomposed" href="./img/apple-touch-icon-precomposed.png">
16 <link rel="stylesheet" href="./css/knacss.css" media="all"> 16 <link rel="stylesheet" href="./css/knacss.css" media="all">
17 <link rel="stylesheet" href="./css/style.css" media="all"> 17 <link rel="stylesheet" href="./css/style.css" media="all">
18 <!-- Light Theme -->
19 <link rel="stylesheet" href="./css/style-light.css" media="all" title="light-style">
20 <!-- Dark Theme -->
21 <link rel="alternate stylesheet" href="./css/style-dark.css" media="all" title="dark-style">
18 </head> 22 </head>
19 <body class="article"> 23 <body class="article light-style">
20 <div id="article" class="w600p"> 24 <div id="article" class="w600p">
21 <div class="backhome"> 25 <div class="backhome">
22 <a href="index.php" title="back to home">&larr;</a> 26 <a href="index.php" title="back to home">&larr;</a>
@@ -24,6 +28,7 @@
24 <div class="tools"> 28 <div class="tools">
25 <ul> 29 <ul>
26 <li><a title="toggle mark as read" class="tool archive {if="$is_read == '0'"}archive-off{/if}" onclick="toggle_archive(this, {$id})"><span></span></a></li> 30 <li><a title="toggle mark as read" class="tool archive {if="$is_read == '0'"}archive-off{/if}" onclick="toggle_archive(this, {$id})"><span></span></a></li>
31 <li><a href="#" id="themeswitch">dark</a></li>
27 <li><a title="toggle favorite" class="tool fav {if="$is_fav == '0'"}fav-off{/if}" onclick="toggle_favorite(this, {$id})"><span></span></a></li> 32 <li><a title="toggle favorite" class="tool fav {if="$is_fav == '0'"}fav-off{/if}" onclick="toggle_favorite(this, {$id})"><span></span></a></li>
28 <li><form method="post" onsubmit="return confirm('Are you sure?')" style="display: inline;" action="index.php"><input type="hidden" name="token" id="token" value="<?php echo Session::getToken(); ?>" /><input type="hidden" id="view" name="view" value="index" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="id" name="id" value="{$id}" /><input type="submit" class="delete" title="toggle delete" /></form></li> 33 <li><form method="post" onsubmit="return confirm('Are you sure?')" style="display: inline;" action="index.php"><input type="hidden" name="token" id="token" value="<?php echo Session::getToken(); ?>" /><input type="hidden" id="view" name="view" value="index" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="id" name="id" value="{$id}" /><input type="submit" class="delete" title="toggle delete" /></form></li>
29 <li><a href="?logout" title="Logout">logout</a></li> 34 <li><a href="?logout" title="Logout">logout</a></li>