Skip to content

Commit

Permalink
Merge pull request #529 from camicroscope/develop
Browse files Browse the repository at this point in the history
For 3.9.4
  • Loading branch information
birm authored Jun 17, 2021
2 parents 828b8f3 + f7a2b9e commit 93a02ef
Show file tree
Hide file tree
Showing 26 changed files with 1,485 additions and 864 deletions.
9 changes: 8 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* **Version 1**
* [1.0.x](#camicroscope-10)

### caMicroscope [Unreleased](https://github.com/camicroscope/camicroscope/compare/v3.9.2...camicroscope:develop)
### caMicroscope [Unreleased](https://github.com/camicroscope/camicroscope/compare/v3.9.4...camicroscope:develop)
###### TBD

### caMicroscope [3.9.4](https://github.com/camicroscope/camicroscope/compare/v3.9.3...camicroscope:v3.9.4)
###### 2021-06-16
* Github action for ci testing [#514](https://github.com/camicroscope/caMicroscope/pull/514)
* Bootstrap Upgrades [#518](https://github.com/camicroscope/caMicroscope/pull/518), [#519](https://github.com/camicroscope/caMicroscope/pull/519)
* Migrate Additional Links to mongo from conf file
* Table Style Fix for large number of pages

### caMicroscope [3.9.3](https://github.com/camicroscope/camicroscope/compare/v3.9.2...camicroscope:v3.9.3)
###### 2021-04-15
* Bugfix for additional links url
Expand Down
73 changes: 37 additions & 36 deletions apps/Info.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-wEmeIV1mKuiNpC+IOBjI7aAzPcEZeedi5yW5f2yOq55WWLwNGmvvx4Um1vskeMj0"
crossorigin="anonymous">
<link rel="stylesheet" href="../common/stacktable.css">
<style>
html,
Expand All @@ -53,35 +53,37 @@
<body>
<div class="page-container">
<div>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark" style="position: sticky;">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item link">
<a class="nav-link" href="landing/landing.html"> <i class="fas fa-home"></i> Home</a>
</li>
<li class="nav-item link">
<a class="nav-link" href="table.html"> <i class="fas fa-list-ul"></i> Slides</a>
</li>
<li class="nav-item active link">
<a class="nav-link" href="Info.html"> <i class="fas fa-info-circle"></i> Info</a>
</li>
<li class="nav-item link">
<a class="nav-link" href="./dev-workbench/workbench.html"> <i class="fas fa-pencil-ruler"></i> Workbench</a>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item link" style="font-family: sans-serif;">
<a class="nav-link" href="./signup/signup.html"> <i class="fas fa-user-plus"></i> Signup</a>
</li>
<li class="nav-item link">
<a class="nav-link" target="_blank" href="https://docs.google.com/forms/d/e/1FAIpQLScL91LxrpAZjU88GBZP9gmcdgdf8__uNUwhws2lzU6Lr4qNwA/viewform"> <i class="fas fa-comment"></i> Feedback</a>
</li>
</ul>
</div>
</nav>
<nav class="navbar navbar-expand-lg navbar-dark fixed-top bg-dark" style="position: sticky; margin-top: -4em;">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent" >
<ul class="navbar-nav mr-auto">
<li class="nav-item link" style="font-family: sans-serif;">
<a class="nav-link" href="landing/landing.html"> <i class="fas fa-home"></i> Home</a>
</li>
<li class="nav-item active link" style="font-family: sans-serif;">
<a class="nav-link" href="table.html"> <i class="fas fa-list-ul"></i> Slides</a>
</li>
<li class="nav-item link">
<a class="nav-link" href="Info.html"> <i class="fas fa-info-circle"></i> Info</a>
</li>
<li class="nav-item link">
<a class="nav-link" href="./dev-workbench/workbench.html"> <i class="fas fa-pencil-ruler"></i> Workbench</a>
</li>
</ul>
<ul class="navbar-nav ms-auto">
<li class="nav-item link" style="font-family: sans-serif;">
<a class="nav-link" href="./signup/signup.html"> <i class="fas fa-user-plus"></i> Signup</a>
</li>
<li class="nav-item link" style="font-family: sans-serif;">
<a class="nav-link" target="_blank" href="https://docs.google.com/forms/d/e/1FAIpQLScL91LxrpAZjU88GBZP9gmcdgdf8__uNUwhws2lzU6Lr4qNwA/viewform"> <i class="fas fa-comment"></i> Feedback</a>
</li>
</ul>
</div>
</div>
</nav>

<div class="header text-center text-white bg-info p-4">
<h1 class="h1">caMicroscope</h1>
Expand All @@ -94,7 +96,6 @@ <h1 class="h1">caMicroscope</h1>
</div>
</div>


<div class="modal fade" id="detail-dialog" tabindex="-1" role="dialog"
aria-labelledby="title-of-dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false" >
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg" role="document" style="margin-top:8vh;">
Expand Down Expand Up @@ -171,7 +172,7 @@ <h3 class="text-center h3 mb-2" style="margin-top:8px;margin-bottom:10px;">Infor
<p class="p">Copyright © 2021 caMicroscope</p>
</footer>
</div>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-p34f1UUtsS3wqzfto5wAAmdvj+osOnFyQFpp4Ua3gs/ZVWx6oOypYoCJhGGScy+8" crossorigin="anonymous"></script>
</body>
<script>

Expand Down
6 changes: 6 additions & 0 deletions apps/admin/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,9 @@ iframe {
font-weight: bold;
margin-left: 3rem;
}
.nav-link {
cursor: pointer;
}
.nav-link:hover{
background-color: #dfdfdf;
}
10 changes: 6 additions & 4 deletions apps/admin/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta author="JasoxNaN" />
<!-- css files -->
<link rel="stylesheet" href="../common.css"/>
<link rel="stylesheet" href="../common.css" />
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
Expand Down Expand Up @@ -40,7 +40,8 @@
<title>CaMicroScope Bashboard</title>
</head>
<body>
<header id="nav-bar"
<header
id="nav-bar"
class="navbar navbar-dark sticky-top bg-primary flex-md-nowrap p-0 shadow"
>
<a
Expand Down Expand Up @@ -74,14 +75,14 @@
<nav
id="sidebarMenu"
class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse"
style=""
>
<div class="position-sticky pt-3">
<ul class="nav flex-column">
<li class="nav-item">
<div
class="nav-link active d-flex align-items-center"
aria-current="page"
onclick="redirectPath(this, '../collection/collection.html')"
>
<i class="fa fa-archive"></i>
<div class="title">Collection</div>
Expand All @@ -100,6 +101,7 @@
<div
class="nav-link d-flex align-items-center"
aria-current="page"
onclick="redirectPath(this, '../user/user.html')"
>
<i class="fas fa-user"></i>
<div class="title">User</div>
Expand All @@ -109,7 +111,7 @@
</div>
</nav>
<main id="main" class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
<iframe src="../collection/collection.html" frameborder="0" ></iframe>
<iframe src="../collection/collection.html" frameborder="0"></iframe>
</main>
</div>
</div>
Expand Down
24 changes: 19 additions & 5 deletions apps/admin/admin.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
const pathConfig = {
'collection': '../collection/collection.html',
'user': '../user/user.html',

};

function calculateMainHeight() {
const height = $(window).height() - $('#nav-bar').height();
$('#main').height(height);
const height = $(window).height() - $('#nav-bar').height();
$('#main').height(height);
}
calculateMainHeight();
$(window).resize(function () {
calculateMainHeight();
});
$(window).resize(function() {
calculateMainHeight();
});

function redirectPath(link, url) {
//
// console.log(this);
$('#sidebarMenu .nav-link').each((idx, link)=>$(link).removeClass('active'));
$(link).addClass('active');
$('#main iframe').attr('src', url);
}
5 changes: 1 addition & 4 deletions apps/collection/collection.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

.text-in-line {
margin: 0;
color: #5d5d5d;
}

.has-search .form-control-feedback {
Expand Down Expand Up @@ -48,10 +49,6 @@ div.card.col-card:hover {
0 6px 20px 0 rgba(0, 0, 0, 0.38);
}

.text-in-line {
color: #5d5d5d;
}

/* custom tips */
.bs-tooltip-top .arrow::before {
top: -1;
Expand Down
Loading

0 comments on commit 93a02ef

Please sign in to comment.