From 745664a1bf36cce13f3439698275b0b147efde3b Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Wed, 3 Nov 2021 22:14:26 +0000 Subject: Improve HTML and CSS --- src/templates/confirm_deletion.php | 19 +++++++++++++------ src/templates/create.php | 17 ++++++++++++----- src/templates/edit.php | 19 +++++++++++++------ src/templates/form_fields.php | 6 +++--- src/templates/index.php | 25 +++++++++++++++++-------- 5 files changed, 58 insertions(+), 28 deletions(-) (limited to 'src') diff --git a/src/templates/confirm_deletion.php b/src/templates/confirm_deletion.php index 06e133f..12c5cd1 100644 --- a/src/templates/confirm_deletion.php +++ b/src/templates/confirm_deletion.php @@ -4,13 +4,20 @@ Confirm - Bookmarks + + - Back -
- - url.' '.$bookmark->title.' '.$bookmark->tag); ?> - -
+
+

Bookmarks

+

Confirm Deletion

+ Back +
+ + url | $bookmark->title | $bookmark->tag"); ?> + +
+

Copyright © 2021 David T. Sadler.

+
diff --git a/src/templates/create.php b/src/templates/create.php index 37004ff..21df9a8 100644 --- a/src/templates/create.php +++ b/src/templates/create.php @@ -4,12 +4,19 @@ Add - Bookmarks + + - Back -
- - -
+
+

Bookmarks

+

Add

+ Back +
+ + +
+

Copyright © 2021 David T. Sadler.

+
diff --git a/src/templates/edit.php b/src/templates/edit.php index b462e7e..100cd0e 100644 --- a/src/templates/edit.php +++ b/src/templates/edit.php @@ -4,13 +4,20 @@ Edit - Bookmarks + + - Back -
- - - -
+
+

Bookmarks

+

Edit

+ Back +
+ + + +
+

Copyright © 2021 David T. Sadler.

+
diff --git a/src/templates/form_fields.php b/src/templates/form_fields.php index 3f54040..3005ee8 100644 --- a/src/templates/form_fields.php +++ b/src/templates/form_fields.php @@ -1,12 +1,12 @@ -
+ has('url')) { ?>

get('url')); ?>

-
+ has('title')) { ?>

get('title')); ?>

-
+ has('tag')) { ?>

get('tag')); ?>

diff --git a/src/templates/index.php b/src/templates/index.php index 4f76614..c046e6c 100644 --- a/src/templates/index.php +++ b/src/templates/index.php @@ -4,16 +4,25 @@ Bookmarks + + - -

- - Add - + Add Bookmark +

Tags

+ All +

Bookmarks

+
    + +
  1. addedAt))->format('Y-m-d'); ?> - title != '' ? htmlentities($bookmark->title) : htmlentities($bookmark->url); ?> | Edit | Delete
  2. + +
+

Copyright © 2021 David T. Sadler.

+ -- cgit v1.2.3-13-gbd6f