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
bwinf
medal
Commits
ebb89c17
Commit
ebb89c17
authored
Jun 12, 2019
by
Robert Czechowski
Browse files
Template 'jwinf': Disable password login, switch to contest 2 for testing
parent
a45de77c
Pipeline
#135
passed with stages
in 8 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
templates/jwinf/index.hbs
View file @
ebb89c17
...
...
@@ -39,14 +39,14 @@
<div
class=
"column"
></div>
</div>
{{else}}
<form
action=
"login"
method=
"post"
>
<
!--
form action="login" method="post">
<div class="columns blogin">
<div class="column is-two-fifths"><input class="input is-small" type="text" name="username" autofocus placeholder="Benutzername"></div>
<div class="column is-two-fifths"><input class="input is-small" type="password" name="password" placeholder="Passwort"></div>
<div class="column"><input class="button is-small is-success" type="submit" value="↪ Login" onclick="login();"></div>
</div>
</form>
<form
action=
"clogin"
method=
"post"
>
<form action="clogin" method="post"
--
>
<div
class=
"columns blogin"
>
<div
class=
"column is-four-fifths"
><input
class=
"input is-small"
type=
"text"
name=
"code"
placeholder=
"Gruppencode / Teilnahmecode"
></div>
<div
class=
"column"
><input
class=
"button is-small is-success"
type=
"submit"
value=
"↪ Login"
></div>
...
...
@@ -57,7 +57,7 @@
<div
class=
"columns blogin"
>
<div
class=
"column is-two-fifths"
></div>
<div
class=
"column"
>
<a
class=
"button is-small is-info"
href=
"
{{
this
.
2
}}{{
..
/
self_url
}}
/oauth/
{{
this
.
0
}}
"
>
{{
this
.
1
}}
</a>
<a
class=
"button is-small is-info"
href=
"
{{
this
.
2
}}{{
..
/
self_url
}}
/oauth/
{{
this
.
0
}}
"
style=
"float:right;"
>
{{
this
.
1
}}
</a>
</div>
</div>
{{/
each
}}
...
...
@@ -89,7 +89,7 @@
</a>
</div>
<div
class=
"column is-4 is-offset-0"
>
<a
href=
"/contest/
1
"
>
<a
href=
"/contest/
2
"
>
<div
class=
"notification"
style=
"background-color:#e5f0f8"
>
<h3
class=
"title is-4"
>
Jugendwettbewerb Informatik
</h3>
<h4
class=
"subtitle is-5"
>
Probewettbewerb
</h4>
...
...
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