]> WPIA git - motion.git/blob - templates/base.html
b777e335276ffbafb7a61a39469555e3132c4fb6
[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 td {
51   padding: 4px;
52 }
53 form {
54   padding-top: 4px;
55   padding-bottom: 4px;
56 }
57 </style>
58 </head>
59 <body>
60 <nav class="navbar navbar-expand-lg navbar-light bg-light">
61   <a class="navbar-brand" href="../">{{_('Motion list')}}</a>
62   <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
63     <span class="navbar-toggler-icon"></span>
64   </button>
65    <div class="collapse navbar-collapse" id="navbarNavDropdown">
66     <ul class="navbar-nav">
67       <li class="nav-item">
68         <a class="nav-link" href="/">{{_('Home')}}</a>
69       </li>
70 {%- if may_proxyadmin %}
71       <li class="nav-item">
72         <a class="nav-link" href="/proxy">{{_('Proxy management')}}</a>
73       </li>
74 {%- endif %}
75       <li class="nav-item">
76         <a class="nav-link">{{_('User')}}: {{g.user}}
77 {%- if g.proxies_given %}
78          <br/>{{_('proxy granted to')}}: {{g.proxies_given}}
79 {%- endif %}
80 {%- if g.proxies_received %}
81          <br/>{{_('holds proxy of')}}: {{g.proxies_received}}
82 {%- endif %}
83         </a>
84       </li>
85     </ul>
86   </div>
87 </nav>
88 {%- block body %}
89 {% endblock %}
90 <!-- Footer -->
91   <footer class="page-footer">
92     <div class="footer-copyright text-center py-3">
93       <p>&copy; {{footer.version_year}} {{_('Copyright')}}: <a href="{{footer.copyright_link}}">{{footer.copyright_name}}</a> 
94       | <a href="{{footer.imprint_link}}">{{_('Imprint')}}</a> 
95       | <a href="{{footer.dataprotection_link}}">{{_('Data protection')}}</a></p>
96     </div>
97   </footer>
98 </body>
99 </html>