소스 검색

polish

https
jakobsn 6 년 전
부모
커밋
5977e82edf
3개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  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 파일 보기

@@ -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 파일 보기

@@ -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 파일 보기

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



불러오는 중...
취소
저장