diff --git a/src/applets/users/__pycache__/routes.cpython-312.pyc b/src/applets/users/__pycache__/routes.cpython-312.pyc index 4c06c18..f7ea782 100644 Binary files a/src/applets/users/__pycache__/routes.cpython-312.pyc and b/src/applets/users/__pycache__/routes.cpython-312.pyc differ diff --git a/src/applets/users/routes.py b/src/applets/users/routes.py index 3992633..e75cdea 100644 --- a/src/applets/users/routes.py +++ b/src/applets/users/routes.py @@ -2,7 +2,16 @@ from applets.software import bp from flask import Flask, request, session, redirect, \ url_for, render_template, flash, Blueprint # we use this neat little trick to get config data from the main app -from flask import current_ap +from flask import current_app + + +@bp.route('/users') +def users_root(): + """ + Users screen for the webui. + """ + string_dict = build_stringlist() + return render_template('users.html', string_dict=string_dict) def build_stringlist(): diff --git a/src/static/mem b/src/static/mem deleted file mode 100755 index 5c020c1..0000000 --- a/src/static/mem +++ /dev/null @@ -1,4 +0,0 @@ -mem() -{ - ps -eo rss,pid,euser,args:100 --sort %mem | grep -v grep | grep -i $@ | awk '{printf $1/1024 "MB"; $1=""; print }' -} diff --git a/src/system-installer-web-client b/src/system-installer-web-client index e772577..4079a55 100755 --- a/src/system-installer-web-client +++ b/src/system-installer-web-client @@ -3,6 +3,7 @@ import webview LOCATION = "http://10.10.99.22:8080/welcome" +#LOCATION = "http://localhost:8080/welcome" def on_closed(): """