Skip to content

Commit

Permalink
Merge pull request #1391 from StochSS/develop
Browse files Browse the repository at this point in the history
Release v2.4.13
  • Loading branch information
briandrawert authored Sep 27, 2022
2 parents d5e83a9 + 183e1db commit 4b866ff
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion __version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# @website https://github.com/stochss/stochss
# =============================================================================

__version__ = '2.4.12'
__version__ = '2.4.13'
__title__ = 'StochSS'
__description__ = 'StochSS is an integrated development environment (IDE) \
for simulation of biochemical networks.'
Expand Down
19 changes: 4 additions & 15 deletions client/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ img.quickstart {
}

.side-navbar {
z-index: 1;
z-index: 0;
}

.user-logs {
Expand Down Expand Up @@ -115,6 +115,9 @@ img.quickstart {
.user-logs {
width: 100%;
}
.expand-logs {
width: 90%;
}
}

.inline{
Expand Down Expand Up @@ -622,20 +625,6 @@ span.checkbox {
background-color: inherit;
}

.nav-drop {
color: #007bff;
text-align: match-parent;
}

.nav-drop-content {
overflow-y: scroll;
max-height: 375px;
}

.nav-drop-item {
padding: 0px 8px 0px 8px;
}

.dropdown {
background-color: inherit;
}
Expand Down
2 changes: 1 addition & 1 deletion client/templates/body.pug
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ body

div.container-fluid
div.row
div.col-sm-12.col-md-2.col-xxl-1(data-hook="side-navbar")
div.col-sm-12.col-md-2.col-xxl-1.side-navbar(data-hook="side-navbar")
nav.sidebar.d-md-block
div.sidebar-sticky
ul.nav.nav-flex-column
Expand Down
2 changes: 2 additions & 0 deletions client/views/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,13 @@ module.exports = View.extend({
logs.removeClass("show");
$(this.queryByHook(e.target.dataset.hook)).html("+");
$(".user-logs").removeClass("expand-logs");
$(".side-navbar").css("z-index", 0);
}else{
logs.addClass("show");
$(this.queryByHook(e.target.dataset.hook)).html("-");
if($(".sidebar-sticky").css("position") === "fixed") {
$(".user-logs").addClass("expand-logs");
$(".side-navbar").css("z-index", 1);
}
}
let element = document.querySelector("#user-logs");
Expand Down
7 changes: 6 additions & 1 deletion stochss/handlers/file_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,12 @@ async def get(self):
Attributes
----------
'''
home = "/hub/spawn" if str(self.request.path).startswith("/user") else "stochss/home"
if str(self.request.path).startswith("/user"):
home = self.request.path
home = home.replace('api/example-library','home')
else:
home = "stochss/home"

try:
system = StochSSBase(path=".example-library.json")
examples = system.load_example_library(home)
Expand Down

0 comments on commit 4b866ff

Please sign in to comment.