jakobsn 6 år sedan
förälder
incheckning
5977e82edf
3 ändrade filer med 7 tillägg och 1 borttagningar
  1. +3
    -1
      src/app/static/stylesheet.css
  2. +1
    -0
      src/app/templates/register.html
  3. +3
    -0
      src/app/views/app.py

+ 3
- 1
src/app/static/stylesheet.css Visa fil

@@ -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;
}



+ 1
- 0
src/app/templates/register.html Visa fil

@@ -13,6 +13,7 @@ $def with (nav, register_form, message)
$:nav

<h2>Register user!</h2>
<form method="POST">
$:register_form.render()
</form>


+ 3
- 0
src/app/views/app.py Visa fil

@@ -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')



Laddar…
Avbryt
Spara