reformat
This commit is contained in:
parent
8991675f50
commit
9b39bac8d7
11
web/main.css
11
web/main.css
@ -19,9 +19,6 @@ body {
|
|||||||
margin-right: 10%;
|
margin-right: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
td,
|
td,
|
||||||
th {
|
th {
|
||||||
@ -29,6 +26,14 @@ th {
|
|||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
}
|
}
|
||||||
|
@ -56,8 +56,9 @@ window.onload = () => {
|
|||||||
console.log(table);
|
console.log(table);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
let fmt = Intl.DateTimeFormat('de-DE', { dateStyle: 'medium', timeStyle: 'medium' });
|
||||||
|
|
||||||
let format_date = date => date.toLocaleDateString("de-DE") + ' ' + date.toLocaleTimeString("de-DE");
|
let format_date = date => fmt.format(date).replace(', ', ' ');
|
||||||
|
|
||||||
let print_table = () => {
|
let print_table = () => {
|
||||||
while(table_elem.children.length > 1) {
|
while(table_elem.children.length > 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user