forked from abaevdict/abaev-basex
Compare commits
No commits in common. "e6355812287d6d6ff4c835056c21900fd1f13297" and "cd513bd796ad3d583d5f599eb8ca08a674bfda91" have entirely different histories.
e635581228
...
cd513bd796
3 changed files with 3 additions and 5 deletions
|
@ -18,7 +18,7 @@ declare %rest:path("{$lang}/entries/{$id}")
|
||||||
if (count($query) = 0) then
|
if (count($query) = 0) then
|
||||||
doc(`abaevdict_{$lang}/html/{$id}.html`)
|
doc(`abaevdict_{$lang}/html/{$id}.html`)
|
||||||
else
|
else
|
||||||
let $xml := doc(`abaevdict_{$lang}/xml/{$id}.xml`)/tei:entry[1]
|
let $xml := doc(`abaevdict_{$lang}/xml/{$id}.xml`)
|
||||||
let $marked := ft:mark(
|
let $marked := ft:mark(
|
||||||
xquery:eval(
|
xquery:eval(
|
||||||
`declare namespace tei = "http://www.tei-c.org/ns/1.0";
|
`declare namespace tei = "http://www.tei-c.org/ns/1.0";
|
||||||
|
|
|
@ -244,7 +244,7 @@ declare %rest:path("search")
|
||||||
%output:html-version('5')
|
%output:html-version('5')
|
||||||
function site:search($pattern as xs:string?,
|
function site:search($pattern as xs:string?,
|
||||||
$text as xs:string?) {
|
$text as xs:string?) {
|
||||||
site:search('en',$pattern,$text)
|
site:index('en')
|
||||||
};
|
};
|
||||||
|
|
||||||
0
|
0
|
|
@ -52,7 +52,6 @@
|
||||||
<path d="M8.39 12.648a1 1 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1 1 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.51.51 0 0 0-.523-.516.54.54 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532s.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531s.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/>
|
<path d="M8.39 12.648a1 1 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1 1 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.51.51 0 0 0-.523-.516.54.54 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532s.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531s.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<xsl:if test="//tei:mentioned[@xml:lang != 'os' and not(starts-with(@xml:lang,'os-'))]">
|
|
||||||
<a class="abv-map"
|
<a class="abv-map"
|
||||||
hx-get="./map"
|
hx-get="./map"
|
||||||
hx-target="#modal_map"
|
hx-target="#modal_map"
|
||||||
|
@ -61,8 +60,7 @@
|
||||||
hx-on-click='document.getElementById("modal_map").showModal()'
|
hx-on-click='document.getElementById("modal_map").showModal()'
|
||||||
>
|
>
|
||||||
<img src="/static/map.png"></img>
|
<img src="/static/map.png"></img>
|
||||||
</a>
|
</a>
|
||||||
</xsl:if>
|
|
||||||
</h6>
|
</h6>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue