rewrite frontend to be less fucked

This commit is contained in:
nora 2025-02-05 22:00:00 +01:00
parent 3012189906
commit cc4d90e748
13 changed files with 379 additions and 19 deletions

View file

@ -12,8 +12,7 @@
</style>
</head>
<body>
<h1>Build results for nightly-{{nightly}} target-{{target}} {{mode}}</h1>
<a href="/">Back</a>
<h1>Build results for nightly-{{nightly}} target {{target}} {{mode}}</h1>
<div style="margin-top: 20px" class="{{status}} build-indicator-big">
{{status}}
</div>

View file

@ -24,14 +24,16 @@ td {
writing-mode: sideways-lr;
}
.build-cell {
font-size: 2rem;
}
.build-info-a {
color: black;
text-decoration: none;
}
.build-cell {
padding-left: 5px;
padding-right: 5px;
height: 100%;
width: 100%;
padding: 5px;
}
.target-name-col {

View file

@ -143,7 +143,7 @@ const miriTable = new Table(
);
function fetchTargets() {
fetch("target-state")
fetch("full-mega-monster")
.then((body) => body.json())
.then((body) => {
const core = body.filter((info) => info.mode === "core");