Bibliography for prehistoric
This commit is contained in:
@@ -70,11 +70,6 @@
|
|||||||
<i class="fa fa-search"></i>
|
<i class="fa fa-search"></i>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<button class="button is-outlined is-rounded mr-4 mt-1" id="howto" title="Istruzioni">
|
|
||||||
<span class="icon has-text-black">
|
|
||||||
<i class="fas fa-question"></i>
|
|
||||||
</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="wait-lg text-center is-hidden" style="clear: both;">
|
<div class="wait-lg text-center is-hidden" style="clear: both;">
|
||||||
@@ -320,7 +315,7 @@
|
|||||||
<!-- Search modal -->
|
<!-- Search modal -->
|
||||||
<div class="modal" id="search" data-modal-target="modal">
|
<div class="modal" id="search" data-modal-target="modal">
|
||||||
<div class="modal-background" data-action="click->modal#close click->tabs#reset"></div>
|
<div class="modal-background" data-action="click->modal#close click->tabs#reset"></div>
|
||||||
<div class="modal-content has-background-white pt-4 mr-4 ml-4 pl-4 pr-4" style="min-height: 400px;">
|
<div class="modal-content box has-background-white pt-4 mr-4 ml-4 pl-4 pr-4" style="min-height: 400px;">
|
||||||
<h1 class="is-size-4 has-text-centered">Ricerca</h1>
|
<h1 class="is-size-4 has-text-centered">Ricerca</h1>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label">Testo libero</label>
|
<label class="label">Testo libero</label>
|
||||||
@@ -341,6 +336,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!--
|
||||||
<div class="field column">
|
<div class="field column">
|
||||||
<label class="label">Categoria reperto</label>
|
<label class="label">Categoria reperto</label>
|
||||||
<div class="control">
|
<div class="control">
|
||||||
@@ -358,6 +354,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
<div class="field column">
|
<div class="field column">
|
||||||
<label class="label">Tecnica muraria</label>
|
<label class="label">Tecnica muraria</label>
|
||||||
<div class="control">
|
<div class="control">
|
||||||
@@ -375,7 +372,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="field is-grouped mt-5 has-text-right">
|
<div class="field is-grouped mt-5 mb-0 pb-0 has-text-right">
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<button class="button is-link">
|
<button class="button is-link">
|
||||||
<span>Cerca</span>
|
<span>Cerca</span>
|
||||||
|
|||||||
@@ -44,6 +44,13 @@ export class Prehistoric {
|
|||||||
<p class="p-2 mb-4">
|
<p class="p-2 mb-4">
|
||||||
<strong>Autore scheda:</strong> ${this._data.author}
|
<strong>Autore scheda:</strong> ${this._data.author}
|
||||||
</p>
|
</p>
|
||||||
|
<p class="mt-4 pl-2 pr-5">
|
||||||
|
<span class="icon has-text-link">
|
||||||
|
<i class="fa fa-book"></i>
|
||||||
|
</span>
|
||||||
|
<strong>Bibliografia:</strong> ${await this.biblio(this._data.id)}
|
||||||
|
</p>
|
||||||
|
<div class="notification is-light mx-3 mt-4 mb-0 p-2 is-hidden" data-biblio-target="biblio"></div>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ UI.openPrehistModal = function (data, selector) {
|
|||||||
prehistoric.data = data;
|
prehistoric.data = data;
|
||||||
|
|
||||||
// For Stimulus biblio_controller
|
// For Stimulus biblio_controller
|
||||||
//GisState.bibliography = prehistoric;
|
GisState.bibliography = prehistoric;
|
||||||
prehistoric.render().then(html => modal.querySelector('#prehist-sheet').innerHTML = html);
|
prehistoric.render().then(html => modal.querySelector('#prehist-sheet').innerHTML = html);
|
||||||
prehistoric.setImages(modal.querySelector('#photos'), this.imageGallery);
|
prehistoric.setImages(modal.querySelector('#photos'), this.imageGallery);
|
||||||
modal.classList.add('is-active');
|
modal.classList.add('is-active');
|
||||||
|
|||||||
Reference in New Issue
Block a user