You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							70 lines
						
					
					
						
							3.2 KiB
						
					
					
				
			
		
		
	
	
							70 lines
						
					
					
						
							3.2 KiB
						
					
					
				{% extends 'base.html' %} | 
						|
{% set active_page = none %} | 
						|
 | 
						|
 | 
						|
{% block title %}Registration Page{% endblock %} | 
						|
 | 
						|
{% block style %} | 
						|
 | 
						|
{% endblock style %} | 
						|
{% block content %} | 
						|
<section class="container-fluid" style="background-color: #eee;min-height:100%;position:relative;"> | 
						|
  <div class="container-fluid px-1 py-4"> | 
						|
    <div class="row d-flex justify-content-center align-items-center h-100"> | 
						|
      <div class="col-lg-12 col-xl-11"> | 
						|
        <div class="card text-black" style="border-radius: 25px;"> | 
						|
          <div class="card-body p-md-5"> | 
						|
            <div class="row justify-content-center"> | 
						|
              <div class="col-md-10 col-lg-6 col-xl-5 order-2 order-lg-1"> | 
						|
 | 
						|
                <p class="text-center h1 fw-bold mb-5 mx-1 mx-md-2 mt-4">註冊</p> | 
						|
                <form method="post"> | 
						|
                  {% with messages = get_flashed_messages(with_categories=true) %} | 
						|
                    {% if messages %} | 
						|
                      {% for category, message in messages %} | 
						|
                      <div class="alert alert-{{ category }} alert-dismissible fade show mx-3 mb-3 mb-lg-3" role="alert"> | 
						|
                        {{ message }} | 
						|
                        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> | 
						|
                      </div> | 
						|
                      {% endfor %} | 
						|
                    {% endif %} | 
						|
                  {% endwith %} | 
						|
                  <div class="mb-3 px-3 input-group-lg"> | 
						|
                    <label for="InputEmail1" class="form-label">Email address</label> | 
						|
                    <input type="email" class="form-control" id="InputEmail1" aria-describedby="emailHelp" name="username" required> | 
						|
                    <div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div> | 
						|
                  </div> | 
						|
                  <div class="mb-3 px-3 input-group-lg"> | 
						|
                    <label for="InputPassword1" class="form-label">Password</label> | 
						|
                    <input type="password" class="form-control" id="InputPassword1" name="password" required> | 
						|
                  </div> | 
						|
                  <div class="mb-3 px-3 input-group-lg"> | 
						|
                    <label for="InputPassword2" class="form-label">Repeat Yout Password</label> | 
						|
                    <input type="password" class="form-control" id="InputPassword2" name="rep-password" required> | 
						|
                  </div> | 
						|
                  <div class="d-flex justify-content-center mx-3 mb-4 mb-lg-4"> | 
						|
                    <div class="pt-2 flex-grow-1"> | 
						|
                      <a class="" href="{{ url_for('login') }}" style="color:rgb(0, 81, 255);">已有帳號?</a> | 
						|
                    </div> | 
						|
                     | 
						|
                    <button type="submit" class="btn btn-primary">送出</button> | 
						|
                  </div> | 
						|
                </form> | 
						|
                <!-- <hr class="mx-3"> --> | 
						|
 | 
						|
              </div> | 
						|
              <div class="col-md-10 col-lg-6 col-xl-7 d-flex align-items-center order-1 order-lg-2"> | 
						|
 | 
						|
                <img src="https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-registration/draw1.webp" | 
						|
                  class="img-fluid" alt="SINGUP IMAGE"> | 
						|
 | 
						|
              </div> | 
						|
            </div> | 
						|
          </div> | 
						|
        </div> | 
						|
      </div> | 
						|
    </div> | 
						|
  </div> | 
						|
</section> | 
						|
</div> | 
						|
{% endblock %} |