Allow customizing the WebUI page title and restore/fix the Stalwart favicon/logo

Hello,

I would like to suggest a small branding/customization improvement for the Stalwart WebUI.

At the moment, the browser tab title of the WebUI appears to be hardcoded as:

<title>Portal</title>

image

After browsing the WebUI repository, it seems this is defined directly in the index.html file.

It would be very useful to have a setting that allows administrators to customize this title, for example:

Index.html

<title>Stalwart Admin Console</title>

or a custom value such as:

<title>Mail Admin - example.com</title>

A possible configuration option could be something like:

[webui]
title = "Stalwart Admin Console"

Additionally, it would be nice if the Stalwart logo/favicon were properly used in the admin console. From what I can see, the logo appears to be referenced, but the favicon.svg file in the GitHub repository seems to be corrupted or not rendering correctly.


Result after downloading the SVG from the GitHub repository

So my suggestions are:

  • Allow administrators to customize the WebUI browser title instead of always using Portal, maybe generic title for Free License and custumize for Enterprise License.
  • Use a clearer default title, such as Stalwart Admin Console or Stalwart Portal.
  • Fix or replace the current favicon.svg if it is indeed corrupted.
  • Ensure the Stalwart logo/favicon is displayed correctly in the admin console browser tab.

Favicon reported in the Github Repository : The SVG favicon appears to be corrupted · Issue #14 · stalwartlabs/webui · GitHub

Favicon is fix

image