From 4cd7017da9a37e5b9f38c3f50dd1c904ea41cbcb Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 31 Dec 2024 22:30:16 +0000 Subject: implement user accounts and login --- templates/actor_avatar.php | 9 +++++---- templates/login_form.php | 20 ++++++++++++++++++++ templates/login_page.php | 4 ++++ templates/skeleton.php | 13 +++++++++++++ 4 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 templates/login_form.php create mode 100644 templates/login_page.php (limited to 'templates') diff --git a/templates/actor_avatar.php b/templates/actor_avatar.php index d428006..439072b 100644 --- a/templates/actor_avatar.php +++ b/templates/actor_avatar.php @@ -1,4 +1,5 @@ - - - - \ No newline at end of file +avatar)): ?> + + + + \ No newline at end of file diff --git a/templates/login_form.php b/templates/login_form.php new file mode 100644 index 0000000..2c32164 --- /dev/null +++ b/templates/login_form.php @@ -0,0 +1,20 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ +

+ +
\ No newline at end of file diff --git a/templates/login_page.php b/templates/login_page.php new file mode 100644 index 0000000..338330e --- /dev/null +++ b/templates/login_page.php @@ -0,0 +1,4 @@ + __('login.pageTitle')], function () { + global $email, $failed; + call_template('login_form', ['email' => $email, 'failed' => $failed]); +}); \ No newline at end of file diff --git a/templates/skeleton.php b/templates/skeleton.php index 0d8afb4..94bc2f2 100644 --- a/templates/skeleton.php +++ b/templates/skeleton.php @@ -1,3 +1,6 @@ + @@ -18,6 +21,16 @@
  • + + + +
    + $user->actor]) ?> + actor->displayName ?> +
    +
    -- cgit v1.3