mynode/rootfs/standard/var/www/mynode/lndmanage.py
2022-02-09 23:50:58 -06:00

24 lines
576 B
Python

from flask import Blueprint, render_template, redirect, request, flash
from user_management import check_logged_in
from device_info import read_ui_settings
from systemctl_info import *
import os
import time
import subprocess
import os
mynode_lndmanage = Blueprint('mynode_lndmanage',__name__)
### Page functions
@mynode_lndmanage.route("/lndmanage")
def bos_page():
check_logged_in()
# Load page
templateData = {
"title": "myNode lndmanage",
"ui_settings": read_ui_settings(),
}
return render_template('lndmanage.html', **templateData)