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

Commit 4878c06

Browse files
committed
modifying the various code and annotation view templates
1 parent 4bb27ac commit 4878c06

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

core/templates/index.mustache

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,21 @@
7070

7171
<!-- the template for the code view slider -->
7272
<script type="text/html" id="code-template">
73-
<a href="#" id="sg-code-close-btn" class="sg-view-close-btn">Close</a>
73+
<div id="sg-code-close" class="sg-view-close">
74+
<a href="#" id="sg-code-close-btn" class="sg-view-close-btn">Close</a>
75+
</div>
76+
<div id="sg-code-loader">
77+
<div class="spinner"></div>
78+
Loading pattern...
79+
</div>
7480
<div id="sg-code-lineage" style="display: none;">
7581
<p>
76-
This pattern contains the following patterns: <span id="sg-code-lineage-fill"></span>
82+
The <span id="sg-code-lineager-patternname" class="sg-code-patternname"></span> pattern contains the following patterns: <span id="sg-code-lineage-fill"></span>
7783
</p>
7884
</div>
7985
<div id="sg-code-lineager" style="display: none;">
8086
<p>
81-
This pattern is included in the following patterns: <span id="sg-code-lineager-fill"></span>
87+
The <span id="sg-code-lineager-patternname" class="sg-code-patternname"></span> pattern is included in the following patterns: <span id="sg-code-lineager-fill"></span>
8288
</p>
8389
</div>
8490
<div id="sg-code-markup">
@@ -95,7 +101,9 @@
95101

96102
<!-- the template for the annotations viewer slider -->
97103
<script type="text/html" id="annotations-template">
98-
<a href="#" id="sg-annotation-close-btn" class="sg-view-close-btn">Close</a>
104+
<div id="sg-annotation-close" class="sg-view-close">
105+
<a href="#" id="sg-annotation-close-btn" class="sg-view-close-btn">Close</a>
106+
</div>
99107
<div id="sg-comments-container"></div>
100108
</script>
101109

0 commit comments

Comments
 (0)