Mercurial > libervia-templates
diff sat_templates/templates/bulma/forum/view_topics.html @ 328:bfb0d5829728
bulma (forum): slight design improvment + new `New Topic` button
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 May 2021 18:47:35 +0200 |
parents | 1928ba66c194 |
children | 3db3509cbad1 |
line wrap: on
line diff
--- a/sat_templates/templates/bulma/forum/view_topics.html Sat May 01 18:46:51 2021 +0200 +++ b/sat_templates/templates/bulma/forum/view_topics.html Sat May 01 18:47:35 2021 +0200 @@ -19,7 +19,14 @@ </div> {% endif %} - <section class="section"> + <section class="section has-background-white"> + <nav class="level mb-4"> + <div class="level-left"> + <div class="level-item"> + {{ component.action_button(url_topic_new, _("New Topic")) }} + </div> + </div> + </nav> <div class="has-background-white px-1 py-1"> {% for topic in topics %} <div class="media has-items-vcentered"> @@ -37,13 +44,6 @@ {% endfor %} </div> </section> - {% if profile %} - <section class="section"> - {% call textbox.textbox(service, node, placeholder=_("Your message"), submit_label=_("Create topic"), type="new_topic") %} - {{ field.text("title", placeholder=_("Your topic"), required=True) }} - {% endcall %} - </section> - {% endif %} {{ navigation.prev_next(_("older topics"), _("newer topics")) }} {% endblock body %}