update page form display on mobile

This commit is contained in:
Simon Vieille 2022-05-18 15:43:13 +02:00
parent 061a63d6a2
commit e91a395c34
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -28,16 +28,31 @@
</div> </div>
{% endif %} {% endif %}
<div class="{% if hasBockFrom %}col-md-4{% else %}col-md-12{% endif %} p-3" id="page-metas-form"> <div class="{% if hasBockFrom %}col-md-4{% else %}col-md-12{% endif %} p-md-3" id="page-metas-form">
<ul class="nav nav-pills"> <ul class="nav nav-pills">
<li class="nav-item"> <li class="nav-item mb-1">
<a class="nav-link active" data-toggle="tab" href="#form-page-metas">{{ 'Meta datas'|trans }}</a> <a class="nav-link active" data-toggle="tab" href="#form-page-metas">
<span class="fa fa-code"></span>
<span class="d-none d-md-inline">
{{ 'Meta datas'|trans }}
</span>
</a>
</li>
<li class="nav-item mb-1">
<a class="nav-link" data-toggle="tab" href="#form-page-og">
<span class="fa fa-share"></span>
<span class="d-none d-md-inline">
{{ 'OpenGraph'|trans }}
</span>
</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#form-page-og">{{ 'OpenGraph'|trans }}</a> <a class="nav-link" data-toggle="tab" href="#form-page-others">
</li> <span class="fa fa-cog"></span>
<li class="nav-item"> <span class="d-none d-md-inline">
<a class="nav-link" data-toggle="tab" href="#form-page-others">{{ 'Others'|trans }}</a> {{ 'Others'|trans }}
</span>
</a>
</li> </li>
</ul> </ul>