|  | @@ -6,79 +6,83 @@
 | 
											
												
													
														|  |  {% block content %}
 |  |  {% block content %}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -<div class="row justify-content-center">
 |  | 
 | 
											
												
													
														|  | -    <div class="col-lg-6">
 |  | 
 | 
											
												
													
														|  | -        {% if success %}
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -        <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
 |  | 
 | 
											
												
													
														|  | -            <symbol id="check-circle-fill" fill="currentColor" viewBox="0 0 16 16">
 |  | 
 | 
											
												
													
														|  | -                <path
 |  | 
 | 
											
												
													
														|  | -                    d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" />
 |  | 
 | 
											
												
													
														|  | -            </symbol>
 |  | 
 | 
											
												
													
														|  | -        </svg>
 |  | 
 | 
											
												
													
														|  | -        <div class="alert alert-success d-flex align-items-center alert-dismissible" role="alert">
 |  | 
 | 
											
												
													
														|  | -            <svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Success:">
 |  | 
 | 
											
												
													
														|  | -                <use xlink:href="#check-circle-fill" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +<div class="container-login">
 | 
											
												
													
														|  | 
 |  | +    <img class="img-wave" src="static/img/wave.png" alt="">
 | 
											
												
													
														|  | 
 |  | +    <div class="row-img">
 | 
											
												
													
														|  | 
 |  | +        <img src="static/img/undraw_video_upload_3d4u.svg" alt="">
 | 
											
												
													
														|  | 
 |  | +    </div>
 | 
											
												
													
														|  | 
 |  | +    <div class="row-login">
 | 
											
												
													
														|  | 
 |  | +        <div class="login-content">
 | 
											
												
													
														|  | 
 |  | +            {% if success %}
 | 
											
												
													
														|  | 
 |  | +            <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
 | 
											
												
													
														|  | 
 |  | +                <symbol id="check-circle-fill" fill="currentColor" viewBox="0 0 16 16">
 | 
											
												
													
														|  | 
 |  | +                    <path
 | 
											
												
													
														|  | 
 |  | +                        d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" />
 | 
											
												
													
														|  | 
 |  | +                </symbol>
 | 
											
												
													
														|  |              </svg>
 |  |              </svg>
 | 
											
												
													
														|  | -            <div>
 |  | 
 | 
											
												
													
														|  | -                Registered successfully!
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <div class="alert alert-success d-flex align-items-center alert-dismissible" role="alert">
 | 
											
												
													
														|  | 
 |  | +                <svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Success:">
 | 
											
												
													
														|  | 
 |  | +                    <use xlink:href="#check-circle-fill" />
 | 
											
												
													
														|  | 
 |  | +                </svg>
 | 
											
												
													
														|  | 
 |  | +                <div>
 | 
											
												
													
														|  | 
 |  | +                    Registered successfully!
 | 
											
												
													
														|  | 
 |  | +                </div>
 | 
											
												
													
														|  | 
 |  | +                <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
 | 
											
												
													
														|  |              </div>
 |  |              </div>
 | 
											
												
													
														|  | -            <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
 |  | 
 | 
											
												
													
														|  | -        </div>
 |  | 
 | 
											
												
													
														|  | -        {% endif %}
 |  | 
 | 
											
												
													
														|  | -        <ul class="nav nav-tabs justify-content-center" id="myTab" role="tablist">
 |  | 
 | 
											
												
													
														|  | -            <li class="nav-item" role="presentation">
 |  | 
 | 
											
												
													
														|  | -                <button class="nav-link active" id="login-tab" data-bs-toggle="tab" data-bs-target="#login"
 |  | 
 | 
											
												
													
														|  | -                    type="button" role="tab" aria-controls="login" aria-selected="true">Login</button>
 |  | 
 | 
											
												
													
														|  | -            </li>
 |  | 
 | 
											
												
													
														|  | -            <li class="nav-item" role="presentation">
 |  | 
 | 
											
												
													
														|  | -                <button class="nav-link" id="register-tab" data-bs-toggle="tab" data-bs-target="#register" type="button"
 |  | 
 | 
											
												
													
														|  | -                    role="tab" aria-controls="register" aria-selected="false">Register</button>
 |  | 
 | 
											
												
													
														|  | -            </li>
 |  | 
 | 
											
												
													
														|  | -        </ul>
 |  | 
 | 
											
												
													
														|  | -        <div class="tab-content" id="myTabContent">
 |  | 
 | 
											
												
													
														|  | -            <div class="tab-pane fade p-lg-3 show active" id="login" role="tabpanel" aria-labelledby="login-tab">
 |  | 
 | 
											
												
													
														|  | -                
 |  | 
 | 
											
												
													
														|  | -                    <div class="form-floating mb-3">
 |  | 
 | 
											
												
													
														|  | -                        <input type="text" class="form-control" id="username" name="username" placeholder="User name">
 |  | 
 | 
											
												
													
														|  | -                        <label for="username">User name</label>
 |  | 
 | 
											
												
													
														|  | -                    </div>
 |  | 
 | 
											
												
													
														|  | -                    <div class="form-floating mb-3">
 |  | 
 | 
											
												
													
														|  | -                        <input type="password" class="form-control" id="password" name="password" placeholder="Password">
 |  | 
 | 
											
												
													
														|  | -                        <label for="password">Password</label>
 |  | 
 | 
											
												
													
														|  | -                    </div>
 |  | 
 | 
											
												
													
														|  | -                    <div class="d-flex justify-content-center">
 |  | 
 | 
											
												
													
														|  | -                        <button id="btn_login" class="btn btn-primary align-items-center">Login</button>
 |  | 
 | 
											
												
													
														|  | -                    </div>
 |  | 
 | 
											
												
													
														|  | -         
 |  | 
 | 
											
												
													
														|  | 
 |  | +            {% endif %}
 | 
											
												
													
														|  | 
 |  | +            <img src="static/img/undraw_male_avatar_323b.svg" alt="">
 | 
											
												
													
														|  | 
 |  | +            <h2 class="my-3">WELCOME</h2>
 | 
											
												
													
														|  | 
 |  | +            <ul class="nav nav-tabs justify-content-center" id="myTab" role="tablist">
 | 
											
												
													
														|  | 
 |  | +                <li class="nav-item" role="presentation">
 | 
											
												
													
														|  | 
 |  | +                    <button class="nav-link active" id="login-tab" data-bs-toggle="tab" data-bs-target="#login"
 | 
											
												
													
														|  | 
 |  | +                        type="button" role="tab" aria-controls="login" aria-selected="true">Login</button>
 | 
											
												
													
														|  | 
 |  | +                </li>
 | 
											
												
													
														|  | 
 |  | +                <li class="nav-item" role="presentation">
 | 
											
												
													
														|  | 
 |  | +                    <button class="nav-link" id="register-tab" data-bs-toggle="tab" data-bs-target="#register" type="button"
 | 
											
												
													
														|  | 
 |  | +                        role="tab" aria-controls="register" aria-selected="false">New Here? Register</button>
 | 
											
												
													
														|  | 
 |  | +                </li>
 | 
											
												
													
														|  | 
 |  | +            </ul>
 | 
											
												
													
														|  | 
 |  | +            <div class="tab-content" id="myTabContent">
 | 
											
												
													
														|  | 
 |  | +                <div class="tab-pane fade p-lg-3 show active" id="login" role="tabpanel" aria-labelledby="login-tab">
 | 
											
												
													
														|  | 
 |  | +                    
 | 
											
												
													
														|  | 
 |  | +                        <div class="form-floating mb-3">
 | 
											
												
													
														|  | 
 |  | +                            <input type="text" class="form-control" id="username" name="username" placeholder="User name">
 | 
											
												
													
														|  | 
 |  | +                            <label for="username"><i class="fas fa-user me-2"></i>User name</label>
 | 
											
												
													
														|  | 
 |  | +                        </div>
 | 
											
												
													
														|  | 
 |  | +                        <div class="form-floating mb-3">
 | 
											
												
													
														|  | 
 |  | +                            <input type="password" class="form-control" id="password" name="password" placeholder="Password">
 | 
											
												
													
														|  | 
 |  | +                            <label for="password"><i class="fas fa-lock me-2"></i>Password</label>
 | 
											
												
													
														|  | 
 |  | +                        </div>
 | 
											
												
													
														|  | 
 |  | +                        <div class="d-flex justify-content-center">
 | 
											
												
													
														|  | 
 |  | +                            <button id="btn_login" class="">Login</button>
 | 
											
												
													
														|  | 
 |  | +                        </div>
 | 
											
												
													
														|  | 
 |  | +            
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -            </div>
 |  | 
 | 
											
												
													
														|  | -            <div class="tab-pane fade p-lg-3" id="register" role="tabpanel" aria-labelledby="register-tab">
 |  | 
 | 
											
												
													
														|  | -                <form method="post" action="register">
 |  | 
 | 
											
												
													
														|  | -                    <div class="form-floating mb-3">
 |  | 
 | 
											
												
													
														|  | -                        <input type="text" class="form-control" id="username" name="username" placeholder="User name">
 |  | 
 | 
											
												
													
														|  | -                        <label for="username">User name</label>
 |  | 
 | 
											
												
													
														|  | -                    </div>
 |  | 
 | 
											
												
													
														|  | -                    <div class="form-floating mb-3">
 |  | 
 | 
											
												
													
														|  | -                        <input type="email" class="form-control" id="email" name="email" placeholder="name@example.com">
 |  | 
 | 
											
												
													
														|  | -                        <label for="email">Email address</label>
 |  | 
 | 
											
												
													
														|  | -                    </div>
 |  | 
 | 
											
												
													
														|  | -                    <div class="form-floating mb-3">
 |  | 
 | 
											
												
													
														|  | -                        <input type="password" class="form-control" id="password" name="password"  placeholder="Password">
 |  | 
 | 
											
												
													
														|  | -                        <label for="password">Password</label>
 |  | 
 | 
											
												
													
														|  | -                    </div>
 |  | 
 | 
											
												
													
														|  | -                    <div class="d-flex justify-content-center">
 |  | 
 | 
											
												
													
														|  | -                        <button type="submit" class="btn btn-primary align-items-center">Register</button>
 |  | 
 | 
											
												
													
														|  | -                    </div>
 |  | 
 | 
											
												
													
														|  | 
 |  | +                </div>
 | 
											
												
													
														|  | 
 |  | +                <div class="tab-pane fade p-lg-3" id="register" role="tabpanel" aria-labelledby="register-tab">
 | 
											
												
													
														|  | 
 |  | +                    <form method="post" action="register">
 | 
											
												
													
														|  | 
 |  | +                        <div class="form-floating mb-3">
 | 
											
												
													
														|  | 
 |  | +                            <input type="text" class="form-control" id="username" name="username" placeholder="User name">
 | 
											
												
													
														|  | 
 |  | +                            <label for="username"><i class="fas fa-user me-2"></i>User name</label>
 | 
											
												
													
														|  | 
 |  | +                        </div>
 | 
											
												
													
														|  | 
 |  | +                        <div class="form-floating mb-3">
 | 
											
												
													
														|  | 
 |  | +                            <input type="email" class="form-control" id="email" name="email" placeholder="name@example.com">
 | 
											
												
													
														|  | 
 |  | +                            <label for="email"><i class="fas fa-envelope me-2"></i>Email address</label>
 | 
											
												
													
														|  | 
 |  | +                        </div>
 | 
											
												
													
														|  | 
 |  | +                        <div class="form-floating mb-3">
 | 
											
												
													
														|  | 
 |  | +                            <input type="password" class="form-control" id="password" name="password"  placeholder="Password">
 | 
											
												
													
														|  | 
 |  | +                            <label for="password"><i class="fas fa-lock me-2"></i>Password</label>
 | 
											
												
													
														|  | 
 |  | +                        </div>
 | 
											
												
													
														|  | 
 |  | +                        <div class="d-flex justify-content-center">
 | 
											
												
													
														|  | 
 |  | +                            <button type="submit" class="btn btn-primary align-items-center">Register</button>
 | 
											
												
													
														|  | 
 |  | +                        </div>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -                </form>
 |  | 
 | 
											
												
													
														|  | 
 |  | +                    </form>
 | 
											
												
													
														|  | 
 |  | +                </div>
 | 
											
												
													
														|  |              </div>
 |  |              </div>
 | 
											
												
													
														|  |          </div>
 |  |          </div>
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |      </div>
 |  |      </div>
 | 
											
												
													
														|  |  </div>
 |  |  </div>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |  {% endblock %}
 |  |  {% endblock %}
 |