Commit 15e761dc authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

Merge branch 'templates' into 'testing'

admin field, global css Login-clean

See merge request !45
parents 2b58afca b0e9dff4
Pipeline #1281 passed with stage
in 1 second
{% extends "@core/base.twig" %}
{% block preload %}
<link rel="stylesheet" type="text/css" href="/css/Login-Form-Clean.css">
{% endblock %}
{% block postload %}
<script src="{{ asset('js/loginuserpass.js', 'core') }}"></script>
{% endblock %}
......@@ -20,8 +16,8 @@
<form method="post">
<h2 class="sr-only">Login Form</h2>
<div class="illustration"><img src="/img/M4_LAB_LOGO.png" width="130"></div>
{%- if 'admin' in app.request.query.get("AuthState") -%}
<div class="form-group"><input id="username" class="form-control" type="email" name="username" placeholder="E-Mail-Adresse"></div>
{%- if 'admin' in attribute(queryParams, "AuthState") -%}
<div class="form-group"><input id="username" class="form-control" type="text" name="username" placeholder="Administrator"></div>
{%- else -%}
<div class="form-group"><input id="username" class="form-control" type="email" name="username" placeholder="E-Mail-Adresse"></div>
{%- endif -%}
......
......@@ -8,6 +8,7 @@
<link rel="stylesheet" href="{{ asset("css/stylesheet.css") }}">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/m4lab.css">
<link rel="stylesheet" href="/css/Login-Form-Clean.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
<link rel="icon" href="{{ asset("icons/favicon.ico") }}">
{% if isRTL %}
......
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