blob: 57817fb89d9138b331b6a82bb3b63f31de997d83 [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 }}
23
24{% endblock %}
25
26{% block left_sidebar %}
27 {{ block.super }}
28
29{% endblock %}
30
31{% block title_header_big %}
32 {{ block.super }}
33 {{project_overview.name}}
34{% endblock %}
35
36{% block title_header_small %}
37 {{ block.super }}
38 Overview
39{% endblock %}
40
41{% block breadcrumb_body %}
42 {{ block.super }}
lombardofre5a130a2019-07-15 09:17:59 +020043 {% if user.is_admin %}
44 <li><a href="{% url 'projects:projects_list' %}">Projects</a></li>
45 {% else%}
46 <li><a href="#">Projects</a></li>
47 {% endif %}
lombardofr99f922f2018-07-17 17:27:36 +020048 <li><a href="{% url 'projects:open_project' %}">{{project_overview.name}}</a></li>
lombardoffb37bca2018-05-03 16:20:04 +020049{% endblock %}
50
51{% block content_body %}
52 {{ block.super }}
53<div class="row">
54 <div class="col-md-6">
55 <div class="box box-widget">
56 <div class="box-footer no-padding">
57 <ul class="nav nav-stacked">
58 <li><a><b>Project Name:</b> <span class="pull-right">{{project_overview.name}}</span></a>
59 </li>
60 <li><a><b>Info:</b> <span
61 class="pull-right">{{project_overview.info}}</span></a></li>
62 <li><a><b>Last updated:</b> <span class="pull-right">{{project_overview.updated_date}}</span></a>
63 </li>
64 <li><a><b>Owner:</b> <span
65 class="pull-right">{{project_overview.owner}}</span></a></li>
66
67 <li><a><b>Validated:</b>
68 {% if project_overview.validated %}
69 <span class="pull-right badge bg-green">{{project_overview.validated}}</span>
70 {% else %}
71 <span class="pull-right badge bg-red">{{project_overview.validated}}</span>
72 {% endif %}
73 </a>
74
75 </li>
76
77 </ul>
78
79 </div>
80
81 </div>
82 </div>
83 <div class="col-md-6">
84 {% block content_descritors_col %}
85
86 {% endblock %}
87 </div>
88</div>
89
90{% endblock %}
91
92{% block resource_block %}
93 {{ block.super }}
94
95
96{% endblock %}
97
98