diff --git a/coinmanager/coinc/static/coinc/styles.css b/coinmanager/coinc/static/coinc/styles.css index 67053d3..671243a 100644 --- a/coinmanager/coinc/static/coinc/styles.css +++ b/coinmanager/coinc/static/coinc/styles.css @@ -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%); diff --git a/coinmanager/coinc/templates/coinc/coin.html b/coinmanager/coinc/templates/coinc/coin.html new file mode 100644 index 0000000..3489fea --- /dev/null +++ b/coinmanager/coinc/templates/coinc/coin.html @@ -0,0 +1 @@ +
{% if coin.found %}x{% endif %}
diff --git a/coinmanager/coinc/templates/coinc/country.html b/coinmanager/coinc/templates/coinc/country.html index 56d37de..68a661b 100644 --- a/coinmanager/coinc/templates/coinc/country.html +++ b/coinmanager/coinc/templates/coinc/country.html @@ -9,10 +9,7 @@ x € - {% for year in country.years %} - -
{{ year }}
{% for coin in country|coins:year %} -
{% endfor %} - {% endfor %} + {% for stamp in country.stamps %} + {% show_stamp stamp %}{% endfor %} diff --git a/coinmanager/coinc/templates/coinc/stamp.html b/coinmanager/coinc/templates/coinc/stamp.html new file mode 100644 index 0000000..1c40e58 --- /dev/null +++ b/coinmanager/coinc/templates/coinc/stamp.html @@ -0,0 +1,2 @@ +{% for year in country.years %} +{% show_year year %}{% endfor %} diff --git a/coinmanager/coinc/templates/coinc/year.html b/coinmanager/coinc/templates/coinc/year.html new file mode 100644 index 0000000..3c856ad --- /dev/null +++ b/coinmanager/coinc/templates/coinc/year.html @@ -0,0 +1,5 @@ + + +
{{ year.short }}
{% for coin in year.coins %} + {% show_coin coin %}{% endfor %} +