This commit is contained in:
koksnuss 2020-04-23 01:21:26 +02:00
parent a80e8cf7fd
commit e77e0e3343
5 changed files with 20 additions and 7 deletions

View File

@ -102,17 +102,25 @@ td.year {
background-color: white;
}
td.year-finished {
td.year-complete {
background-color: green;
}
td.ec {
color: red;
}
td.check {
color: green;
}
/*table > tbody > tr:nth-of-type(odd) { background: white; }
table > tbody > tr:nth-of-type(even) { background: lightblue; }
table > tbody > tr > td:nth-of-type(5) { background: #ffff99; }
table > tbody > tr > td:nth-of-type(6) { background: #ffff99; }
table > tbody > tr > td:nth-of-type(7) { background: #ffff99; }*/
div.user {
div.found {
height:30px;
width:30px;
clip-path: polygon(100% 70%, 100% 100%, 70% 100%);

View File

@ -0,0 +1 @@
<td class="{{ coin.kms }} {{ coin.rare }} {{ coin.noexist }} {{ coin.brass }} {{ coin.ec }} {{ coin.check }}"><div class="{{ coin.found }} {{ coin.found_by }}">{% if coin.found %}x{% endif %}</div></td>

View File

@ -9,10 +9,7 @@
<th colspan="2">x €</th>
</tr>
</thead>
<tbody>{% for year in country.years %}
<tr>
<td class="year"><div>{{ year }}</div></td>{% for coin in country|coins:year %}
<td class="{{ coin }}"><div></div></td>{% endfor %}
</tr>{% endfor %}
<tbody>{% for stamp in country.stamps %}
{% show_stamp stamp %}{% endfor %}
</tbody>
</table>

View File

@ -0,0 +1,2 @@
{% for year in country.years %}
{% show_year year %}{% endfor %}

View File

@ -0,0 +1,5 @@
<tr>
<td class="year">
<div class="{{ year.complete }}">{{ year.short }}</div></td>{% for coin in year.coins %}
{% show_coin coin %}{% endfor %}
</tr>