diff --git a/package.json b/package.json index a5cf326d7acf72e44666f9840bfa361dfc939706..4c9847a8e59f552080d3bd2049d47f2a5a8ef648 100755 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "ngx-pipes": "^2.4.6", "pdfjs-dist": "^2.0.943", "photoswipe": "^4.1.2", + "simple-pdf-viewer": "^2.0.3", "tinymce": "^4.9.4", "tooltipster": "^4.2.6", "uglify-es": "3.2.2", diff --git a/src/frontend/app/app-common.module.ts b/src/frontend/app/app-common.module.ts index a2727f5dfde7599e1b8b288642285a9ad1b96d1d..8ffa34e66b8a294ef6497c9b10733167d1f3913e 100755 --- a/src/frontend/app/app-common.module.ts +++ b/src/frontend/app/app-common.module.ts @@ -11,7 +11,7 @@ import { RouterModule } from '@angular/router'; import { DragDropModule } from '@angular/cdk/drag-drop'; /*PLUGINS IMPORTS*/ - +import { SimplePdfViewerModule } from 'simple-pdf-viewer'; import { NgStringPipesModule } from 'ngx-pipes'; import { CookieService } from 'ngx-cookie-service'; import { TimeAgoPipe } from '../plugins/timeAgo.pipe'; @@ -54,6 +54,7 @@ export class MyHammerConfig extends HammerGestureConfig { FormsModule, HttpClientModule, RouterModule, + SimplePdfViewerModule, NgStringPipesModule, AppMaterialModule, DragDropModule @@ -97,6 +98,7 @@ export class MyHammerConfig extends HammerGestureConfig { TimeAgoPipe, TimeLimitPipe, FilterListPipe, + SimplePdfViewerModule, NgStringPipesModule, SmdFabSpeedDialComponent, SmdFabSpeedDialTrigger, diff --git a/src/frontend/app/header/header-left.component.html b/src/frontend/app/header/header-left.component.html index 45fb357a9f53c5163d3f6d194ed36bc679369bf7..2b89072bf3ae03585566d2990746c2c30628191c 100644 --- a/src/frontend/app/header/header-left.component.html +++ b/src/frontend/app/header/header-left.component.html @@ -1,6 +1,6 @@ <div class="bg-head-title-label"> - <button *ngIf="!snavLeft.opened" mat-icon-button (click)="snavLeft.open()"> - <mat-icon class="fa fa-bars"></mat-icon> + <button *ngIf="!snavLeft.opened" mat-icon-button (click)="snavLeft.open()" style="font-size:20px;"> + <mat-icon class="fa fa-stream"></mat-icon> </button> {{headerService.headerMessage}} <span class="admin-toolbar-title-small">{{headerService.subHeaderMessage}}</span> </div> \ No newline at end of file diff --git a/src/frontend/app/header/header-panel.component.html b/src/frontend/app/header/header-panel.component.html index 5d9c006d3e40378665a4e75de607a47421c5b1f8..decc0dd2fba11f984b35e568876c6aa3c2911336 100644 --- a/src/frontend/app/header/header-panel.component.html +++ b/src/frontend/app/header/header-panel.component.html @@ -6,7 +6,7 @@ </div> <div class="panelHeader-button"> <button mat-icon-button (click)="snavLeft.close()"> - <mat-icon fontSet="fas" fontIcon="fa-bars"></mat-icon> + <mat-icon fontSet="fas" fontIcon="fa-stream" style="transform: rotate(180deg);"></mat-icon> </button> </div> </div> diff --git a/src/frontend/app/home.component.html b/src/frontend/app/home.component.html index 1988bf098424bfe2d07909da405934e63634b404..f063e3a6d971cca7e1dbf2f349a4d399e9918cea 100755 --- a/src/frontend/app/home.component.html +++ b/src/frontend/app/home.component.html @@ -22,12 +22,9 @@ </div> <div class="bg-head-content" [class.fullContainer]="mobileMode"> <mat-card *ngIf="homeMessage" - style="background: #135F7F;color: white;box-shadow: none;border: solid 2px white;width: 100%;border-radius: 20px;"> - <div style="display: flex"> - <div *ngIf="!mobileMode" - style="text-align:center;flex: 1;background: url(static.php?filename=logo_only.svg);background-size: auto auto;height: 70px;background-size: contain;background-repeat: no-repeat;background-position: center;"> - </div> - <div style="flex:10;padding-left: 10px;"> + style="background: #135F7F;color: white;box-shadow: none;border: solid 2px white;width: 100%;border-radius: 20px;padding-bottom: 40px;"> + <div style="display: flex;max-height: 250px;overflow: auto;"> + <div style="padding-left: 10px;"> <span [innerHTML]="homeMessage"></span> </div> </div>