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

Release v2.4.13 #1391

Merged
merged 5 commits into from
Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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