Remove now plugin in the left menu of the WebUI (in the make webui task)

This commit is contained in:
nicolargo 2024-12-25 09:35:08 +01:00
parent 0ed44f2c13
commit b6865d8cff
3 changed files with 3 additions and 4 deletions

View File

@ -207,7 +207,7 @@ install: ## Open a Web Browser to the installation procedure
webui webui%: DIR = glances/outputs/static/ webui webui%: DIR = glances/outputs/static/
webui: ## Build the Web UI webui: ## Build the Web UI
$(PYTHON) -c 'import json; from glances.outputs.glances_curses import _GlancesCurses; print(json.dumps({ "leftMenu": _GlancesCurses._left_sidebar }, indent=4))' > ./glances/outputs/static/js/uiconfig.json $(PYTHON) -c 'import json; from glances.outputs.glances_curses import _GlancesCurses; print(json.dumps({ "leftMenu": [p for p in _GlancesCurses._left_sidebar if p != "now"]}, indent=4))' > ./glances/outputs/static/js/uiconfig.json
cd $(DIR) && npm ci && npm run build cd $(DIR) && npm ci && npm run build
webui-audit: ## Audit the Web UI webui-audit: ## Audit the Web UI

View File

@ -10,7 +10,6 @@
"folders", "folders",
"raid", "raid",
"smart", "smart",
"sensors", "sensors"
"now"
] ]
} }

File diff suppressed because one or more lines are too long