mirror of https://github.com/nicolargo/glances.git
Remove now plugin in the left menu of the WebUI (in the make webui task)
This commit is contained in:
parent
0ed44f2c13
commit
b6865d8cff
2
Makefile
2
Makefile
|
|
@ -207,7 +207,7 @@ install: ## Open a Web Browser to the installation procedure
|
|||
webui webui%: DIR = glances/outputs/static/
|
||||
|
||||
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
|
||||
|
||||
webui-audit: ## Audit the Web UI
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
"folders",
|
||||
"raid",
|
||||
"smart",
|
||||
"sensors",
|
||||
"now"
|
||||
"sensors"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue