]>
Commit | Line | Data |
---|---|---|
1 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-152.png" sizes="152x152"> | |
2 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-152.png" sizes="152x152"> | |
3 | ||
4 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-144.png" sizes="144x144"> | |
5 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-144.png" sizes="144x144"> | |
6 | ||
7 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-120.png" sizes="120x120"> | |
8 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-120.png" sizes="120x120"> | |
9 | ||
10 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-114.png" sizes="114x114"> | |
11 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-114.png" sizes="114x114"> | |
12 | ||
13 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-76.png" sizes="76x76"> | |
14 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-76.png" sizes="76x76"> | |
15 | ||
16 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-72.png" sizes="72x72"> | |
17 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-72.png" sizes="72x72"> | |
18 | ||
19 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-57.png" sizes="57x57"> | |
20 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-57.png" sizes="57x57"> | |
21 | ||
22 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon.png"> | |
23 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon.png"> | |
24 | ||
25 | <link rel="shortcut icon" type="image/x-icon" href="{{ poche_url }}themes/_global/img/appicon/favicon.ico" sizes="16x16"> | |
26 | ||
27 | <link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/ratatouille.css" media="all"> | |
28 | <link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/font.css" media="all"> | |
29 | <link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/main.css" media="all"> | |
30 | <link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/messages.css" media="all"> | |
31 | <link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/print.css" media="print"> | |
32 | ||
33 | <script src="{{ poche_url }}themes/_global/js/jquery-2.1.3.min.js"></script> | |
34 | <script src="{{ poche_url }}themes/_global/js/jquery.mobile.events.touch.min.js"></script> | |
35 | <script src="{{ poche_url }}themes/_global/js/autoClose.js"></script> | |
36 | <script src="{{ poche_url }}themes/{{theme}}/js/jquery.cookie.js"></script> | |
37 | <script src="{{ poche_url }}themes/{{theme}}/js/init.js"></script> | |
38 | <script src="{{ poche_url }}themes/_global/js/saveLink.js"></script> | |
39 | <script src="{{ poche_url }}themes/_global/js/popupForm.js"></script> | |
40 | <script src="{{ poche_url }}themes/_global/js/keyboard.js"></script> | |
41 | <script src="{{ poche_url }}themes/{{theme}}/js/closeMessage.js"></script> | |
42 | ||
43 | <!-- Enable Firefox Social Services | |
44 | script put there because of the call to poche_url --> | |
45 | ||
46 | <script> | |
47 | var baseurl = "{{ poche_url }}"; | |
48 | console.log(baseurl); | |
49 | var data = { | |
50 | ||
51 | "name": "wallabag", | |
52 | "iconURL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-16.png", | |
53 | "icon32URL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-32.png", | |
54 | "icon64URL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-64.png", | |
55 | ||
56 | "shareURL": baseurl + "/index.php?action=add&plainurl=%{url}", | |
57 | ||
58 | "description": "wallabag Extension for Firefox - The (soon to become) best way to save articles, videos and more", | |
59 | "author": "Thomas Citharel", | |
60 | "homepageURL": "http://doc.wallabag.org/en/User/save_your_first_article.html#firefox-social-api-service", | |
61 | "origin": "https://wallabag.org", | |
62 | "postActivationURL": "http://doc.wallabag.org/en/User/save_your_first_article.html#firefox-social-api-service", | |
63 | ||
64 | "version": "0.1" | |
65 | }; | |
66 | function activateSocialFeature(node) { | |
67 | var event = new CustomEvent("ActivateSocialFeature"); | |
68 | node.setAttribute("data-service", JSON.stringify(data)); | |
69 | node.dispatchEvent(event); | |
70 | } | |
71 | </script> |