From 729c929b7f3f492bca235361ec38b8ffb65122d2 Mon Sep 17 00:00:00 2001 From: gashapwn Date: Sun, 22 Nov 2020 07:42:56 +0000 Subject: [PATCH] dummy version of request form --- app.py | 35 +++++++++++++++++++++++++++-------- templates/req.html | 18 +++++++++++++++++- 2 files changed, 44 insertions(+), 9 deletions(-) diff --git a/app.py b/app.py index 9322e89..d815658 100644 --- a/app.py +++ b/app.py @@ -15,17 +15,36 @@ def home2(name): def success(name): return "welcome %s" % name +# this is a weird way to do this +# right? +def widg_fun(widg): + if(widg.w_type == "input"): + return "input id=id_%s name=%s type=text> +
{% for key, value in req_tab.items() %} - + {% endfor %} +
{{ key }}{{ value }}
{{ key }} + + {%if value.w_type != "choice" %} + <{{ widg_fun(value) }}> + {%elif value.w_type == "choice" %} + + {% endif %} +
+

+ +

A requested feature is to have to allow users to have a unicode username since unicode allows for more interesting aesthics
If you enter a unicode display name, the system will try to display your unicode name when possbile. It will also be your default in terminal prompt, chat and your tilde path