Mercurial > libervia-templates
diff default/chat/select.html @ 128:4f27ce980ced
css: started to refactor CSS class to follow BEM conventions
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Mar 2018 11:14:14 +0100 |
parents | 92ca411ee635 |
children |
line wrap: on
line diff
--- a/default/chat/select.html Sat Mar 24 11:11:37 2018 +0100 +++ b/default/chat/select.html Sat Mar 24 11:14:14 2018 +0100 @@ -3,14 +3,14 @@ {% import 'input/field.html' as field with context %} {% block body %} -<p class="instructions">{% trans %}Please select the chat room you want to enter{% endtrans %}</p> +<p class="instructions--head">{% trans %}Please select the chat room you want to enter{% endtrans %}</p> <ul class="rooms_list"> {% for room in rooms %} <li><a href="{{room.url}}">{{room.name}}</a></li> {% endfor %} </ul> -<p class="instructions room_jid">{% trans %}Or enter a room address{% endtrans %}</p> -{% call form.form(class="room_jid_form") %} +<p class="instructions--alt">{% trans %}Or enter a room address{% endtrans %}</p> +{% call form.form(class="form_single") %} {{ field.text("jid", _("Room address (JID)"), required=true)}} {{ field.submit(_("Join")) }} {% endcall %}