mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.209.0
This commit is contained in:
@@ -98,7 +98,11 @@ class AdventuresBooksList {
|
||||
this.addData(data);
|
||||
await handleBrew(await PrereleaseUtil.pGetBrewProcessed());
|
||||
await handleBrew(await BrewUtil2.pGetBrewProcessed());
|
||||
ManageBrewUi.bindBtnOpen($(`#manage-brew`));
|
||||
// TODO(MODULES) refactor
|
||||
import("./utils-brew/utils-brew-ui-manage.js")
|
||||
.then(({ManageBrewUi}) => {
|
||||
ManageBrewUi.bindBtngroupManager(e_({id: "btngroup-manager"}));
|
||||
});
|
||||
this._list.init();
|
||||
this._listAlt.init();
|
||||
|
||||
@@ -179,7 +183,7 @@ class AdventuresBooksList {
|
||||
this._list.addItem(listItem);
|
||||
|
||||
// region Alt list (covers/thumbnails)
|
||||
const eleLiAlt = $(`<a href="${this._rootPage}#${UrlUtil.encodeForHash(it.id)}" class="ve-flex-col ve-flex-v-center m-3 bks__wrp-bookshelf-item ${isExcluded ? `bks__wrp-bookshelf-item--blocklisted` : ""} py-3 px-2 ${Parser.sourceJsonToColor(it.source)}" ${Parser.sourceJsonToStyle(it.source)}>
|
||||
const eleLiAlt = $(`<a href="${this._rootPage}#${UrlUtil.encodeForHash(it.id)}" class="ve-flex-col ve-flex-v-center m-3 bks__wrp-bookshelf-item ${isExcluded ? `bks__wrp-bookshelf-item--blocklisted` : ""} py-3 px-2 ${Parser.sourceJsonToSourceClassname(it.source)}" ${Parser.sourceJsonToStyle(it.source)}>
|
||||
<img src="${Renderer.adventureBook.getCoverUrl(it)}" class="mb-2 bks__bookshelf-image" loading="lazy" alt="Cover Image: ${(it.name || "").qq()}">
|
||||
<div class="bks__bookshelf-item-name ve-flex-vh-center ve-text-center">${it.name}</div>
|
||||
</a>`)[0];
|
||||
|
||||
Reference in New Issue
Block a user