mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-04 09:57:36 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
---
 | 
						|
layout: example
 | 
						|
title: Signin Template
 | 
						|
group: material-design
 | 
						|
---
 | 
						|
 | 
						|
<!-- Custom styles for this template -->
 | 
						|
<link href="signin.css" rel="stylesheet">
 | 
						|
 | 
						|
<div class="container">
 | 
						|
 | 
						|
  <form class="form-signin m-x-auto">
 | 
						|
    <h2>Please sign in</h2>
 | 
						|
    <div class="form-group">
 | 
						|
      <label for="inputEmail" class="mdb-label-floating">Email address</label>
 | 
						|
      <input type="email" id="inputEmail" class="form-control" required autofocus>
 | 
						|
    </div>
 | 
						|
    <div class="form-group">
 | 
						|
      <label for="inputPassword" class="mdb-label-floating">Password</label>
 | 
						|
      <input type="password" id="inputPassword" class="form-control" required>
 | 
						|
      <span class="mdb-help">Use a combination of letters, symbols, and numbers</span>
 | 
						|
    </div>
 | 
						|
    <div class="checkbox">
 | 
						|
      <label>
 | 
						|
        <input type="checkbox" value="remember-me"> Remember me
 | 
						|
      </label>
 | 
						|
    </div>
 | 
						|
    <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
 | 
						|
  </form>
 | 
						|
 | 
						|
</div>
 | 
						|
 | 
						|
 | 
						|
 | 
						|
<script>
 | 
						|
 | 
						|
  /*
 | 
						|
  $(function() { 
 | 
						|
    $('#inputEmail').focus()
 | 
						|
  })
 | 
						|
  */
 | 
						|
 | 
						|
  // jquery not loaded yet due to the nature of this jekyll page rendering setup so this is more complicated than normally necessary!
 | 
						|
  document.addEventListener("DOMContentLoaded", function(event) { 
 | 
						|
    setTimeout(function(){
 | 
						|
      // hopefully by now jquery is initialized
 | 
						|
      $('#inputEmail').focus()
 | 
						|
    }, 1);
 | 
						|
  })
 | 
						|
</script>
 |