mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
BUGFIX: Abstand auf Startseite
This commit is contained in:
@@ -3,7 +3,7 @@ var x = (r) => {
|
|||||||
};
|
};
|
||||||
var _ = (r, t, e) => t.has(r) || x("Cannot " + e);
|
var _ = (r, t, e) => t.has(r) || x("Cannot " + e);
|
||||||
var c = (r, t, e) => (_(r, t, "read from private field"), e ? e.call(r) : t.get(r)), n = (r, t, e) => t.has(r) ? x("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, e), u = (r, t, e, i) => (_(r, t, "write to private field"), i ? i.call(r, e) : t.set(r, e), e), g = (r, t, e) => (_(r, t, "access private method"), e);
|
var c = (r, t, e) => (_(r, t, "read from private field"), e ? e.call(r) : t.get(r)), n = (r, t, e) => t.has(r) ? x("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, e), u = (r, t, e, i) => (_(r, t, "write to private field"), i ? i.call(r, e) : t.set(r, e), e), g = (r, t, e) => (_(r, t, "access private method"), e);
|
||||||
const S = "script[xslt-onload]", w = "xslt-template", k = "xslt-transformed", M = "filter-list", m = "filter-list-list", C = "filter-list-item", I = "filter-list-input", y = "filter-list-searchable", B = "scroll-button", q = "tool-tip", P = "abbrev-tooltips", R = "int-link", H = "popup-image", $ = "tab-list", N = "filter-pill", F = "image-reel";
|
const S = "script[xslt-onload]", y = "xslt-template", k = "xslt-transformed", M = "filter-list", m = "filter-list-list", C = "filter-list-item", I = "filter-list-input", w = "filter-list-searchable", B = "scroll-button", q = "tool-tip", P = "abbrev-tooltips", R = "int-link", H = "popup-image", $ = "tab-list", N = "filter-pill", F = "image-reel";
|
||||||
var d, b, E;
|
var d, b, E;
|
||||||
class V {
|
class V {
|
||||||
constructor() {
|
constructor() {
|
||||||
@@ -23,9 +23,9 @@ class V {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
d = new WeakMap(), b = new WeakSet(), E = function(t) {
|
d = new WeakMap(), b = new WeakSet(), E = function(t) {
|
||||||
if (t.getAttribute(k) === "true" || !t.hasAttribute(w))
|
if (t.getAttribute(k) === "true" || !t.hasAttribute(y))
|
||||||
return;
|
return;
|
||||||
let e = "#" + t.getAttribute(w), i = c(this, d).get(e);
|
let e = "#" + t.getAttribute(y), i = c(this, d).get(e);
|
||||||
if (!i) {
|
if (!i) {
|
||||||
let h = htmx.find(e);
|
let h = htmx.find(e);
|
||||||
if (h) {
|
if (h) {
|
||||||
@@ -157,7 +157,7 @@ class U extends HTMLElement {
|
|||||||
let e = this.querySelector("#" + m);
|
let e = this.querySelector("#" + m);
|
||||||
if (!e)
|
if (!e)
|
||||||
return;
|
return;
|
||||||
let i = new Mark(e.querySelectorAll("." + y));
|
let i = new Mark(e.querySelectorAll("." + w));
|
||||||
this._filter && i.mark(this._filter, {
|
this._filter && i.mark(this._filter, {
|
||||||
separateWordSearch: !0
|
separateWordSearch: !0
|
||||||
});
|
});
|
||||||
@@ -197,7 +197,7 @@ class U extends HTMLElement {
|
|||||||
}
|
}
|
||||||
getLinkText(e) {
|
getLinkText(e) {
|
||||||
let i = this.getSearchText(e);
|
let i = this.getSearchText(e);
|
||||||
return i === "" ? "" : `<span class="${y}">${i}</span>`;
|
return i === "" ? "" : `<span class="${w}">${i}</span>`;
|
||||||
}
|
}
|
||||||
getURL(e) {
|
getURL(e) {
|
||||||
if (this._queryparam) {
|
if (this._queryparam) {
|
||||||
@@ -252,6 +252,7 @@ class U extends HTMLElement {
|
|||||||
(i, s) => `
|
(i, s) => `
|
||||||
<a
|
<a
|
||||||
href="${this.getURL(i)}"
|
href="${this.getURL(i)}"
|
||||||
|
hx-indicator="body"
|
||||||
class="${C} block px-2.5 py-0.5 hover:bg-slate-200 no-underline ${s % 2 === 0 ? "bg-stone-100" : "bg-stone-50"}"
|
class="${C} block px-2.5 py-0.5 hover:bg-slate-200 no-underline ${s % 2 === 0 ? "bg-stone-100" : "bg-stone-50"}"
|
||||||
${g(this, f, L).call(this, i) ? 'aria-current="page"' : ""}>
|
${g(this, f, L).call(this, i) ? 'aria-current="page"' : ""}>
|
||||||
${this.ActiveDot(i)}
|
${this.ActiveDot(i)}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
{{- Safe $model.texte.Abs2 -}}
|
{{- Safe $model.texte.Abs2 -}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center mt-8 startlinks font-serif text-xl" data-="">
|
<div class="text-center mt-8 startlinks font-serif text-xl mb-8" data-="">
|
||||||
<a href="/redaktion/einfuehrung" class="">Einleitung</a>
|
<a href="/redaktion/einfuehrung" class="">Einleitung</a>
|
||||||
<div class="inline px-1">|</div>
|
<div class="inline px-1">|</div>
|
||||||
<a href="/reihen" class="font-bold">Alle Bände<i class="ri-arrow-right-double-line"></i></a>
|
<a href="/reihen" class="font-bold">Alle Bände<i class="ri-arrow-right-double-line"></i></a>
|
||||||
|
|||||||
@@ -505,6 +505,7 @@ class FilterList extends HTMLElement {
|
|||||||
(item, index) => `
|
(item, index) => `
|
||||||
<a
|
<a
|
||||||
href="${this.getURL(item)}"
|
href="${this.getURL(item)}"
|
||||||
|
hx-indicator="body"
|
||||||
class="${FILTER_LIST_ITEM} block px-2.5 py-0.5 hover:bg-slate-200 no-underline ${
|
class="${FILTER_LIST_ITEM} block px-2.5 py-0.5 hover:bg-slate-200 no-underline ${
|
||||||
index % 2 === 0 ? "bg-stone-100" : "bg-stone-50"
|
index % 2 === 0 ? "bg-stone-100" : "bg-stone-50"
|
||||||
}"
|
}"
|
||||||
|
|||||||
Reference in New Issue
Block a user