diff options
author | NumEricR <eric.github@gmail.com> | 2013-08-25 16:40:12 +0200 |
---|---|---|
committer | NumEricR <eric.github@gmail.com> | 2013-08-25 16:42:04 +0200 |
commit | a4990dd294c08e40c86123605fbfbc78bc930a6e (patch) | |
tree | 831ecaf269a2276931ded7efb98fe21f1038c5ff | |
parent | b4f5c46ab0ec0da26e201266440511171785a338 (diff) | |
download | wallabag-a4990dd294c08e40c86123605fbfbc78bc930a6e.tar.gz wallabag-a4990dd294c08e40c86123605fbfbc78bc930a6e.tar.zst wallabag-a4990dd294c08e40c86123605fbfbc78bc930a6e.zip |
Externalize bookmarklet style
-rw-r--r-- | tpl/config.twig | 2 | ||||
-rw-r--r-- | tpl/css/style.css | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/tpl/config.twig b/tpl/config.twig index 89d5bf84..4c919221 100644 --- a/tpl/config.twig +++ b/tpl/config.twig | |||
@@ -17,7 +17,7 @@ | |||
17 | <li>firefox: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.xpi" title="download the firefox extension">download the extension</a></li> | 17 | <li>firefox: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.xpi" title="download the firefox extension">download the extension</a></li> |
18 | <li>chrome: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.crx" title="download the chrome extension">download the extension</a></li> | 18 | <li>chrome: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.crx" title="download the chrome extension">download the extension</a></li> |
19 | <li>android: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/Poche.apk" title="download the application">download the application</a></li> | 19 | <li>android: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/Poche.apk" title="download the application">download the application</a></li> |
20 | <li>bookmarklet: drag & drop this link to your bookmarks bar <a ondragend="this.click();" style="cursor: move; border: 1px dashed grey; background: white; padding: 5px;" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@inthepoche.com']){top['bookmarklet-url@inthepoche.com'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "poche it!" %}</a></li> | 20 | <li>bookmarklet: drag & drop this link to your bookmarks bar <a ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@inthepoche.com']){top['bookmarklet-url@inthepoche.com'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "poche it!" %}</a></li> |
21 | </ul> | 21 | </ul> |
22 | 22 | ||
23 | <h2>{% trans "Updating poche" %}</h2> | 23 | <h2>{% trans "Updating poche" %}</h2> |
diff --git a/tpl/css/style.css b/tpl/css/style.css index 1ae3a601..3d3c5385 100644 --- a/tpl/css/style.css +++ b/tpl/css/style.css | |||
@@ -229,6 +229,13 @@ a, a:hover, a:visited { | |||
229 | font-weight: bold; | 229 | font-weight: bold; |
230 | } | 230 | } |
231 | 231 | ||
232 | #bookmarklet { | ||
233 | padding: 5px; | ||
234 | border: 1px dashed #808080; | ||
235 | background: #fff; | ||
236 | cursor: move; | ||
237 | } | ||
238 | |||
232 | footer { | 239 | footer { |
233 | clear: both; | 240 | clear: both; |
234 | } | 241 | } |