mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Reformat login page with logo in top left
This commit is contained in:
		
							parent
							
								
									d71bc89c9d
								
							
						
					
					
						commit
						9713e94aed
					
				| @ -1,5 +1,12 @@ | ||||
| <template> | ||||
|   <div id="page-wrapper" class="w-full h-screen"> | ||||
|     <div class="absolute inset-0 px-6 py-3"> | ||||
|       <div class="flex items-center"> | ||||
|         <img src="~static/icon.svg" alt="Audiobookshelf Logo" class="w-10 min-w-10 h-10" /> | ||||
|         <h1 class="text-xl ml-4 hidden lg:block hover:underline">audiobookshelf</h1> | ||||
|       </div> | ||||
|     </div> | ||||
| 
 | ||||
|     <div class="w-full flex h-full items-center justify-center"> | ||||
|       <div v-if="criticalError" class="w-full max-w-md rounded border border-error border-opacity-25 bg-error bg-opacity-10 p-4"> | ||||
|         <p class="text-center text-lg font-semibold">{{ $strings.MessageServerCouldNotBeReached }}</p> | ||||
| @ -23,11 +30,11 @@ | ||||
|           </div> | ||||
|         </form> | ||||
|       </div> | ||||
|       <div v-else-if="isInit" class="w-full max-w-md px-8 pb-8 pt-4 -mt-40"> | ||||
|         <div class="flex justify-center mb-4"><img src="~static/icon.svg" :alt="$strings.ButtonHome" class="w-32 min-w-32 h-32" /></div> | ||||
|         <p class="text-3xl text-white text-center mb-4">{{ $strings.HeaderLogin }}</p> | ||||
| 
 | ||||
|       <div v-else-if="isInit" class="w-full max-w-md px-8 pb-8 pt-4 lg:-mt-40"> | ||||
|         <div class="bg-bg rounded-md shadow-lg border border-white border-opacity-5 p-4 mb-8"> | ||||
|           <p class="text-2xl font-semibold text-center text-white mb-4">{{ $strings.HeaderLogin }}</p> | ||||
| 
 | ||||
|           <div class="w-full h-px bg-white bg-opacity-10 my-4" /> | ||||
| 
 | ||||
|           <p v-if="loginCustomMessage" class="py-2 default-style mb-2" v-html="loginCustomMessage"></p> | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user