]> WPIA git - motion.git/blob - templates/base.html
936e1cb007fc6ac3ab11aff8a5690201a95143dc
[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 <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
7 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
8 <style type="text/css">
9 .form-inline .motion {
10   width: 100%;
11 }
12 .motion {
13   border: 1px solid black;
14   margin-top:5px;
15   margin-bottom:5px;
16 }
17 .motion .motion-title input.motion-title-input {
18   width: 66%;
19 }
20 .motion .motion-title .float {
21   float: right;
22 }
23 .motion .motion-title .motion-type {
24   margin: 5px;
25   float: right;
26 }
27 .motion textarea {
28   display: block;
29   min-width: 100%;
30 }
31 .motion .motion-title{
32   border-bottom: 1px solid black;
33   padding: 10px;
34 }
35 .motion .motion-title .title-text{
36   font-size: 15pt;
37   font-weight: bold;
38 }
39 .motion .anchor {
40   text-decoration-line: none;
41   color: inherit;
42   margin-right: 5px;
43 }
44 .motion .motion-title .date {
45   position: relative;
46   right: 0px;
47   margin-right: 5px;
48 }
49 .motion p {
50   padding: 10px;
51 }
52 td {
53   padding: 4px;
54 }
55 form {
56   padding-top: 4px;
57   padding-bottom: 4px;
58 }
59 </style>
60 </head>
61 <body>
62 <nav class="navbar navbar-expand-lg navbar-light bg-light">
63   <a class="navbar-brand" href="../">{{_('Motion list')}}</a>
64   <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
65     <span class="navbar-toggler-icon"></span>
66   </button>
67    <div class="collapse navbar-collapse" id="navbarNavDropdown">
68     <ul class="navbar-nav">
69       <li class="nav-item">
70         <a class="nav-link" href="/">{{_('Home')}}</a>
71       </li>
72 {%- if may_proxyadmin %}
73       <li class="nav-item">
74         <a class="nav-link" href="/proxy">{{_('Proxy management')}}</a>
75       </li>
76 {%- endif %}
77       <li class="nav-item">
78         <a class="nav-link">{{_('User')}}: {{g.user}}
79 {%- if g.proxies_given %}
80          <br/>{{_('proxy granted to')}}: {{g.proxies_given}}
81 {%- endif %}
82 {%- if g.proxies_received %}
83          <br/>{{_('holds proxy of')}}: {{g.proxies_received}}
84 {%- endif %}
85         </a>
86       </li>
87       <li class="nav-item dropdown">
88         <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
89           {{_('Language')}}
90         </a>
91         <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
92          {%- for k, v in languages.items() %}
93            <a class="dropdown-item" href="/language/{{k}}">{{v}}</a>
94          {%- endfor %}
95         </div>
96       </li>
97     </ul>
98   </div>
99 </nav>
100 {%- block body %}
101 {% endblock %}
102 <!-- Footer -->
103   <footer class="page-footer">
104     <div class="footer-copyright text-center py-3">
105       <p>&copy; {{footer.version_year}} {{_('Copyright')}}: <a href="{{footer.copyright_link}}">{{footer.copyright_name}}</a> 
106       | <a href="{{footer.imprint_link}}">{{_('Imprint')}}</a> 
107       | <a href="{{footer.dataprotection_link}}">{{_('Data protection')}}</a></p>
108     </div>
109   </footer>
110 </body>
111 </html>