Files
Phraseanet/templates/web/admin/structure.html.twig
Nicolas Le Goff b5313cc540 Use bootstrap tool
2013-06-28 15:40:58 +02:00

36 lines
1.2 KiB
Twig
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% if updateOk %}
<div class="alert alert-info">
<a class="close" data-dismiss="alert" href="#">×</a>
<h4 class="alert-heading">{% trans 'Updated structure' %}</h4>
{% trans 'Structure has been successfully updated' %}
</div>
{% endif %}
{% if errorsStructure %}
<div class="alert alert-error">
<a class="close" data-dismiss="alert" href="#">×</a>
<h4 class="alert-heading">{% trans 'Structure errors' %}</h4>
{% trans 'admin::base: xml invalide, les changements ne seront pas appliques' %}
</div>
<div class="well">
{% for error in errors %}
<div>
<span class="badge badge-important">{{ loop.index }}</span>
{{ error }}
</div>
{% endfor %}
</div>
{% endif %}
<div class="page-header">
<h1>{% trans 'admin::base: structure' %}</h1>
</div>
<form method="POST" action="{{ path('database_submit_stucture', { 'databox_id' : databox.get_sbas_id() }) }}">
<TEXTAREA nowrap style="width:99%; height:450px; white-space:pre" name="structure">{{ structure }}</TEXTAREA>
<div class="form-actions">
<button class="btn btn-primary" type="submit">{% trans 'boutton::valider' %}</button>
</div>
</form>