diff --git a/app.py b/app.py index 05b8c57..7fd6e27 100644 --- a/app.py +++ b/app.py @@ -24,7 +24,7 @@ def main(): if db.get_user_bytoken(auth_token) is None: return redirect("/login") machines_all = db.get_machines() - return render_template('index.html', ssh_port=config.webssh_port, machines=machines_all.machines, timezone=config.timezone) + return render_template('index.html', ssh_port=config.webssh_port, machines=machines_all.machines) @app.route('/login') @@ -33,7 +33,7 @@ def login(): if auth_token != "" or auth_token is not None: if db.get_user_bytoken(auth_token) is not None: machines_all = db.get_machines() - return render_template('index.html', ssh_port=config.webssh_port, machines=machines_all.machines, timezone=config.timezone) + return render_template('index.html', ssh_port=config.webssh_port, machines=machines_all.machines) return render_template('login.html') diff --git a/templates/index.html b/templates/index.html index 713eccf..99ebae6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -64,7 +64,7 @@ Nazwa maszyny(token) Obraz - Czas uruchomienia ({{ timezone }}) + Czas uruchomienia (UTC) IP uVPN IP lokalne