Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jochen Bauer
spn-website
Commits
41118258
Commit
41118258
authored
May 02, 2018
by
nachtgold
Committed by
Hubert Denkmair
May 03, 2018
Browse files
signup style aligned with login
parent
cef95ad6
Changes
3
Hide whitespace changes
Inline
Side-by-side
core/static/core/styles.css
View file @
41118258
...
...
@@ -53,6 +53,10 @@ div.content {
padding
:
10px
;
}
div
.content
>
h2
{
margin-left
:
200px
;
}
div
.footer
{
text-align
:
center
;
position
:
fixed
;
...
...
@@ -117,7 +121,12 @@ table.snake-list {
height
:
320px
;
}
#login_form
div
.segment
{
#login_form
,
#signup_form
{
margin-left
:
200px
;
}
#login_form
div
.segment
,
#signup_form
div
.segment
{
background
:
none
;
width
:
350px
;
}
...
...
core/templates/signup.html
View file @
41118258
...
...
@@ -2,20 +2,24 @@
{% block content %}
<h2>
Sign up
</h2>
<form
method=
"post"
>
{% csrf_token %}
{% for field in form %}
<p>
{{ field.label_tag }}
<br>
{{ field }}
{% if field.help_text %}
<small
style=
"color: grey"
>
{{ field.help_text|safe }}
</small>
{% endif %}
{% for error in field.errors %}
<p
style=
"color: red"
>
{{ error }}
</p>
<form
method=
"post"
id=
"signup_form"
>
<div
class=
"ui inverted segment"
>
<div
class=
"ui inverted mini form"
>
{% csrf_token %}
{% for field in form %}
<div
class=
"fifteen wide field"
>
{{ field.label_tag }}
{{ field }}
{% if field.help_text %}
<small
style=
"color: grey"
>
{{ field.help_text|safe }}
</small>
{% endif %}
{% for error in field.errors %}
<p
style=
"color: red"
>
{{ error }}
</p>
{% endfor %}
</div>
{% endfor %}
</p
>
{% endfor %}
<
button
type=
"submit"
>
Sign up
</button
>
<button
type=
"submit"
class=
"ui small positive button"
>
Sign up
</button
>
</div>
<
/div
>
</form>
{% endblock %}
\ No newline at end of file
highscore/templates/highscore/table.html
View file @
41118258
...
...
@@ -8,7 +8,7 @@
{% block content %}
<
div
class=
"highscore-title"
>
Highscores
</
div
>
<
h2
>
Highscores
</
h2
>
<table
class=
"highscore-table ui celled selectable inverted table"
cellspacing=
"0"
>
<thead>
<tr>
...
...
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