From 28d451c0d44d253b71ce920b30f7f39bb6a2c07e Mon Sep 17 00:00:00 2001 From: William Date: Mon, 17 Jan 2022 07:30:09 +0100 Subject: [PATCH] Commit --- app/view/index.php | 4 ++-- app/view/login.php | 18 ++++++++++++++++++ public/login.php | 8 ++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 app/view/login.php create mode 100644 public/login.php diff --git a/app/view/index.php b/app/view/index.php index a081d2d..f3e2a6e 100644 --- a/app/view/index.php +++ b/app/view/index.php @@ -1,7 +1,7 @@ view('template/header', ['title' => $title]); ?> -

Hello world

-

This is a message from the view

+

Velkommen til forsida!

+

Ting fungerer noen ganger.

view('template/footer'); ?> \ No newline at end of file diff --git a/app/view/login.php b/app/view/login.php new file mode 100644 index 0000000..82db8cb --- /dev/null +++ b/app/view/login.php @@ -0,0 +1,18 @@ +view('template/header', ['title' => $title]); ?> + +

Logg inn

+

Fyll inn påloggingsinformasjonen din.

+
+ +
+ +
+ +
+ +
+
+ +
+ +view('template/footer'); ?> \ No newline at end of file diff --git a/public/login.php b/public/login.php new file mode 100644 index 0000000..032b537 --- /dev/null +++ b/public/login.php @@ -0,0 +1,8 @@ +view('login', [ + "title" => "Logg inn", +]); \ No newline at end of file