diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-17 11:27:13 -0700 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-17 11:27:13 -0700 |
commit | 7ba37bd91a43321196e6d867caf9e298e82c6d6c (patch) | |
tree | 280b6c5d270c28457219859f189e3cb6c3895939 /tpl | |
parent | 667009727a38890eb651815843c1bc02869a4119 (diff) | |
parent | 9067b484ce8289eec6979cf6c8e3cbfb3bd5b10c (diff) | |
download | wallabag-7ba37bd91a43321196e6d867caf9e298e82c6d6c.tar.gz wallabag-7ba37bd91a43321196e6d867caf9e298e82c6d6c.tar.zst wallabag-7ba37bd91a43321196e6d867caf9e298e82c6d6c.zip |
Merge pull request #141 from inthepoche/dev1.0-beta3
beta3
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/_head.twig | 2 | ||||
-rw-r--r-- | tpl/error.twig | 7 | ||||
-rw-r--r-- | tpl/install.twig | 16 |
3 files changed, 16 insertions, 9 deletions
diff --git a/tpl/_head.twig b/tpl/_head.twig index 145d668f..60ef8883 100644 --- a/tpl/_head.twig +++ b/tpl/_head.twig | |||
@@ -6,6 +6,6 @@ | |||
6 | <link rel="stylesheet" href="./tpl/css/style.css" media="all"> | 6 | <link rel="stylesheet" href="./tpl/css/style.css" media="all"> |
7 | <link rel="stylesheet" href="./tpl/css/style-{{ constant('THEME') }}.css" media="all" title="{{ constant('THEME') }} theme"> | 7 | <link rel="stylesheet" href="./tpl/css/style-{{ constant('THEME') }}.css" media="all" title="{{ constant('THEME') }} theme"> |
8 | <link rel="stylesheet" href="./tpl/css/messages.css" media="all"> | 8 | <link rel="stylesheet" href="./tpl/css/messages.css" media="all"> |
9 | <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> | 9 | <link href='//fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> |
10 | <script src="./tpl/js/jquery-2.0.3.min.js"></script> | 10 | <script src="./tpl/js/jquery-2.0.3.min.js"></script> |
11 | <script type="text/javascript">$(document).ready(function(){$("body").prepend('<a href="#top" class="top_link" title="{% trans "back to top" %}"><img src="./tpl/img/{{ constant("THEME") }}/backtotop.png" alt={% trans "back to top" %}"/></a>');$(".top_link").css({position:"fixed",right:"15px",bottom:"15px",display:"none",padding:"20px",background:"#ccc","-moz-border-radius":"40px","-webkit-border-radius":"40px","border-radius":"40px",opacity:"0.9","z-index":"2000"});$(window).scroll(function(){posScroll=$(document).scrollTop();if(posScroll>=400)$(".top_link").fadeIn(600);else $(".top_link").fadeOut(600)})})</script> \ No newline at end of file | 11 | <script type="text/javascript">$(document).ready(function(){$("body").prepend('<a href="#top" class="top_link" title="{% trans "back to top" %}"><img src="./tpl/img/{{ constant("THEME") }}/backtotop.png" alt={% trans "back to top" %}"/></a>');$(".top_link").css({position:"fixed",right:"15px",bottom:"15px",display:"none",padding:"20px",background:"#ccc","-moz-border-radius":"40px","-webkit-border-radius":"40px","border-radius":"40px",opacity:"0.9","z-index":"2000"});$(window).scroll(function(){posScroll=$(document).scrollTop();if(posScroll>=400)$(".top_link").fadeIn(600);else $(".top_link").fadeOut(600)})})</script> \ No newline at end of file |
diff --git a/tpl/error.twig b/tpl/error.twig new file mode 100644 index 00000000..84c3bc1c --- /dev/null +++ b/tpl/error.twig | |||
@@ -0,0 +1,7 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}{% trans "error" %}{% endblock %} | ||
3 | {% block content %} | ||
4 | <h1>error</h1> | ||
5 | <p>{{ msg|raw }}</p> | ||
6 | <p>Don't forget <a href="http://inthepoche.com/?pages/Documentation">the documentation</a>.</p> | ||
7 | {% endblock %} \ No newline at end of file | ||
diff --git a/tpl/install.twig b/tpl/install.twig index 8bcede0d..afb5b0f6 100644 --- a/tpl/install.twig +++ b/tpl/install.twig | |||
@@ -7,21 +7,21 @@ | |||
7 | <p> | 7 | <p> |
8 | {% trans "poche is still not installed. Please fill the below form to install it. Don't hesitate to <a href='http://inthepoche.com/?pages/Documentation'>read the documentation on poche website</a>." %} | 8 | {% trans "poche is still not installed. Please fill the below form to install it. Don't hesitate to <a href='http://inthepoche.com/?pages/Documentation'>read the documentation on poche website</a>." %} |
9 | </p> | 9 | </p> |
10 | <div class="row"> | 10 | <p class="row"> |
11 | <label class="col w150p" for="login">{% trans "Login" %}</label> | 11 | <label class="col w150p" for="login">{% trans "Login" %}</label> |
12 | <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus /> | 12 | <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus /> |
13 | </div> | 13 | </p> |
14 | <div class="row"> | 14 | <p class="row"> |
15 | <label class="col w150p" for="password">{% trans "Password" %}</label> | 15 | <label class="col w150p" for="password">{% trans "Password" %}</label> |
16 | <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2"> | 16 | <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2"> |
17 | </div> | 17 | </p> |
18 | <div class="row"> | 18 | <p class="row"> |
19 | <label class="col w150p" for="password_repeat">{% trans "Repeat your password" %}</label> | 19 | <label class="col w150p" for="password_repeat">{% trans "Repeat your password" %}</label> |
20 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="Password" tabindex="3"> | 20 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="Password" tabindex="3"> |
21 | </div> | 21 | </p> |
22 | <div class="row mts txtcenter"> | 22 | <p class="row mts txtcenter"> |
23 | <button class="bouton" type="submit" tabindex="4">{% trans "Install" %}</button> | 23 | <button class="bouton" type="submit" tabindex="4">{% trans "Install" %}</button> |
24 | </div> | 24 | </p> |
25 | </fieldset> | 25 | </fieldset> |
26 | <input type="hidden" name="token" value="{{ token }}"> | 26 | <input type="hidden" name="token" value="{{ token }}"> |
27 | </form> | 27 | </form> |