]> WPIA git - motion.git/blob - templates/base.html
add: implement proxy handling
[motion.git] / templates / base.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>{% block title %}Motion list{% endblock %}</title>
5 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
6 <style type="text/css">
7 .form-inline .motion {
8   width: 100%;
9 }
10 .motion {
11   border: 1px solid black;
12   margin-top:5px;
13   margin-bottom:5px;
14 }
15 .motion .motion-title input.motion-title-input {
16   width: 66%;
17 }
18 .motion .motion-title .float {
19   float: right;
20 }
21 .motion .motion-title .motion-type {
22   margin: 5px;
23   float: right;
24 }
25 .motion textarea {
26   display: block;
27   min-width: 100%;
28 }
29 .motion .motion-title{
30   border-bottom: 1px solid black;
31   padding: 10px;
32 }
33 .motion .motion-title .title-text{
34   font-size: 15pt;
35   font-weight: bold;
36 }
37 .motion .anchor {
38   text-decoration-line: none;
39   color: inherit;
40   margin-right: 5px;
41 }
42 .motion .motion-title .date {
43   position: relative;
44   right: 0px;
45   margin-right: 5px;
46 }
47 .motion p {
48   padding: 10px;
49 }
50 form {
51   margin-top:5px;
52   margin-bottom:5px;
53 }
54 </style>
55 </head>
56 <body>
57 <nav class="navbar navbar-expand-lg navbar-light bg-light">
58   <a class="navbar-brand" href="../">{{'Motion list'}}</a>
59   <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
60     <span class="navbar-toggler-icon"></span>
61   </button>
62    <div class="collapse navbar-collapse" id="navbarNavDropdown">
63     <ul class="navbar-nav">
64       <li class="nav-item">
65         <a class="nav-link" href="/">{{'Home'}}</a>
66       </li>
67 {%- if may_proxyadmin %}
68       <li class="nav-item">
69         <a class="nav-link" href="/proxy">{{'Proxy management'}}</a>
70       </li>
71 {%- endif %}
72       <li class="nav-item">
73         <a class="nav-link">{{'User'}}: {{g.user}}
74 {%- if g.proxies_given %}
75          <br/>proxy granted to: {{g.proxies_given}}
76 {%- endif %}
77 {%- if g.proxies_received %}
78          <br/>holds proxy of: {{g.proxies_received}}
79 {%- endif %}
80         </a>
81       </li>
82     </ul>
83   </div>
84 </nav>
85
86 {%- block body %}
87 {% endblock %}
88 <!-- Footer -->
89   <footer class="page-footer">
90     <div class="footer-copyright text-center py-3">
91       <p>� {{footer.version_year}} Copyright: <a href="{{footer.copyright_link}}">{{footer.copyright_name}}</a> 
92       | <a href="{{footer.imprint_link}}">Imprint</a> 
93       | <a href="{{footer.dataprotection_link}}">Data protection</a></p>
94     </div>
95   </footer>
96 </body>
97 </html>