aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default')
-rwxr-xr-xthemes/default/css/style.css30
-rwxr-xr-xthemes/default/edit-tags.twig5
2 files changed, 33 insertions, 2 deletions
diff --git a/themes/default/css/style.css b/themes/default/css/style.css
index a122dc54..58d908ee 100755
--- a/themes/default/css/style.css
+++ b/themes/default/css/style.css
@@ -455,3 +455,33 @@ pre code {
455 border: 1px solid #ddd; 455 border: 1px solid #ddd;
456 font-size: 0.96em; 456 font-size: 0.96em;
457} 457}
458
459/* ==========================================================================
460 Tags-related styles
461 ========================================================================== */
462
463.suggestedtag {
464 padding: 4px;
465 cursor: pointer;
466 display: inline-block;
467}
468
469#tagcloud .smallesttag {
470 font-size: x-small;
471}
472
473#tagcloud .smalltag {
474 font-size: small;
475}
476
477#tagcloud .mediumtag {
478 font-size:medium;
479}
480
481#tagcloud .largetag {
482 font-size:large;
483}
484
485#tagcloud .largesttag {
486 font-size:larger;
487}
diff --git a/themes/default/edit-tags.twig b/themes/default/edit-tags.twig
index c29427e0..61cc94f1 100755
--- a/themes/default/edit-tags.twig
+++ b/themes/default/edit-tags.twig
@@ -19,7 +19,7 @@
19{% trans "no tags" %} 19{% trans "no tags" %}
20{% endif %} 20{% endif %}
21<ul> 21<ul>
22{% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&amp;tag_id={{ tag.id }}&amp;id={{ entry_id }}">✘</a></li>{% endfor %} 22{% for tag in tags %}<li><span class="alreadytagged">{{ tag.value }}</span> <a href="./?action=remove_tag&amp;tag_id={{ tag.id }}&amp;id={{ entry_id }}">✘</a></li>{% endfor %}
23</ul> 23</ul>
24<form method="post" action="./?action=add_tag" id="editTags"> 24<form method="post" action="./?action=add_tag" id="editTags">
25 <input type="hidden" name="entry_id" value="{{ entry_id }}" /> 25 <input type="hidden" name="entry_id" value="{{ entry_id }}" />
@@ -30,6 +30,7 @@
30 {% trans "You can enter multiple tags, separated by commas." %}</p> 30 {% trans "You can enter multiple tags, separated by commas." %}</p>
31 31
32</form> 32</form>
33<br> 33All existing tags :
34<ul id="tagcloud">{% for eachtag in alltags %}<li class="suggestedtag {{ eachtag.cssclass }}">{{ eachtag.value }}</li>{% endfor %}</ul>
34<a href="./?view=view&id={{ entry_id }}">&laquo; {% trans "return to article" %}</a> 35<a href="./?view=view&id={{ entry_id }}">&laquo; {% trans "return to article" %}</a>
35{% endblock %} 36{% endblock %}