Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For 3.12 #1079

Merged
merged 228 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
cdda608
Added model.css
Mikitechguy Mar 27, 2024
bbb1b25
feat: implementinput validation
Lochipi Mar 29, 2024
6b152a6
Merge branch 'develop' into ft/user-registration-validation
Lochipi Mar 29, 2024
f1be3dd
modified model.css and model.js
Mikitechguy Mar 31, 2024
a2bf3de
Merge branch 'develop' into ft/user-registration-validation
Lochipi Apr 1, 2024
4f6e42b
Add field:states (center position and zoom) to collection:Mark
YukaUU Jun 9, 2024
db8f8c6
add_position_and_zoom_to_PopPanelUI
YukaUU Jun 9, 2024
4a5bd19
show center position and zoom at pop panel
YukaUU Jun 9, 2024
948e9d2
delete console
YukaUU Jun 9, 2024
a874f87
bug fix
YukaUU Jun 9, 2024
f80e5d1
delete console
YukaUU Jun 9, 2024
ebab8f7
Adding a blank line
YukaUU Jun 9, 2024
6f0b944
Remove unused space
YukaUU Jun 9, 2024
a0a6510
Merge branch 'develop' into yukaUU_GSoC_db_Mark_add_centerPosition_an…
YukaUU Jun 10, 2024
164d7f9
add a blank
YukaUU Jun 10, 2024
70b28be
Add a blank
YukaUU Jun 10, 2024
25f96ca
Add a space
YukaUU Jun 10, 2024
61bbc91
Merge pull request #966 from YukaUU/yukaUU_GSoC_db_Mark_add_centerPos…
birm Jun 11, 2024
f8cbeff
added aria-label to slides/page combo box
nwanduka Jun 13, 2024
0d906d5
Changed "Steps for uploading a slide" to ordered list.
nwanduka Jun 13, 2024
7bc36cc
changed <h3> to <h2> in main section
nwanduka Jun 13, 2024
fe4eee4
Merge branch 'yukaUU_GSoC_db_Mark_add_centerPosition_and_Zoom' into y…
YukaUU Jun 13, 2024
b7def61
Merge pull request #974 from nwanduka/patch-9
birm Jun 14, 2024
442cf3a
Merge pull request #973 from nwanduka/patch-8
birm Jun 14, 2024
3d68661
Merge pull request #972 from nwanduka/patch-7
birm Jun 14, 2024
a164948
add chrome driver@126
birm Jun 14, 2024
29ae631
try chromedriver 125
birm Jun 14, 2024
783162f
Merge pull request #975 from camicroscope/axe-specify-chromedriver
birm Jun 14, 2024
a2d41a9
Add log at Toolbar and logAnnotation callback
YukaUU Jun 16, 2024
4cc89a3
added aria-label to "more" buttons
nwanduka Jun 19, 2024
d7e8801
changed <a> tag to <button>
nwanduka Jun 20, 2024
9af220e
added aria-label to button element
nwanduka Jun 20, 2024
107799a
Merge pull request #984 from nwanduka/patch-11
birm Jun 22, 2024
cfe5fb6
Merge pull request #980 from nwanduka/patch-10
birm Jun 22, 2024
b38147d
updated landing.html
nwanduka Jun 28, 2024
fc7ba17
add log side menu
YukaUU Jun 30, 2024
cef9c57
Add arial-label on buttons
Joice-crypto Jul 2, 2024
e1bafae
Add arial-label on buttons
Joice-crypto Jul 2, 2024
91c0996
Added opening/closing of side menu/ header
YukaUU Jul 2, 2024
3b28850
Add aria-label on buttons
Joice-crypto Jul 3, 2024
c8e45a4
changed home page title
nwanduka Jul 3, 2024
9e52ebf
changed info page title
nwanduka Jul 3, 2024
9b3c53c
changed slides page title
nwanduka Jul 3, 2024
c2e0231
add log annotation icon
YukaUU Jul 3, 2024
d889a4e
Merge pull request #1004 from nwanduka/page-title
birm Jul 5, 2024
427b72a
Merge pull request #992 from Joice-crypto/buttons_name
birm Jul 5, 2024
dbc2446
Merge pull request #988 from nwanduka/patch-1
birm Jul 5, 2024
d9b78d5
draft pull request
YukaUU Jul 6, 2024
a1f8279
add sideMenu on right
YukaUU Jul 6, 2024
08ed4f3
add collapsiblelist in Log Panel
YukaUU Jul 6, 2024
a154cbb
add collapsible list on right side menu
YukaUU Jul 7, 2024
50f70a0
add collapsiblelist in Log Panel
YukaUU Jul 7, 2024
4940cfe
Fixed the Name Suggestion error on the Slide Viewer Page
Joice-crypto Jul 8, 2024
ce904b4
improved email validation error msg
nwanduka Jul 8, 2024
7efbf1d
improved steps for uploading
nwanduka Jul 8, 2024
7f7a6ce
added text to arrow icon
nwanduka Jul 8, 2024
78026e7
add layers on log panel using $UI.layers,$UI.layers.list
YukaUU Jul 8, 2024
df5458b
Merge pull request #1008 from nwanduka/patch-5
birm Jul 8, 2024
bf6a2a1
Merge pull request #1007 from nwanduka/patch-4
birm Jul 8, 2024
71c3d13
add original component
YukaUU Jul 9, 2024
99499f3
added aria-label to toolbar icons
nwanduka Jul 11, 2024
ab77a40
Update toolbar.js
nwanduka Jul 11, 2024
0fd78db
logの情報を取り出す
YukaUU Jul 13, 2024
144f139
change function fetchMark : logAnnotaiton
YukaUU Jul 13, 2024
20038b6
add loadingLog function
YukaUU Jul 13, 2024
4013f34
add visualizationLayerItems in dataloader
YukaUU Jul 14, 2024
3d8ef72
create graph in log panel
YukaUU Jul 15, 2024
7ff366e
add data calculate
YukaUU Jul 15, 2024
c05437c
create graph
YukaUU Jul 15, 2024
431550c
fix from log to visualization in subtool
YukaUU Jul 15, 2024
3b0f51b
fix id: 'visualization_panel'
YukaUU Jul 15, 2024
1d78faa
fix:visualizationSideMenu
YukaUU Jul 15, 2024
15e43e1
fix id and $UI.visualizationList (CollapsibleList )
YukaUU Jul 15, 2024
7ef73f6
fix visualizationlist
YukaUU Jul 15, 2024
84650dc
fix side menu size
YukaUU Jul 15, 2024
bc73fef
fix titleVisualization
YukaUU Jul 15, 2024
3c71ed3
fix createVisualizationViewer
YukaUU Jul 15, 2024
d919cb8
fix VisualizationViewer (is logsViewer instance)
YukaUU Jul 15, 2024
ffd169a
fix $UI.visualizatiomViewer
YukaUU Jul 15, 2024
48b84a8
fix id overvisuzalization
YukaUU Jul 15, 2024
302db07
fix css , js pass
YukaUU Jul 15, 2024
da45fb2
delete addHumanItem in visualizationviewer.js
YukaUU Jul 15, 2024
be6e49d
fix comment
YukaUU Jul 15, 2024
2bc6ec9
add comment
YukaUU Jul 15, 2024
4d9c558
delete console.log
YukaUU Jul 15, 2024
9b9f79e
fix dataloader and $D
YukaUU Jul 15, 2024
ced2289
add comment
YukaUU Jul 15, 2024
08cad76
added color for 'report it' link
nwanduka Jul 15, 2024
5d0604c
fix comments
YukaUU Jul 16, 2024
88d1846
delete graph in info page
YukaUU Jul 16, 2024
109316d
changed bg-info color
nwanduka Jul 16, 2024
b91f0ea
change bg-info color
nwanduka Jul 16, 2024
c8ad34d
change bg-info color
nwanduka Jul 16, 2024
5b9c292
changed slide button bg color
nwanduka Jul 16, 2024
3d20b02
changed info button bg color
nwanduka Jul 16, 2024
a342292
changed DICOM button bg color
nwanduka Jul 16, 2024
1ba9413
Merge pull request #1012 from nwanduka/color-contrast
birm Jul 17, 2024
10a8801
change name from states to viewerStates
YukaUU Jul 18, 2024
29e4a08
fix
YukaUU Jul 18, 2024
67c0196
add zooming in each annotation at Multi mode
YukaUU Jul 18, 2024
467755e
ad zoom data each annotation
YukaUU Jul 18, 2024
7204c13
add viewerStates in each annotation at multi mode
YukaUU Jul 18, 2024
277397e
add viewerStates in each annotation at multi mode
YukaUU Jul 18, 2024
17e6f80
fix Multi mode on the pencil tool seems to save all annotations
YukaUU Jul 18, 2024
037c693
fix error This line has a length of 148. Maximum allowed is 125
YukaUU Jul 18, 2024
27c7fd3
delete viewerStates ( previuos commit :added viewerStates each annota…
YukaUU Jul 18, 2024
e748f61
fix visualization panel using $D.visualizations.geometries.features
YukaUU Jul 18, 2024
a093930
fix small bug
YukaUU Jul 18, 2024
4e6f480
remove viewerStates:image
YukaUU Jul 18, 2024
0076c4d
fix point viewerStates
YukaUU Jul 19, 2024
6dafdf6
render toolbar ariaLabel
birm Jul 19, 2024
591a265
fix small bug
YukaUU Jul 20, 2024
eb64052
Remove unused code from viewer.html
YukaUU Jul 20, 2024
179d08a
delete unused code
YukaUU Jul 20, 2024
1841845
Merge pull request #1010 from nwanduka/toolbar-icons-name-change
birm Jul 21, 2024
01ffbd9
fix comment in visualizationviewer
YukaUU Jul 22, 2024
70ed2b0
made nav buttons keyboard focusable
nwanduka Jul 22, 2024
a2022e6
Update workbench.html
nwanduka Jul 22, 2024
ce1fd78
styled options button for better contrast
nwanduka Jul 22, 2024
f6a65b2
Update workbench.html
nwanduka Jul 22, 2024
7ca8d8a
made first stepper button focus visible
nwanduka Jul 22, 2024
87e0cbd
Merge pull request #1011 from YukaUU/yukaUU_create_visualizationGraph
birm Jul 23, 2024
9bf5342
fixed color contrast on slides page
nwanduka Jul 24, 2024
2c9dcea
Update util.js
nwanduka Jul 25, 2024
c73b1ac
Merge branch 'develop' into color-contrast
nwanduka Jul 25, 2024
d8d6a57
Merge branch 'develop' into keyboard-focus
nwanduka Jul 29, 2024
536fe92
Update workbench.html
nwanduka Jul 29, 2024
410199c
Merge pull request #1016 from nwanduka/keyboard-focus
birm Jul 29, 2024
00ab5d6
Merge pull request #1017 from nwanduka/color-contrast
birm Jul 29, 2024
fe854d3
Merge pull request #1006 from Joice-crypto/name_suggestion
birm Jul 29, 2024
042d917
Update table.html
nwanduka Jul 31, 2024
cbe7931
Accessibility: Add Enter key support for back button navigation
nwanduka Jul 31, 2024
afff165
added aria-label and role attribute to back button
nwanduka Jul 31, 2024
5f7575d
changed header bg to dark
nwanduka Aug 6, 2024
c3a2f0f
added labels to form elements
nwanduka Aug 6, 2024
c9a92fd
enabled zooming on slides page
nwanduka Aug 6, 2024
ef86f13
enabled zooming on segment.html
nwanduka Aug 6, 2024
014c77d
enabled zooming on labeling.html
nwanduka Aug 6, 2024
563e2e1
enabled zooming on heatmap.html
nwanduka Aug 6, 2024
2201d62
enabled zooming in dicom-connect/table.html
nwanduka Aug 6, 2024
96fe89e
Enabled zooming in batchloader.html
nwanduka Aug 6, 2024
989ade0
Enabled zooming in mini/viewer.html
nwanduka Aug 6, 2024
92d3daf
enabled zooming in model.html
nwanduka Aug 6, 2024
f81117d
Merge pull request #1021 from nwanduka/patch-6
birm Aug 6, 2024
3b790e0
Merge pull request #1023 from nwanduka/patch-7
birm Aug 6, 2024
f6a9c63
Merge pull request #1028 from nwanduka/patch-10
birm Aug 6, 2024
9e59bbe
Merge pull request #1024 from nwanduka/patch-8
birm Aug 6, 2024
aa79a09
added aria-label to zoom input elements
nwanduka Aug 9, 2024
8e82008
made back button keyboard accessible
nwanduka Aug 14, 2024
06de7ff
increase contrast of Options dropdown
nwanduka Aug 14, 2024
1e2444d
Update table.html
nwanduka Aug 14, 2024
eaaac13
fixed inconsistent styling in footer
nwanduka Aug 15, 2024
3c5410c
prevent overshadowing of buttons on med screen
birm Aug 16, 2024
5cc445f
added skip-to-content link
nwanduka Aug 20, 2024
a966a9b
Update table.html
nwanduka Aug 20, 2024
e66f7db
Update Info.html
nwanduka Aug 20, 2024
a84818f
Update workbench.html
nwanduka Aug 20, 2024
c70d646
Merge pull request #1030 from nwanduka/patch-12
birm Aug 20, 2024
7c488a1
Merge pull request #1026 from nwanduka/patch-9
birm Aug 20, 2024
c876db4
Merge pull request #1029 from nwanduka/patch-11
birm Aug 20, 2024
c3274b0
Merge pull request #1031 from nwanduka/patch-13
birm Aug 20, 2024
b0d5db7
Create visualizations dashboard (#1032)
YukaUU Aug 22, 2024
f4eb593
Merge branch 'develop' into patch-14
nwanduka Aug 22, 2024
3de01bf
fixed sufficient color contrast
Priyankagarai Aug 25, 2024
7cecbd8
Merge pull request #1033 from nwanduka/patch-14
birm Oct 11, 2024
dfa259d
start with container
birm Oct 31, 2024
f091906
move it up
birm Oct 31, 2024
a55765b
mobile friendly, add camic logo
birm Oct 31, 2024
245f476
style fixes to toolbar code
birm Oct 31, 2024
142b818
Merge pull request #1035 from Priyankagarai/priyanka
birm Oct 31, 2024
37e3dac
removed table duplication when screen size less than 800px
rahulptl165 Nov 14, 2024
a703ca5
Merge pull request #1040 from rahulptl165/Issue1009
birm Nov 14, 2024
66b2a8f
fix tooltip hover issue
rajku-dev Nov 15, 2024
6076da2
fix visual focus indicator issue
rajku-dev Nov 15, 2024
b148867
FIX W3C standards for the landing.html file
ujjwaldubey1 Nov 16, 2024
3b670a1
Merge pull request #1038 from camicroscope/dropdownfix
birm Nov 21, 2024
f42d59a
Merge pull request #1043 from rajku-dev/fix/focus-indicator-upload-links
birm Nov 29, 2024
b55dfc7
Merge pull request #1041 from rajku-dev/fix/tooltip-hover
birm Nov 29, 2024
37e21c4
include credentials in fetch to pathdb
birm Jan 9, 2025
c534053
Removed the redundant link from thesignup page
chandrikarj Jan 9, 2025
773753c
check if response not ok condition met
birm Jan 9, 2025
9fee5fc
check response earlier
birm Jan 9, 2025
4598867
Update PathdbMods.js
birm Jan 9, 2025
8ee7353
undo result split
birm Jan 9, 2025
f4b5598
Update CaMic.js
birm Jan 9, 2025
fb5b0d9
add missing braces
birm Jan 9, 2025
32d4e58
Update PathdbMods.js
birm Jan 9, 2025
c8d1497
change redir url for failed slide gets
birm Jan 9, 2025
e0e4de5
Merge pull request #1066 from chandrikarj/redundant-link-on-signup-page
birm Jan 11, 2025
4ac2eb0
put footer layout after dom content loaded
birm Jan 11, 2025
0736835
Removed duplicate buttons/links to choose file in development workbench
chandrikarj Jan 13, 2025
2d18111
Removed duplicate buttons/links to choose file in development workbench
chandrikarj Jan 13, 2025
587ca65
Update import.html
birm Jan 15, 2025
8f5cd59
need .value
birm Jan 15, 2025
a31e868
Merge pull request #1070 from camicroscope/fix-port-xml
birm Jan 15, 2025
274cf69
post closure fix
birm Jan 15, 2025
f4c28b8
populate more fields correctly
birm Jan 15, 2025
e085559
lint fix
birm Jan 15, 2025
722a9b9
Merge pull request #1071 from camicroscope/fix-port-xml
birm Jan 15, 2025
697255f
correct the xml convert
birm Jan 15, 2025
74649ba
rm prepare annot
birm Jan 15, 2025
8c14a93
Merge pull request #1072 from camicroscope/fix-port-xml
birm Jan 15, 2025
60c373c
defaults for polygon style etc
birm Jan 15, 2025
3dc7b36
Merge pull request #1073 from camicroscope/fix-port-xml
birm Jan 15, 2025
ed6f11c
Update DrawHelper.js
birm Jan 15, 2025
f0dc6ba
Update DrawHelper.js
birm Jan 15, 2025
787e745
default color style
birm Jan 15, 2025
2afcd52
typo fix def color
birm Jan 15, 2025
e48dffb
Merge pull request #1074 from camicroscope/fix-port-xml
birm Jan 15, 2025
add7303
default color/style for drawOnHelper
birm Jan 16, 2025
a8e0e7a
edit points, default style
birm Jan 16, 2025
fcec297
don't have browser use module
birm Jan 23, 2025
ca26523
meta tag broke model and segment apps
birm Jan 23, 2025
b261bc2
Merge branch 'develop' of https://github.com/camicroscope/camicroscop…
birm Jan 23, 2025
41a544d
Merge pull request #885 from We13b-MD/Info-modal-fixed-for-different-…
birm Jan 23, 2025
691d405
Merge branch 'develop' into ft/user-registration-validation
birm Jan 23, 2025
342dfde
Merge pull request #908 from Lochipi/ft/user-registration-validation
birm Jan 23, 2025
6fb6b90
fix signup merge mistake
birm Jan 23, 2025
7127bb2
better node(test) test for export
birm Jan 23, 2025
9d3c06e
node env handle for export
birm Jan 23, 2025
effeea0
npm updates for deps, mostly test
birm Jan 23, 2025
81c551f
style tweaks for landing pr
birm Jan 23, 2025
f6a28fa
Merge branch 'pr1044' into develop
birm Jan 23, 2025
e640ee3
Merge pull request #1068 from chandrikarj/remove-multiple-buttons-wit…
birm Jan 23, 2025
6f8b0cc
control toolbar size
birm Jan 25, 2025
e9fc997
add back drawCircle
birm Jan 27, 2025
522ecba
Merge branch 'master' into develop
birm Feb 4, 2025
eb5dcee
Delete "git"
birm Feb 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/axe-a11y-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
- run: npm install -g http-server
- run: npm run build --if-present
- run: http-server -s &
- name: Install specific version of ChromeDriver
run: npm install -g chromedriver@125
- name: Run axe
run: |
npm install -g @axe-core/cli
sleep 90
axe http://127.0.0.1:8080 --exit
axe http://127.0.0.1:8080 --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --exit
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The toolbar is in the top-left of the main content window. Use the toolbar butto
| ![](https://fonts.gstatic.com/s/i/materialicons/bug_report/v4/24px.svg) | Bug Report | Report a bug or give feedback. |
| ![](https://fonts.gstatic.com/s/i/materialicons/camera_enhance/v4/24px.svg) | Slide Capture | Click to take a screenshot of the slide and annotations on it. |
| ![](https://fonts.gstatic.com/s/i/materialicons/help/v4/24px.svg) | Tutorial | Click to view a guided tour of the viewer tools. |

| ![](https://fonts.gstatic.com/s/i/materialicons/auto_graph/v4/24px.svg) | Visualization | Click to view visualizations of annotations. |

## Toolbar Shortcuts

Expand Down
65 changes: 57 additions & 8 deletions apps/Info.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">

<title>CaMicroscope Data Table</title>
<title>caMicroscope - Information Dashboard</title>

<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>

Expand All @@ -38,9 +38,28 @@
<link rel="stylesheet" href="./table.css" />
<link rel="stylesheet" href="./info.css" />
<link rel="shortcut icon" type="image/x-icon" href="/apps/landing/favicon.png">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

<style>
.skip-to-content {
position: absolute;
top: -40px;
left: 0;
background: #212529;
color: white;
padding: 8px;
z-index: 100;
transition: top 0.3s;
}
.skip-to-content:focus {
top: 0;
}
</style>

</head>

<body>
<a href="#main-content" class="skip-to-content">Skip to main content</a>
<div class="page-container">
<div>
<nav class="navbar navbar-expand-lg navbar-dark fixed-top bg-dark" style="position: sticky; margin-top: -4em;">
Expand Down Expand Up @@ -70,12 +89,13 @@
</div>
</nav>

<div class="header text-center text-white bg-info p-4">
<main id="main-content">
<div class="header text-center text-white bg-dark p-4">
<h1 class="h1">caMicroscope</h1>
<p style="font-weight: bold; font-size: 14pt;">Digital pathology image viewer with support for human/machine generated annotations and markups.</p>
<div style="align-content: center;">
<div class="btn-group" role="group">
<a href="./table.html"> <button style="border-color: white; border-radius: 5px 0 0 5px;" type="button" class="btn btn-secondary bg-info text-light" title="Slides Table"><i class="fas fa-list-alt"></i> Slides</button> </a>
<a href="./table.html"> <button style="border-color: white; border-radius: 5px 0 0 5px;" type="button" class="btn btn-secondary bg-dark text-light" title="Slides Table"><i class="fas fa-list-alt"></i> Slides</button> </a>
<button type="button" style="border-color: white;" class="btn btn-secondary bg-white text-dark" title="Information Dashboard"> <i class="fas fa-info-circle"></i> Info</button>
</div>
</div>
Expand Down Expand Up @@ -103,6 +123,7 @@ <h4 class="card-title text-center">Synopsis</h4><hr class="mt-0">
</div>
</div>
</div>

<div class="alert alert-info" role="alert">

<h4 style="text-align:center">Annotations</h4><hr class="mt-0">
Expand Down Expand Up @@ -151,6 +172,8 @@ <h3 class="text-center h3 mb-2" style="margin-top:8px;margin-bottom:10px;">Infor
</div>
</div>
</div>
</main>


<!-- footer -->
<footer id="footer-layout"></footer>
Expand Down Expand Up @@ -207,11 +230,37 @@ <h3 class="text-center h3 mb-2" style="margin-top:8px;margin-bottom:10px;">Infor
else{
heatdisp="<i class='fas fa-check' style='color:green;'></i>"
}
var button = `<td> <button class=\"btn btn-primary\" data-id='${allSlides.length}' onclick='openDetails(this)'>Details</button></td>`
var markup = "<tr><td>"+JSONdata.id+"</td><td>"+JSONdata.name+"</td><td>"+annodisp+"</td><td>"+heatdisp+"</td>"+button+"</tr>"
var button = `<td> <button class=\"btn btn-primary btn-sm\" data-id='${allSlides.length}' onclick='openDetails(this)'>Details</button></td>`
const visualization_button = `<td>
<button class="btn btn-success btn-sm" data-id='${JSONdata.id}' onclick='openView(this)'>VisualGraph</span></button>
</button></td>`
var markup = "<tr><td>"+JSONdata.id+"</td><td>"+JSONdata.name+"</td><td>"+annodisp+"</td><td>"+heatdisp+"</td><td>"+button+visualization_button+"</td></tr>"
table.append(markup);
}

function openView(e) {
const oid = e.dataset.id;
console.log(oid);
if (oid) {
window.location.href = `./visualization-dashboard.html?slideId=${sanitize(oid)}`;
} else {
alert('No Data Id');
}
}

function sanitize(string) {
string = string || '';
const map = {
'&': '&amp;',
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
'\'': '&#x27;',
'/': '&#x2F;',
};
const reg = /[&<>"'/]/ig;
return string.replace(reg, (match) => (map[match]));
}
function openDetails(tag){
document.getElementById('detail-dialog').style.display = 'block';
document.getElementById('detail-dialog').style.opacity = '1';
Expand All @@ -229,9 +278,9 @@ <h3 class="text-center h3 mb-2" style="margin-top:8px;margin-bottom:10px;">Infor
table.append(content);
addAnnotations(allSlides[count].annotations);
addHeatmaps(allSlides[count].heatmap);
console.log(allSlides[count]);
console.log(allSlides[count],count);
}

function addAnnotations(content){
if(content.length===0){
return;
Expand Down Expand Up @@ -441,7 +490,7 @@ <h3 class="text-center h3 mb-2" style="margin-top:8px;margin-bottom:10px;">Infor
addbody(JSONdata);
});
});
// console.log(JSONdata);
// console.log(JSONdata);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion apps/batchloader/batchloader.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=2.0"
/>
<link
rel="stylesheet"
Expand Down
16 changes: 5 additions & 11 deletions apps/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
margin: 0;
}

#footer-layout hr {
border-bottom-color: #ffffff;
padding: 0;
margin: 0;
}

#footer-layout {
color: whitesmoke;
text-align: left;
Expand All @@ -29,17 +23,17 @@
color: whitesmoke;
}

.company-name {
.report-link a,
.company-name a {
color: #e5c1ea;
}

.company-name a {
.report-link a:hover,
.company-name a:hover {
color: #e5c1ea;
text-decoration: none;
}

.company-name:hover {
color: #d5c1ea;
}
#footer-layout strong,
#footer-layout b {
color: #ffffff;
Expand Down
17 changes: 17 additions & 0 deletions apps/dev-workbench/workbench.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,20 @@
margin-left: 0 !important;
}
}
.navbar .nav-item .options-button {
color: #000;
border: none;
}

.focus-visible:focus-visible {
outline: 3px solid #000;
outline-offset: 2px;
box-shadow: 0 0 0 5px rgb(23, 162, 184);
}

/* For browsers that don't support :focus-visible */
.focus-visible:focus {
outline: 3px solid #000;
outline-offset: 2px;
box-shadow: 0 0 0 5px rgb(23, 162, 184);
}
47 changes: 36 additions & 11 deletions apps/dev-workbench/workbench.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,31 @@
<script src="../../common/jszip.min.js"></script>
<script src="../../common/FileSaver.min.js"></script>
<script src="../../common/localforage.min.js"></script>

<style>
.skip-to-content {
position: absolute;
top: -40px;
left: 0;
background: #212529;
color: white;
padding: 8px;
z-index: 100;
transition: top 0.3s;
}
.skip-to-content:focus {
top: 0;
}
</style>
</head>
<body>
<a href="#main-content" class="skip-to-content">Skip to main content</a>
<!--Navbar-->
<nav
class="navbar navbar-expand-lg navbar-dark flex-row px-2"
style="background: rgb(33, 37, 41);"
>
<div style="cursor: pointer;" id="goBack">
<div role="button" aria-label="Go back" style="cursor: pointer;" id="goBack" tabindex="0">
<i data-feather="arrow-left" class="text-white"></i>
</div>

Expand All @@ -87,13 +104,14 @@

class="nav-item dropdown"
>
<a
class="nav-link dropdown-toggle"
<button
class="nav-link dropdown-toggle options-button"
id="navbarDropdownMenuLink"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>Options</a
aria-label="Options dropdown"
>Options</button
>
<div
style="margin-left: -5em;"
Expand All @@ -105,20 +123,24 @@
class="dropdown-item"
href="#"
style="display: none;"
><i class="fas fa-file-export"></i>&nbsp;&nbsp;Export</a
tabindex="0"
role="menuitem"
><i class="fas fa-file-export" aria-hidden="true"></i>&nbsp;&nbsp;Export</a
>
<a class="dropdown-item" href="#" onclick="importWork()"
><i class="fas fa-file-import"></i>&nbsp;&nbsp;Import</a
tabindex="0" role="menuitem"><i class="fas fa-file-import"></i>&nbsp;&nbsp;Import</a
>
<input type="file" id="importFile" />
<input type="file" id="importFile" tabindex="-1" />
<a
class="dropdown-item helpButton"
href="#"
data-toggle="modal"
data-target="#helpModal"
onClick="displayUserGuide()"
tabindex="0"
role="menuitem"
>
<i class="fas fa-question-circle"></i>
<i class="fas fa-question-circle" aria-hidden="true"></i>
&nbsp;&nbsp;Help/User Guide</a
>
</div>
Expand All @@ -129,6 +151,7 @@
</nav>
<!--/.Navbar-->

<main id="main-content">
<div id="headbar">
<br />
<div id="headContent" style="font-size: xx-large;">
Expand Down Expand Up @@ -165,7 +188,8 @@
margin-bottom: -1em;
"
type="button"
class="btn btn-primary"
class="btn btn-primary focus-visible"
aria-label="Select or create your dataset"
>
<i data-feather="chevron-right" class="text-white"></i>
</button>
Expand Down Expand Up @@ -258,7 +282,7 @@ <h4 class="card-title">Select your dataset</h4>
style="overflow: hidden;"
class="custom-file-label spriteInputLabel"
for="spriteInput"
> Choose file
>
</label>
</div>
</div>
Expand Down Expand Up @@ -346,7 +370,6 @@ <h5 class="modal-title" id="labelSelectModalTitle"></h5>
for="labelsInput"
style="overflow: hidden;"
>
Choose
</label>
</div>
</div>
Expand Down Expand Up @@ -509,5 +532,7 @@ <h5 class="modal-title" id="helpModalTitle">Help - User Guide</h5>
<script>
feather.replace(); // for feather Icons
</script>

</main>
</body>
</html>
22 changes: 19 additions & 3 deletions apps/dev-workbench/workbench.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,25 @@ $(document).ready(function() {
$('#stepper').show(400);
});

$('#goBack').click(function() {
window.history.back();
});
// Unified function for going back
function goBack(e) {
// Prevent default action for keyboard events
if (e && e.preventDefault) {
e.preventDefault();
}
window.history.back();
}

// Click event for the back button
$('#goBack').on('click', goBack);

// Keydown event for the back button
$('#goBack').on('keydown', function(e) {
// Check for both Enter (13) and Space (32) key codes
if (e.keyCode === 13 || e.keyCode === 32) {
goBack(e);
}
});

// initialize Step 1
function dataSelect() {
Expand Down
2 changes: 1 addition & 1 deletion apps/dicom-connect/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport'
content='width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no'>
content='width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=2.0>
<!-- common -->
<link rel='stylesheet' type='text/css' media='all' href='../common.css'/>
<!-- Check If we're logged in ok, otherwise, log in for us -->
Expand Down
2 changes: 1 addition & 1 deletion apps/heatmap/heatmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="keywords" content="camicroscope, quip" />
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=2.0>

<title>caMicroscope</title>
<!-- google material icons css sheet -->
Expand Down
2 changes: 1 addition & 1 deletion apps/info.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ footer{
background-color: #343a40 !important;
}
.bg-info {
background-color: #17a2b8!important;
background-color: #17a2b8 !important;
}
.page-container{
height:100vh;
Expand Down
Loading
Loading