From 27a9cea714596463a901783d282f55d8722c20c2 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Thu, 22 Feb 2024 21:24:43 -0500 Subject: [PATCH] Add the Login form. --- app/composer.json | 5 +++-- app/composer.lock | 5 +++-- app/src/App/templates/app/login-page.phtml | 17 +++++++++++++++++ .../App/templates/fragments/login-form.phtml | 18 ++++++++++++++++++ 4 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 app/src/App/templates/app/login-page.phtml create mode 100644 app/src/App/templates/fragments/login-form.phtml diff --git a/app/composer.json b/app/composer.json index a6cce88..39e3351 100644 --- a/app/composer.json +++ b/app/composer.json @@ -47,15 +47,16 @@ }, "require": { "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "ext-pdo": "*", "composer/package-versions-deprecated": "^1.10.99", + "elie29/zend-phpdi-config": "^9.0", "laminas/laminas-component-installer": "^2.6 || ^3.0", "laminas/laminas-config-aggregator": "^1.6", "laminas/laminas-diactoros": "^3.0.0", "laminas/laminas-stdlib": "^3.6", "mezzio/mezzio": "^3.7", - "mezzio/mezzio-helpers": "^5.7", - "elie29/zend-phpdi-config": "^9.0", "mezzio/mezzio-fastroute": "^3.11.0", + "mezzio/mezzio-helpers": "^5.7", "mezzio/mezzio-platesrenderer": "^2.10" }, "require-dev": { diff --git a/app/composer.lock b/app/composer.lock index 50d8f7c..eb405bc 100644 --- a/app/composer.lock +++ b/app/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "cd2d209ff337587d515517e139e0388f", + "content-hash": "ac40ea0195435e6db97e4041dd7b543c", "packages": [ { "name": "brick/varexporter", @@ -7126,7 +7126,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "ext-pdo": "*" }, "platform-dev": [], "platform-overrides": { diff --git a/app/src/App/templates/app/login-page.phtml b/app/src/App/templates/app/login-page.phtml new file mode 100644 index 0000000..3f2c3d6 --- /dev/null +++ b/app/src/App/templates/app/login-page.phtml @@ -0,0 +1,17 @@ +layout('layout::default', ['title' => 'Home']) ?> +
+
+
+ + +
+
+ + +
+
+ +
+
+
+ diff --git a/app/src/App/templates/fragments/login-form.phtml b/app/src/App/templates/fragments/login-form.phtml new file mode 100644 index 0000000..a94ab4e --- /dev/null +++ b/app/src/App/templates/fragments/login-form.phtml @@ -0,0 +1,18 @@ +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+