diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-11-25 02:00:07 -0800 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-11-25 02:00:07 -0800 |
commit | c2b7a11c772a5b503896add11ea18838999f8d58 (patch) | |
tree | 1976b248eb85e335febc13e0442b8fe766b91687 /themes/default | |
parent | cd8a3441561fa63b9da1b705c4b28dee787f79b0 (diff) | |
parent | 7a4482b8a43afca7f5c311ae7e44b3f0c4d239c0 (diff) | |
download | wallabag-c2b7a11c772a5b503896add11ea18838999f8d58.tar.gz wallabag-c2b7a11c772a5b503896add11ea18838999f8d58.tar.zst wallabag-c2b7a11c772a5b503896add11ea18838999f8d58.zip |
Merge pull request #326 from inthepoche/dev
1.2.0
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/_head.twig | 1 | ||||
-rw-r--r-- | themes/default/config.twig | 7 | ||||
-rw-r--r-- | themes/default/css/print.css | 3 | ||||
-rw-r--r-- | themes/default/js/autoClose.js | 6 |
4 files changed, 13 insertions, 4 deletions
diff --git a/themes/default/_head.twig b/themes/default/_head.twig index d0cbd320..577cc693 100644 --- a/themes/default/_head.twig +++ b/themes/default/_head.twig | |||
@@ -8,3 +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 | <script src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/jquery-2.0.3.min.js"></script> | 10 | <script src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/jquery-2.0.3.min.js"></script> |
11 | <script src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/autoClose.js"></script> \ No newline at end of file | ||
diff --git a/themes/default/config.twig b/themes/default/config.twig index 72671702..21345827 100644 --- a/themes/default/config.twig +++ b/themes/default/config.twig | |||
@@ -8,9 +8,10 @@ | |||
8 | <h2>{% trans "Poching a link" %}</h2> | 8 | <h2>{% trans "Poching a link" %}</h2> |
9 | <p>{% trans "You can poche a link by several methods:" %} (<a href="http://inthepoche.com/doc" title="{% trans "read the documentation" %}">?</a>)</p> | 9 | <p>{% trans "You can poche a link by several methods:" %} (<a href="http://inthepoche.com/doc" title="{% trans "read the documentation" %}">?</a>)</p> |
10 | <ul> | 10 | <ul> |
11 | <li>firefox: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.xpi" title="download the firefox extension">{% trans "download the extension" %}</a></li> | 11 | <li>firefox: <a href="https://addons.mozilla.org/fr/firefox/addon/poche/" title="download the firefox extension">{% trans "download the extension" %}</a></li> |
12 | <li>chrome: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.crx" title="download the chrome extension">{% trans "download the extension" %}</a></li> | 12 | <li>chrome: <a href="http://doc.inthepoche.com/doku.php?id=users:chrome_extension" title="download the chrome extension">{% trans "download the extension" %}</a></li> |
13 | <li>android: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/Poche.apk" title="download the application">{% trans "download the application" %}</a></li> | 13 | <li>android: <a href="https://f-droid.org/repository/browse/?fdid=fr.gaulupeau.apps.Poche" title="download the application">{% trans "via f-droid" %}</a>{% trans "or" %}<a href="https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.Poche" title="download the application">{% trans "via google play" %}</a></li> |
14 | <li>windows phone: <a href="http://www.windowsphone.com/en-us/store/app/poche/334de2f0-51b5-4826-8549-a3d805a37e83" title="download the window phone application">{% trans "download the application" %}</a></li> | ||
14 | <li> | 15 | <li> |
15 | <form method="get" action="index.php"> | 16 | <form method="get" action="index.php"> |
16 | <label class="addurl" for="plainurl">{% trans "by filling this field" %}:</label> | 17 | <label class="addurl" for="plainurl">{% trans "by filling this field" %}:</label> |
diff --git a/themes/default/css/print.css b/themes/default/css/print.css index 9aefa779..99c00bdf 100644 --- a/themes/default/css/print.css +++ b/themes/default/css/print.css | |||
@@ -24,7 +24,8 @@ body > footer, | |||
24 | div.tools, | 24 | div.tools, |
25 | header div, | 25 | header div, |
26 | .messages, | 26 | .messages, |
27 | .entrie + .results { | 27 | .entrie + .results, |
28 | #article_toolbar { | ||
28 | display: none !important; | 29 | display: none !important; |
29 | } | 30 | } |
30 | 31 | ||
diff --git a/themes/default/js/autoClose.js b/themes/default/js/autoClose.js new file mode 100644 index 00000000..e9145b7e --- /dev/null +++ b/themes/default/js/autoClose.js | |||
@@ -0,0 +1,6 @@ | |||
1 | $(document).ready(function() { | ||
2 | current_url = window.location.href | ||
3 | if (current_url.match("&closewin=true")) { | ||
4 | window.close(); | ||
5 | } | ||
6 | }); | ||