diff --git a/src/app/static/stylesheet.css b/src/app/static/stylesheet.css index 9bb8a68..5fb7ea8 100644 --- a/src/app/static/stylesheet.css +++ b/src/app/static/stylesheet.css @@ -1,8 +1,9 @@ body { background-color: lightblue; - display: flex; /* or inline-flex */ + display: inline-flex; /* or inline-flex */ flex-direction: column; margin: 0; + width: 100%; } .title { @@ -44,6 +45,7 @@ img { } nav { + display: ; margin-bottom: 10px; } diff --git a/src/app/templates/register.html b/src/app/templates/register.html index 31acc0e..11d27c8 100644 --- a/src/app/templates/register.html +++ b/src/app/templates/register.html @@ -13,6 +13,7 @@ $def with (nav, register_form, message) $:nav

Register user!

+
$:register_form.render()
diff --git a/src/app/views/app.py b/src/app/views/app.py index 1261bd9..f5028a7 100644 --- a/src/app/views/app.py +++ b/src/app/views/app.py @@ -37,6 +37,9 @@ if web.config.get('_session') is None: else: session = web.config._session +# Set session timeout +web.config.session_parameters['timeout'] = 12345678910 + # Add session to global variables render._add_global(session, 'session')