aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tpl/_bookmarklet.twig20
-rw-r--r--tpl/_footer.twig3
-rw-r--r--tpl/_head.twig10
-rw-r--r--tpl/_top.twig3
-rw-r--r--tpl/home.twig (renamed from tpl/home.html)0
5 files changed, 36 insertions, 0 deletions
diff --git a/tpl/_bookmarklet.twig b/tpl/_bookmarklet.twig
new file mode 100644
index 00000000..0878e079
--- /dev/null
+++ b/tpl/_bookmarklet.twig
@@ -0,0 +1,20 @@
1 <script type="text/javascript">
2 top["bookmarklet-url@inthepoche.com"] = ''
3 +'<!DOCTYPE html>'
4 +'<html>'
5 +'<head>'
6 +'<title>poche it !</title>'
7 +'<link rel="icon" href="{$poche_url}img/favicon.ico" />'
8 +'</head>'
9 +'<body>'
10 +'<script>'
11 +'window.onload=function(){'
12 +'window.setTimeout(function(){'
13 +'history.back();'
14 +'},250);'
15 +'};'
16 +'</scr'+'ipt>'
17 +'</body>'
18 +'</html>'
19 ;
20 </script> \ No newline at end of file
diff --git a/tpl/_footer.twig b/tpl/_footer.twig
new file mode 100644
index 00000000..59b58fa5
--- /dev/null
+++ b/tpl/_footer.twig
@@ -0,0 +1,3 @@
1 <footer class="mr2 mt3 smaller">
2 <p>powered by <a href="http://inthepoche.com">poche</a></p>
3 </footer> \ No newline at end of file
diff --git a/tpl/_head.twig b/tpl/_head.twig
new file mode 100644
index 00000000..2d640cbf
--- /dev/null
+++ b/tpl/_head.twig
@@ -0,0 +1,10 @@
1 <link rel="shortcut icon" type="image/x-icon" href="./img/favicon.ico" />
2 <link rel="apple-touch-icon-precomposed" sizes="144x144" href="./img/apple-touch-icon-144x144-precomposed.png">
3 <link rel="apple-touch-icon-precomposed" sizes="72x72" href="./img/apple-touch-icon-72x72-precomposed.png">
4 <link rel="apple-touch-icon-precomposed" href="./img/apple-touch-icon-precomposed.png">
5 <link rel="stylesheet" href="./css/knacss.css" media="all">
6 <link rel="stylesheet" href="./css/style.css" media="all">
7 <!-- Light Theme -->
8 <link rel="stylesheet" href="./css/style-light.css" media="all" title="light-style">
9 <!-- Dark Theme -->
10 <link rel="alternate stylesheet" href="./css/style-dark.css" media="all" title="dark-style"> \ No newline at end of file
diff --git a/tpl/_top.twig b/tpl/_top.twig
new file mode 100644
index 00000000..8e3ea7e0
--- /dev/null
+++ b/tpl/_top.twig
@@ -0,0 +1,3 @@
1 <header>
2 <h1><a href="./"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1>
3 </header> \ No newline at end of file
diff --git a/tpl/home.html b/tpl/home.twig
index 8b602a25..8b602a25 100644
--- a/tpl/home.html
+++ b/tpl/home.twig