dwyl/hapi-login-example-postgres

View on GitHub
lib/views/success.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang='en'>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
  <title>{{title}}</title>
  <link rel="shortcut icon" href="https://materializecss.com/images/favicon/favicon-32x32.png" type="image/x-icon">
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-MfvZlkHCEqatNoGiOXveE8FIwMzZg4W85qfrfIFBfYc= sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ=="
  crossorigin="anonymous">
</head>

<body class='center'>
  <style>
    body {
      margin-top:0.3em
    }
    .center {
      margin: auto;
      width: 90%;
      padding: 10px;
    }
    .email {
      color: #388e3c;
      font-weight: bold;
    }
  </style>
  <h3>Welcome to ACME Co, {{name}}!</h3>
  <h4>You are logged in as:
    <span class="email">{{email}}</span>
  </h4>
  <iframe width="560" height="315" src="https://www.youtube.com/embed/9cQgQIMlwWw?autoplay=1" frameborder="0" allowfullscreen></iframe>
</body>
</html>