<!DOCTYPE html>
<html lang="en">
<head>
  <title>Enter Your Master Password</title>
  <link rel="stylesheet" type="text/css" href="lib/bootstrap.min.css"/>
  <link rel="stylesheet" type="text/css" href="hashword.css"/>
  <script type="text/javascript" src="password.js"></script>
</head>
<body>
  <div class="container">
    <form>
      <div class="form-group">
        <input type="password" name="password" class="form-control" placeholder="Password"/>
      </div>
      <div class="form-group confirm-buttons">
        <button class="btn btn-cancel">Cancel</button>
        <button type="submit" class="btn btn-default">OK</button>
      </div>
    </form>
  </div>
</body>
</html>

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Enter Your Master Password</title>
  <link rel="stylesheet" type="text/css" href="lib/bootstrap.min.css"/>
  <link rel="stylesheet" type="text/css" href="hashword.css"/>
  <script type="text/javascript" src="password.js"></script>
</head>
<body>
  <div class="container">
    <form>
      <div class="form-group">
        <input type="password" name="password" class="form-control" placeholder="Password"/>
      </div>
      <div class="form-group confirm-buttons">
        <button type="button" class="btn btn-cancel">Cancel</button>
        <button type="submit" class="btn btn-default">OK</button>
      </div>
    </form>
  </div>
</body>
</html>

Make sure cancel button doesn't submit the form
Make sure cancel button doesn't submit the form
