diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2014-02-21 15:57:10 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2014-02-21 15:57:10 +0100 |
commit | 99679d06884120c57f43b44e55e03595f1f87bed (patch) | |
tree | a3f2a1aa1afdaeca1386d0c6e8a75344fd2241fb /themes | |
parent | 655214ab30ee84884dc408488b85586f36263fcb (diff) | |
parent | d3b47e94705e17b3ba3529cbb1dc6efe69c5d2b7 (diff) | |
download | wallabag-1.5.2.tar.gz wallabag-1.5.2.tar.zst wallabag-1.5.2.zip |
Merge pull request #481 from wallabag/dev1.5.2
1.5.2
Diffstat (limited to 'themes')
29 files changed, 147 insertions, 116 deletions
diff --git a/themes/baggy/_head.twig b/themes/baggy/_head.twig index 0079b228..206d5aae 100644 --- a/themes/baggy/_head.twig +++ b/themes/baggy/_head.twig | |||
@@ -2,7 +2,6 @@ | |||
2 | <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ poche_url }}/themes/{{theme}}/img/apple-touch-icon-144x144-precomposed.png"> | 2 | <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ poche_url }}/themes/{{theme}}/img/apple-touch-icon-144x144-precomposed.png"> |
3 | <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ poche_url }}/themes/{{theme}}/img/apple-touch-icon-72x72-precomposed.png"> | 3 | <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ poche_url }}/themes/{{theme}}/img/apple-touch-icon-72x72-precomposed.png"> |
4 | <link rel="apple-touch-icon-precomposed" href="{{ poche_url }}/themes/{{theme}}/img/apple-touch-icon-precomposed.png"> | 4 | <link rel="apple-touch-icon-precomposed" href="{{ poche_url }}/themes/{{theme}}/img/apple-touch-icon-precomposed.png"> |
5 | <link href='http://fonts.googleapis.com/css?family=PT+Sans:700' rel='stylesheet' type='text/css'> | ||
6 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{theme}}/css/ratatouille.css" media="all"> | 5 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{theme}}/css/ratatouille.css" media="all"> |
7 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{theme}}/css/font.css" media="all"> | 6 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{theme}}/css/font.css" media="all"> |
8 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{theme}}/css/main.css" media="all"> | 7 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{theme}}/css/main.css" media="all"> |
@@ -10,4 +9,4 @@ | |||
10 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{theme}}/css/print.css" media="print"> | 9 | <link rel="stylesheet" href="{{ poche_url }}/themes/{{theme}}/css/print.css" media="print"> |
11 | <script src="{{ poche_url }}/themes/{{theme}}/js/jquery-2.0.3.min.js"></script> | 10 | <script src="{{ poche_url }}/themes/{{theme}}/js/jquery-2.0.3.min.js"></script> |
12 | <script src="{{ poche_url }}/themes/{{theme}}/js/init.js"></script> | 11 | <script src="{{ poche_url }}/themes/{{theme}}/js/init.js"></script> |
13 | <script src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/closeMessage.js"></script> \ No newline at end of file | 12 | <script src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/closeMessage.js"></script> |
diff --git a/themes/baggy/_menu.twig b/themes/baggy/_menu.twig index 3e7a2cbf..e9cd9d4a 100644 --- a/themes/baggy/_menu.twig +++ b/themes/baggy/_menu.twig | |||
@@ -4,6 +4,9 @@ | |||
4 | <li><a href="./?view=fav" {% if view == 'fav' %}class="current"{% endif %}>{% trans "favorites" %}</a></li> | 4 | <li><a href="./?view=fav" {% if view == 'fav' %}class="current"{% endif %}>{% trans "favorites" %}</a></li> |
5 | <li><a href="./?view=archive" {% if view == 'archive' %}class="current"{% endif %}>{% trans "archive" %}</a></li> | 5 | <li><a href="./?view=archive" {% if view == 'archive' %}class="current"{% endif %}>{% trans "archive" %}</a></li> |
6 | <li><a href="./?view=tags" {% if view == 'tags' %}class="current"{% endif %}>{% trans "tags" %}</a></li> | 6 | <li><a href="./?view=tags" {% if view == 'tags' %}class="current"{% endif %}>{% trans "tags" %}</a></li> |
7 | <li><a href="javascript: void(null);" id="pocheit">{% trans "save a link" %}</a></li> | ||
7 | <li><a href="./?view=config" {% if view == 'config' %}class="current"{% endif %}>{% trans "config" %}</a></li> | 8 | <li><a href="./?view=config" {% if view == 'config' %}class="current"{% endif %}>{% trans "config" %}</a></li> |
8 | <li><a class="icon icon-power" href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li> | 9 | <li><a class="icon icon-power" href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li> |
9 | </ul> \ No newline at end of file | 10 | </ul> |
11 | |||
12 | {% include '_pocheit-form.twig' %} | ||
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig index 598409b9..b37ac115 100644 --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig | |||
@@ -14,8 +14,8 @@ | |||
14 | <li>Windows Phone: <a href="https://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>Windows Phone: <a href="https://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> |
15 | <li> | 15 | <li> |
16 | <form method="get" action="index.php"> | 16 | <form method="get" action="index.php"> |
17 | <label class="addurl" for="plainurl">{% trans "By filling this field" %}:</label> | 17 | <label class="addurl" for="config_plainurl">{% trans "By filling this field" %}:</label> |
18 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | 18 | <input required placeholder="example.com/article" class="addurl" id="config_plainurl" name="plainurl" type="url" /> |
19 | <input type="submit" value="{% trans "bag it!" %}" /> | 19 | <input type="submit" value="{% trans "bag it!" %}" /> |
20 | </form> | 20 | </form> |
21 | </li> | 21 | </li> |
@@ -69,7 +69,7 @@ | |||
69 | <label class="col w150p" for="language">{% trans "Language:" %}</label> | 69 | <label class="col w150p" for="language">{% trans "Language:" %}</label> |
70 | <select class="col" id="language" name="language"> | 70 | <select class="col" id="language" name="language"> |
71 | {% for language in languages %} | 71 | {% for language in languages %} |
72 | <option value="{{ language.name }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option> | 72 | <option value="{{ language.value }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option> |
73 | {% endfor %} | 73 | {% endfor %} |
74 | </select> | 74 | </select> |
75 | </div> | 75 | </div> |
diff --git a/themes/baggy/css/font.css b/themes/baggy/css/font.css index e69de29b..7c02a16f 100755 --- a/themes/baggy/css/font.css +++ b/themes/baggy/css/font.css | |||
@@ -0,0 +1,6 @@ | |||
1 | @font-face { | ||
2 | font-family: 'PT Sans'; | ||
3 | font-style: normal; | ||
4 | font-weight: 700; | ||
5 | src: local('PT Sans Bold'), local('PTSans-Bold'), url(../fonts/ptsans.woff) format('woff'); | ||
6 | } | ||
diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index 45211a87..3e128b08 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css | |||
@@ -254,6 +254,7 @@ footer { | |||
254 | color: #999; | 254 | color: #999; |
255 | font-size: 0.8em; | 255 | font-size: 0.8em; |
256 | font-style: italic; | 256 | font-style: italic; |
257 | z-index: 20; | ||
257 | } | 258 | } |
258 | 259 | ||
259 | footer a { | 260 | footer a { |
@@ -473,11 +474,11 @@ footer a { | |||
473 | 474 | ||
474 | @font-face { | 475 | @font-face { |
475 | font-family: 'icomoon'; | 476 | font-family: 'icomoon'; |
476 | src:url('../font/icomoon.eot?-s0mcsx'); | 477 | src:url('../fonts/icomoon.eot?-s0mcsx'); |
477 | src:url('../font/icomoon.eot?#iefix-s0mcsx') format('embedded-opentype'), | 478 | src:url('../fonts/icomoon.eot?#iefix-s0mcsx') format('embedded-opentype'), |
478 | url('../font/icomoon.woff?-s0mcsx') format('woff'), | 479 | url('../fonts/icomoon.woff?-s0mcsx') format('woff'), |
479 | url('../font/icomoon.ttf?-s0mcsx') format('truetype'), | 480 | url('../fonts/icomoon.ttf?-s0mcsx') format('truetype'), |
480 | url('../font/icomoon.svg?-s0mcsx#icomoon') format('svg'); | 481 | url('../fonts/icomoon.svg?-s0mcsx#icomoon') format('svg'); |
481 | font-weight: normal; | 482 | font-weight: normal; |
482 | font-style: normal; | 483 | font-style: normal; |
483 | } | 484 | } |
@@ -563,7 +564,8 @@ footer a { | |||
563 | ========================================================================== */ | 564 | ========================================================================== */ |
564 | 565 | ||
565 | .messages { | 566 | .messages { |
566 | text-align: center; | 567 | text-align: left; |
568 | margin-top: 1em; | ||
567 | } | 569 | } |
568 | 570 | ||
569 | .messages > * { display: inline-block;} | 571 | .messages > * { display: inline-block;} |
@@ -818,4 +820,4 @@ blockquote { | |||
818 | #article_toolbar a { | 820 | #article_toolbar a { |
819 | padding: 0.3em 0.4em 0.2em; | 821 | padding: 0.3em 0.4em 0.2em; |
820 | } | 822 | } |
821 | } \ No newline at end of file | 823 | } |
diff --git a/themes/baggy/css/messages.css b/themes/baggy/css/messages.css index 0cd89a9e..42da70b3 100755 --- a/themes/baggy/css/messages.css +++ b/themes/baggy/css/messages.css | |||
@@ -1,19 +1,19 @@ | |||
1 | .messages.error { | 1 | .messages.error.install { |
2 | border: 1px solid #c42608; | 2 | border: 1px solid #c42608; |
3 | color: #c00 !important; | 3 | color: #c00 !important; |
4 | background: #fff0ef; | 4 | background: #fff0ef; |
5 | text-align: left; | 5 | text-align: left; |
6 | } | 6 | } |
7 | 7 | ||
8 | .messages.notice { | 8 | .messages.notice.install { |
9 | border: 1px solid #ebcd41; | 9 | border: 1px solid #ebcd41; |
10 | color: #000; | 10 | color: #000; |
11 | background: #fffcd3; | 11 | background: #fffcd3; |
12 | text-align: left; | 12 | text-align: left; |
13 | } | 13 | } |
14 | 14 | ||
15 | .messages.success { | 15 | .messages.success.install { |
16 | border: 1px solid #6dc70c; | 16 | border: 1px solid #6dc70c; |
17 | background: #e0fbcc; | 17 | background: #e0fbcc !important; |
18 | text-align: left; | 18 | text-align: left; |
19 | } \ No newline at end of file | 19 | } \ No newline at end of file |
diff --git a/themes/baggy/edit-tags.twig b/themes/baggy/edit-tags.twig index 9f11a2c3..9e9012ee 100644 --- a/themes/baggy/edit-tags.twig +++ b/themes/baggy/edit-tags.twig | |||
@@ -4,6 +4,9 @@ | |||
4 | {% include '_menu.twig' %} | 4 | {% include '_menu.twig' %} |
5 | {% endblock %} | 5 | {% endblock %} |
6 | {% block content %} | 6 | {% block content %} |
7 | <div id="article"> | ||
8 | <h2>{{ entry.title|raw }}</21> | ||
9 | </div> | ||
7 | {% if tags is empty %} | 10 | {% if tags is empty %} |
8 | <div class="notags">no tags</div> | 11 | <div class="notags">no tags</div> |
9 | {% endif %} | 12 | {% endif %} |
@@ -11,10 +14,10 @@ | |||
11 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} | 14 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} |
12 | </ul> | 15 | </ul> |
13 | <form method="post" action="./?action=add_tag"> | 16 | <form method="post" action="./?action=add_tag"> |
14 | <label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" /> | ||
15 | <p>{% trans "You can enter multiple tags, separated by commas." %}</p> | ||
16 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> | 17 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> |
18 | <label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" /> | ||
17 | <input type="submit" value="Tag" /> | 19 | <input type="submit" value="Tag" /> |
20 | <p>{% trans "You can enter multiple tags, separated by commas." %}</p> | ||
18 | </form> | 21 | </form> |
19 | <a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> | 22 | <a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> |
20 | {% endblock %} | 23 | {% endblock %} |
diff --git a/themes/baggy/font/icomoon.eot b/themes/baggy/fonts/icomoon.eot index 02f53b36..02f53b36 100755 --- a/themes/baggy/font/icomoon.eot +++ b/themes/baggy/fonts/icomoon.eot | |||
Binary files differ | |||
diff --git a/themes/baggy/font/icomoon.svg b/themes/baggy/fonts/icomoon.svg index d9c35b98..d9c35b98 100755 --- a/themes/baggy/font/icomoon.svg +++ b/themes/baggy/fonts/icomoon.svg | |||
diff --git a/themes/baggy/font/icomoon.ttf b/themes/baggy/fonts/icomoon.ttf index 3860dd04..3860dd04 100755 --- a/themes/baggy/font/icomoon.ttf +++ b/themes/baggy/fonts/icomoon.ttf | |||
Binary files differ | |||
diff --git a/themes/baggy/font/icomoon.woff b/themes/baggy/fonts/icomoon.woff index c3a91ed7..c3a91ed7 100755 --- a/themes/baggy/font/icomoon.woff +++ b/themes/baggy/fonts/icomoon.woff | |||
Binary files differ | |||
diff --git a/themes/baggy/fonts/ptsans.woff b/themes/baggy/fonts/ptsans.woff new file mode 100644 index 00000000..cf7c62e1 --- /dev/null +++ b/themes/baggy/fonts/ptsans.woff | |||
Binary files differ | |||
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index 33afdbbd..4f9db063 100644 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig | |||
@@ -12,6 +12,9 @@ | |||
12 | {% include '_menu.twig' %} | 12 | {% include '_menu.twig' %} |
13 | {% endblock %} | 13 | {% endblock %} |
14 | {% block content %} | 14 | {% block content %} |
15 | {% if tag %} | ||
16 | <h3>{% trans "Tag" %}: <b>{{ tag.value }}</b></h3> | ||
17 | {% endif %} | ||
15 | {% if entries is empty %} | 18 | {% if entries is empty %} |
16 | <div class="messages warning"><p>{% trans "No articles found." %}</p></div> | 19 | <div class="messages warning"><p>{% trans "No articles found." %}</p></div> |
17 | {% else %} | 20 | {% else %} |
@@ -40,7 +43,7 @@ | |||
40 | </ul> | 43 | </ul> |
41 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> | 44 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> |
42 | </div> | 45 | </div> |
43 | 46 | ||
44 | {% endfor %} | 47 | {% endfor %} |
45 | </div> | 48 | </div> |
46 | {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{{ "Mark all the entries as read" }}</a>{% endif %}{% endif %} | 49 | {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{{ "Mark all the entries as read" }}</a>{% endif %}{% endif %} |
diff --git a/themes/baggy/login.twig b/themes/baggy/login.twig index e4751a41..645db376 100644 --- a/themes/baggy/login.twig +++ b/themes/baggy/login.twig | |||
@@ -24,7 +24,7 @@ | |||
24 | </div> | 24 | </div> |
25 | </div> | 25 | </div> |
26 | <div class="row mts txtcenter"> | 26 | <div class="row mts txtcenter"> |
27 | <button class="bouton" type="submit" tabindex="4">{% trans "Login" %}</button> | 27 | <button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button> |
28 | </div> | 28 | </div> |
29 | </fieldset> | 29 | </fieldset> |
30 | <input type="hidden" name="returnurl" value="{{ referer }}"> | 30 | <input type="hidden" name="returnurl" value="{{ referer }}"> |
diff --git a/themes/baggy/tag.twig b/themes/baggy/tag.twig deleted file mode 100644 index 141ac909..00000000 --- a/themes/baggy/tag.twig +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}tag {% endblock %} | ||
3 | {% block menu %} | ||
4 | {% include '_menu.twig' %} | ||
5 | {% endblock %} | ||
6 | {% block content %} | ||
7 | <h3>{% trans "Tag" %} {{ tag.value }}</h3> | ||
8 | {% if entries is empty %} | ||
9 | <div class="messages warning"><p>{% trans "No link available here!" %}</p></div> | ||
10 | {% else %} | ||
11 | {% block pager %} | ||
12 | {% if nb_results > 1 %} | ||
13 | <div class="results"> | ||
14 | <div class="nb-results">{{ nb_results }} {% trans "results" %}</div> | ||
15 | {{ page_links | raw }} | ||
16 | </div> | ||
17 | {% endif %} | ||
18 | {% endblock %} | ||
19 | <div class="list-entries"> | ||
20 | {% for entry in entries %} | ||
21 | <div id="entry-{{ entry.id|e }}" class="entrie"> | ||
22 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> | ||
23 | <ul class="tools links"> | ||
24 | <li><a title="{% trans "Toggle mark as read" %}" class="tool icon-check icon {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span>{% trans "Toggle mark as read" %}</span></a></li> | ||
25 | <li><a title="{% trans "toggle favorite" %}" class="tool icon-star icon {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li> | ||
26 | <li><a title="{% trans "delete" %}" class="tool delete icon-trash icon" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> | ||
27 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link icon-link icon"><span>{{ entry.url | e | getDomain }}</span></a></li> | ||
28 | </ul> | ||
29 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> | ||
30 | </div> | ||
31 | {% endfor %} | ||
32 | </div> | ||
33 | {% endif %} | ||
34 | {% endblock %} \ No newline at end of file | ||
diff --git a/themes/courgette/home.twig b/themes/courgette/home.twig index 1367ebe8..416cfa43 100755 --- a/themes/courgette/home.twig +++ b/themes/courgette/home.twig | |||
@@ -14,8 +14,8 @@ | |||
14 | {% block precontent %} | 14 | {% block precontent %} |
15 | {% if entries|length > 1 %} | 15 | {% if entries|length > 1 %} |
16 | <ul id="sort"> | 16 | <ul id="sort"> |
17 | <li><a href="./?sort=ia&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li> | 17 | <li><a href="./?sort=ia&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li> |
18 | <li><a href="./?sort=ta&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li> | 18 | <li><a href="./?sort=ta&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li> |
19 | </ul> | 19 | </ul> |
20 | {% endif %} | 20 | {% endif %} |
21 | {% endblock %} | 21 | {% endblock %} |
diff --git a/themes/default/_menu.twig b/themes/default/_menu.twig index 02bec1dc..55583b3d 100644 --- a/themes/default/_menu.twig +++ b/themes/default/_menu.twig | |||
@@ -3,6 +3,9 @@ | |||
3 | <li><a href="./?view=fav" {% if view == 'fav' %}class="current"{% endif %}>{% trans "favorites" %}</a></li> | 3 | <li><a href="./?view=fav" {% if view == 'fav' %}class="current"{% endif %}>{% trans "favorites" %}</a></li> |
4 | <li><a href="./?view=archive" {% if view == 'archive' %}class="current"{% endif %}>{% trans "archive" %}</a></li> | 4 | <li><a href="./?view=archive" {% if view == 'archive' %}class="current"{% endif %}>{% trans "archive" %}</a></li> |
5 | <li><a href="./?view=tags" {% if view == 'tags' %}class="current"{% endif %}>{% trans "tags" %}</a></li> | 5 | <li><a href="./?view=tags" {% if view == 'tags' %}class="current"{% endif %}>{% trans "tags" %}</a></li> |
6 | <li><a href="javascript: void(null);" id="pocheit">{% trans "save a link" %}</a><span id="pocheit-arrow"></span></li> | ||
6 | <li><a href="./?view=config" {% if view == 'config' %}class="current"{% endif %}>{% trans "config" %}</a></li> | 7 | <li><a href="./?view=config" {% if view == 'config' %}class="current"{% endif %}>{% trans "config" %}</a></li> |
7 | <li><a href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li> | 8 | <li><a href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li> |
8 | </ul> \ No newline at end of file | 9 | </ul> |
10 | {% include '_pocheit-form.twig' %} | ||
11 | |||
diff --git a/themes/default/_pocheit-form.twig b/themes/default/_pocheit-form.twig new file mode 100755 index 00000000..13096159 --- /dev/null +++ b/themes/default/_pocheit-form.twig | |||
@@ -0,0 +1,22 @@ | |||
1 | <div id="pocheit-form" class="messages info"> | ||
2 | <center> | ||
3 | <form method="get" action="index.php"> | ||
4 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | ||
5 | <input type="submit" value="{% trans "save link!" %}" /> | ||
6 | </form> | ||
7 | </center> | ||
8 | </div> | ||
9 | <script type="text/javascript"> | ||
10 | $(document).ready(function() { | ||
11 | |||
12 | $("#pocheit-form").hide(); | ||
13 | |||
14 | $("#pocheit").click(function(){ | ||
15 | $("#pocheit-form").toggle(); | ||
16 | $("#pocheit").toggleClass("current"); | ||
17 | $("#pocheit-arrow").toggleClass("arrow-down"); | ||
18 | }); | ||
19 | |||
20 | |||
21 | }); | ||
22 | </script> | ||
diff --git a/themes/default/config.twig b/themes/default/config.twig index df62520a..cd4d074d 100644 --- a/themes/default/config.twig +++ b/themes/default/config.twig | |||
@@ -5,8 +5,8 @@ | |||
5 | {% include '_menu.twig' %} | 5 | {% include '_menu.twig' %} |
6 | {% endblock %} | 6 | {% endblock %} |
7 | {% block content %} | 7 | {% block content %} |
8 | <h2>{% trans "Poching links" %}</h2> | 8 | <h2>{% trans "Saving articles" %}</h2> |
9 | <p>{% trans "There are several ways to poche a link:" %} (<a href="http://doc.wallabag.org/" title="{% trans "read the documentation" %}">?</a>)</p> | 9 | <p>{% trans "There are several ways to save an article:" %} (<a href="http://doc.wallabag.org/" title="{% trans "read the documentation" %}">?</a>)</p> |
10 | <ul> | 10 | <ul> |
11 | <li>Firefox: <a href="https://addons.mozilla.org/firefox/addon/poche/" title="download the firefox extension">{% trans "download the extension" %}</a></li> | 11 | <li>Firefox: <a href="https://addons.mozilla.org/firefox/addon/poche/" title="download the firefox extension">{% trans "download the extension" %}</a></li> |
12 | <li>Chrome: <a href="http://doc.wallabag.org/doku.php?id=users:chrome_extension" title="download the chrome extension">{% trans "download the extension" %}</a></li> | 12 | <li>Chrome: <a href="http://doc.wallabag.org/doku.php?id=users:chrome_extension" title="download the chrome extension">{% trans "download the extension" %}</a></li> |
@@ -14,19 +14,19 @@ | |||
14 | <li>Windows Phone: <a href="https://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>Windows Phone: <a href="https://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> |
15 | <li> | 15 | <li> |
16 | <form method="get" action="index.php"> | 16 | <form method="get" action="index.php"> |
17 | <label class="addurl" for="plainurl">{% trans "By filling this field" %}:</label> | 17 | <label class="addurl" for="config_plainurl">{% trans "By filling this field" %}:</label> |
18 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | 18 | <input required placeholder="example.com/article" class="addurl" id="config_plainurl" name="plainurl" type="url" /> |
19 | <input type="submit" value="{% trans "poche it!" %}" /> | 19 | <input type="submit" value="{% trans "bag it!" %}" /> |
20 | </form> | 20 | </form> |
21 | </li> | 21 | </li> |
22 | <li>{% trans "Bookmarklet: drag & drop this link to your bookmarks bar" %} <a id="bookmarklet" ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@wallabag.org']){top['bookmarklet-url@wallabag.org'];}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> | 22 | <li>{% trans "Bookmarklet: drag & drop this link to your bookmarks bar" %} <a id="bookmarklet" ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "bag it!" %}</a></li> |
23 | </ul> | 23 | </ul> |
24 | 24 | ||
25 | <h2>{% trans "Updating poche" %}</h2> | 25 | <h2>{% trans "Upgrading wallabag" %}</h2> |
26 | <ul> | 26 | <ul> |
27 | <li>{% trans "Installed version" %} : <strong>{{ constant('POCHE') }}</strong></li> | 27 | <li>{% trans "Installed version" %} : <strong>{{ constant('POCHE') }}</strong></li> |
28 | <li>{% trans "Latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent stable version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %}</li> | 28 | <li>{% trans "Latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent stable version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %}</li> |
29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://wallabag.org/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} | 29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "Latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent development version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %}</li>{% endif %} |
30 | </ul> | 30 | </ul> |
31 | 31 | ||
32 | <h2>{% trans "Feeds" %}</h2> | 32 | <h2>{% trans "Feeds" %}</h2> |
@@ -69,7 +69,7 @@ | |||
69 | <label class="col w150p" for="language">{% trans "Language:" %}</label> | 69 | <label class="col w150p" for="language">{% trans "Language:" %}</label> |
70 | <select class="col" id="language" name="language"> | 70 | <select class="col" id="language" name="language"> |
71 | {% for language in languages %} | 71 | {% for language in languages %} |
72 | <option value="{{ language.name }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option> | 72 | <option value="{{ language.value }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option> |
73 | {% endfor %} | 73 | {% endfor %} |
74 | </select> | 74 | </select> |
75 | </div> | 75 | </div> |
@@ -104,16 +104,19 @@ | |||
104 | 104 | ||
105 | <h2>{% trans "Import" %}</h2> | 105 | <h2>{% trans "Import" %}</h2> |
106 | <p>{% trans "Please execute the import script locally as it can take a very long time." %}</p> | 106 | <p>{% trans "Please execute the import script locally as it can take a very long time." %}</p> |
107 | <p>{% trans "More info in the official docs:" %} <a href="http://doc.wallabag.org/doku.php?id=users:migrate">wallabag.org</a></p> | 107 | <p>{% trans "More info in the official documentation:" %} <a href="http://doc.wallabag.org/doku.php?id=users:migrate">wallabag.org</a></p> |
108 | <ul> | 108 | <ul> |
109 | <li><a href="./?import&from=pocket">{% trans "Import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li> | 109 | <li><a href="./?import&from=pocket">{% trans "Import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li> |
110 | <li><a href="./?import&from=readability">{% trans "Import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li> | 110 | <li><a href="./?import&from=readability">{% trans "Import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li> |
111 | <li><a href="./?import&from=instapaper">{% trans "Import from Instapaper" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('INSTAPAPER_FILE')) }}</li> | 111 | <li><a href="./?import&from=instapaper">{% trans "Import from Instapaper" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('INSTAPAPER_FILE')) }}</li> |
112 | <li><a href="./?import&from=poche">{% trans "Import from poche" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCHE_FILE')) }}</li> | 112 | <li><a href="./?import&from=poche">{% trans "Import from wallabag" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCHE_FILE')) }}</li> |
113 | </ul> | 113 | </ul> |
114 | 114 | ||
115 | <h2>{% trans "Export your poche data" %}</h2> | 115 | <h2>{% trans "Export your wallabag data" %}</h2> |
116 | {% if constant('STORAGE') == 'sqlite' %} | 116 | {% if constant('STORAGE') == 'sqlite' %} |
117 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} | 117 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} |
118 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche data." %}</p> | 118 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your wallabag data." %}</p> |
119 | |||
120 | <h2>{% trans "Cache" %}</h2> | ||
121 | <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p> | ||
119 | {% endblock %} | 122 | {% endblock %} |
diff --git a/themes/default/css/style.css b/themes/default/css/style.css index 2088ee2e..28675907 100644 --- a/themes/default/css/style.css +++ b/themes/default/css/style.css | |||
@@ -334,3 +334,16 @@ a.bad-display span, | |||
334 | a.reading-time span { | 334 | a.reading-time span { |
335 | background-repeat: no-repeat; | 335 | background-repeat: no-repeat; |
336 | } | 336 | } |
337 | |||
338 | .arrow-down { | ||
339 | width: 0px; | ||
340 | height: 0px; | ||
341 | border-style: solid; | ||
342 | border-width: 10px 10px 0 10px; | ||
343 | border-color: #000 transparent transparent transparent; | ||
344 | |||
345 | position: absolute; | ||
346 | margin-top: 1.5em; | ||
347 | margin-left: -30px; | ||
348 | } | ||
349 | |||
diff --git a/themes/default/edit-tags.twig b/themes/default/edit-tags.twig index 53852d39..83f04aa0 100644 --- a/themes/default/edit-tags.twig +++ b/themes/default/edit-tags.twig | |||
@@ -4,6 +4,13 @@ | |||
4 | {% include '_menu.twig' %} | 4 | {% include '_menu.twig' %} |
5 | {% endblock %} | 5 | {% endblock %} |
6 | {% block content %} | 6 | {% block content %} |
7 | |||
8 | <div id="article"> | ||
9 | <header class="mbm"> | ||
10 | <h1>{{ entry.title|raw }}</h1> | ||
11 | </header> | ||
12 | </div> | ||
13 | |||
7 | {% if tags is empty %} | 14 | {% if tags is empty %} |
8 | no tags | 15 | no tags |
9 | {% endif %} | 16 | {% endif %} |
@@ -11,10 +18,12 @@ no tags | |||
11 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} | 18 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} |
12 | </ul> | 19 | </ul> |
13 | <form method="post" action="./?action=add_tag"> | 20 | <form method="post" action="./?action=add_tag"> |
14 | <label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" /> | ||
15 | <p>{% trans "You can enter multiple tags, separated by commas." %}</p> | ||
16 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> | 21 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> |
22 | <label for="value">Add tags: </label> | ||
23 | <input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" /> | ||
17 | <input type="submit" value="Tag" /> | 24 | <input type="submit" value="Tag" /> |
25 | <p>{% trans "You can enter multiple tags, separated by commas." %}</p> | ||
26 | |||
18 | </form> | 27 | </form> |
19 | <a href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> | 28 | <a href="./?view=view&id={{ entry_id }}">« {% trans "return to article" %}</a> |
20 | {% endblock %} | 29 | {% endblock %} |
diff --git a/themes/default/home.twig b/themes/default/home.twig index cbe8c62f..165fecc6 100644 --- a/themes/default/home.twig +++ b/themes/default/home.twig | |||
@@ -14,12 +14,16 @@ | |||
14 | {% block precontent %} | 14 | {% block precontent %} |
15 | {% if entries|length > 1 %} | 15 | {% if entries|length > 1 %} |
16 | <ul id="sort"> | 16 | <ul id="sort"> |
17 | <li><a href="./?sort=ia&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li> | 17 | <li><a href="./?sort=ia&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li> |
18 | <li><a href="./?sort=ta&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li> | 18 | <li><a href="./?sort=ta&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li> |
19 | </ul> | 19 | </ul> |
20 | {% endif %} | 20 | {% endif %} |
21 | {% endblock %} | 21 | {% endblock %} |
22 | {% block content %} | 22 | {% block content %} |
23 | {% if tag %} | ||
24 | <h3>{% trans "Tag" %}: <b>{{ tag.value }}</b></h3> | ||
25 | {% endif %} | ||
26 | |||
23 | {% if entries is empty %} | 27 | {% if entries is empty %} |
24 | <div class="messages warning"><p>{% trans "No articles found." %}</p></div> | 28 | <div class="messages warning"><p>{% trans "No articles found." %}</p></div> |
25 | {% else %} | 29 | {% else %} |
@@ -46,4 +50,5 @@ | |||
46 | {% endfor %} | 50 | {% endfor %} |
47 | {% endif %} | 51 | {% endif %} |
48 | {{ block('pager') }} | 52 | {{ block('pager') }} |
53 | {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "mark all the entries as read" %}" href="./?action=archive_all">{% trans "mark all the entries as read" %}</a>{% endif %}{% endif %} | ||
49 | {% endblock %} | 54 | {% endblock %} |
diff --git a/themes/default/login.twig b/themes/default/login.twig index bf685240..b9f8b497 100644 --- a/themes/default/login.twig +++ b/themes/default/login.twig | |||
@@ -24,7 +24,7 @@ | |||
24 | </div> | 24 | </div> |
25 | </div> | 25 | </div> |
26 | <div class="row mts txtcenter"> | 26 | <div class="row mts txtcenter"> |
27 | <button class="bouton" type="submit" tabindex="4">{% trans "Login" %}</button> | 27 | <button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button> |
28 | </div> | 28 | </div> |
29 | </fieldset> | 29 | </fieldset> |
30 | <input type="hidden" name="returnurl" value="{{ referer }}"> | 30 | <input type="hidden" name="returnurl" value="{{ referer }}"> |
diff --git a/themes/default/tag.twig b/themes/default/tag.twig deleted file mode 100644 index 364c7cd4..00000000 --- a/themes/default/tag.twig +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}tag {% endblock %} | ||
3 | {% block menu %} | ||
4 | {% include '_menu.twig' %} | ||
5 | {% endblock %} | ||
6 | {% block content %} | ||
7 | <h3>{% trans "Tag" %} {{ tag.value }}</h3> | ||
8 | {% if entries is empty %} | ||
9 | <div class="messages warning"><p>{% trans "No link available here!" %}</p></div> | ||
10 | {% else %} | ||
11 | {% block pager %} | ||
12 | {% if nb_results > 1 %} | ||
13 | <div class="results"> | ||
14 | <div class="nb-results">{{ nb_results }} {% trans "results" %}</div> | ||
15 | {{ page_links | raw }} | ||
16 | </div> | ||
17 | {% endif %} | ||
18 | {% endblock %} | ||
19 | {% for entry in entries %} | ||
20 | <div id="entry-{{ entry.id|e }}" class="entrie"> | ||
21 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> | ||
22 | <ul class="tools"> | ||
23 | <li><a title="{% trans "toggle mark as read" %}" class="tool {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span>{% trans "toggle mark as read" %}</span></a></li> | ||
24 | <li><a title="{% trans "toggle favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li> | ||
25 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> | ||
26 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li> | ||
27 | <li><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="reading-time"><span>{{ entry.content| getReadingTime }} min</span></a></li> | ||
28 | </ul> | ||
29 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> | ||
30 | </div> | ||
31 | {% endfor %} | ||
32 | {% endif %} | ||
33 | {% endblock %} \ No newline at end of file | ||
diff --git a/themes/default/view.twig b/themes/default/view.twig index 9858996f..916abe0d 100644 --- a/themes/default/view.twig +++ b/themes/default/view.twig | |||
@@ -20,12 +20,15 @@ | |||
20 | <header class="mbm"> | 20 | <header class="mbm"> |
21 | <h1>{{ entry.title|raw }}</h1> | 21 | <h1>{{ entry.title|raw }}</h1> |
22 | </header> | 22 | </header> |
23 | <aside class="tags"> | 23 | {% block tags %} |
24 | {% trans "tags:" %} {% for tag in tags %}<a href="./?view=tag&id={{ tag.id }}">{{ tag.value }}</a> {% endfor %}<a href="./?view=edit-tags&id={{ entry.id|e }}" title="{% trans "Edit tags" %}">✎</a> | 24 | <aside class="tags"> |
25 | </aside> | 25 | {% trans "tags:" %} {% for tag in tags %}<a href="./?view=tag&id={{ tag.id }}">{{ tag.value }}</a> {% endfor %}<a href="./?view=edit-tags&id={{ entry.id|e }}" title="{% trans "Edit tags" %}">✎</a> |
26 | </aside> | ||
27 | {% endblock %} | ||
26 | <article> | 28 | <article> |
27 | {{ content | raw }} | 29 | {{ content | raw }} |
28 | </article> | 30 | </article> |
31 | {{ block('tags') }} | ||
29 | </div> | 32 | </div> |
30 | <script src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/restoreScroll.js"></script> | 33 | <script src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/restoreScroll.js"></script> |
31 | <script type="text/javascript"> | 34 | <script type="text/javascript"> |
@@ -50,5 +53,5 @@ | |||
50 | $('#article_toolbar .tool.top').parent().hide(); | 53 | $('#article_toolbar .tool.top').parent().hide(); |
51 | } | 54 | } |
52 | }); | 55 | }); |
53 | </script> | 56 | </script> |
54 | {% endblock %} | 57 | {% endblock %} |
diff --git a/themes/dmagenta/theme.ini b/themes/dmagenta/theme.ini index 24ff3c4a..78fa3a9c 100644 --- a/themes/dmagenta/theme.ini +++ b/themes/dmagenta/theme.ini | |||
@@ -1,2 +1,2 @@ | |||
1 | name = Dark Magenta | 1 | name = Dmagenta |
2 | requirements[] = default | 2 | requirements[] = default |
diff --git a/themes/solarized-dark/css/style-solarized-dark.css b/themes/solarized-dark/css/style-solarized-dark.css index 3b0feb2a..77a97d38 100644 --- a/themes/solarized-dark/css/style-solarized-dark.css +++ b/themes/solarized-dark/css/style-solarized-dark.css | |||
@@ -217,4 +217,16 @@ a.link span { | |||
217 | 217 | ||
218 | a.bad-display span { | 218 | a.bad-display span { |
219 | background-image: url('../img/solarized-dark/bad-display.png'); | 219 | background-image: url('../img/solarized-dark/bad-display.png'); |
220 | } | ||
221 | |||
222 | .arrow-down { | ||
223 | width: 0px; | ||
224 | height: 0px; | ||
225 | border-style: solid; | ||
226 | border-width: 10px 10px 0 10px; | ||
227 | border-color: #586E75 transparent transparent transparent; | ||
228 | |||
229 | position: absolute; | ||
230 | margin-top: 1.5em; | ||
231 | margin-left: -30px; | ||
220 | } \ No newline at end of file | 232 | } \ No newline at end of file |
diff --git a/themes/solarized-dark/theme.ini b/themes/solarized-dark/theme.ini index 7b6b341e..c9948146 100644 --- a/themes/solarized-dark/theme.ini +++ b/themes/solarized-dark/theme.ini | |||
@@ -1,2 +1,2 @@ | |||
1 | name = Dark Solarized | 1 | name = Solarized Dark |
2 | requirements[] = default | 2 | requirements[] = default |
diff --git a/themes/solarized/css/style-solarized.css b/themes/solarized/css/style-solarized.css index 6058d056..cf16338f 100644 --- a/themes/solarized/css/style-solarized.css +++ b/themes/solarized/css/style-solarized.css | |||
@@ -217,4 +217,16 @@ a.link span { | |||
217 | 217 | ||
218 | a.bad-display span { | 218 | a.bad-display span { |
219 | background-image: url('../img/solarized/bad-display.png'); | 219 | background-image: url('../img/solarized/bad-display.png'); |
220 | } | ||
221 | |||
222 | .arrow-down { | ||
223 | width: 0px; | ||
224 | height: 0px; | ||
225 | border-style: solid; | ||
226 | border-width: 10px 10px 0 10px; | ||
227 | border-color: #93A1A1 transparent transparent transparent; | ||
228 | |||
229 | position: absolute; | ||
230 | margin-top: 1.5em; | ||
231 | margin-left: -30px; | ||
220 | } \ No newline at end of file | 232 | } \ No newline at end of file |