Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Küppers, Dorothee
oos_2020_todo
Commits
4c223288
Commit
4c223288
authored
Jul 06, 2020
by
dorothee.kueppers
Browse files
Merge remote-tracking branch 'origin/master'
parents
8d846147
570bf646
Changes
4
Show whitespace changes
Inline
Side-by-side
db.sqlite3
View file @
4c223288
No preview for this file type
oos_2020_todo/settings.py
View file @
4c223288
...
...
@@ -151,8 +151,7 @@ EMAIL_HOST_USER: 'feierabend-todo@gmx.de'
EMAIL_HOST_PASSWORD
:
'oos_2020_todo'
EMAIL_USE_TLS
=
True
# Activate Django-Heroku.
django_heroku
.
settings
(
locals
())
del
DATABASES
[
'default'
][
'OPTIONS'
][
'sslmode'
]
\ No newline at end of file
#del DATABASES['default']['OPTIONS']['sslmode']
\ No newline at end of file
templates/todo/login.html
View file @
4c223288
...
...
@@ -86,6 +86,7 @@
</div>
<div
class=
"d-flex justify-content-center form_container"
>
<form
method=
"POST"
action=
""
>
{% csrf_token %}
<div
class=
"input-group mb-3"
>
<div
class=
"input-group-append"
>
<span
class=
"input-group-text"
><i
class=
"fas fa-user"
></i></span>
...
...
templates/todo/register.html
View file @
4c223288
...
...
@@ -76,6 +76,7 @@
<div
class=
"d-flex justify-content-center form_container"
>
<form
method=
"POST"
action=
""
>
{% csrf_token %}
<div
class=
"input-group mb-3"
>
<div
class=
"input-group-append"
>
<span
class=
"input-group-text"
><i
class=
"fas fa-user"
></i></span>
...
...
@@ -118,13 +119,12 @@
</div>
</div>
<script>
//Query All input fields
var
form_fields
=
document
.
getElementsByTagName
(
'
input
'
)
form_fields
[
0
].
placeholder
=
'
Username..
'
;
form_fields
[
1
].
placeholder
=
'
Email..
'
;
form_fields
[
2
].
placeholder
=
'
Passwort eingeben...
'
;
form_fields
[
3
].
placeholder
=
'
Nochmal eingeben..
'
;
form_fields
[
1
].
placeholder
=
'
Username..
'
;
form_fields
[
2
].
placeholder
=
'
Email..
'
;
form_fields
[
3
].
placeholder
=
'
Passwort eingeben...
'
;
form_fields
[
4
].
placeholder
=
'
Nochmal eingeben..
'
;
for
(
var
field
in
form_fields
){
form_fields
[
field
].
className
+=
'
form-control
'
...
...
Write
Preview
Markdown
is supported
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