Added corpus information to template
diff --git a/dev/scss/main/kwic.scss b/dev/scss/main/kwic.scss
index 4883423..3cd92aa 100644
--- a/dev/scss/main/kwic.scss
+++ b/dev/scss/main/kwic.scss
@@ -150,14 +150,21 @@
display: none;
}
&.active, &:target {
+ overflow: hidden;
p.ref {
color: white;
- padding: 3pt 10pt;
+ padding: 3pt 10pt 3pt 3pt;
padding-right: $right-match-distance;
margin: 0pt;
width: 100%;
bottom: 0;
z-index: 30;
+ > span.sigle {
+ font-size: 75%;
+ vertical-align: top;
+ color: $light-orange;
+ float: right;
+ }
}
}
}
diff --git a/templates/match.html.ep b/templates/match.html.ep
index c48da55..4f3e312 100644
--- a/templates/match.html.ep
+++ b/templates/match.html.ep
@@ -24,5 +24,6 @@
% if ($match->{pubDate}) {
(<time datetime="<%= $match->{pubDate} %>"><%= $match->{pubDate} %></time>)\
% };
+ <span class="sigle">[<%= $match->{corpusID} %>/<%= $match->{docID} %>/<%= $match->{textID} %>]</span> \
</p>
</li>