Commit cf6c78e7 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Make username-password login visible

parent 6a539149
Pipeline #492 passed with stages
in 25 minutes and 34 seconds
......@@ -56,18 +56,16 @@
</div>
{{/if}}
{{else}}
<!-- form action="/login" method="post">
<div class="columns blogin">
<div class="column is-three-fifths"><input class="input is-small" type="text" name="username" autofocus placeholder="Benutzername" style="width:50%"><input class="input is-small" type="password" name="password" placeholder="Passwort" style="width:50%"></div>
<div class="column"><input class="button is-small is-success" type="submit" value="↪ &nbsp; Login" onclick="login();"></div>
</div>
</form -->
<form action="/clogin" method="post" autocomplete="off" class="columns blogin">
<!-- <div class=> -->
<div class="column is-three-fifths"><input class="input is-small" type="text" name="code" placeholder="Gruppencode oder Logincode" autofocus></div>
<div class="column"><input class="button is-small is-success" type="submit" value="↪ &nbsp; Login"></div>
<!-- </div> -->
</form>
<form action="/login" method="post" class="columns blogin">
<div class="column is-three-fifths"><input class="input is-small" type="text" name="username" autofocus placeholder="Benutzername" style="width:50%"><input class="input is-small" type="password" name="password" placeholder="Passwort" style="width:50%"></div>
<div class="column"><input class="button is-small is-success" type="submit" value="↪ &nbsp; Login" onclick="login();"></div>
</form>
{{#if self_url}}
{{#each oauth_links}}
<div class="columns blogin">
......
......@@ -10,23 +10,6 @@
</div>
<!-- - <div class="columns">
<div class="column">
<h2 class="title is-4">Login mit Benutzername und Passwort (nicht PMS-Account)</h2>
</div>
</div>
<form action="/login" method="post" class="columns" style="margin-bottom:50px;">
<div class="column is-one-fifth">
<input class="input" type="text" name="username" autofocus placeholder="Benutzername">
</div>
<div class="column is-one-fifth">
<input class="input" type="password" name="password" placeholder="Passwort">
</div>
<div class="column">
<input class="button is-success" type="submit" value="↪ &nbsp; Login" onclick="login();">
</div>
</form> -->
<div class="columns">
......@@ -45,6 +28,25 @@
</form>
<div class="columns">
<div class="column">
<h2 class="title is-4">Login mit Benutzername und Passwort (nicht PMS-Account)</h2>
</div>
</div>
<form action="/login" method="post" class="columns" style="margin-bottom:50px;">
<div class="column is-one-fifth">
<input class="input" type="text" name="username" autofocus placeholder="Benutzername">
</div>
<div class="column is-one-fifth">
<input class="input" type="password" name="password" placeholder="Passwort">
</div>
<div class="column">
<input class="button is-success" type="submit" value="↪ &nbsp; Login" onclick="login();">
</div>
</form>
{{#if self_url}}
<div class="columns">
<div class="column">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment