Skip to content

Commit

Permalink
Tweak results page; add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
inthar-raven committed Aug 13, 2024
1 parent 765f81a commit 8c723e3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ thead th {
}

.data tr:nth-child(even) {
background-color: hsl(22, 100%, 36%);
background-color: rgb(20%, 10%, 30%);
}

table.clickable tr.selected {
Expand Down
Binary file added static/favicon.ico
Binary file not shown.
3 changes: 2 additions & 1 deletion static/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/static/basic.css">
<link rel="stylesheet" href="/static/basic.css">
<link id="favicon" rel="icon" href="/static/favicon.ico">
</head>
<body>
<div class="normal">
Expand Down
16 changes: 10 additions & 6 deletions static/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<link rel="stylesheet" href="/static/basic.css" />
<link id="favicon" rel="icon" href="/static/favicon.ico">
</head>
<body>
<div class="normal">
Expand Down Expand Up @@ -29,42 +30,45 @@
<table>
<tr>
<td>
Scales
<div
style="
overflow-y: auto;
overflow-x: hidden;
overflow-x: auto;
vertical-align: top;
height: 420px;
width: 200px;
"
>
<table class="data" id="table-scales">Scales</table>
<table class="data" id="table-scales"></table>
</div>
</td>
<td>
JI tunings
<div
style="
overflow-y: auto;
overflow-x: hidden;
overflow-x: auto;
vertical-align: top;
height: 420px;
width: 200px;
"
>
<table class="data" id="table-ji-tunings">JI tunings</table>
<table class="data" id="table-ji-tunings"></table>
</div>
</td>
<td>
edo tunings
<div
style="
overflow-y: auto;
overflow-x: hidden;
overflow-x: auto;
vertical-align: top;
height: 420px;
width: 200px;
"
>
<table class="data" id="table-ed-tunings">edo tunings</table>
<table class="data" id="table-ed-tunings"></table>
</div>
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions static/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ if (sigQuery) {
} else if (response["status"] === 400) {
element.textContent = "Server error 400: Invalid input";
} else if (response["status"] === 504) {
element.textContent = `Server error 504:<br/>Computation timed out after ${await response.text()} (timeout is 6 seconds)`;
element.innerHTML = `Server error 504:<br/>Computation timed out after ${await response.text()} (timeout is 6 seconds)`;
} else {
element.textContent = `Server error ${response["status"]}`;
}
Expand Down Expand Up @@ -968,7 +968,7 @@ if (sigQuery) {
} else if (response["status"] === 400) {
element.textContent = "Server error 400: Invalid input";
} else if (response["status"] === 504) {
element.textContent = `Server error 504:<br/>Computation timed out after ${await response.text()} (timeout is 6 seconds)`;
element.innerHTML = `Server error 504:<br/>Computation timed out after ${await response.text()} (timeout is 6 seconds)`;
} else {
element.textContent = `Server error ${response["status"]}`;
}
Expand Down

0 comments on commit 8c723e3

Please sign in to comment.