mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
feature (admin): improve ux for admin
This commit is contained in:
parent
6729e607c9
commit
1c8c4c2f03
2 changed files with 32 additions and 28 deletions
|
|
@ -2,32 +2,36 @@
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
.component_page_about tr {
|
||||||
|
display: block;
|
||||||
|
background: white;
|
||||||
|
border: 2px solid #ebebec;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 5px;
|
||||||
|
margin: 15px 0 0 0;
|
||||||
|
padding: 10px 15px;
|
||||||
|
color: var(--light);
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
.component_page_about td {
|
||||||
|
display: block;
|
||||||
|
min-width: 100%;
|
||||||
|
}
|
||||||
|
.component_page_about td:first-of-type {
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color);
|
||||||
|
text-transform: capitalize;
|
||||||
|
font-size: 1.05rem;
|
||||||
|
border-bottom: 2px solid var(--border);
|
||||||
|
margin-bottom: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
.component_page_about .small {
|
.component_page_about .small {
|
||||||
|
display: block;
|
||||||
|
margin-left: 20px;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
padding: 0px 2px;
|
padding: 0px 2px;
|
||||||
}
|
}
|
||||||
.component_page_about a {
|
.component_page_admin .page_container .component_page_about a {
|
||||||
padding: 0 2px;
|
color: var(--ligh);
|
||||||
}
|
|
||||||
.component_page_about a:hover {
|
|
||||||
background: rgba(0, 0, 0, 0.05);
|
|
||||||
border-top-left-radius: 5px;
|
|
||||||
border-top-right-radius: 5px;
|
|
||||||
}
|
|
||||||
.component_page_about table {
|
|
||||||
border-spacing: 0px 20px;
|
|
||||||
}
|
|
||||||
.component_page_about td {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
.component_page_about td br {
|
|
||||||
content: "";
|
|
||||||
margin: 15px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.component_page_about td:first-of-type {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
.component_page_about td:first-of-type:after {
|
|
||||||
content: ": ";
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -75,13 +75,13 @@ func AboutHandler(ctx *App, res http.ResponseWriter, req *http.Request) {
|
||||||
<tr>
|
<tr>
|
||||||
<td> Plugins </td>
|
<td> Plugins </td>
|
||||||
<td>
|
<td>
|
||||||
STANDARD[<span class="small">{{ renderPlugin (index .Plugins 0) .CommitHash }}</span>]
|
STANDARD [<span class="small">{{ renderPlugin (index .Plugins 0) .CommitHash }}</span>]
|
||||||
<br/>
|
<br/>
|
||||||
APPS[<span class="small">{{ renderPlugin (index .Plugins 3) "" }}</span>]
|
APPS [<span class="small">{{ renderPlugin (index .Plugins 3) "" }}</span>]
|
||||||
<br/>
|
<br/>
|
||||||
ENTERPRISE[<span class="small">{{ renderPlugin (index .Plugins 1) "" }}</span>]
|
ENTERPRISE [<span class="small">{{ renderPlugin (index .Plugins 1) "" }}</span>]
|
||||||
<br/>
|
<br/>
|
||||||
CUSTOM[<span class="small">{{ renderPlugin (index .Plugins 2) "" }}</span>]
|
CUSTOM [<span class="small">{{ renderPlugin (index .Plugins 2) "" }}</span>]
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue