53 Commits

Author SHA1 Message Date
shamoon
19c25713c4 Run pre-commit hooks over existing codebase
Co-Authored-By: Ben Phelps <ben@phelps.io>
2023-10-18 09:49:33 -07:00
Isidro Osoria
b8eda91005
Fix: subdirectory deployment (#2205) 2023-10-18 08:49:42 -07:00
shamoon
6483b10eba Check for empty resources disk data
Closes #2056
2023-09-24 08:31:15 -07:00
TheRolf
b39c79bea1
Custom JS and CSS (#1950)
* First commit for custom styles and JS

* Adjusted classes

* Added ids and classes for services and bookmarks

* Apply suggestions from code review

* Remove mime dependency

* Update settings.json

* Detect custom css / js changes, no refresh

* Added preload to custom scripts and styles so they can load earlier

* Added data attribute name for bookmarks too

* Update [path].js

* code style, revert some pointer changes

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-09-10 14:36:54 -07:00
shamoon
206e5034c5 Include default resource refresh rate 2023-07-30 22:22:30 -07:00
Mega-Volti
454d8d03c2 Add custom refresh rate setting to resources
Simplify resources refresh variable, enforce minimum

Add custom refresh rate to uptime

Add custom refresh rate to memory

Add custom refresh rate to disk

Add custom refresh rate to cputemp

Add custom refresh rate to CPU
2023-07-26 21:54:00 -07:00
Denis Papec
6f750dd83c
Further improvements to simplify information widgets
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-12 01:15:30 +01:00
Denis Papec
cd5162e39c
Refactored information widgets, improve widget-boxed style
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-12 01:15:19 +01:00
Denis Papec
c5b6dcc1e0
Add optional boxed styling and error component to information widgets
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-12 01:15:09 +01:00
shamoon
6b2930ab8d
Revert "Added optional boxed styling for information widgets and refactored information widgets" 2023-06-10 23:30:44 -07:00
Denis Papec
a55fe939cb
Further improvements to simplify information widgets
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-05 23:18:18 +01:00
Denis Papec
d4fd923be5
Refactored information widgets, improve widget-boxed style
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-03 03:01:21 +01:00
Denis Papec
c79d45f91e
Add optional boxed styling and error component to information widgets
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-03 02:14:38 +01:00
shamoon
2fbe4e5f24 Update cputemp.jsx 2023-04-04 17:05:22 -07:00
shamoon
2829f0b649 Update memory.jsx 2023-04-03 23:22:28 -07:00
shamoon
f3ec238a2c Fix glances cpu temp detection & fahrenheit conversion 2023-04-03 21:49:28 -07:00
shamoon
872237167d Uptime usage bar 2023-03-31 10:37:31 -07:00
shamoon
a90f178ee0 Better handle multi-core temp 2023-03-31 08:44:27 -07:00
shamoon
a2aab6451c lint 2023-03-30 14:40:24 -07:00
shamoon
1e64cf02cd Add temp usage bar, fix disk percentage 2023-03-30 14:36:40 -07:00
shamoon
b51af4377f Add uptime to resources widget 2023-03-29 14:35:48 -07:00
shamoon
f46addf20a Add cputemp to resources widget 2023-03-29 14:35:48 -07:00
shamoon
d4a3ba84e9 Convert resources widget to systeminformation dependency
Update resources.js
2023-03-29 14:35:48 -07:00
shamoon
69fcd3f0c8 Add padding to values in resources widget
Closes #1110
2023-03-15 10:27:01 -07:00
Michael Shamoon
0afc1b96f1 CPU / memory / disk usage bars start from 0
Closes #737
2022-12-28 16:21:04 -08:00
Michael Shamoon
4c70bff952 Show memory up to 1 decimal place 2022-11-28 17:35:04 -08:00
Ben Phelps
e56dccc7f1 new logo and styling tweaks 2022-10-08 16:04:24 +03:00
Juan Manuel Bennàssar Carretero
1249724f8a Fix resources CPU label... 2022-10-03 15:47:46 +02:00
Ben Phelps
bb5721c473 ui polish 2022-09-28 02:32:39 +03:00
Ben Phelps
5f0c1ec70a tweak styles 2022-09-26 16:56:20 +03:00
Ben Phelps
8bc240b934 refactor i18n to be server side 2022-09-25 19:43:00 +03:00
Ben Phelps
79e5ff2fea fix linting 2022-09-14 09:23:21 +03:00
Ben Phelps
340b138962 Add expanded view for resource widgets 2022-09-12 21:13:57 +03:00
Ben Phelps
7ae0ba31cb remove backdrop-blur until it can be made opt-in 2022-09-12 21:13:37 +03:00
Ben Phelps
ffbb1f5f0b tweak widget layouts for mobile 2022-09-11 21:02:33 +03:00
Ben Phelps
fb9e03b31d attempt to fix layout shift on resource widgets 2022-09-11 14:28:12 +03:00
Ben Phelps
31ccb9c933 fix no disk case 2022-09-11 14:21:16 +03:00
Ben Phelps
6e01a743df support array of disks, for disk resource widget 2022-09-11 14:13:58 +03:00
Ben Phelps
ed65c89516 blur backdrops for better background image support 2022-09-11 13:46:01 +03:00
Ben Phelps
7b523501ad fix linting 2022-09-09 07:10:33 +03:00
Ben Phelps
0c8bbdf02b background images, document title 2022-09-09 06:45:43 +03:00
Ben Phelps
0f2f552e87 normalize resource widget styling 2022-09-08 20:17:39 +03:00
Ben Phelps
c08d4b7b9c implement i18n 2022-09-08 11:48:16 +03:00
Ben Phelps
81e3b0bd1e cleanup resource widget design 2022-09-07 17:17:01 +03:00
Ben Phelps
f74e8b9d32 linting and cleanup 2022-09-07 16:53:24 +03:00
Ben Phelps
8f001ad88a tweak mobile layouts for widgets 2022-09-03 12:40:04 +03:00
aidenpwnz
6291a5422a FIX: overflows 2022-09-01 19:13:51 +02:00
Ben Phelps
688caa02c5 space elements via the parent, remove margins 2022-08-27 11:03:42 +03:00
Ben Phelps
086c767ed6 pad string to a fixed length to stop shifting 2022-08-27 11:03:12 +03:00
Ben Phelps
b61ec9836e refactor information widgets 2022-08-27 00:55:13 +03:00