forked from Ruderverein-Donau-Linz/rowt
		
	[TASK] improve user management ux
This commit is contained in:
		@@ -4,28 +4,29 @@
 | 
				
			|||||||
    <div class="max-w-screen-lg w-full">
 | 
					    <div class="max-w-screen-lg w-full">
 | 
				
			||||||
        <h1 class="h1">Users</h1>
 | 
					        <h1 class="h1">Users</h1>
 | 
				
			||||||
        {% if allowed_to_edit %}
 | 
					        {% if allowed_to_edit %}
 | 
				
			||||||
 | 
					            <details class="mt-5 bg-gray-200 dark:bg-primary-600 p-3 rounded-md">
 | 
				
			||||||
 | 
					                <summary class="px-3 cursor-pointer text-md font-bold text-primary-950">Neue Person hinzufügen</summary>
 | 
				
			||||||
                <form action="/admin/user/new"
 | 
					                <form action="/admin/user/new"
 | 
				
			||||||
		  onsubmit="return confirm('Willst du wirklich einen neuen Benutzer anlegen?');"
 | 
							  onsubmit="return confirm('Willst du wirklich einen neuen Benutzer anlegen?');"
 | 
				
			||||||
                  method="post"
 | 
					                  method="post"
 | 
				
			||||||
                  class="mt-4 bg-primary-900 rounded-md text-white px-3 pb-3 pt-2 sm:flex items-end justify-between">
 | 
					                  class="flex mt-4 rounded-md sm:flex items-end justify-between">
 | 
				
			||||||
                <div class="w-full">
 | 
					                <div class="w-full">
 | 
				
			||||||
                    <h2 class="text-md font-bold mb-2 uppercase tracking-wide">Neuen User hinzufügen</h2>
 | 
					 | 
				
			||||||
                    <div class="grid md:grid-cols-3">
 | 
					 | 
				
			||||||
                    <div>
 | 
					                    <div>
 | 
				
			||||||
                        <label for="name" class="sr-only">Name</label>
 | 
					                        <label for="name" class="sr-only">Name</label>
 | 
				
			||||||
                        <input type="text"
 | 
					                        <input type="text"
 | 
				
			||||||
                                name="name"
 | 
					                                name="name"
 | 
				
			||||||
                                   class="relative block rounded-md border-0 py-1.5 px-2 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6 mb-2 md:mb-0"
 | 
					                                class="input rounded-md w-100"
 | 
				
			||||||
                                placeholder="Name" />
 | 
					                                placeholder="Name" />
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
                </div>
 | 
					                <div class="text-right ml-3">
 | 
				
			||||||
                <div class="text-right">
 | 
					 | 
				
			||||||
                    <input value="Hinzufügen"
 | 
					                    <input value="Hinzufügen"
 | 
				
			||||||
                           type="submit"
 | 
					                           type="submit"
 | 
				
			||||||
                           class="w-28 mt-2 sm:mt-0 rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer" />
 | 
					                           class="w-28 mt-2 sm:mt-0 rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer" />
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </form>
 | 
					            </form>
 | 
				
			||||||
 | 
					            </details>
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
        {% endif %}
 | 
					        {% endif %}
 | 
				
			||||||
        <!-- START filterBar -->
 | 
					        <!-- START filterBar -->
 | 
				
			||||||
        <div class="search-wrapper flex">
 | 
					        <div class="search-wrapper flex">
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user