<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
{% block title %}
Welcome!
{% endblock %}
| Project
</title>
<link rel="stylesheet" href="{{ asset('assets/plugins/fontawesome-free/css/all.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/dist/css/adminlte.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/plugins/select2/css/select2.css') }}">
<link rel="stylesheet" href="{{ asset('assets/plugins/select2/css/select2.css') }}">
<link rel="stylesheet" href="{{ asset('assets/build/css/custom.css') }}">
{% block stylesheets %}{% endblock %}
<script src="{{ asset('assets/plugins/jquery/jquery.min.js') }}"></script>
</head>
<body class="hold-transition sidebar-mini">
<div class="wrapper">
{% include "menu/navbar.html.twig" %}
{% include "menu/sidebar.html.twig" %}
<div class="content-wrapper">
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">
{% block pagetitle %}{% endblock %}
</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item">
<a href="#">
Home
</a>
</li>
{% block breadcrumb %}{% endblock %}
</ol>
</div>
</div>
</div>
</div>
<div class="container-fluid px-5">
<div class="row">
<div class="col-md-12">
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="row alert alert-{{ label }} alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">
×
</button>
<h4 class="mr-4">
<i class="icon fa fa-{% if label=='success' %}check {% else %}ban {% endif %}"></i>
</h4>
{{ message }}
</div>
{% endfor %}
{% endfor %}
</div>
</div>
</div>
<div class="content">
<div class="container-fluid">
{% block body %}{% endblock %}
</div>
</div>
</div>
<footer class="main-footer">
<div class="float-right d-none d-sm-inline">
Project Followup
</div>
<strong>
Copyright ©
{{ 'now' | date('Y') }}
</strong>
All rights reserved.
</footer>
</div>
<script src="{{ asset('assets/plugins/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
<script src="{{ asset('assets/plugins/moment/moment.min.js') }}"></script>
<script src="{{ asset('assets/dist/js/adminlte.js') }}"></script>
<script src="{{ asset('assets/plugins/select2/js/select2.full.min.js') }}"></script>
<script>
$(function () {
//Initialize Select2 Elements
$('.select2').select2()
//Initialize Select2 Elements
$('.select2bs4').select2({
theme: 'bootstrap4'
})
});
</script>
<script>
$(document).ready(function(){
$(".nav-sidebar").find(".active").removeClass("active");
var path = window.location.href;
$('.nav-item a').each(function() {
if (this.href === path) {
$(this).addClass('active');
$(this).closest('.has-treeview').addClass('menu-open active');
}
});
})
</script>
{% block javascripts %}
{% endblock %}
</body>
</html>