From 10246192c47e1d8342276e912a426ff188109ce2 Mon Sep 17 00:00:00 2001 From: toino Date: Tue, 26 Sep 2023 01:40:55 +0100 Subject: [PATCH 1/3] Show the user's notifications in a popup --- content-scripts/src/modules/layout.js | 101 ++++++++++++++++++++++- css/simpler.css | 114 +++++++++++++++++++++++++- 2 files changed, 211 insertions(+), 4 deletions(-) diff --git a/content-scripts/src/modules/layout.js b/content-scripts/src/modules/layout.js index fab38d6..da5c68f 100644 --- a/content-scripts/src/modules/layout.js +++ b/content-scripts/src/modules/layout.js @@ -1,5 +1,6 @@ import { elementFromHtml } from "./utilities/elementFromHtml"; import { createPopover } from "./utilities/popover"; +import { fetchSigarraPage } from "./utilities/pageUtils"; const HEADER_LINKS = { Estudantes: { @@ -40,13 +41,32 @@ const HEADER_LINKS = { const authentication = (auth) => auth ? /*html*/ ` - - + +
+ + +
+ + +
+
+
    +
      +
      + + Sem notificações +
      +
      + +
      +
      +