blob: 0ff48f515d8393e680ef15284abac565f98cbc21 [file] [log] [blame]
lombardofr93770e22019-08-30 19:37:56 +02001<!--
2Copyright 2019 EveryUP srl
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15-->
16
lombardoffb37bca2018-05-03 16:20:04 +020017{% extends "base.html" %}
18
19{% load staticfiles %}
20
21{% block head_block %}
22 {{ block.super }}
lombardofre5a130a2019-07-15 09:17:59 +020023 <link rel="stylesheet" href="/static/node_modules/datatables.net-bs/css/dataTables.bootstrap.min.css">
lombardoffb37bca2018-05-03 16:20:04 +020024{% endblock %}
25{% block title_header_big %}
26
27{% endblock %}
28
29{% block left_sidebar %}
30
31{% endblock %}
32
33{% block breadcrumb_body %}
lombardofre5a130a2019-07-15 09:17:59 +020034 {{ block.super }}
35 {% if user.is_admin %}
36 <li><a href="{% url 'projects:projects_list' %}">Projects</a></li>
37 {% else%}
38 <li><a href="#">Projects</a></li>
39 {% endif %}
40
41
42
lombardoffb37bca2018-05-03 16:20:04 +020043{% endblock %}
44
45{% block content_body %}
46 {{ block.super }}
47{% if alert_message %}
lombardofrf5776442018-06-26 10:37:40 +020048 {% if alert_message.success == True %}
lombardoffb37bca2018-05-03 16:20:04 +020049 <div class="alert alert-success alert-dismissible fade in">
50 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
51 <h4><i class="icon fa fa-check"></i> Success</h4>
52 {{alert_message.message}}
53 </div>
54 {% endif %}
lombardofrf5776442018-06-26 10:37:40 +020055 {% if alert_message.success == False %}
lombardoffb37bca2018-05-03 16:20:04 +020056 <div class="alert alert-danger alert-dismissible fade in">
57 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
58 <h4><i class="icon fa fa-ban"></i> Alert!</h4>
59 {{alert_message.message}}
60 </div>
61 {% endif %}
62{% endif %}
63
64{% endblock %}
65
66
67
68
69{% block resource_block %}
70 {{ block.super }}
71
lombardofre5a130a2019-07-15 09:17:59 +020072 <script src="/static/node_modules/datatables.net/js/jquery.dataTables.min.js"></script>
73 <script src="/static/node_modules/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
lombardoffb37bca2018-05-03 16:20:04 +020074
75{% endblock %}
76