Spaces:
Sleeping
Sleeping
Update index.html
Browse files- index.html +23 -13
index.html
CHANGED
|
@@ -16,12 +16,11 @@
|
|
| 16 |
display: flex;
|
| 17 |
flex-direction: column;
|
| 18 |
padding: 1rem;
|
| 19 |
-
max-width: 100% !important;
|
| 20 |
}
|
| 21 |
.form-container {
|
| 22 |
flex: 0 0 auto;
|
| 23 |
margin-bottom: 1rem;
|
| 24 |
-
/* Keep form inputs from stretching too wide */
|
| 25 |
max-width: 1200px;
|
| 26 |
margin-left: auto;
|
| 27 |
margin-right: auto;
|
|
@@ -29,10 +28,10 @@
|
|
| 29 |
}
|
| 30 |
.iframe-container {
|
| 31 |
flex: 1 1 auto;
|
| 32 |
-
min-height: 0;
|
| 33 |
-
width: 100vw;
|
| 34 |
-
margin-left: calc(-1 * 1rem);
|
| 35 |
-
margin-right: calc(-1 * 1rem);
|
| 36 |
}
|
| 37 |
.error {
|
| 38 |
color: red;
|
|
@@ -44,6 +43,14 @@
|
|
| 44 |
border: none;
|
| 45 |
display: block;
|
| 46 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
</style>
|
| 48 |
</head>
|
| 49 |
<body>
|
|
@@ -51,13 +58,16 @@
|
|
| 51 |
<div class="form-container">
|
| 52 |
<form method="POST">
|
| 53 |
<div class="grid">
|
| 54 |
-
<
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
|
|
|
|
|
|
|
|
|
| 61 |
<input
|
| 62 |
type="text"
|
| 63 |
name="entity"
|
|
|
|
| 16 |
display: flex;
|
| 17 |
flex-direction: column;
|
| 18 |
padding: 1rem;
|
| 19 |
+
max-width: 100% !important;
|
| 20 |
}
|
| 21 |
.form-container {
|
| 22 |
flex: 0 0 auto;
|
| 23 |
margin-bottom: 1rem;
|
|
|
|
| 24 |
max-width: 1200px;
|
| 25 |
margin-left: auto;
|
| 26 |
margin-right: auto;
|
|
|
|
| 28 |
}
|
| 29 |
.iframe-container {
|
| 30 |
flex: 1 1 auto;
|
| 31 |
+
min-height: 0;
|
| 32 |
+
width: 100vw;
|
| 33 |
+
margin-left: calc(-1 * 1rem);
|
| 34 |
+
margin-right: calc(-1 * 1rem);
|
| 35 |
}
|
| 36 |
.error {
|
| 37 |
color: red;
|
|
|
|
| 43 |
border: none;
|
| 44 |
display: block;
|
| 45 |
}
|
| 46 |
+
.input-group {
|
| 47 |
+
display: flex;
|
| 48 |
+
align-items: center;
|
| 49 |
+
gap: 1rem;
|
| 50 |
+
}
|
| 51 |
+
.token-link {
|
| 52 |
+
white-space: nowrap;
|
| 53 |
+
}
|
| 54 |
</style>
|
| 55 |
</head>
|
| 56 |
<body>
|
|
|
|
| 58 |
<div class="form-container">
|
| 59 |
<form method="POST">
|
| 60 |
<div class="grid">
|
| 61 |
+
<div class="input-group">
|
| 62 |
+
<input
|
| 63 |
+
type="text"
|
| 64 |
+
name="token"
|
| 65 |
+
placeholder="WandB Token"
|
| 66 |
+
required
|
| 67 |
+
value="{{ token or '' }}"
|
| 68 |
+
>
|
| 69 |
+
<a href="https://wandb.ai/authorize" target="_blank" class="token-link">Get Token</a>
|
| 70 |
+
</div>
|
| 71 |
<input
|
| 72 |
type="text"
|
| 73 |
name="entity"
|