[TASK] add header
This commit is contained in:
		| @@ -1,29 +1,24 @@ | ||||
| {% extends "base" %} | ||||
|  | ||||
| {% block content %} | ||||
|  | ||||
| {% if flash %} | ||||
|       {% if flash.0 == "success" %} | ||||
|         <div class="row"> | ||||
|           <div class="one-column p-1 text-white bg-green mb-3 light text-center"> | ||||
|             {{ flash.1 }} | ||||
|           </div> | ||||
|         </div> | ||||
|       {% endif %} | ||||
|       {% if flash.0 == "error" %} | ||||
|         <div class="row"> | ||||
|           <div class="one-column p-1 text-white bg-red mb-3 bold text-center"> | ||||
|             {{ flash.1 }} | ||||
|           </div> | ||||
|         </div> | ||||
|       {% endif %} | ||||
| {% endif %} | ||||
|  | ||||
|   <div class="w-full max-w-md space-y-8"> | ||||
|     <div> | ||||
|       <img class="mx-auto h-16 w-auto" src="https://rudernlinz.at/wp-content/uploads/2021/02/cropped-logo.png" alt="Your Company"> | ||||
|       <h1 class="mt-6 text-center text-3xl uppercase tracking-wide font-bold text-primary-900">Ruderassistent</h1> | ||||
|     </div> | ||||
|  | ||||
|     {% if flash %} | ||||
|       {% if flash.0 == "success" %} | ||||
|       <div class="bg-[#4ade80] text-white px-3 py-1 rounded-md text-center"> | ||||
|         {{ flash.1 }} | ||||
|       </div> | ||||
|       {% endif %} | ||||
|       {% if flash.0 == "error" %} | ||||
|       <div class="bg-[#f43f5e] text-white px-3 py-1 rounded-md text-center"> | ||||
|         {{ flash.1 }} | ||||
|       </div> | ||||
|       {% endif %} | ||||
|     {% endif %} | ||||
|     <form class="mt-8 space-y-6" method="post" action="/auth"> | ||||
|       <input type="hidden" name="remember" value="true"> | ||||
|       <div class="-space-y-px rounded-md shadow-sm"> | ||||
| @@ -49,6 +44,4 @@ | ||||
|       </div> | ||||
|     </form> | ||||
|   </div> | ||||
|  | ||||
|  | ||||
| {% endblock content %} | ||||
		Reference in New Issue
	
	Block a user
	 Marie Birner
					Marie Birner