mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 23:20:27 +00:00
607caa1a2d
Moved all the logic out of the template into a separate endpoint. This makes it easy to extend to also support images from different sources like LDAP/SAML/OIDC. Session-based caching is hard to do, so to allow time-based caching in the browser, the url needs to be unique for every user by using a query parameter. Replaced the default/fallback user image with a new one. It is based on the old one, but does not need css to be visible. And removed said css. Gravatar has now its own setting named `gravatar_enabled`, which is disabled by default.
47 lines
678 B
CSS
47 lines
678 B
CSS
.length-break {
|
|
word-break: break-all !important;
|
|
width: 70% !important;
|
|
}
|
|
|
|
table td {
|
|
font-family:'Roboto Mono' !important;
|
|
}
|
|
|
|
/*Fit default macbook screen*/
|
|
.small-box .icon {
|
|
font-size: 70px !important;
|
|
}
|
|
|
|
.btn {
|
|
padding: 5px 4px !important;
|
|
}
|
|
|
|
/* Pretty JSON */
|
|
.json-pre {
|
|
background-color: ghostwhite;
|
|
border: 1px solid silver;
|
|
padding: 10px 20px;
|
|
margin: 20px;
|
|
}
|
|
.json-key {
|
|
color: brown;
|
|
}
|
|
.json-value {
|
|
color: navy;
|
|
}
|
|
.json-string {
|
|
color: olive;
|
|
}
|
|
|
|
.user-footer {
|
|
background-color: #222d32 !important;
|
|
}
|
|
|
|
.ms-container {
|
|
background-size: 20px 20px;
|
|
background-position: center;
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
} |