1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-05-05 21:34:05 +02:00

Tweak website design and improve browser compatibility

This commit is contained in:
chylex 2023-02-07 23:36:10 +01:00
parent 125239b48d
commit 71a5babb73
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548
4 changed files with 15 additions and 7 deletions
Server/Phantom.Server.Web

View File

@ -13,7 +13,7 @@
<Column Width=" 90px; 19%" Class="text-end">Instances</Column>
<Column Width="145px; 21%" Class="text-end">Memory</Column>
<Column Width="180px; 8%">Version</Column>
<Column Width="315px">Identifier</Column>
<Column Width="320px">Identifier</Column>
<Column Width="100px; 8%" Class="text-center">Status</Column>
<Column Width="215px" Class="text-end">Last Ping</Column>
</tr>

View File

@ -18,11 +18,11 @@
<tr>
<Column Width="200px; 28%">Agent</Column>
<Column Width="200px; 28%">Name</Column>
<Column Width="120px; 11%">Version</Column>
<Column Width="130px; 11%">Version</Column>
<Column Width="110px; 8%" Class="text-center">Server Port</Column>
<Column Width="110px; 8%" Class="text-center">Rcon Port</Column>
<Column Width=" 85px; 8%" Class="text-end">Memory</Column>
<Column Width="315px">Identifier</Column>
<Column Width=" 90px; 8%" Class="text-end">Memory</Column>
<Column Width="320px">Identifier</Column>
<Column Width="200px; 9%">Status</Column>
<Column Width=" 75px">Actions</Column>
</tr>

View File

@ -19,7 +19,7 @@
<table class="table align-middle">
<thead>
<tr>
<Column Width="315px">Identifier</Column>
<Column Width="320px">Identifier</Column>
<Column Width="125px; 40%">Username</Column>
<Column Width="125px; 60%">Roles</Column>
@if (canEdit) {

View File

@ -45,6 +45,10 @@ code {
word-break: break-word;
}
.btn {
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
}
.table {
margin-top: 0.5rem;
}
@ -61,12 +65,16 @@ code {
height: 2.5rem;
}
.form-range.split-danger::-moz-range-track,
.form-range.split-danger::-webkit-slider-runnable-track {
.form-range.split-danger::-moz-range-track {
width: calc(100% - 1rem);
background: linear-gradient(to right, #dfd7ca 0%, #dfd7ca var(--range-split), #bf8282 var(--range-split), #bf8282 100%);
}
.form-range.split-danger::-webkit-slider-runnable-track {
/* centering fix does not work in Chrome */
background: linear-gradient(to right, #dfd7ca 0%, #dfd7ca var(--range-split), #bf8282 var(--range-split), #bf8282 100%);
}
.form-submit-errors {
width: 100%;
margin-top: 0.5rem;