annotate sat_templates/default/merge-request/create.html @ 153:b84d20af0ed3

macros (field, form, textbox): general improvments: - use a generic "field" macro for most fields - added "required" class on input labels if suitable - extra kw args are used as input field attributes. Same thing for forms - better handling of id if label is missing - added blog_text macro in textbox for basic text blog input - textbox is more customisable (class and textarea class can be specified)
author Goffi <goffi@goffi.org>
date Thu, 21 Jun 2018 01:09:00 +0200
parents 33c7ce833d3f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
69
339f4011ed9b merge-request: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {# creata a new ticket #}
339f4011ed9b merge-request: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2
138
85877c76d47d merge-request: discovery page
Goffi <goffi@goffi.org>
parents: 128
diff changeset
3 {% set category_menu = [('merge-requests', url_tickets_list)] %}
69
339f4011ed9b merge-request: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% extends 'base/base.html' %}
339f4011ed9b merge-request: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 {% block body %}
128
4f27ce980ced css: started to refactor CSS class to follow BEM conventions
Goffi <goffi@goffi.org>
parents: 69
diff changeset
6 <div class="box message--info">
69
339f4011ed9b merge-request: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <p>{% trans %}It is not yet possible to create a merge request from inside Libervia, please use <pre>jp merge-request set</pre> for now. Merge requests welcome ;){% endtrans %}</p>
339f4011ed9b merge-request: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 </div>
339f4011ed9b merge-request: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 {% endblock body %}