Catch up with uncommitted changes
This commit is contained in:
Binary file not shown.
@@ -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():
|
||||
|
||||
@@ -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 }'
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
import webview
|
||||
|
||||
LOCATION = "http://10.10.99.22:8080/welcome"
|
||||
#LOCATION = "http://localhost:8080/welcome"
|
||||
|
||||
def on_closed():
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user