-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
15,698 additions
and
12,930 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.notebook { | ||
height: 100vh; | ||
height: 595px; | ||
width: 100%; | ||
} |
15 changes: 15 additions & 0 deletions
15
app/assets/stylesheets/common/jupyterlab-markus-custom.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* MarkUs custom styling */ | ||
@import 'constants'; | ||
|
||
.markus-annotation { | ||
background-color: $light-alert; | ||
} | ||
|
||
div.markus-annotation { | ||
border: 5px solid $sharp-line; | ||
} | ||
|
||
/* Override Jupyterlab css defaults */ | ||
.jp-Notebook .jp-Cell .jp-InputPrompt { | ||
cursor: initial !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"base_template": "lab", | ||
"mimetypes": { | ||
"text/html": true | ||
}, | ||
"preprocessors": { | ||
"100-pygments": { | ||
"type": "nbconvert.preprocessors.CSSHTMLHeaderPreprocessor", | ||
"enabled": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{%- extends 'base.html.j2' -%} | ||
{% from 'mathjax.html.j2' import mathjax %} | ||
|
||
{%- block header -%} | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
{%- block html_head -%} | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
{% set nb_title = nb.metadata.get('title', resources['metadata']['name']) | escape_html_keep_quotes %} | ||
<title>{{nb_title}}</title> | ||
|
||
{%- block html_head_js -%} | ||
{%- endblock html_head_js -%} | ||
|
||
{% block jupyter_widgets %} | ||
{% endblock jupyter_widgets %} | ||
|
||
{% block extra_css %} | ||
{% endblock extra_css %} | ||
|
||
{% block notebook_css %} | ||
{% endblock notebook_css %} | ||
|
||
{%- block html_head_js_mathjax -%} | ||
{{ mathjax("") }} | ||
{%- endblock html_head_js_mathjax -%} | ||
|
||
{%- block html_head_css -%} | ||
{%- endblock html_head_css -%} | ||
|
||
{%- endblock html_head -%} | ||
</head> | ||
{%- endblock header -%} | ||
|
||
{%- block body_header -%} | ||
{% if resources.theme == 'dark' %} | ||
<body class="jp-Notebook" data-jp-theme-light="false" data-jp-theme-name="JupyterLab Dark"> | ||
{% else %} | ||
<body class="jp-Notebook" data-jp-theme-light="true" data-jp-theme-name="JupyterLab Light"> | ||
{% endif %} | ||
{%- endblock body_header -%} | ||
|
||
{% block body_footer %} | ||
</body> | ||
{% endblock body_footer %} | ||
|
||
{% block footer %} | ||
{% block footer_js %} | ||
{% endblock footer_js %} | ||
{{ super() }} | ||
</html> | ||
{% endblock footer %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# TODO: replace requirements files with Pipfile file (when it is stable and supported by pip) | ||
nbconvert==6.5.1 | ||
nbconvert==7.6.0 |
Oops, something went wrong.