mirror of
https://github.com/moparisthebest/wallabag
synced 2025-01-11 13:48:45 -05:00
[change] css: tools for entries
This commit is contained in:
parent
3137b854fa
commit
8fd30df0ea
@ -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) }}…</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>
|
||||
|
@ -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>
|
||||
|
@ -20,7 +20,7 @@ header h1 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
nav ul li, ul.entry_options li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user