descholar-ceo/AnnounceIT

View on GitHub
UI/html/reset-password.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../css/announceit-styles.css"/>
    <title>Reset password</title>
</head>
<body>
        <div class="container bg-dark">
            <div class="text-50 text-bold expl-to-do">
            <a href="index.html">
                <span class="announce-brand">Announce</span><span class="it-brand">IT</span>
            </a>
            </div>
            <nav class="position-right">
                <a href="signin.html">
                   Signin 
                </a>
                <a href="signup.html">
                    Signup
                </a>
            </nav>
        </div>

        <!-- CHECKING ACCOUNT FROM THE DATABASE -->
        <form id="reset-password-email-form">
            <div class="width-40 margin-top-10 bg-dark-transparent padding-5 rounded-corner-15">
                <input
                 id="reset-password-email-value"
                 type="email" 
                 class="width-100 white-bordered-1-bottom text-17 text-white margin-bottom-5" 
                 placeholder="Enter your e-mail here ..."/>
                <button 
                type="button" 
                id="reset-pswd-check-acc-btn"
                class="bg-dark width-100 text-17 hand-cursor rounded-corner-30">Check account</button>
            </div>
        </form>

        <!-- CHECKING THE SECRET KEY -->
        <form id="reset-password-secret-key-form" class="hidden-element">
            <div class="width-40 margin-top-10 bg-dark-transparent padding-5 rounded-corner-15">
                <input 
                    id="reset-password-secret-key-value" 
                    type="text" 
                    class="width-100 white-bordered-1-bottom text-17 text-white margin-bottom-5" 
                    placeholder="Enter key here ..."/>
                <button 
                type="button" 
                id="reset-pswd-check-secret-key-btn"
                class="bg-dark width-100 text-17 hand-cursor rounded-corner-30">Check the key</button>
            </div>
        </form>

        <!-- RESETING THE PASSWORD -->
        <form id="reset-password-choice-form" class="hidden-element">
            <div class="width-40 margin-top-10 bg-dark-transparent padding-5 rounded-corner-15">
                <input 
                    id="reset-password-new" 
                    type="password" 
                    class="width-100 white-bordered-1-bottom text-17 text-white margin-bottom-5"    
                    placeholder="Enter a new password ... "/>
                <input 
                    id="reset-password-confirm" 
                    type="password" 
                    class="width-100 white-bordered-1-bottom text-17 text-white margin-bottom-5" 
                    placeholder="Confirm your new password"/>
                <button type="button" id="reset-pswd-btn"
                    class="bg-dark width-100 text-17 hand-cursor rounded-corner-30"
                    >Reset password</button>
            </div>
        </form>
    <div id="reset-password-result" class="width-40 text-center">

    </div>

    <!-- Footer -->
     <footer class="text-center margin-top-1">
      <div class="container centered-element-h">
          <span>AnnounceIT</span>
          <span class="margin-left-5">&#9426; 2020</span>
      </div>
  </footer>
  <script src="../js/announceit-interactivity.js" type="text/javascript"></script>
</body>
</html>