From 68fa66e1f2007740ed99444a9802d49155e016cf Mon Sep 17 00:00:00 2001 From: Birm Date: Wed, 20 Nov 2024 23:59:57 -0500 Subject: [PATCH 1/2] Create stale_issues.yml --- .github/workflows/stale_issues.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/stale_issues.yml diff --git a/.github/workflows/stale_issues.yml b/.github/workflows/stale_issues.yml new file mode 100644 index 000000000..b46c3d012 --- /dev/null +++ b/.github/workflows/stale_issues.yml @@ -0,0 +1,17 @@ +name: 'Stale Issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' + stale-pr-message: 'This PR is stale because it has been open 45 days with no activity.' + close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.' + days-before-stale: 30 + days-before-close: 5 + days-before-pr-close: -1 From a86232db6d6cde3f6bb18c49bfde3901a29e7cd2 Mon Sep 17 00:00:00 2001 From: wavehunter1715 Date: Sun, 29 Dec 2024 14:13:53 +0530 Subject: [PATCH 2/2] Add 'Skip to Content' link for accessibility in Info, Landing, and Table pages --- apps/Info.html | 30 ++++++ apps/landing/landing.html | 209 ++++++++++++++++++++------------------ apps/landing/main.css | 18 ++++ apps/table.css | 19 ++++ apps/table.html | 32 +++++- 5 files changed, 208 insertions(+), 100 deletions(-) diff --git a/apps/Info.html b/apps/Info.html index 7f964f635..ce4ba309b 100644 --- a/apps/Info.html +++ b/apps/Info.html @@ -38,9 +38,39 @@ + + + Skip to main content
+ + +
+
+
+
+

caMicroscope

+
+
+ +
+
+ +
+

caMicroscope

+

Use camicroscope to explore and mark slides uploaded. If this is a restricted access + deployment, you will be prompted to log in here.

+ More +
+
+
+ +
+

Documentation

+

Read documentation for using and developing caMicroscope.

+ More +
+
+
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - + + + +
+ + + + + + + + + + + - diff --git a/apps/landing/main.css b/apps/landing/main.css index ebd3c424e..695edac41 100644 --- a/apps/landing/main.css +++ b/apps/landing/main.css @@ -10,6 +10,24 @@ /* Reset */ /* addind loader animation */ +.skip-to-content { + position: absolute; + top: 10px; + left: 10px; + background-color: #000; + color: #fff; + padding: 10px; + z-index: 1000; + text-decoration: none; + font-size: 1rem; + transform: translateY(-100%); + transition: transform 0.3s ease-in-out; + } + + .skip-to-content:focus { + transform: translateY(0); + } + .loader { width: 50px; height: 50px; diff --git a/apps/table.css b/apps/table.css index d11cd8d75..2b5c3b1e5 100644 --- a/apps/table.css +++ b/apps/table.css @@ -161,6 +161,25 @@ nav li:not(.active):hover { z-index: 1000; } +.skip-to-content { + position: absolute; + top: 10px; + left: 10px; + background-color: #000; + color: #fff; + padding: 10px; + z-index: 1000; + text-decoration: none; + transform: translateY(-100%); + transition: transform 0.3s ease-in-out; +} + +.skip-to-content:focus { + transform: translateY(0); +} + + + .notification-box { padding: 10px 0px; color: black; diff --git a/apps/table.html b/apps/table.html index ae8075125..4090801d1 100644 --- a/apps/table.html +++ b/apps/table.html @@ -40,9 +40,39 @@ + + + Skip to main content