Cosmetic
This commit is contained in:
parent
31a783cbf1
commit
3dc14ae57b
2 changed files with 41 additions and 0 deletions
|
@ -21,6 +21,12 @@ hr {
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
.center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.error {
|
||||||
|
color: darkred;
|
||||||
|
}
|
||||||
.content {
|
.content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -111,6 +117,7 @@ hr {
|
||||||
background-color: #8888FF80;
|
background-color: #8888FF80;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* For home */
|
/* For home */
|
||||||
|
|
||||||
.login-box {
|
.login-box {
|
||||||
|
@ -170,6 +177,17 @@ hr {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.token {
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.actions {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.resource {
|
.resource {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -187,6 +205,26 @@ hr {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.resource {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token-info {
|
||||||
|
margin: 0 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.key {
|
.key {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.token .key, .token .value {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
.token .value {
|
||||||
|
padding-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.msg {
|
||||||
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
|
@ -48,6 +48,9 @@ async function get_resource(id, token, authProvider) {
|
||||||
let vElem = document.createElement('div')
|
let vElem = document.createElement('div')
|
||||||
vElem.innerText = v
|
vElem.innerText = v
|
||||||
vElem.className = "value"
|
vElem.className = "value"
|
||||||
|
if (k == "sorry") {
|
||||||
|
vElem.classList.add("error")
|
||||||
|
}
|
||||||
r.appendChild(kElem)
|
r.appendChild(kElem)
|
||||||
r.appendChild(vElem)
|
r.appendChild(vElem)
|
||||||
rootElem.appendChild(r)
|
rootElem.appendChild(r)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue