Skip to content

Commit

Permalink
[user admin] : fix some bl
Browse files Browse the repository at this point in the history
  • Loading branch information
julkwel committed Feb 21, 2021
1 parent ce32ea6 commit 58ca4ec
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 36 deletions.
71 changes: 37 additions & 34 deletions templates/admin/menu/_sidebar.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,24 @@
<span class="title">Documentation</span>
</a>
</li>
<li class="nav-item">
<a class="sidebar-link" href="{{ path('school_year_list') }}">
{% if not is_granted('ROLE_SUPER_ADMIN') %}
<li class="nav-item">
<a class="sidebar-link" href="{{ path('school_year_list') }}">
<span class="icon-holder">
<i class="c-orange-500 ti-calendar"></i>
</span>
<span class="title">Années scolaires</span>
</a>
</li>
<li class="nav-item">
<a class="sidebar-link" href="{{ path('session_list') }}">
<span class="title">Années scolaires</span>
</a>
</li>
<li class="nav-item">
<a class="sidebar-link" href="{{ path('session_list') }}">
<span class="icon-holder">
<i class="c-orange-500 ti-clipboard"></i>
</span>
<span class="title">Sessions</span>
</a>
</li>
<span class="title">Sessions</span>
</a>
</li>
{% endif %}
{% if is_granted('ROLE_ADMIN') %}
<li class="nav-item dropdown {% if menu_administration is defined %} open actived{% endif %}">
<a class="dropdown-toggle" href="javascript:void(0);">
Expand Down Expand Up @@ -91,41 +93,42 @@
</ul>
</li>
{% endif %}
<li class="nav-item {% if menu_matiere is defined %} actived{% endif %}">
<a class="sidebar-link" href="{{ path('subject_list') }}">
{% if not is_granted('ROLE_SUPER_ADMIN') %}
<li class="nav-item {% if menu_matiere is defined %} actived{% endif %}">
<a class="sidebar-link" href="{{ path('subject_list') }}">
<span class="icon-holder">
<i class="c-blue-500 ti-book"></i>
</span>
<span class="title">Matières</span>
</a>
</li>
<li class="nav-item dropdown {% if menu_etablissement is defined or menu_room is defined %}
open actived{% endif %}">
<a class="dropdown-toggle" href="javascript:void(0);">
<span class="title">Matières</span>
</a>
</li>
<li class="nav-item dropdown {% if menu_etablissement is defined or menu_room is defined %}open actived{% endif %}">
<a class="dropdown-toggle" href="javascript:void(0);">
<span class="icon-holder">
<i class="c-red-500 ti-settings"></i>
</span>
<span class="title">Infrastructure</span>
<span class="arrow">
<span class="title">Infrastructure</span>
<span class="arrow">
<i class="ti-angle-right"></i>
</span>
</a>
<ul class="dropdown-menu">
<li class="nav-item {% if menu_room is defined %}actived{% endif %}">
<a href="{{ path('room_list') }}">
<span class="title">Salle</span>
</a>
</li>
</ul>
</li>
<li class="nav-item">
<a class="sidebar-link" href="{{ path('section_list') }}">
</a>
<ul class="dropdown-menu">
<li class="nav-item {% if menu_room is defined %}actived{% endif %}">
<a href="{{ path('room_list') }}">
<span class="title">Salle</span>
</a>
</li>
</ul>
</li>
<li class="nav-item">
<a class="sidebar-link" href="{{ path('section_list') }}">
<span class="icon-holder">
<i class="c-orange-500 ti-list"></i>
</span>
<span class="title">Section / Niveau</span>
</a>
</li>
<span class="title">Section / Niveau</span>
</a>
</li>
{% endif %}
<hr style="color: white;border: solid 1px white">
<ul>
<li>
Expand Down
7 changes: 5 additions & 2 deletions templates/security/login.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% endblock %}
{% block body %}
<div class="peers ai-s fxw-nw h-100vh ov-h">
<div class="col-md-2 peer pX-10 pY-10 h-auto bgc-white border-primary scrollable pos-r m-auto login-card">
<div class="col-md-3 peer pX-20 pY-20 h-auto bgc-white border-primary scrollable pos-r m-auto login-card">
<div class="text-center mb-4">
<img src="{{ asset('images/sekoliko.png') }}"
class="rounded-circle login-image"
Expand Down Expand Up @@ -48,7 +48,10 @@
</div>
</div>
<div class="d-block">
<button type="submit" class="btn d-block sk-btn-login w-100 btn-primary">Login</button>
<button type="submit" class="btn d-block sk-btn-login w-100 btn-primary">CONNEXION</button>
<span class="text-right d-block text-danger mt-2">
sekoliko © <script>document.write((new Date()).getFullYear().toString())</script> tous droits réservés
</span>
</div>
</form>
</div>
Expand Down

0 comments on commit 58ca4ec

Please sign in to comment.