Commit Graph

61 Commits

Author SHA1 Message Date
Sergey Krashevich 27b04ed9d8 style(links, add, index, info, probe, log, main, styles): update styles and improve layout - refactor button and input styles for consistency across pages - enhance responsive design for better usability on mobile devices - adjust spacing and margins for a cleaner look - unify color scheme and hover effects for links and buttons - remove unused font imports to optimize loading performance 2026-03-11 02:12:52 +03:00
Sergey Krashevich 002070991c Merge remote-tracking branch 'origin/251221-webui-redisign' into beta
# Conflicts:
#	www/index.html
#	www/links.html
#	www/main.js
2026-03-11 00:02:12 +03:00
Sergey Krashevich 072cdd7c44 Merge remote-tracking branch 'origin/260201-readonly' into beta
# Conflicts:
#	README.md
#	www/index.html
2026-03-10 23:58:57 +03:00
Sergey Krashevich 7748346b1f fix(index.html): respect 12-hour format 2026-02-14 07:26:53 +03:00
Sergey Krashevich 39febb67b6 feat(index.html): add time history for system info graph
- introduce timeHistory array to track timestamps
- implement formatClock function for time formatting
- create renderXAxisLabels function for x-axis labels
2026-02-13 15:47:08 +03:00
Sergey Krashevich 8d329fea2e feat(index.html): implement system info update handling
- add timer for periodic updates of system information
- enhance renderInfo function to handle unsupported usage
- improve updateInfo function to manage historical data updates
2026-02-13 15:34:40 +03:00
Sergey Krashevich cfc9c86a66 fix(index.html): replace hash symbol with block character in graph - change the character used for bars from '#' to '█' for better visual representation 2026-02-13 15:13:04 +03:00
Sergey Krashevich 8a083d6f53 feat(index.html): enhance system information display
- add ASCII graph rendering for CPU and memory usage
- implement history tracking for better visualization
- introduce error handling for data fetching

chore(main.js): define system info update interval
- set a common refresh interval for system info updates
2026-02-13 15:11:22 +03:00
Sergey Krashevich ab80450b66 Expose process PID in API and UI
Include the process PID in the API info payload and surface it in the frontend. apiHandler now adds app.Info["pid"] = os.Getpid(); openapi.yaml documents the new pid property as an integer with an example; www/index.html is updated to show pid alongside version and config. This aids debugging and identifying the running process.
2026-02-13 11:12:00 +03:00
Sergey Krashevich 1b06558140 feat(styles): add external stylesheet for consistent theming and layout 2026-02-04 06:04:05 +03:00
Sergey Krashevich e37da9a056 style: update theme toggle styles to remove borders and animations 2026-02-04 05:28:12 +03:00
Sergey Krashevich c0a2e04ad0 feat(ui): add info and probe pages for detailed stream analysis 2026-02-04 05:15:33 +03:00
Sergey Krashevich ab4955f8fc webui: fix header on mobiles 2026-02-03 13:53:49 +03:00
Sergey Krashevich 0c91ca7113 webui: fix streams table 2026-02-03 13:25:49 +03:00
Sergey Krashevich c019924763 webui: navigation bar improve 2026-02-03 13:20:09 +03:00
Sergey Krashevich 3b33ffe2e2 webui: link to docs 2026-02-03 13:18:58 +03:00
Sergey Krashevich 430dfc1c31 style: remove transition properties from index.html and main.js 2026-02-03 10:30:03 +03:00
Sergey Krashevich fe5736905e feat: redesign web UI with theme toggle and improved styling 2026-02-03 09:51:09 +03:00
Sergey Krashevich cc453dd9ed feat: add read-only mode to API and UI, disable write actions 2026-02-01 04:13:43 +03:00
Gergely Szell 2523a5ac38 Fix link to per-stream net/node graphs 2025-11-18 09:12:38 +01:00
Alex X 1fe602679e Update WebUI design 2025-11-15 21:08:00 +03:00
Alex X 734393d638 Add streaming network visualisation 2024-06-16 06:36:24 +03:00
Sergey Krashevich 0cb013a7fd Refactor probe link placement in UI
Moved the 'probe' link from the global templates array to individual
stream status columns for improved clarity and accessibility. This
change enhances the interface by contextualizing the 'probe' option,
making it directly accessible alongside each stream's online status and
info link, thereby streamlining the user experience and emphasizing the
function's importance on a per-stream basis. This adjustment follows
usability feedback indicating that users prefer immediate access to
stream diagnostics.
2024-05-15 12:41:30 +03:00
Alex X 75020d4df7 Add probe link to WebUI 2024-05-15 10:36:29 +03:00
Alex X 9776e09ca7 Code refactoring after #1099 2024-05-13 18:22:35 +03:00
Sergey Krashevich e71ed5e7eb feat(icons): add favicon and apple-touch-icon links across all pages
Added favicon, apple-touch-icon, and related meta tags to all HTML pages to ensure consistent branding and improve user experience on various platforms.
2024-05-09 06:30:14 +03:00
Alex X 8d6aabce7a Code refactoring after #1063 2024-04-27 11:40:59 +03:00
Sergey Krashevich 8516f825e1 feat(web-ui): add confirmation dialog before deleting streams 2024-04-26 16:05:56 +03:00
Sergey Krashevich 484d401021 Merge remote-tracking branch 'upstream/master' into dark-mode 2024-04-20 13:14:48 +03:00
Alex X 166287ce1b Rename constant back to old name 2024-04-20 11:57:48 +03:00
Sergey Krashevich 5cf343cb69 feat(autoreload): change interval from 5 seconds to 1 second 2024-04-18 02:56:32 +03:00
Sergey Krashevich de7326375d feat(index.html): optimize stream list update and preserve checkbox states 2024-04-18 02:55:31 +03:00
Sergey Krashevich 936e84f6e0 feat(index.html): implement auto-reload functionality every 5 seconds 2024-04-18 02:52:54 +03:00
Sergey Krashevich 51e20497ac fix(styles): implement flex layout for body element 2024-04-09 09:32:59 +03:00
Sergey Krashevich 31398a7e6b feat(dark-mode): implement dark mode and centralize CSS
Implemented a dark mode feature for the website, including a toggle button in the navigation bar that allows users to switch between light and dark themes. To support this feature, centralized common CSS styles (such as body, table, and button stylings) into main.js to ensure consistent application across all HTML pages. This change improves user experience by providing a visually comfortable alternative for low-light environments and centralizes styling rules for easier maintenance.

- Added dark mode styles for body, table, buttons, and navigation elements in main.js.
- Introduced a toggle mechanism in the navigation bar to switch between light and dark modes.
- Utilized JavaScript to detect system theme preference (`prefers-color-scheme`) and persist user's theme choice using localStorage.
- Removed duplicate and scattered CSS rules from individual HTML files (add.html, index.html, links.html, log.html) and centralized them in main.js to reduce redundancy and facilitate easier updates in the future.

This update enhances accessibility and user preference compliance by allowing users to select their desired theme while simplifying CSS management across the website.
2024-03-22 18:15:52 +03:00
Alex X 3b3d5b033a Add sanitize from XSS to WebUI 2024-01-11 14:13:52 +03:00
Alexey Khit 39cc4610e3 Add ESLinter and fix JS lint problems 2023-07-08 09:30:02 +03:00
Alexey Khit fd3b3c9bf1 Replace MP4 stream mode to HLS mode 2023-07-06 15:02:39 +03:00
Alexey Khit 4f97e119ac Update selectall checkbox on index page 2023-06-16 15:18:22 +03:00
Vipas-ana 11201790d2 Update index.html
Don't add blank "src" because of the checked "selectall" box.
2023-06-07 10:04:00 -04:00
Alex X ae99c1da03 Merge pull request #273 from skrashevich/fix-urlencoding-in-delete-request
Fix double url-encoding in streams DELETE request
2023-03-26 11:15:51 +03:00
Alexey Khit 2d5a0e4822 Update webrtc section in the links.html page 2023-03-20 06:16:57 +03:00
Alexey Khit 43840576ea Add selectall checkbox 2023-03-19 17:17:05 +03:00
Alexey Khit bd79b24db3 Add "add" html page 2023-03-19 17:17:05 +03:00
Sergey Krashevich eca311717a Update index.html 2023-02-27 02:02:32 +03:00
Alexey Khit 4a633cd9b5 Move stream useful links to separate page 2023-01-30 23:02:06 +03:00
Alexey Khit 8628c48db8 Add no-cache for all GET API requests 2023-01-18 10:01:00 +03:00
Alexey Khit dcb457235c Rewrite stream info API 2023-01-15 23:51:20 +03:00
Alexey Khit 8218cda149 Add version, config_path to web UI and fix RTSP link 2023-01-15 09:57:15 +03:00
Alexey Khit 440c7bd6e1 Recover link to 2-way audio on Web UI 2022-12-06 12:15:22 +03:00