1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00

Add toga-web demo server.

This commit is contained in:
Russell Keith-Magee
2022-04-19 14:38:07 +08:00
parent 7ce66b54ed
commit c60a28af18
12 changed files with 27278 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from flask import Flask
from toga_flask import TogaApp
from freedom import app as freedom
app = Flask(__name__)
app.add_url_rule('/', view_func=TogaApp.as_view("foo", app_module=freedom))
if __name__ == '__main__':
app.run(port=8081, debug=True)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
main.toga.window {
margin-top: 5em;
display: flex;
flex-direction: column;
}
div.toga.box {
display: flex;
}

View File

@@ -0,0 +1 @@
Wheels will go here.