diff options
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/_footer.twig | 2 | ||||
-rw-r--r-- | themes/default/_head.twig | 2 | ||||
-rw-r--r-- | themes/default/config.twig | 4 | ||||
-rw-r--r-- | themes/default/css/style.css | 2 | ||||
-rw-r--r-- | themes/default/error.twig | 9 |
5 files changed, 12 insertions, 7 deletions
diff --git a/themes/default/_footer.twig b/themes/default/_footer.twig index 2b895854..06148a57 100644 --- a/themes/default/_footer.twig +++ b/themes/default/_footer.twig | |||
@@ -1,4 +1,4 @@ | |||
1 | <footer class="w600p center mt3 mb3 smaller txtright"> | 1 | <footer class="w600p center mt3 mb3 smaller txtright"> |
2 | <p>{% trans "powered by" %} <a href="http://inthepoche.com">poche</a></p> | 2 | <p>{% trans "powered by" %} <a href="http://inthepoche.com">poche</a></p> |
3 | {% if constant('DEBUG_POCHE') == 1 %}<p><strong>{% trans "debug mode is on so cache is off." %} {% trans "your poche version:" %}{{constant('POCHE_VERSION')}}. {% trans "storage:" %} {{constant('STORAGE')}}</strong></p>{% endif %} | 3 | {% if constant('DEBUG_POCHE') == 1 %}<p><strong>{% trans "debug mode is on so cache is off." %} {% trans "your poche version:" %}{{constant('POCHE')}}. {% trans "storage:" %} {{constant('STORAGE')}}</strong></p>{% endif %} |
4 | </footer> \ No newline at end of file | 4 | </footer> \ No newline at end of file |
diff --git a/themes/default/_head.twig b/themes/default/_head.twig index 9745459c..247b929e 100644 --- a/themes/default/_head.twig +++ b/themes/default/_head.twig | |||
@@ -8,4 +8,4 @@ | |||
8 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/css/messages.css" media="all"> | 8 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/css/messages.css" media="all"> |
9 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/css/print.css" media="print"> | 9 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/css/print.css" media="print"> |
10 | <link href='//fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> | 10 | <link href='//fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> |
11 | <script src="href="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/jquery-2.0.3.min.js"></script> | 11 | <script src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/jquery-2.0.3.min.js"></script> |
diff --git a/themes/default/config.twig b/themes/default/config.twig index 0f1aea80..13bdaafd 100644 --- a/themes/default/config.twig +++ b/themes/default/config.twig | |||
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | <h2>{% trans "Updating poche" %}</h2> | 24 | <h2>{% trans "Updating poche" %}</h2> |
25 | <ul> | 25 | <ul> |
26 | <li>{% trans "your version" %} : <strong>{{ constant('POCHE_VERSION') }}</strong></li> | 26 | <li>{% trans "your version" %} : <strong>{{ constant('POCHE') }}</strong></li> |
27 | <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> | 27 | <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> |
28 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} | 28 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} |
29 | </ul> | 29 | </ul> |
@@ -77,4 +77,4 @@ | |||
77 | 77 | ||
78 | <h2>{% trans "Export your poche datas" %}</h2> | 78 | <h2>{% trans "Export your poche datas" %}</h2> |
79 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p> | 79 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p> |
80 | {% endblock %} \ No newline at end of file | 80 | {% endblock %} |
diff --git a/themes/default/css/style.css b/themes/default/css/style.css index eb04f0c4..3ef9c823 100644 --- a/themes/default/css/style.css +++ b/themes/default/css/style.css | |||
@@ -188,7 +188,7 @@ a:visited { | |||
188 | bottom: 0; | 188 | bottom: 0; |
189 | left: 0; | 189 | left: 0; |
190 | width: 100%; | 190 | width: 100%; |
191 | height: 50px; | 191 | min-height: 50px; |
192 | padding-top: 17px; | 192 | padding-top: 17px; |
193 | text-align: center; | 193 | text-align: center; |
194 | color: #fff; | 194 | color: #fff; |
diff --git a/themes/default/error.twig b/themes/default/error.twig index c829d12b..99eb1ed6 100644 --- a/themes/default/error.twig +++ b/themes/default/error.twig | |||
@@ -1,6 +1,11 @@ | |||
1 | {% extends "layout.twig" %} | 1 | {% extends "layout.twig" %} |
2 | {% block title %}{% trans "plop" %}{% endblock %} | 2 | {% block title %}{% trans "plop" %}{% endblock %} |
3 | {% block content %} | 3 | {% block content %} |
4 | {{ msg|raw }} | 4 | <h1>Errors</h1> |
5 | <p>Don't forget <a href="http://inthepoche.com/doc">the documentation</a>.</p> | 5 | <ol> |
6 | {% for message in msg %} | ||
7 | <li>{{message}}</li> | ||
8 | {% endfor %} | ||
9 | </ol> | ||
10 | <p>Don't forget <a href="http://inthepoche.com/doc">the documentation</a>.</p> | ||
6 | {% endblock %} \ No newline at end of file | 11 | {% endblock %} \ No newline at end of file |