This commit is contained in:
gauthiier
2015-07-10 01:41:59 +02:00
parent 70f10c8b30
commit 153d2265d8
104 changed files with 22581 additions and 3743 deletions
+4 -1
View File
@@ -22,6 +22,10 @@ body {
background-color: #eeeeee;
}
.card:hover {
background-color: #eeeeff;
}
.data {
margin-left: 0.5em;
}
@@ -32,7 +36,6 @@ body {
table {
width: 100%;
dborder: 1px solid red;
}
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -14,7 +14,7 @@ def emit_header():
def emit_name(name, date, time):
str_s = '<div class="name">' + name + '</div>\n'
str_s += '<div class="date">' + date + '</div>\n'
str_s += '<div class="time">' + time + '</div>\n'
str_s += '<div class="time">' + time + ' CEST</div>\n'
return str_s
def string_format_percentage(pct):
@@ -101,7 +101,7 @@ if __name__ == '__main__':
content = ""
content += emit_header()
for e in stats:
card = "<div class='card'>\n"
card = "<div class='card' onclick=\"location.href=img/scores/" + e['name'] + ".csv.svg;\">\n"
stats = e['stats']
card += parse_nbr(e['name']) + '<br>'
card += "\t\t\t" + emit_name(stats['host'], stats['date'], stats['time'])