Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladislav Rykov
THSO.server
Commits
b3de5f00
Commit
b3de5f00
authored
Apr 09, 2020
by
Vladislav Rykov
Browse files
signup layout fixed
parent
bb27521a
Changes
2
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
b3de5f00
...
@@ -89,14 +89,10 @@ def app():
...
@@ -89,14 +89,10 @@ def app():
ah
=
ad
.
ApplicationDao
()
ah
=
ad
.
ApplicationDao
()
if
request
.
method
==
'GET'
:
if
request
.
method
==
'GET'
:
dh
=
dd
.
DeviceDao
()
dh
=
dd
.
DeviceDao
()
appkey
=
None
if
'appkey'
in
session
:
session
[
'appkey'
]
=
request
.
args
.
get
(
'appkey'
)
appkey
=
session
[
'appkey'
]
else
:
appkey
=
request
.
args
.
get
(
'appkey'
)
session
[
'appkey'
]
=
request
.
args
.
get
(
'appkey'
)
app
=
ah
.
get
(
appkey
)
app
=
ah
.
get
(
session
[
'
appkey
'
]
)
devs
=
dh
.
get_list
(
app
[
1
][
1
])
devs
=
dh
.
get_list
(
app
[
1
][
1
])
print
(
'devs : '
,
devs
)
print
(
'devs : '
,
devs
)
...
...
templates/signup.html
View file @
b3de5f00
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{% block content %}
{% block content %}
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset3"
>
<div
class=
"col-md-6 col-md-offset
-
3"
>
<form
action=
"signup"
method=
"post"
>
<form
action=
"signup"
method=
"post"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
Username:
</label><br>
<label>
Username:
</label><br>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment