Skip to content

Commit

Permalink
Merge branch 'develop' into dicom-connect
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Apr 29, 2024
2 parents bcb25a3 + aacad4d commit dc5ee9a
Show file tree
Hide file tree
Showing 13 changed files with 6,161 additions and 1,493 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/axe-a11y-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: axe
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
axe:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm install -g http-server
- run: npm run build --if-present
- run: http-server -s &
- name: Run axe
run: |
npm install -g @axe-core/cli
sleep 90
axe http://127.0.0.1:8080 --exit
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@


name: Run Tests

on:
pull_request:
branches:
- master
- develop

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'

- name: Install dependencies and ESLint
run: |
npm install
npm install eslint eslint-config-google
- name: Run Jest tests and linting
run: |
npm run lint && npm test
378 changes: 0 additions & 378 deletions HISTORY.md

This file was deleted.

18 changes: 13 additions & 5 deletions apps/dev-workbench/workbench.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
display: flex;
flex-direction: row;
}
.navbar-brand{
.navbar-brand {
margin-right: 10rem !important;
}
/* All display none */
Expand All @@ -40,22 +40,30 @@
display: none;
}


#goBack{
#goBack {
display: flex;
margin: 0 1rem;
}
@media only screen and (max-width: 551px) {
nav {
flex-direction: column;
}

nav ul {
flex-direction: column;
}

nav ul li {
margin: 10px 0;
}
}

.dropdown-menu {
margin-left: -5em !important;
}

@media (max-width: 425px) {
.dropdown-menu {
margin-left: 0 !important;
}
}
3 changes: 2 additions & 1 deletion apps/dev-workbench/workbench.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<div style="cursor: pointer;" id="goBack">
<i data-feather="arrow-left" class="text-white"></i>
</div>

<!-- Navbar brand -->

<div class="navbar-brand-div flex-grow-1">
Expand All @@ -81,6 +81,7 @@


<ul class="navbar-nav mr-auto px-2">

<!-- Dropdown -->
<li

Expand Down
8 changes: 8 additions & 0 deletions apps/model/model.css
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,14 @@ ul.disabled {
}
#upload_panel .modalbox-content{
width: 30%;

@media only screen and ( max-width: 1100px ) {
width: 50%;
}

@media only screen and ( max-width: 600px ) {
width: 85%;
}
}

#roi_panel .modalbox-content{
Expand Down
2 changes: 1 addition & 1 deletion apps/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ <h1 class="h1">caMicroscope</h1>
</div>
</div>

<div class="bg-light">
<div class="bg-light" style="overflow-x:scroll;">
<div class="p-2">
<div class="d-flex justify-content-between">
<div class="d-md-inline-flex m-2 w-100">
Expand Down
4 changes: 4 additions & 0 deletions common/DrawHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,3 +349,7 @@ caDrawHelper.prototype.clearCanvas = function(canvas){

var DrawHelper = new caDrawHelper();
//OpenSeadragon.DrawHelper = DrawHelper;


module.exports = caDrawHelper;

10 changes: 9 additions & 1 deletion components/modalbox/modalbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,19 @@
padding: 0;
border: 1px solid #888;
width: 80%;

box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
animation-duration: 0.4s;
}

.modalbox-content #modelupload,
.modalbox-content #weightsupload {
@media only screen and (max-width: 600px) {
width: 90%;
}
}

/* Add Animation */
Expand Down

0 comments on commit dc5ee9a

Please sign in to comment.