fix missing license headers
[osm/LW-UI.git] / projecthandler / template / project / project_descriptors.html
1 <!--
2 Copyright 2019 EveryUP srl
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 -->
16
17 {% extends "base.html" %}
18
19 {% load staticfiles %}
20
21 {% block head_block %}
22 {{ block.super }}
23 <link rel="stylesheet" href="/static/node_modules/datatables.net-bs/css/dataTables.bootstrap.min.css">
24 {% endblock %}
25 {% block title_header_big %}
26
27 {% endblock %}
28
29 {% block left_sidebar %}
30
31 {% endblock %}
32
33 {% block breadcrumb_body %}
34 {{ 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
43 {% endblock %}
44
45 {% block content_body %}
46 {{ block.super }}
47 {% if alert_message %}
48 {% if alert_message.success == True %}
49 <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 %}
55 {% if alert_message.success == False %}
56 <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
72 <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>
74
75 {% endblock %}
76