templates/base.html.twig line 1
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
<link href="{{ asset('/assets/css/bootstrap.min.css') }}" rel="stylesheet">
<link href="{{ asset('/assets/css/select2.min.css') }}" rel="stylesheet">
<link href="{{ asset('/assets/css/font-awesome-4.7.0/css/font-awesome.min.css') }}" rel="stylesheet">
<link href="{{ asset('/assets/css/toastr.css') }}" rel="stylesheet">
<link href="{{ asset('/assets/css/style.css') }}" rel="stylesheet">
<link href="{{ asset('assets/amCharts/index.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/css/jquery.treeview.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/css/treeselect.css') }}" rel="stylesheet"/>
{% block stylesheet %}{% endblock %}
</head>
<body>
<div class="container-fluid">
<div class="row">
<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block sidebar collapse">
<div class="header-logo">
<div class="row logos-block align-items-center">
<div class="col-md-7 logo-1">
<img src="{{ asset('/assets/img/logo.svg') }}" class="img-fluid">
</div>
<div class="col-md-5 logo-2">
<img src="{{ general.logo }}" class="img-fluid">
</div>
</div>
</div>
<div class="filter-menu">
<div class="title-filter">
<img src="{{ asset('assets/img/filter.svg')}}" class="img-fluid">
<h2>Filtrer</h2>
</div>
<div class="filter-content-menu">
<h6>{{ 'Locations'|trans }}</h6>
<div class="accordion" style="max-width: 247px !important">
<div class="treeselect-demo" id="localisationsTree"></div>
</div>
<hr>
<h6>{{ 'Resource type'|trans }}</h6>
<div class="accordion" style="max-width: 247px !important">
<div class="treeselect-demo" id="typeResourcesTree"></div>
</div>
<hr>
<div class="accordion accordion-checked" id="accordionExample-2">
<div class="row" style="padding-left: 3%">
{% for item in status %}
<div class="col-md-12">
<div class="form-check">
<input class="form-check-input" type="checkbox" data-type="status" value="{{item.id}}" id="status{{item.id}}" checked>
<label class="form-check-label" for="status{{item.id}}">
{{item.value}}
</label>
</div>
</div>
{% endfor %}
</div>
</div>
<hr>
<div class="accordion mb-2" id="accordionExample-5">
<div class="form-search">
<select class="form-control" id="txtUser" data-select>
<option value="">{{'Select user'|trans}}</option>
{% for user in users %}
<option value="{{ user.id }}">{{ user.firstname }} {{ user.lastname }}</option>
{% endfor %}
</select>
</div>
</div>
<div class="accordion" id="accordionExample-6">
<div class="form-search">
<select class="form-control" id="txtResource" data-select>
<option value="">{{'Select resource'|trans}}</option>
{% for resource in resources %}
<option value="{{ resource.id }}">{{ resource.name }}</option>
{% endfor %}
</select>
</div>
</div>
<div class="mt-2">
<button class="btn btn-success" onclick="getReservation()">{{ 'Filter'|trans }}</button>
</div>
</div>
</div>
<div class="footer-menu">
<a href="#">Politique de confidentialité</a>
<div class="copy-rights d-flex align-items-center">
<p>Powered by</p>
<img src="./assets/img/LOGO-NETISSE-Blanc.png" class="img-fluid">
</div>
</div>
</nav>
<main class="col-md-9 col-lg-9">
<div class="row header-dashbord align-items-center">
<div class="col-md-2">
<h1 class="h2">{{ 'Dashboard'|trans }} :</h1>
</div>
<div class="col-md-7">
<ul class="nav">
<li class="nav-item">
<a class="nav-link {{ activeMenu(['app_default']) }}" aria-current="page" href="{{ path('app_default') }}">
<span data-feather="home"></span>
Réservations
</a>
</li>
<li class="nav-item">
{# <a class="nav-link {{ activeMenu(['blocks']) }}" href="{{ path('blocks') }}">
<span data-feather="file"></span>
Blocages
</a> #}
</li>
{#
<li class="nav-item">
<a class="nav-link" href="#">
<span data-feather="shopping-cart"></span>
Utilisateurs
</a>
</li>#}
</ul>
</div>
<div class="col-md-3">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-4">
<select class="form-control" id="changeLanguage">
{% for locale in locales %}
<option {% if locale == app.request.locale %}selected{% endif %}>{{ locale }}</option>
{% endfor %}
</select>
</div>
<div class="col-md-6">
<a href="{{ path('app_logout') }}" class="form-control logout">
<i class="fa fa-sign-out"></i> {{ 'Logout'|trans }}
</a>
</div>
</div>
</div>
<div class="row filter-date align-items-center">
<div class="col-md-2">
<label>Choisissez la date </label>
</div>
<div class="col-md-2">
<input type="date" class="form-control calendar" id="startDate">
</div>
<div class="col-md-2">
<input type="date" class="form-control calendar" id="endDate">
</div>
<div class="col-md-2">
<button class="btn btn-success" onclick="getReservation()">{{ 'Filter'|trans }}</button>
</div>
</div>
</div>
<div class="col-md-12 content-dashboard">
{% block body %}{% endblock %}
</div>
</main>
</div>
</div>
<script src="{{ asset('/assets/js/bootstrap.bundle.min.js') }}"></script>
<script src="{{ asset('/assets/js/jquery.min.js') }}"></script>
<script src="{{ asset('/assets/js/select2.min.js') }}"></script>
<script src="{{ asset('/assets/js/toastr.js') }}"></script>
<script src="{{ asset('/assets/js/script.js') }}"></script>
<!-- AmCharts -->
<script src="{{ asset('/assets/amCharts/index.js') }}"></script>
<script src="{{ asset('/assets/amCharts/percent.js') }}"></script>
<script src="{{ asset('/assets/amCharts/Animated.js') }}"></script>
<script src="{{ asset('/assets/amCharts/xy.js') }}"></script>
<script src="{{ asset('assets/js/jquery.treeview.js')}}"></script>
<script src="{{ asset('assets/js/treeselect.js')}}"></script>
<script>
$(document).ready(function() {
$('[data-select]').select2();
$('#changeLanguage').on('change', function() {
window.location.href = "/change_langue/" + $(this).val();
});
})
</script>
{% block scripts %}{% endblock %}
</body>
</html>