1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-08-13 16:54:00 -04:00

[change] css: tools for entries

This commit is contained in:
Nicolas Lœuillet 2014-01-13 22:30:19 +01:00
parent 3137b854fa
commit 8fd30df0ea
3 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<li>
<h2><a href="{{ path('view_entry', {'id': entry.id}) }}">{{ entry.title }}</a></h2>
<p>{{ entry.content|striptags|slice(0, 300) }}&hellip;</p>
<ul>
<ul class="entry_options">
<li>{% if entry.status == "read" %}<a href="{{ path('mark_entry_unread', {'id': entry.id}) }}">{{ 'mark as unread'|trans }}</a>{% else %}<a href="{{ path('mark_entry_read', {'id': entry.id}) }}">{{ 'mark as read'|trans }}</a>{% endif %}</li>
<li><a href="#">{% if entry.bookmark == 1 %}<a href="{{ path('unstar_entry', {'id': entry.id}) }}">{{ 'unstar'|trans }}</a>{% else %}<a href="{{ path('star_entry', {'id': entry.id}) }}">{{ 'star'|trans }}</a>{% endif %}</a></li>
<li><a href="#">{{ 'delete'|trans }}</a></li>

View File

@ -1,4 +1,5 @@
{% extends layout %}
{% block title %}{{ entry.title }}{% endblock %}
{% block content %}
@ -6,9 +7,9 @@
<div class="messages warning"><p>{{ 'No link available here!'|trans }}</p></div>
{% else %}
<h2>{{ entry.title }}</h2>
<ul>
<ul class="entry_options">
<li>{% if entry.status == "read" %}<a href="{{ path('mark_entry_unread', {'id': entry.id}) }}">{{ 'mark as unread'|trans }}</a>{% else %}<a href="{{ path('mark_entry_read', {'id': entry.id}) }}">{{ 'mark as read'|trans }}</a>{% endif %}</li>
<li><a href="#">{{ 'star'|trans }}</a></li>
<li><a href="#">{% if entry.bookmark == 1 %}<a href="{{ path('unstar_entry', {'id': entry.id}) }}">{{ 'unstar'|trans }}</a>{% else %}<a href="{{ path('star_entry', {'id': entry.id}) }}">{{ 'star'|trans }}</a>{% endif %}</a></li>
<li><a href="#">{{ 'delete'|trans }}</a></li>
<li><a href="{{ entry.url }}">{{ 'view original'|trans }}</a></li>
</ul>

View File

@ -20,7 +20,7 @@ header h1 {
font-size: 1.3em;
}
nav ul li {
nav ul li, ul.entry_options li {
display: inline-block;
}