summaryrefslogtreecommitdiff
path: root/html/app/views
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-26 04:50:46 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-26 04:50:46 +0300
commit21fedb3af692b12c1f0aa266bbf788b01f2cbe4c (patch)
treee600e16a2894407eba840e7694a4f290669e31d8 /html/app/views
parentd90b51ce89bcc693e3014b313fe8e3b975031adf (diff)
downloadclassroom-21fedb3af692b12c1f0aa266bbf788b01f2cbe4c.tar.gz
classroom-21fedb3af692b12c1f0aa266bbf788b01f2cbe4c.tar.bz2
classroom-21fedb3af692b12c1f0aa266bbf788b01f2cbe4c.zip
auth tests
Diffstat (limited to 'html/app/views')
-rw-r--r--html/app/views/login.php52
-rw-r--r--html/app/views/simple/Render.php2
2 files changed, 53 insertions, 1 deletions
diff --git a/html/app/views/login.php b/html/app/views/login.php
new file mode 100644
index 0000000..769b660
--- /dev/null
+++ b/html/app/views/login.php
@@ -0,0 +1,52 @@
+<html>
+<head>
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>404: Not Found</title>
+
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-aFq/bzH65dt+w6FI2ooMVUpc+21e0SRygnTpmBvdBgSdnuTN7QbdgL+OapgHtvPp" crossorigin="anonymous">
+
+ <style>
+ html,body{
+ padding:0; margin:0;
+ font-size:1.25em; font-family: Ubuntu, Arial, Helvetica, sans-serif;
+ color: #037; background: #f3f4f5;
+ line-height:1.2em;
+ }
+ h3 {
+ font-size: 2em; font-style: normal;
+ font-weight: 400;
+ color: #05a;
+ margin: 0; padding: 5px;
+ opacity: 0.27;
+ border-bottom: 1px solid #05a;
+ }
+ .container { display: flex; height: 100vh; align-items:center; }
+ .content { position: relative;
+ max-width:320px; width: 100%;
+ margin: auto auto; padding: 1.5em;
+ text-align: center; justify-center: center;
+ opacity: .33;
+ }
+ </style>
+</head>
+<body>
+ <div class='container'>
+ <div class='content'>
+ <h2>Login</h2>
+ <hr />
+ <form method="post" action="/login-check">
+ <div class="mb-3">
+ <label for="exampleInputEmail1" class="form-label">Email</label>
+ <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
+ </div>
+ <div class="mb-3">
+ <label for="exampleInputPassword1" class="form-label">Password</label>
+ <input type="password" class="form-control" id="exampleInputPassword1">
+ </div>
+ <button type="submit" class="btn btn-primary">Submit</button>
+ </form>
+ </div>
+ </div>
+</body>
+</html>
diff --git a/html/app/views/simple/Render.php b/html/app/views/simple/Render.php
index ebe15fc..79a93a0 100644
--- a/html/app/views/simple/Render.php
+++ b/html/app/views/simple/Render.php
@@ -10,7 +10,7 @@
*
* -----------------------------------------------------------------------------
*/
-class Render
+class Render_example
{
/** Render::template($data)