mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 09:59:16 +00:00
24 lines
576 B
Python
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)
|
|
|