chiark / gitweb /
changelog: document further make-release changes
[otter.git] / templates / session.tera
1 {% import "macros" as m %}{# -*- HTML -*- -#}
2 <!-- Copyright 2020u Ian Jackson
3      SPDX-License-Identifier: AGPL-3.0-or-later
4      There is NO WARRANTY. -->
5 {{ m::header() }}
6 <style>
7   body {
8     min-height: 100vw;
9   }
10   div[class=uos] { display: flex; flex-wrap: wrap; }
11   div[class|=uokey] {
12     outline: 1px solid #000;
13     margin: 1px;
14     padding-left: 5px;
15     padding-right: 6.5px;
16     align-self: start;
17   }
18   table[id=log] {
19     width: 100%;
20   }
21   td[class=logts] {
22     padding-left: 5px;
23     text-align: right;
24   }
25   div[class=uokey-r] {
26     align-self: end;
27   }
28   div[id=infopane] {
29     height: 100px;
30   }
31   .uos-mid {
32     flex-grow: 1;
33   }
34   div[id=player_list_columns] {
35     columns: 3;
36   }
37 </style>
38 <div class="upper">
39 {{ m::nick() }}
40 |
41 {{ m::wresting() }}
42 |
43 {{ m::status() }}
44 |
45 <a href="/l?{{ ptoken }}">switch to landscape view</a> |
46 {% if links != "" -%}
47 <span id="links">{{ links }} |</span>
48 {% endif -%}
49 {{ m::zoom() }}
50 {{ m::errors() }}
51
52 {{ m::space() }}
53 <p>{{ m::infopane() }}
54
55 <p>
56   <div id="logscroll" style="overflow-y: scroll; height: 200px;">
57     <table id="log">
58       {% for ent in log %}
59       <tr><td class="logmsg">{{ ent.logent.logent.html | safe }}</td><td class="logts">{{ent.when}}</td></tr>
60       {%- endfor %}
61     </table>
62   </div>
63 </div>
64 {{ m::footer() }}