Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 13e2768

Browse files
author
Brad Miller
committed
Merge branch 'spreadsheet'
2 parents bf35c06 + e2ee711 commit 13e2768

21 files changed

Lines changed: 19314 additions & 6 deletions

File tree

.jshintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"esversion": 6
3+
4+
}

runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/globaltoc.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<a href="{{ pathto(master_doc) }}"
55
class="dropdown-toggle"
66
data-toggle="dropdown" aria-label="{{master_doc}}">{{ theme_navbar_site_name }} <b class="caret"></b></a>
7-
<ul class="dropdown-menu globaltoc"
8-
>{{ toctree(maxdepth=theme_globaltoc_depth|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }}</ul>
7+
<ul class="dropdown-menu globaltoc">
8+
{{ toctree(maxdepth=theme_globaltoc_depth|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }}
9+
</ul>
910
</li>

runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
<ul class="nav navbar-nav">
198198
<li class="divider-vertical"></li>
199199
{% block sidebartoc %}
200-
{% include "globaltoc.html" %}
200+
{% include "subchaptoc.html" %}
201201
<li class="divider-vertical"></li>
202202
{% endblock %}
203203
<!-- {% block sidebarrel %}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<script>
2+
</script>
3+
<li class="dropdown globaltoc-container">
4+
<a href="{{ pathto(master_doc) }}"
5+
class="dropdown-toggle"
6+
data-toggle="dropdown" aria-label="{{master_doc}}">This Chapter<b class="caret"></b></a>
7+
<ul class="dropdown-menu globaltoc">
8+
{% raw %}
9+
{{ for row in subchapter_list: }}
10+
<li class=toctree-l1><a class="reference internal" href="{{= row['subchap_uri']}}">{{= row['title']}}</a></li>
11+
{{ pass }}
12+
{% endraw %}
13+
</ul>
14+
</li>

runestone/dragndrop/css/dragndrop.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.draggable {
1+
.rsdraggable {
22
margin-left: 2%;
33
margin-top: 5px;
44
display:inline;

runestone/dragndrop/js/dragndrop.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ DragNDrop.prototype.createNewElements = function () {
8787
this.containerDiv.appendChild(this.dragDropWrapDiv);
8888

8989
this.draggableDiv = document.createElement("div");
90-
$(this.draggableDiv).addClass("draggable dragzone");
90+
$(this.draggableDiv).addClass("rsdraggable dragzone");
9191
this.addDragDivListeners();
9292

9393
this.dropZoneDiv = document.createElement("div");
94-
$(this.dropZoneDiv).addClass("draggable");
94+
$(this.dropZoneDiv).addClass("rsdraggable");
9595
this.dragDropWrapDiv.appendChild(this.draggableDiv);
9696
this.dragDropWrapDiv.appendChild(this.dropZoneDiv);
9797

runestone/spreadsheet/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .spreadsheet import *

runestone/spreadsheet/css/japp.css

Lines changed: 1455 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)