Skip to content
Snippets Groups Projects
Verified Commit db9bb422 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #9906 fix css + add simple-pdf-viewer

parent 488bc38e
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
"ngx-pipes": "^2.4.6", "ngx-pipes": "^2.4.6",
"pdfjs-dist": "^2.0.943", "pdfjs-dist": "^2.0.943",
"photoswipe": "^4.1.2", "photoswipe": "^4.1.2",
"simple-pdf-viewer": "^2.0.3",
"tinymce": "^4.9.4", "tinymce": "^4.9.4",
"tooltipster": "^4.2.6", "tooltipster": "^4.2.6",
"uglify-es": "3.2.2", "uglify-es": "3.2.2",
......
...@@ -11,7 +11,7 @@ import { RouterModule } from '@angular/router'; ...@@ -11,7 +11,7 @@ import { RouterModule } from '@angular/router';
import { DragDropModule } from '@angular/cdk/drag-drop'; import { DragDropModule } from '@angular/cdk/drag-drop';
/*PLUGINS IMPORTS*/ /*PLUGINS IMPORTS*/
import { SimplePdfViewerModule } from 'simple-pdf-viewer';
import { NgStringPipesModule } from 'ngx-pipes'; import { NgStringPipesModule } from 'ngx-pipes';
import { CookieService } from 'ngx-cookie-service'; import { CookieService } from 'ngx-cookie-service';
import { TimeAgoPipe } from '../plugins/timeAgo.pipe'; import { TimeAgoPipe } from '../plugins/timeAgo.pipe';
...@@ -54,6 +54,7 @@ export class MyHammerConfig extends HammerGestureConfig { ...@@ -54,6 +54,7 @@ export class MyHammerConfig extends HammerGestureConfig {
FormsModule, FormsModule,
HttpClientModule, HttpClientModule,
RouterModule, RouterModule,
SimplePdfViewerModule,
NgStringPipesModule, NgStringPipesModule,
AppMaterialModule, AppMaterialModule,
DragDropModule DragDropModule
...@@ -97,6 +98,7 @@ export class MyHammerConfig extends HammerGestureConfig { ...@@ -97,6 +98,7 @@ export class MyHammerConfig extends HammerGestureConfig {
TimeAgoPipe, TimeAgoPipe,
TimeLimitPipe, TimeLimitPipe,
FilterListPipe, FilterListPipe,
SimplePdfViewerModule,
NgStringPipesModule, NgStringPipesModule,
SmdFabSpeedDialComponent, SmdFabSpeedDialComponent,
SmdFabSpeedDialTrigger, SmdFabSpeedDialTrigger,
......
<div class="bg-head-title-label"> <div class="bg-head-title-label">
<button *ngIf="!snavLeft.opened" mat-icon-button (click)="snavLeft.open()"> <button *ngIf="!snavLeft.opened" mat-icon-button (click)="snavLeft.open()" style="font-size:20px;">
<mat-icon class="fa fa-bars"></mat-icon> <mat-icon class="fa fa-stream"></mat-icon>
</button> </button>
{{headerService.headerMessage}} <span class="admin-toolbar-title-small">{{headerService.subHeaderMessage}}</span> {{headerService.headerMessage}} <span class="admin-toolbar-title-small">{{headerService.subHeaderMessage}}</span>
</div> </div>
\ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
</div> </div>
<div class="panelHeader-button"> <div class="panelHeader-button">
<button mat-icon-button (click)="snavLeft.close()"> <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> </button>
</div> </div>
</div> </div>
......
...@@ -22,12 +22,9 @@ ...@@ -22,12 +22,9 @@
</div> </div>
<div class="bg-head-content" [class.fullContainer]="mobileMode"> <div class="bg-head-content" [class.fullContainer]="mobileMode">
<mat-card *ngIf="homeMessage" <mat-card *ngIf="homeMessage"
style="background: #135F7F;color: white;box-shadow: none;border: solid 2px white;width: 100%;border-radius: 20px;"> style="background: #135F7F;color: white;box-shadow: none;border: solid 2px white;width: 100%;border-radius: 20px;padding-bottom: 40px;">
<div style="display: flex"> <div style="display: flex;max-height: 250px;overflow: auto;">
<div *ngIf="!mobileMode" <div style="padding-left: 10px;">
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;">
<span [innerHTML]="homeMessage"></span> <span [innerHTML]="homeMessage"></span>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment