mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
prepare homepage_widget template
This commit is contained in:
parent
6ef5390a26
commit
320d11671a
@ -490,3 +490,18 @@ div.popover {
|
|||||||
div.v-toast {
|
div.v-toast {
|
||||||
z-index: 10000!important;
|
z-index: 10000!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
div.sticky-buttons {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 3em;
|
||||||
|
right: 2em;
|
||||||
|
.btn-circle {
|
||||||
|
width: 60px; height: 60px;
|
||||||
|
border-radius: 50%;
|
||||||
|
text-align: center;
|
||||||
|
padding: 0.9rem 1rem;
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 0.35rem;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
<div class="col-10 mt-5">
|
||||||
|
|
||||||
|
{# vue component #}
|
||||||
|
<div id="homepage_widget"></div>
|
||||||
|
|
||||||
|
<ul class="nav nav-tabs">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link active" aria-current="page" href="#">
|
||||||
|
<i class="fa fa-home"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="#">
|
||||||
|
Actions d'accompagnement
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="#">
|
||||||
|
Évaluations
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="#">
|
||||||
|
Tâches
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="#">
|
||||||
|
Parcours
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="#">
|
||||||
|
Notifications
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
{% include '@ChillMain/Homepage/sticky_button.html.twig' %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% block css %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block js %}
|
||||||
|
{% endblock %}
|
@ -0,0 +1,10 @@
|
|||||||
|
<div class="sticky-buttons">
|
||||||
|
<a class="btn btn-lg btn-circle btn-success" title="Appel téléphonique"
|
||||||
|
href="{{ path('chill_crud_aside_activity_new', {'type' : 7, 'duration' : '600', 'note' : 'Pas des remarques' }) }}">
|
||||||
|
<i class="fa fa-phone fa-lg"></i>
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-lg btn-circle btn-success" title="Activité annexe"
|
||||||
|
href="{{ path('chill_crud_aside_activity_new', {}) }}">
|
||||||
|
<i class="fa fa-flash fa-lg"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
@ -59,26 +59,26 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="col-8 main_search">
|
<div class="col-8 main_search">
|
||||||
<h2>{{ 'Search'|trans }}</h2>
|
<h2>{{ 'Search'|trans }}</h2>
|
||||||
|
|
||||||
<form action="{{ path('chill_main_search') }}" method="get">
|
<form action="{{ path('chill_main_search') }}" method="get">
|
||||||
<input class="form-control form-control-lg" name="q" type="search" placeholder="{{ 'Search persons, ...'|trans }}" />
|
<input class="form-control form-control-lg" name="q" type="search" placeholder="{{ 'Search persons, ...'|trans }}" />
|
||||||
<center>
|
<center>
|
||||||
<button type="submit" class="btn btn-lg btn-warning mt-3">
|
<button type="submit" class="btn btn-lg btn-warning mt-3">
|
||||||
<i class="fa fa-fw fa-search"></i> {{ 'Search'|trans }}
|
<i class="fa fa-fw fa-search"></i> {{ 'Search'|trans }}
|
||||||
</button>
|
</button>
|
||||||
<a class="btn btn-lg btn-misc mt-3" href="{{ path('chill_main_advanced_search_list') }}">
|
<a class="btn btn-lg btn-misc mt-3" href="{{ path('chill_main_advanced_search_list') }}">
|
||||||
<i class="fa fa-fw fa-search"></i> {{ 'Advanced search'|trans }}
|
<i class="fa fa-fw fa-search"></i> {{ 'Advanced search'|trans }}
|
||||||
</a>
|
</a>
|
||||||
</center>
|
</center>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-8">
|
|
||||||
<a href="{{ path('chill_crud_aside_activity_new', {'type' : 7, 'duration' : '600', 'note' : 'Pas des remarques' }) }}"><div class="bloc btn btn-success btn-md btn-block">Appel téléphonique</div></a>
|
{# DISABLED {{ chill_widget('homepage', {} ) }} #}
|
||||||
</div>
|
|
||||||
|
{% include '@ChillMain/Homepage/index.html.twig' %}
|
||||||
{{ chill_widget('homepage', {} ) }}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user