v0.0.10
+ Добавлена авторизация как отдельная страница + Небольшие исправления в JS при ответе от сервера
This commit is contained in:
		
							parent
							
								
									639118f781
								
							
						
					
					
						commit
						e74c0a1af0
					
				
					 11 changed files with 283 additions and 40 deletions
				
			
		
							
								
								
									
										26
									
								
								views/authorization.dt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								views/authorization.dt
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,26 @@
 | 
			
		|||
doctype html
 | 
			
		||||
head
 | 
			
		||||
    title #{serverInfo.name}: авторизация
 | 
			
		||||
    link(rel='icon', type='image/png', sizes='128x128', href='favicon.png')
 | 
			
		||||
    link(rel='stylesheet', type='text/css', href='jquery-ui.min.css')
 | 
			
		||||
    link(rel='stylesheet', type='text/css', href='authorization.css')
 | 
			
		||||
    script(src='jquery-3.7.0.min.js')
 | 
			
		||||
    script(src='jquery-ui.min.js')
 | 
			
		||||
    script(src='noticer.min.js')
 | 
			
		||||
    script(src='authorization.js')
 | 
			
		||||
body
 | 
			
		||||
    div.form
 | 
			
		||||
        div.logo
 | 
			
		||||
        div.title #{serverInfo.name}
 | 
			
		||||
        table
 | 
			
		||||
            tbody
 | 
			
		||||
                tr
 | 
			
		||||
                    td.label Логин:
 | 
			
		||||
                    td
 | 
			
		||||
                        input.input-focus#login(type='text')
 | 
			
		||||
                tr
 | 
			
		||||
                    td.label Пароль:
 | 
			
		||||
                    td
 | 
			
		||||
                        input.input-focus#password(type='password')
 | 
			
		||||
        div.div-button
 | 
			
		||||
            button#authorization Войти
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue