Improving the Abyss Web Server Web console layout

 
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials
View previous topic :: View next topic  
Author Message
Horizon
-


Joined: 18 Feb 2022
Posts: 60

PostPosted: Mon Dec 09, 2024 12:29 pm    Post subject: Improving the Abyss Web Server Web console layout Reply with quote

Hello,
I created some time ago a CSS mod for Abyss Web Server where its layout gets improved & enlarged to account for longer texts, such as URLRewrite rules & the need for text wrapping.

This modification also adds text-wrapping for long texts that exceed the width of a table column, especially useful for URLRewrite.

It makes the Abyss Web Server UI much easier for working with Reverse-Proxy & URLRewrite rules, as you can see with below previews:

Hosts table:


Hostnames list:


Reverse-Proxy:


URLRewrite:


You can copy the CSS file here or download it on Pastebin (save it as 'console-mods.css', then put it in your Abyss Web Server's 'console' folder):
https://pastebin.com/TG76LwyD
Code:
/* Get wider and more comfortable columns in Hosts view */
div.wform_frame > div#_hosts_Pane > div.wform_item_name {
    text-align: center          !important;
    display:    table-row-group !important;
   
    width:      calc(100% - 1em - 5px) !important;
    max-width:  calc(100% - 1em - 5px) !important;
}

div.wform_frame > div#_hosts_Pane > div.wform_item_content,
div.wform_frame > div#_hosts_Pane > div.wform_item_content > span > div.wlist_frame > div.wlist_secondary_frame > table.wlist {
   
    width:      1100px !important;
    max-width:  1100px !important;
}

/* Get wider and more comfortable rows in URLRewrite */
table.wlist > thead > tr > td.wlist_item_content_head,
table.wlist > tbody > tr > td.wlist_item_content,
table.wlist > tfoot > tr > td.wlist_footer {
    width:          450px       !important;
    max-width:      450px       !important;
   
    overflow-wrap:  break-word  !important;
    white-space:    pre-wrap    !important;
}

div.wform_frame > div > div.wform_item_name {
    width:          100px       !important;
    max-width:      100px       !important;
   
    overflow-wrap:  break-word  !important;
    white-space:    pre-wrap    !important;
}

div.wform_frame > div > div.wform_item_name > label,
div.wform_frame > div > div.wform_item_name > label > a {
    /*
    display:        contents    !important;
    */
    text-align:     center      !important;
   
    display:        flex        !important;
    flex-direction: column      !important;
    align-items:    center      !important;

    padding:        0           !important;
}

/* Override console CSS to allow the CSS mods to work */
.wform_item_name, .wform_item_name_error {
    display:        flex        !important;
}


Afterwards you have to open the 'console.css' file in the same 'console' folder and put a new line at the top of it:
Code:
@import url("console-mods.css");


This way the Abyss Web Server console will always load the CSS modifications without the need for browser extensions.
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1327

PostPosted: Mon Dec 30, 2024 9:47 pm    Post subject: Re: Improving the Abyss Web Server Web console layout Reply with quote

Horizon,

Thank you for taking the time to publish and share your console changes.

Your work comes as a continuation for previous efforts that many users and customers put to customize the console using CSS and even by redesigning the icons.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group