diff --git a/src/assets/css/default.css b/src/assets/css/default.css index 02b40e8f..82ec4418 100644 --- a/src/assets/css/default.css +++ b/src/assets/css/default.css @@ -40,6 +40,10 @@ img { /** * Card */ +.wishlist-cards { + margin-top: 1rem; +} + .ui.card { overflow: hidden; } @@ -138,3 +142,10 @@ p .ui.horizontal.label { cursor: default; user-select: none; } + +/** + * Segment + */ +.ui.segments { + overflow: hidden; +} diff --git a/src/classes/wishlist.php b/src/classes/wishlist.php index d109b2cd..beeeac2b 100644 --- a/src/classes/wishlist.php +++ b/src/classes/wishlist.php @@ -80,85 +80,87 @@ class Wishlist $userIsCurrent = isset($_SESSION['user']) && $this->data['user'] === $_SESSION['user']['id']; if (!empty($products)) { ?> -
- get(false); - $exists = $cache->exists() ? 'true' : 'false'; - ?> -
-
+
+
+ get(false); + $exists = $cache->exists() ? 'true' : 'false'; + ?> +
+
- image) { ?> -
- + image) { ?> +
+ - favicon) { ?> - - + favicon) { ?> + + - providerName) { ?> - providerName ?> - + providerName) { ?> + providerName ?> + - - - -
- - -
- title) { ?> -
- url) { ?> - title ?> - - title ?> + +
- keywords) { ?> -
- keywords) ?> -
- +
+ title) { ?> +
+ url) { ?> + title ?> + + title ?> + +
+ + + keywords) { ?> +
+ keywords) ?> +
+ + + description) { ?> +
+ description ?> +
+ +
+ +
+ + + + Commit + + + + url) { ?> + + + View + + + + + + + Delete + + +
- description) { ?> -
- description ?> -
-
- -
- - - - Commit - - - - url) { ?> - - - View - - - - - - - Delete - - -
-
-
- + +
diff --git a/src/pages/wishlists.php b/src/pages/wishlists.php index 45d1a9a4..f6554f36 100644 --- a/src/pages/wishlists.php +++ b/src/pages/wishlists.php @@ -45,66 +45,73 @@ if (isset($_POST['wishlist_delete_id'])) {

title ?>

-
-

Create

-

- Choose a new name for your wishlist. - Here's a suggestion to get you started! -

+
-
-
- - +
+
+

View

+

Please select a wishlist to view.

+ +
+ + +
+
+ +
+
+

Create

+

+ Choose a new name for your wishlist. + Here's a suggestion to get you started! +

+ + +
+ + +
+ + + +
+
- -
-
-
-

View

-

Please select a wishlist to view.

+
+

Options

+

Wishlist related options.

-
- -
-
+ + + Add products + -
-

Options

-

Wishlist related options.

+ + + Share + - - - Add products - +
+ - - - Share - - - - - - -
-
+ +