Cambios en el visior de pdf, logos y algun error de acceso público de las variables.

This commit is contained in:
Siroco 2018-10-04 12:33:53 +02:00
parent aa01c03f4e
commit b6afeac244
6 changed files with 23 additions and 19 deletions

3
.gitignore vendored
View File

@ -42,3 +42,6 @@ testem.log
# System Files # System Files
.DS_Store .DS_Store
Thumbs.db Thumbs.db
#Bigfiles
/src/assets/*.pdf

View File

@ -9,7 +9,7 @@ import { PageItem } from './page';
}) })
export class AppComponent implements OnInit { export class AppComponent implements OnInit {
title = 'industria-paisaia'; title = 'industria-paisaia';
private pages : PageItem[]; public pages : PageItem[];
constructor ( constructor (
private pageService : PageService private pageService : PageService

View File

@ -1,6 +1,6 @@
<footer class="single"> <footer class="single">
<p>&copy; Zumalakaerregi Museoa 2018 - El contenido de este site está bajo una licencia Creative Commons By-SA-NC - Texto legal </p> <p>&copy; Zumalakaerregi Museoa 2018 - El contenido de este site está bajo una licencia Creative Commons By-SA-NC - Texto legal </p>
<p>www.zumalakarregimuseoa.eus zuma@zm.net +34 000 00 00 00</p> <p>www.zumalakarregimuseoa.eus zuma@zm.net +34 000 00 00 00</p>
<img title="Iniciativa del Museo Zumalakarregi" src="../../assets/logo.gif" style="max-width:100px;margin:0 30px;"/> <img title="Iniciativa del Museo Zumalakarregi" src="../../assets/zuma-dipu.jpg" style="margin:0 30px;"/>
<img title="Con el patrocinio de Irizar Sociedad Cooperativa" src="../../assets/irizar.jpg" style="max-width:100px;margin:0 30px;"/> <img title="Con el patrocinio de Irizar Sociedad Cooperativa" src="../../assets/irizar.jpg" style="max-width:100px;margin:0 30px;"/>
</footer> </footer>

View File

@ -20,22 +20,6 @@
<!-- imagenes en lista--> <!-- imagenes en lista-->
</div> </div>
<div class="col-md-7 col-xm-12"> <div class="col-md-7 col-xm-12">
<section class="section-publitas">
<div class="row" *ngIf="page.publitas_link">
<div class="col-md-12">
<simple-pdf-viewer #pdfViewer [src]="'../assets/'+page.publitas_link" [removePageBorders]="true"></simple-pdf-viewer>
<div class="pdf-buttons" *ngIf="!pdfViewer.isDocumentLoaded()">
<button>Cargando documento</button>
</div>
<div class="pdf-buttons" style="" *ngIf="pdfViewer.isDocumentLoaded()">
<button (click)="pdfViewer.firstPage()">First Page</button>
<button (click)="pdfViewer.prevPage()">Previous Page</button>
<button (click)="pdfViewer.nextPage()">Next Page</button>
<button (click)="pdfViewer.lastPage()">Last Page</button>
</div>
</div>
</div>
</section>
<section> <section>
<div class="row" *ngIf="page.content"> <div class="row" *ngIf="page.content">
<div class="col-md-12"> <div class="col-md-12">
@ -51,6 +35,23 @@
<h2>Galería fotográfica</h2> <h2>Galería fotográfica</h2>
<ks-modal-gallery [id]="0" [slideConfig]="{infinite: true, sidePreviews: {show: false}}" [buttonsConfig]="buttonsConfigIndustria" [previewConfig]="{visible: false}" [dotsConfig]="{visible: false}" [currentImageConfig]="{downloadable: true, description: {imageText:''}}" [modalImages]="page.gallery" [plainGalleryConfig]="customPlainGalleryRowDescConfig"></ks-modal-gallery> <ks-modal-gallery [id]="0" [slideConfig]="{infinite: true, sidePreviews: {show: false}}" [buttonsConfig]="buttonsConfigIndustria" [previewConfig]="{visible: false}" [dotsConfig]="{visible: false}" [currentImageConfig]="{downloadable: true, description: {imageText:''}}" [modalImages]="page.gallery" [plainGalleryConfig]="customPlainGalleryRowDescConfig"></ks-modal-gallery>
</section> </section>
<section class="section-publitas">
<div class="row" *ngIf="page.publitas_link">
<div class="col-md-12">
<simple-pdf-viewer #pdfViewer [src]="'../assets/'+page.publitas_link" [removePageBorders]="true"></simple-pdf-viewer>
<div class="pdf-buttons" *ngIf="!pdfViewer.isDocumentLoaded()">
<button>Cargando documento</button>
</div>
<div class="pdf-buttons" style="" *ngIf="pdfViewer.isDocumentLoaded()">
<button (click)="pdfViewer.firstPage()">First Page</button>
<button (click)="pdfViewer.prevPage()">Previous Page</button>
<button>{{pdfViewer.getCurrentPage()}}/{{pdfViewer.getNumberOfPages()}}</button>
<button (click)="pdfViewer.nextPage()">Next Page</button>
<button (click)="pdfViewer.lastPage()">Last Page</button>
</div>
</div>
</div>
</section>
</div> </div>
<!-- <div class="col-md-7">{{page.content}}</div> --> <!-- <div class="col-md-7">{{page.content}}</div> -->
</div> </div>

BIN
src/assets/zuma-dipu.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -80,7 +80,7 @@ article div.article-content blockquote {font-family:"Indie Flower", serif; margi
article section.section-publitas div.row { min-height:300px; } article section.section-publitas div.row { min-height:300px; }
section.page-gallery { margin-top:50px;} section.page-gallery { margin-top:50px;margin-bottom:50px; }
/* footer */ /* footer */
footer { min-height:300px; height:100%; background-color:#d2e8eb; padding:20px; color:#000;} footer { min-height:300px; height:100%; background-color:#d2e8eb; padding:20px; color:#000;}