diff --git a/README.md b/README.md index 1dbf163..3d9409a 100644 --- a/README.md +++ b/README.md @@ -6,23 +6,36 @@ In the current setup, this repository is integrated into the main `mars_nwe` pro ## Screenshots -The screenshots below use anonymized demo data. Exact paths, usernames, printer names, and build placeholders may differ on a real installation. +The main menu is the normal entry point after login. It shows the available +configuration sections on the left and opens the selected explanation or editor +view on the right. -| Login | Service runtime page | -| --- | --- | -| ![SMArT login screen](doc/screenshots/login.png) | ![SMArT service runtime page](doc/screenshots/service-runtime.png) | +![SMArT main menu](doc/screenshots/main-menu.png) -| Main menu and advanced section | Volume import from local mount points | -| --- | --- | -| ![SMArT main menu with an advanced section opened](doc/screenshots/main-menu-advanced.png) | ![SMArT volume page with local mount point import](doc/screenshots/volumes-import.png) | +Additional UI examples: -| User editor | Print queue editor with CUPS helper | -| --- | --- | -| ![SMArT user editor](doc/screenshots/user-editor.png) | ![SMArT print queue editor with CUPS helper](doc/screenshots/print-queue-cups.png) | - -| Validation error page | -| --- | -| ![SMArT validation error page](doc/screenshots/validation-error.png) | + + + + + + + + + + + + + + + + + + + + + +
Login screen
Login
PAM-based login with SMArT session cookies.
Runtime information
Runtime information
Configured paths, service name and project link.
Volume import
Volume import
Detected host mountpoints can be imported as MARS_NWE volumes.
User editor
User editor
Optional Unix user mapping and bindery group membership.
Print queue CUPS integration
Print queues
CUPS printer selection can prefill the Unix print command.
SMArT settings
SMArT settings
Bindery server settings and server-name synchronization.
General settings
General settings
Core MARS_NWE options with synchronized bindery naming.
Advanced path settings
Advanced sections
Only the matching advanced section is displayed for the selected menu item.
Validation error
Validation errors
Invalid input is rejected with a focused error page and a back action.
Service control output
Service control
Start, stop, restart and status output for the configured MARS_NWE service.
## Project status and integration @@ -315,6 +328,24 @@ $nw_cert_file = '/etc/mars_nwe/server.crt'; $nw_key_file = '/etc/mars_nwe/server.key'; ``` +## Recent SMArT WebUI features + +The current WebUI includes several usability and safety improvements: + +- HTML login, session cookies and logout handling +- static asset serving before login, so the login page can load the SMArT logo +- service-control pages for start, stop, restart and status actions +- runtime information on the start page, including generated paths and service name +- import helpers for CUPS printers, IPX interfaces, Unix users and local mountpoints +- input validation pages for volumes, devices, print queues, users and groups +- stricter bindery object-name validation +- optional Unix user mapping for bindery users +- delete confirmation pages +- bindery command and bindery pipe logging +- success and error pages for bindery operations +- a `UNIX_USER` guard so existing users are not remapped unless requested +- configurable Perl log verbosity through `$smart_debug_level` + ## Build and installation notes This repository is built as part of the main `mars_nwe` build. The build system: diff --git a/doc/screenshots/main-menu-advanced.png b/doc/screenshots/main-menu-advanced.png index 42e0d6f..6deb922 100644 Binary files a/doc/screenshots/main-menu-advanced.png and b/doc/screenshots/main-menu-advanced.png differ diff --git a/doc/screenshots/print-queue-cups.png b/doc/screenshots/print-queue-cups.png index 853843c..94712ab 100644 Binary files a/doc/screenshots/print-queue-cups.png and b/doc/screenshots/print-queue-cups.png differ diff --git a/doc/screenshots/service-runtime.png b/doc/screenshots/service-runtime.png index 3d1f6ac..60295bc 100644 Binary files a/doc/screenshots/service-runtime.png and b/doc/screenshots/service-runtime.png differ diff --git a/doc/screenshots/user-editor.png b/doc/screenshots/user-editor.png index d43776e..9d3ebfb 100644 Binary files a/doc/screenshots/user-editor.png and b/doc/screenshots/user-editor.png differ diff --git a/doc/screenshots/validation-error.png b/doc/screenshots/validation-error.png index 41ad2e1..3a393c4 100644 Binary files a/doc/screenshots/validation-error.png and b/doc/screenshots/validation-error.png differ diff --git a/doc/screenshots/volumes-import.png b/doc/screenshots/volumes-import.png index 067e77a..b634e0e 100644 Binary files a/doc/screenshots/volumes-import.png and b/doc/screenshots/volumes-import.png differ