mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	new login screen
This commit is contained in:
		
							parent
							
								
									58af536dbf
								
							
						
					
					
						commit
						407605761f
					
				
					 2 changed files with 61 additions and 24 deletions
				
			
		|  | @ -9,24 +9,27 @@ | |||
| {% endblock style %} | ||||
| 
 | ||||
| {% block content %} | ||||
| <div class="page-header"> | ||||
|     <a class="" href="/"><h1>WebVirtCloud</h1></a> | ||||
| </div> | ||||
| <div class="col-12" role="main"> | ||||
|     {% if form.errors %} | ||||
|         <div class="alert alert-danger"> | ||||
|             <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button> | ||||
|             {% trans "Incorrect username or password." %} | ||||
|         </div> | ||||
|     {% endif %} | ||||
|     <form class="form-signin" method="post" role="form" aria-label="Login form">{% csrf_token %} | ||||
|         <h2 class="form-signin-heading">{% trans "Sign In" %}</h2> | ||||
|         <input type="text" class="form-control" name="username" placeholder="{% trans "User" %}" autocapitalize="none" autocorrect="off" autofocus> | ||||
|         <input type="password" class="form-control" name="password" placeholder="{% trans "Password" %}"> | ||||
|         <input type="hidden" name="next" value="{{ next }}"> | ||||
|         <div class="d-grid"> | ||||
|             <button class="btn btn-lg btn-success" type="submit">{% trans "Sign In" %}</button> | ||||
|         </div> | ||||
|     </form> | ||||
| <div class="login-box"> | ||||
|     <div class="page-header"> | ||||
|         <a class="" href="/"><h1>WebVirtCloud</h1></a> | ||||
|     </div> | ||||
|     <div class="col-12" role="main"> | ||||
|         {% if form.errors %} | ||||
|             <div class="alert alert-danger"> | ||||
|                 <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button> | ||||
|                 {% trans "Incorrect username or password." %} | ||||
|             </div> | ||||
|         {% endif %} | ||||
|         <form class="form-signin" method="post" role="form" aria-label="Login form">{% csrf_token %} | ||||
|             <h2 class="form-signin-heading">{% trans "Sign In" %}</h2> | ||||
|             <input type="text" class="form-control" name="username" placeholder="{% trans "User" %}" autocapitalize="none" autocorrect="off" autofocus> | ||||
|             <input type="password" class="form-control" name="password" placeholder="{% trans "Password" %}"> | ||||
|             <input type="hidden" name="next" value="{{ next }}"> | ||||
|             <div class="d-grid"> | ||||
|                 <button class="btn btn-lg btn-success" type="submit">{% trans "Sign In" %}</button> | ||||
|             </div> | ||||
|         </form> | ||||
|     </div> | ||||
| </div> | ||||
| 
 | ||||
| {% endblock %} | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue