-
Notifications
You must be signed in to change notification settings - Fork 8
/
laskennan_tilanne.html
73 lines (62 loc) · 2.26 KB
/
laskennan_tilanne.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{% extends "tupa/base.html" %}
{% block title %}Tulokset sarjoittain{% endblock %}
{% block header %}
<meta http-equiv="refresh" content="60" http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tulokset sarjoittain</title>
<link href="kipa.css" rel="stylesheet" type="text/css" />
{% endblock header %}
{% block content %}
<body>
{% load kipatags %}
<h1>Laskennan tilanne {% now " j.n.Y G:i"%} </h1>
<table border="0" id="taulukko" cellpadding="2">
{% for rivi in taulukko %}
<tr valign="top">
{%for sarake in rivi %}
{% if forloop.first %}
<td width="50" fgcolor="#FFFFFF" bgcolor="#000000" ><font color="#FFFFFF">{{ sarake.1 }}</font></td>
{%else%}
{% ifequal sarake.0 "a" %}
<td width="100" class='aloittamatta'>{{sarake.1|alaviiva_pois}}</td>
{%else%}{% ifequal sarake.0 "o" %}
<td width="100" class='osittain'>{{sarake.1}}</td>
{%else%}{% ifequal sarake.0 "s" %}
<td width="62" class='syotetty'>{{sarake.1}}</td>
{%else%}{% ifequal sarake.0 "t" %}
<td width="100" class='tarkistettu'> {{sarake.1|alaviiva_pois}}</td>
{%else%}{% ifequal sarake.0 "v" %}
<td width="62" class='virhe'> {{sarake.1|alaviiva_pois}}</td>
{%else%}
<td width="62" >{{sarake.1}}</td>
{% endifequal %}
{% endifequal %}
{% endifequal %}
{% endifequal %}
{% endifequal %}
{% endif %}
{%endfor%}
</tr>
{%endfor%}
</table>
<br /><br />
<table width="150" border="0" cellpadding="1">
<tr>
<td width="150" class='aloittamatta'> aloittamatta</td>
</tr>
<tr>
<td class='osittain'> syötetty osittain</td>
</tr>
<tr>
<td class='syotetty'> syötetty</td>
</tr>
<tr>
<td class='tarkistettu'> tarkistettu</td>
</tr>
<tr>
<td class='virhe'> syöttövirhe</td>
</tr>
</table>
<p><br />
</p>
</body>
{% endblock %}