From 552b8e019aa3d75b016bd874125632fe6cd7bf3c Mon Sep 17 00:00:00 2001 From: Vladimir Pozdnyakov Date: Tue, 14 Jan 2025 16:24:13 +0300 Subject: [PATCH 1/4] Add extra grid view tab #614 - Introduced a grid view alongside the existing list view for better site management. - Updated HTML structure to support grid layout with corresponding styles in SCSS. - Enhanced JavaScript functions to handle both list and grid views, including event listeners for launching, editing, and removing sites. - Improved search functionality to work with both views. - Adjusted styles for grid items and buttons for a more cohesive user experience. --- extension/src/sites/manage.html | 1024 +++++++++++++++++-------------- extension/src/sites/manage.js | 151 ++++- extension/src/sites/manage.scss | 120 +++- 3 files changed, 824 insertions(+), 471 deletions(-) diff --git a/extension/src/sites/manage.html b/extension/src/sites/manage.html index 1267680e..c3d2240a 100644 --- a/extension/src/sites/manage.html +++ b/extension/src/sites/manage.html @@ -1,559 +1,681 @@ - - - - - - - - - -
-
- -
-
-
-
-
- - +
+
+
+
+
+
+
+
+
+
-
-
- - +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+
+
+
+
-
-
-
-
-
- +
+
+
+
+
+ +
+
+
+ +
-
-
- - -
-
- - -
-
- - -
+
+ + +
+
+ +
+
-
-
-
- -
-
-
- -
+
+
+
+ +
+
+
+
+
-
-
-
- -
-
-
- -
+
+
+
+ +
+
+
+
+
-
-
-
- -
-
-
- -
+
+
+
+ +
+
+
+
+
-
-
-
- -
-
-
- -
+
+
+
+ +
+
+
+
+
-
-
-
- -
-
-
- -
+
+
+
+ +
+
+
+
+
-
-
-
- -
-
-
- -
+
+
+
+ +
+
+
+
+
-
-
-
- -
-
-
- -
+
+
+
+ +
+
+
+
+
-
-
-
- -
-
-
- -
+
+
+
+ +
+
+
+
+
-
-
- - - -
+
+
+ + +
+
-
-
- - -
+
+
+ +
+
-
-
- - -
+
+
+ +
+
- + - + - + - -
+
+
- - + + +
-
-
- - -
-
-
-
- - -
-
-
- - -
-
- - -
-
- - -
-
- - -
-
-
-
- - -
-
-
- - -
-
- - -
-
-
-
-
-
-
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
-
- +
+
+ +
+
+
+
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ + +
+
+
+ + +
+
+ + +
+
+
+
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
-
-
-
- -
-
-
-
- - -
-
- - -
-
- - - -
-
- - -
-
- - - - -
- -
-
+
+
+
+ +
+
+
+
+ + +
+
+ + +
+
+ + + +
+
+ + +
+
+ + + + +
+ +
+
-