Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #17 from datasci4health/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
matheusmota authored Apr 2, 2019
2 parents 07272c0 + 7e3e82d commit 78a182d
Show file tree
Hide file tree
Showing 56 changed files with 249 additions and 3,303 deletions.
1 change: 1 addition & 0 deletions .settings/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.jsdtscope
1 change: 1 addition & 0 deletions .settings/org.eclipse.wst.jsdt.ui.superType.container
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.eclipse.wst.jsdt.launching.JRE_CONTAINER
1 change: 1 addition & 0 deletions .settings/org.eclipse.wst.jsdt.ui.superType.name
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Global
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ RUN apt update && apt install -y apache2 python3-pip
RUN pip3 install jupyter_kernel_gateway
RUN rm /var/www/html/index.html

COPY ./resources/apache2/000-default.conf /etc/apache2/sites-enabled/

WORKDIR /var/www/html
ADD ./notebook .

Expand Down
8 changes: 7 additions & 1 deletion notebook/author/author.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,13 @@
<div class="sty-message-space" id="message-space"></div>
</div>
<div class="sty-work-panel">
<div id="navigation-panel" class="sty-navigation-panel std-border"></div>
<div id="navigation-block" class="sty-navigation-block std-border">
<div id="navigation-panel" class="sty-navigation-panel"></div>
<div id="navigator-expansion" class="sty-navigation-expansion">
<dcc-trigger id="button-expand" action="control/navigator/expand" label="Expand" image="icons/icon-expand.svg"></dcc-trigger>
<dcc-trigger id="button-retract" action="control/navigator/retract" label="Retract" image="icons/icon-retract.svg" style="display:none"></dcc-trigger>
</div>
</div>
<div id="knot-panel" class="sty-knot-panel std-border"></div>
</div>
</div>
Expand Down
21 changes: 18 additions & 3 deletions notebook/author/css/author.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body {
}

.std-border {
border: 1px solid lightgray;
border: 1px solid gray;
border-radius: 5px;
margin: 5px;
}
Expand Down Expand Up @@ -71,20 +71,35 @@ body {
}
}

.sty-navigation-panel {
.sty-navigation-block {
flex: 15%;
max-height: 100%;
max-width: 80%;
height: 100%;
display: flex;
flex-direction: row;
}

.sty-navigation-panel {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
overflow: scroll;
}

.sty-navigation-expansion {
width: 20px;
height: 100%;
}

.navigation-knot {
max-width: 100%;
}

.sty-knot-panel {
flex: 75%;
min-width: 20%;
overflow: scroll;
height: 100%;
}

76 changes: 76 additions & 0 deletions notebook/author/icons/icon-expand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions notebook/author/icons/icon-retract.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions notebook/author/js/dcc-author-server-address.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function() {
// DCCAuthorServer.serverAddress = "http://cloud.lis.ic.unicamp.br/case-notebook/v1/server/";
DCCAuthorServer.serverAddress = "http://127.0.0.1:8888/";
})();
DCCAuthorServer.serverAddress = "http://cloud.lis.ic.unicamp.br/case-notebook/latest/server/";
//DCCAuthorServer.serverAddress = "http://127.0.0.1:8888/";
})();
Loading

0 comments on commit 78a182d

Please sign in to comment.