Row layout for builds.html
This commit is contained in:
parent
0547a73096
commit
48a1d7236f
1 changed files with 10 additions and 0 deletions
|
|
@ -1,6 +1,15 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Runboat builds</title>
|
<title>Runboat builds</title>
|
||||||
|
<style>
|
||||||
|
.row {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
runboat-build {
|
||||||
|
flex: 0 0 15em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="builds"></div>
|
<div id="builds"></div>
|
||||||
|
|
@ -30,6 +39,7 @@
|
||||||
var rowElement = document.getElementById(rowId);
|
var rowElement = document.getElementById(rowId);
|
||||||
if (!rowElement) {
|
if (!rowElement) {
|
||||||
rowElement = document.createElement("div");
|
rowElement = document.createElement("div");
|
||||||
|
rowElement.class = "row";
|
||||||
rowElement.id = rowId;
|
rowElement.id = rowId;
|
||||||
document.getElementById("builds").appendChild(rowElement);
|
document.getElementById("builds").appendChild(rowElement);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue