From e4a178ff74c8a91ed8595151c12be2b1d10bedc4 Mon Sep 17 00:00:00 2001 From: Henry Wilkinson Date: Thu, 2 Mar 2023 16:23:37 -0500 Subject: [PATCH] Updates crawl details navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Adds icons to details nav items - Adds replay glyph icon - Hides "Replay" & "Files" pages if the crawl is running - Updates border radius 3px → 4px - Updates colour values, aligns with mockups - Replaces `margin` from menu items with `gap` values - Removes animation Prettier made some spacing adjustments, I also moved some lines around so they're all in the same spot now. :grimacing: --- frontend/src/assets/icons/link-replay.svg | 6 +++ frontend/src/pages/org/crawl-detail.ts | 65 +++++++++++++++++++---- 2 files changed, 60 insertions(+), 11 deletions(-) create mode 100644 frontend/src/assets/icons/link-replay.svg diff --git a/frontend/src/assets/icons/link-replay.svg b/frontend/src/assets/icons/link-replay.svg new file mode 100644 index 00000000..b1500792 --- /dev/null +++ b/frontend/src/assets/icons/link-replay.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/frontend/src/pages/org/crawl-detail.ts b/frontend/src/pages/org/crawl-detail.ts index bcdf1aae..4f4f8b67 100644 --- a/frontend/src/pages/org/crawl-detail.ts +++ b/frontend/src/pages/org/crawl-detail.ts @@ -297,47 +297,90 @@ export class CrawlDetail extends LiteElement { const renderNavItem = ({ section, label, + iconLibrary, + icon, }: { section: SectionName; label: any; + iconLibrary: any; + icon: any; }) => { const isActive = section === this.sectionName; return html` `; }; return html` -