Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
sindre
/
Beelance
Segui
1
Vota
0
Forka
0
Codice
Problemi
6
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
polish
https
jakobsn
6 anni fa
parent
f23e31dfaa
commit
5977e82edf
3 ha cambiato i file
con
7 aggiunte
e
1 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/app/static/stylesheet.css
+1
-0
src/app/templates/register.html
+3
-0
src/app/views/app.py
+ 3
- 1
src/app/static/stylesheet.css
Vedi File
@@ -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
Vedi File
@@ -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
Vedi File
@@ -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')
Write
Preview
Loading…
Annulla
Salva