Goodbye tailwind, hello material lite
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from applets.webui import bp
|
||||
from flask import Flask, request, session, redirect, \
|
||||
url_for, render_template, flash, Blueprint
|
||||
|
||||
|
||||
@bp.route('/webui')
|
||||
@@ -9,7 +11,7 @@ def webui_index():
|
||||
"""
|
||||
return ("""
|
||||
<head>
|
||||
<script src="https://unpkg.com/htmx.org@1.9.11" integrity="sha384-0gxUXCCR8yv9FM2b+U3FDbsKthCI66oH5IA9fHppQq9DDMHuMauqq1ZHBpJxQ0J0" crossorigin="anonymous"></script>
|
||||
<script src="/static/htmx.min.js.gz crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<button hx-post="/clicked"
|
||||
hx-trigger="click"
|
||||
@@ -31,3 +33,17 @@ def webui_index():
|
||||
Welcome to System Installer Daemon POC <br />
|
||||
This is the WebUI Index
|
||||
""")
|
||||
|
||||
|
||||
@bp.route('/webui/welcome')
|
||||
def webui_welcome():
|
||||
"""
|
||||
Welcome screen for the webui.
|
||||
|
||||
It's job right now is to:
|
||||
|
||||
- Obtain the language
|
||||
- Check basic system eligibility
|
||||
"""
|
||||
return render_template('welcome.html')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user