This commit is contained in:
Chandika Nurdiansyah 2023-01-18 14:43:40 +07:00
parent 61cc3f2430
commit 3c8e0a3d9d
2 changed files with 14 additions and 5 deletions

View File

@ -1100,10 +1100,17 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
.td.cbi-section-actions { .td.cbi-section-actions {
text-align: right !important; text-align: right !important;
vertical-align: middle; vertical-align: middle;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 5px;
} }
.td.cbi-section-actions > * { .td.cbi-section-actions > * {
display: inline-flex; display: inline-flex;
} }
.td.cbi-section-actions > button {
display: block;
}
.td.cbi-section-actions > * > *, .td.cbi-section-actions > * > *,
.td.cbi-section-actions > * > form > * { .td.cbi-section-actions > * > form > * {
margin: 0 5px; margin: 0 5px;
@ -1308,9 +1315,11 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
width: auto; width: auto;
} }
.cbi-progressbar { .cbi-progressbar {
border-radius: 15px;
overflow: hidden;
position: relative; position: relative;
min-width: 170px; min-width: 170px;
height: 20px; height: 30px;
border: thin solid #999; border: thin solid #999;
background: #eee; background: #eee;
margin: 6px 0; margin: 6px 0;
@ -1323,14 +1332,14 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
} }
.cbi-progressbar::after { .cbi-progressbar::after {
font-family: monospace; font-family: monospace;
font-size: 1.3em; font-size: 1.2em;
font-weight: 700; font-weight: 700;
font-size-adjust: 0.38; font-size-adjust: 0.38;
line-height: normal; line-height: normal;
position: absolute; position: absolute;
top: 2px; top: 50%;
transform: translateY(-50%);
right: 0; right: 0;
bottom: 2px;
left: 0; left: 0;
overflow: hidden; overflow: hidden;
content: attr(title); content: attr(title);

View File

@ -59,7 +59,7 @@
</head> </head>
<body class="lang_<%=luci.i18n.context.lang%> <% if luci.dispatcher.context.authsession then %>logged-in<% end %> <% if not (path == "") then %>node-<%= path %><% else %>node-main-login<% end %>" data-page="<%= pcdata(path) %>"> <body class="lang_<%=luci.i18n.context.lang%> <% if luci.dispatcher.context.authsession then %>logged-in<% end %> <% if not (path == "") then %>node-<%= path %><% else %>node-main-login<% end %>" data-page="<%= pcdata(path) %>">
<header> <header>
<div class="navbar"> <div class="navbar active">
<div class="dropdown"> <div class="dropdown">
<a href="/cgi-bin/luci/admin/services/ttyd"><img src="<%=media%>/images/terminal.png" /></a> <a href="/cgi-bin/luci/admin/services/ttyd"><img src="<%=media%>/images/terminal.png" /></a>