Add world logo and sort files

This commit is contained in:
hodasemi 2018-10-24 10:14:16 +02:00
parent b54db14a29
commit 9c421d0f32
6 changed files with 6 additions and 6 deletions

View file

@ -28,22 +28,22 @@
table#t01 { table#t01 {
width: 100%; width: 100%;
background-color: #f1f1c1; background-color: white;
border-spacing: 5px; border-spacing: 5px;
text-align: center; text-align: center;
} }
table#t01 tr:nth-child(even) { table#t01 tr:nth-child(even) {
background-color: #eee; background-color: lightblue;
} }
table#t01 tr:nth-child(odd) { table#t01 tr:nth-child(odd) {
background-color: #fff; background-color: lightgrey;
} }
table#t01 th { table#t01 th {
color: white; color: white;
background-color: grey; background-color: lightblue;
padding: 15px; padding: 15px;
} }

View file

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="css/reset.css" /> <link rel="stylesheet" type="text/css" media="screen" href="css/reset.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css" /> <link rel="stylesheet" type="text/css" media="screen" href="css/main.css" />
<script src="main.js"></script> <script src="js/table.js"></script>
</head> </head>
<body> <body>

View file

@ -14,7 +14,7 @@ function handleFile() {
processData(xmlhttp.responseText); processData(xmlhttp.responseText);
} }
}; };
xmlhttp.open("GET", "world_data_v1.csv", true); xmlhttp.open("GET", "resources/world_data_v1.csv", true);
xmlhttp.send(); xmlhttp.send();
} else { } else {
alert('FileReader are not supported in this browser.'); alert('FileReader are not supported in this browser.');

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB