Add some previously uncommitted stuff
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
from applets.welcome import bp
|
||||
from flask import Flask, request, session, redirect, \
|
||||
url_for, render_template, flash, Blueprint
|
||||
import dmm.lsblk as lsblk
|
||||
|
||||
|
||||
@bp.route('/welcome',methods=['GET', 'POST', 'PUT'])
|
||||
@@ -7,8 +10,10 @@ def welcome_index():
|
||||
The page you'd get if you access the root of
|
||||
this app in a browser.
|
||||
"""
|
||||
return ("Welcome to System Installer Daemon POC <br />"
|
||||
"This is the Welcome Index")
|
||||
blkid = lsblk.list_scsi_devices()
|
||||
return render_template('welcome.html', blkid=blkid)
|
||||
#return ("Welcome to System Installer Daemon POC <br />"
|
||||
# "This is the Welcome Index")
|
||||
|
||||
|
||||
@bp.route('/welcome2')
|
||||
|
||||
Reference in New Issue
Block a user