app/views/login.scala.html (32 lines of code) (raw):

@(error: Option[String] = None) <!DOCTYPE html> <html> <head> <title>Login</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href='@routes.Assets.at("lib/bootstrap/css/bootstrap.min.css")'> <link rel="stylesheet" media="screen" href="@routes.Assets.at("css/main.css")"> <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")"> </head> <body> <div class="container"> <div class="row"> <div class="col-lg-10 col-lg-offset-2"> <h1>Status Monitor</h1> </div> <div class="col-lg-6 col-lg-offset-2"> <h2>Login</h2> <p>Please click the button to login with your google account.</p> @if(error.isDefined) { <div class="alert alert-error"> <p>@error.get</p> </div> } <form action="@routes.Login.loginAction" method="get"> <input value="Log In" class="btn btn-primary" type="submit"> </form> </div> </div> </div> </body> </html>