Commit 7643ddb5 by Matteo

Pagine Documenti e Segreteria completate, sistemato base path, attivato pagina BI

parent 87e57069
...@@ -745,6 +745,14 @@ ...@@ -745,6 +745,14 @@
"@types/cordova": "^0.0.34" "@types/cordova": "^0.0.34"
} }
}, },
"@ionic-native/in-app-browser": {
"version": "5.8.0",
"resolved": "https://registry.npmjs.org/@ionic-native/in-app-browser/-/in-app-browser-5.8.0.tgz",
"integrity": "sha512-47QonrALGE8HHNm6+d3IQn8gbT0u2IvaPeRcUJNWhE+7LHPe6uBIcDN1pd4LyLOTA/KT/hQjGnZ414B6P9yuTg==",
"requires": {
"@types/cordova": "^0.0.34"
}
},
"@ionic-native/splash-screen": { "@ionic-native/splash-screen": {
"version": "5.5.1", "version": "5.5.1",
"resolved": "https://registry.npmjs.org/@ionic-native/splash-screen/-/splash-screen-5.5.1.tgz", "resolved": "https://registry.npmjs.org/@ionic-native/splash-screen/-/splash-screen-5.5.1.tgz",
...@@ -2718,6 +2726,11 @@ ...@@ -2718,6 +2726,11 @@
"resolved": "https://registry.npmjs.org/cordova-plugin-file-opener2/-/cordova-plugin-file-opener2-2.2.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-file-opener2/-/cordova-plugin-file-opener2-2.2.0.tgz",
"integrity": "sha512-qJydbRUsoVUXdhJ0b8RsR4y3dG0w4+jwdCKUx2VaZHk7ztMdWugjj+TQHg7Y6w4jiSSgenfDMosupEeQTdSEiQ==" "integrity": "sha512-qJydbRUsoVUXdhJ0b8RsR4y3dG0w4+jwdCKUx2VaZHk7ztMdWugjj+TQHg7Y6w4jiSSgenfDMosupEeQTdSEiQ=="
}, },
"cordova-plugin-inappbrowser": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-inappbrowser/-/cordova-plugin-inappbrowser-3.0.0.tgz",
"integrity": "sha1-1K4A02Z2IQdRBXrSWK5K1KkWGto="
},
"cordova-plugin-ionic-keyboard": { "cordova-plugin-ionic-keyboard": {
"version": "2.1.3", "version": "2.1.3",
"resolved": "https://registry.npmjs.org/cordova-plugin-ionic-keyboard/-/cordova-plugin-ionic-keyboard-2.1.3.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-ionic-keyboard/-/cordova-plugin-ionic-keyboard-2.1.3.tgz",
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
"@ionic-native/email-composer": "^5.8.0", "@ionic-native/email-composer": "^5.8.0",
"@ionic-native/file": "^5.6.0", "@ionic-native/file": "^5.6.0",
"@ionic-native/file-opener": "^5.7.0", "@ionic-native/file-opener": "^5.7.0",
"@ionic-native/in-app-browser": "^5.8.0",
"@ionic-native/splash-screen": "^5.0.0", "@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0", "@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.1.0", "@ionic/angular": "^4.1.0",
...@@ -40,6 +41,7 @@ ...@@ -40,6 +41,7 @@
"cordova-plugin-email-composer": "0.9.2", "cordova-plugin-email-composer": "0.9.2",
"cordova-plugin-file": "6.0.1", "cordova-plugin-file": "6.0.1",
"cordova-plugin-file-opener2": "2.2.0", "cordova-plugin-file-opener2": "2.2.0",
"cordova-plugin-inappbrowser": "3.0.0",
"cordova-sqlite-storage": "3.2.0", "cordova-sqlite-storage": "3.2.0",
"core-js": "^2.5.4", "core-js": "^2.5.4",
"ionic-angular": "^3.9.5", "ionic-angular": "^3.9.5",
...@@ -98,7 +100,8 @@ ...@@ -98,7 +100,8 @@
"cordova-plugin-android-permissions": {}, "cordova-plugin-android-permissions": {},
"cordova-plugin-email-composer": { "cordova-plugin-email-composer": {
"ANDROID_SUPPORT_V4_VERSION": "27.+" "ANDROID_SUPPORT_V4_VERSION": "27.+"
} },
"cordova-plugin-inappbrowser": {}
}, },
"platforms": [ "platforms": [
"android", "android",
......
...@@ -16,6 +16,7 @@ import { File } from '@ionic-native/file/ngx'; ...@@ -16,6 +16,7 @@ import { File } from '@ionic-native/file/ngx';
import { FileOpener } from '@ionic-native/file-opener/ngx'; import { FileOpener } from '@ionic-native/file-opener/ngx';
import { AndroidPermissions } from '@ionic-native/android-permissions/ngx'; import { AndroidPermissions } from '@ionic-native/android-permissions/ngx';
import { EmailComposer } from '@ionic-native/email-composer/ngx'; import { EmailComposer } from '@ionic-native/email-composer/ngx';
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
@NgModule({ @NgModule({
declarations: [AppComponent], declarations: [AppComponent],
...@@ -36,6 +37,7 @@ import { EmailComposer } from '@ionic-native/email-composer/ngx'; ...@@ -36,6 +37,7 @@ import { EmailComposer } from '@ionic-native/email-composer/ngx';
FileOpener, FileOpener,
AndroidPermissions, AndroidPermissions,
EmailComposer, EmailComposer,
InAppBrowser,
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy } { provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
], ],
bootstrap: [AppComponent] bootstrap: [AppComponent]
......
...@@ -25,7 +25,6 @@ export class LoginPage implements OnInit { ...@@ -25,7 +25,6 @@ export class LoginPage implements OnInit {
} }
else else
{ {
this.events.publish('functionCall:startup', null);
this.router.navigateByUrl(''); this.router.navigateByUrl('');
} }
}, },
......
...@@ -9,7 +9,7 @@ import { Storage } from '@ionic/storage'; ...@@ -9,7 +9,7 @@ import { Storage } from '@ionic/storage';
import { AuthResponse } from '../interface/auth-response'; import { AuthResponse } from '../interface/auth-response';
import { UtilService } from '../../service/util.service'; import { UtilService } from '../../service/util.service';
import { HttpClientDataService } from '../../service/http-client-data.service'; import { HttpClientDataService } from '../../service/http-client-data.service';
import { Platform } from '@ionic/angular'; import { Platform, Events } from '@ionic/angular';
@Injectable({ @Injectable({
providedIn: 'root' providedIn: 'root'
...@@ -23,7 +23,8 @@ export class AuthService { ...@@ -23,7 +23,8 @@ export class AuthService {
private storage: Storage, private storage: Storage,
private utilService: UtilService, private utilService: UtilService,
private httpClientDataService: HttpClientDataService, private httpClientDataService: HttpClientDataService,
private platform: Platform private platform: Platform,
private events: Events
) )
{ {
this.errorRespose = { this.errorRespose = {
...@@ -138,7 +139,6 @@ export class AuthService { ...@@ -138,7 +139,6 @@ export class AuthService {
tap( (res: AuthResponse ) => { tap( (res: AuthResponse ) => {
if (!res.error) { if (!res.error) {
this.authSubject.next(true); this.authSubject.next(true);
if(this.platform.is('desktop')){
this.storage.set("idUser",res.id).then((successData)=>{ this.storage.set("idUser",res.id).then((successData)=>{
console.log("Data Stored"); console.log("Data Stored");
console.log(successData); console.log(successData);
...@@ -146,13 +146,9 @@ export class AuthService { ...@@ -146,13 +146,9 @@ export class AuthService {
this.storage.set("name",res.nome); this.storage.set("name",res.nome);
this.storage.set("clienti", res.clienti).then((successData)=>{ this.storage.set("clienti", res.clienti).then((successData)=>{
this.clientiSalvati = true; this.clientiSalvati = true;
this.events.publish('functionCall:startup', null);
}); });
this.storage.set("logged",true); this.storage.set("logged",true);
}
else
{
}
this.errorRespose.error = false; this.errorRespose.error = false;
} }
else{ else{
......
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { Events } from '@ionic/angular';
import { InAppBrowser, InAppBrowserOptions } from '@ionic-native/in-app-browser/ngx';
@Component({ @Component({
selector: 'app-bi', selector: 'app-bi',
...@@ -7,8 +9,27 @@ import { Component, OnInit } from '@angular/core'; ...@@ -7,8 +9,27 @@ import { Component, OnInit } from '@angular/core';
}) })
export class BiPage implements OnInit { export class BiPage implements OnInit {
constructor() { options : InAppBrowserOptions = {
//this.events.publish('functionCall:startup', null); location : 'yes',//Or 'no'
hidden : 'no', //Or 'yes'
clearcache : 'yes',
clearsessioncache : 'yes',
zoom : 'yes',//Android only ,shows browser zoom controls
hardwareback : 'yes',
mediaPlaybackRequiresUserAction : 'no',
shouldPauseOnSuspend : 'no', //Android only
closebuttoncaption : 'Close', //iOS only
disallowoverscroll : 'no', //iOS only
toolbar : 'yes', //iOS only
enableViewportScale : 'no', //iOS only
allowInlineMediaPlayback : 'no',//iOS only
presentationstyle : 'pagesheet',//iOS only
//fullscreen : 'yes',//Windows only
};
constructor(public events: Events, private iab: InAppBrowser) {
this.events.publish('functionCall:startup', null);
const browser = this.iab.create('https://ionicframework.com/', "_blank", this.options);
} }
ngOnInit() { ngOnInit() {
......
<ion-header> <ion-header class="header-subpage" no-border>
<ion-toolbar> <ion-toolbar>
<ion-title>Documenti</ion-title> <ion-title class="titolo-sezione-head">i miei documenti</ion-title>
</ion-toolbar> </ion-toolbar>
</ion-header> </ion-header>
<ion-content> <ion-content>
<ion-grid justify-content-center align-items-center> <div class="contenitore-home">
<ion-row *ngIf="platform.is('desktop')"> <div class="central-doc">
<ion-col>
<ion-grid> <ion-grid>
<ion-row text-center center> <ion-row *ngIf="platform.is('desktop')">
<ion-col> <ion-col class="block-date">
<ion-label floating>Da:</ion-label> <ion-label floating class="element-date"><strong>Cerca</strong> da</ion-label>
</ion-col> <input floating class="input-date element-date" type="date" name="calendar" [(ngModel)]="date1">
<ion-col> <ion-label floating class="element-date">a</ion-label>
<input type="date" name="calendar" [(ngModel)]="date1"> <input floating class="element-date input-date" type="date" name="calendar" [(ngModel)]="date2">
</ion-col> <ion-button floating fill="clear" class="button-date element-date" (click)="cercaDocumenti()">
<ion-col> <ion-icon class="button-icon" slot="icon-only" name="arrow-round-forward"></ion-icon>
<ion-label floating>A:</ion-label> </ion-button>
</ion-col>
<ion-col>
<input type="date" name="calendar" [(ngModel)]="date2">
</ion-col>
<ion-col>
<ion-button color="light" (click)="cercaDocumenti()">Cerca</ion-button>
</ion-col>
</ion-row>
</ion-grid>
</ion-col> </ion-col>
<ion-col></ion-col>
</ion-row> </ion-row>
<ion-row *ngIf="!platform.is('desktop')"> <ion-row *ngIf="!platform.is('desktop')">
<ion-col> <ion-col>
<ion-grid> <ion-grid>
<ion-row text-center center> <ion-row text-center center>
<ion-col> <ion-label floating class="element-date"><strong>Cerca</strong> da</ion-label>
<ion-label floating>Da:</ion-label> <ion-icon floating class="element-date" name="calendar" (click)="setDateDa()"></ion-icon>
</ion-col> <ion-item floating class="element-date">
<ion-col>
<ion-icon name="calendar" (click)="setDateDa()"></ion-icon>
</ion-col>
<ion-col>
{{date1}} {{date1}}
</ion-col> </ion-item>
<ion-col> <ion-label floating class="element-date">a</ion-label>
<ion-label floating>A:</ion-label> <ion-icon floating class="element-date" name="calendar" (click)="setDateA()"></ion-icon>
</ion-col> <ion-item floating class="element-date">
<ion-col>
<ion-icon name="calendar" (click)="setDateA()"></ion-icon>
</ion-col>
<ion-col>
{{date2}} {{date2}}
</ion-col> </ion-item>
<ion-col> <ion-button floating fill="clear" class="button-date element-date" (click)="cercaDocumenti()">
<ion-button color="light" (click)="cercaDocumenti()">Cerca</ion-button> <ion-icon class="button-icon" slot="icon-only" name="arrow-round-forward"></ion-icon>
</ion-col> </ion-button>
</ion-row> </ion-row>
</ion-grid> </ion-grid>
</ion-col> </ion-col>
...@@ -84,34 +65,24 @@ ...@@ -84,34 +65,24 @@
</ion-col> </ion-col>
<ion-col></ion-col> <ion-col></ion-col>
</ion-row>--> </ion-row>-->
<ion-row class="row header" text-center> <ion-list *ngFor="let documento of documenti.documenti; trackBy: trackByDoc" class="row-results">
<ion-col class="col"> <div class="table-row">
<h3>Titolo</h3> <div class="row-text">
</ion-col> {{documento.titolo}}
<ion-col class="col"> <div class="detail">
<h3>Tipo</h3> {{documento.data}} - Tipo: {{documento.tipo}}
</ion-col> </div>
<ion-col class="col"> </div>
<h3>Data</h3> <ion-item class="row-download item-no-border">
</ion-col> <a *ngIf="platform.is('desktop')" href="{{documento.url}}" target="_blank" download tappable>
<ion-col class="col"> <ion-icon name="cloud-download"></ion-icon>
<h3>Download</h3> </a>
</ion-col> <!--<a *ngIf="platform.is('desktop')" href="{{documento.url}}" target="_blank" download>Clicca per scaricare il documento</a>-->
</ion-row> <ion-icon name="cloud-download" *ngIf="!platform.is('desktop')" (click)="getDocumento(documento.idDocumento, documento.nomeFile);" target="_blank" download tappable>Clicca per scaricare il documento</ion-icon>
<ion-row *ngFor="let documento of documenti.documenti; trackBy: trackByDoc" text-center center class="row"> </ion-item>
<ion-col class="col"> </div>
<p>{{documento.titolo}}</p> </ion-list>
</ion-col>
<ion-col class="col">
<p>{{documento.tipo}}</p>
</ion-col>
<ion-col class="col">
<p>{{documento.data}}</p>
</ion-col>
<ion-col class="col">
<a *ngIf="platform.is('desktop')" href="{{documento.url}}" target="_blank" download>Clicca per scaricare il documento</a>
<a *ngIf="!platform.is('desktop')" (click)="getDocumento(documento.idDocumento, documento.nomeFile);" target="_blank" download>Clicca per scaricare il documento</a>
</ion-col>
</ion-row>
</ion-grid> </ion-grid>
</div>
</div>
</ion-content> </ion-content>
...@@ -16,22 +16,13 @@ ...@@ -16,22 +16,13 @@
</ion-col> </ion-col>
</ion-row> </ion-row>
</ion-grid> </ion-grid>
<ion-grid> <!--<ion-grid>
<ion-row justify-content-center> <ion-row justify-content-center>
<ion-col align-self-center size-lg="7"> <ion-col align-self-center size-lg="7">
<ion-item class="item-border-grey">
<ion-label class="label-border">Seleziona l'azienda</ion-label>
<ion-select value="clienteSel" [(ngModel)]="clienteSel" (ionChange)="cambiaCliente()">
<ion-select-option *ngFor="let cliente of clienti;" value="{{cliente.id}}">{{cliente.denominazione}}</ion-select-option>
</ion-select>
</ion-item>
<ion-item class="item-border-grey">
<ion-label>L'azienda selezionata è {{clienteSelezionato.denominazione}}</ion-label>
<ion-select style="visibility: hidden"></ion-select>
</ion-item>
</ion-col> </ion-col>
</ion-row> </ion-row>
</ion-grid> </ion-grid>-->
</ion-header> </ion-header>
<ion-content id="content"> <ion-content id="content">
...@@ -85,21 +76,27 @@ ...@@ -85,21 +76,27 @@
</ion-toolbar> </ion-toolbar>
</ion-header> </ion-header>
<ion-content class="menu-content"> <ion-content class="menu-content">
<ion-item class="item-border-grey">
<ion-label class="label-border">Azienda Selezionata:</ion-label>
<ion-select value="clienteSel" [(ngModel)]="clienteSel" (ionChange)="cambiaCliente()" [placeholder]="clienteSelezionato ? clienteSelezionato.denominazione : 'Tap to select..'">
<ion-select-option *ngFor="let cliente of clienti; let i=index;" value="{{cliente.id}}">{{cliente.denominazione}}</ion-select-option>
</ion-select>
</ion-item>
<ion-list> <ion-list>
<div> <div>
<ion-item (click)="apriPagina('home')" tappable class="menu-item">SCHERMATA INIZIALE</ion-item> <ion-item (click)="apriPagina('home')" tappable class="menu-item">SCHERMATA INIZIALE</ion-item>
</div> </div>
<div> <div>
<ion-item (click)="apriPagina('documenti')" tappable class="menu-item">CONSULTO I MIEI DOCUMENTI</ion-item> <ion-item (click)="apriPagina('documenti')" tappable class="menu-item">I MIEI DOCUMENTI</ion-item>
</div> </div>
<div> <div>
<ion-item (click)="apriPagina('interviste')" tappable class="menu-item">DOMANDE E RISPOSTE</ion-item> <ion-item (click)="apriPagina('interviste')" tappable class="menu-item">DOMANDA / RISPOSTA</ion-item>
</div> </div>
<div> <div>
<ion-item (click)="apriPagina('pareri')" tappable class="menu-item">CHIEDO UN PARERE AL CONSULENTE</ion-item> <ion-item (click)="apriPagina('pareri')" tappable class="menu-item">VOGLIO UN PARERE</ion-item>
</div> </div>
<div> <div>
<ion-item (click)="apriPagina('segreteria')" tappable class="menu-item">LA MIA SEGRETERIA</ion-item> <ion-item (click)="apriPagina('segreteria')" tappable class="menu-item">LA SEGRETERIA</ion-item>
</div> </div>
<div> <div>
<ion-item (click)="apriPagina('change-password')" tappable class="menu-item">CAMBIO PASSWORD</ion-item> <ion-item (click)="apriPagina('change-password')" tappable class="menu-item">CAMBIO PASSWORD</ion-item>
......
...@@ -23,14 +23,16 @@ export class HomePage { ...@@ -23,14 +23,16 @@ export class HomePage {
if(this.clienteSelezionato.id == null) { if(this.clienteSelezionato.id == null) {
if(!authService.areClientiSalvati()) if(!authService.areClientiSalvati())
{ {
UtilService.wait(); setTimeout(() => {
this.loadClienti()
}, 3000)
} }
/*{ /*{
setTimeout(function () { setTimeout(function () {
this.loadClienti(); this.loadClienti();
}, 3000); }, 3000);
} }
else*/ this.loadClienti(); else*/ else this.loadClienti();
} }
}); });
} }
...@@ -46,6 +48,7 @@ export class HomePage { ...@@ -46,6 +48,7 @@ export class HomePage {
this.clienteSelezionato = AuthService.clienteSelezionato; this.clienteSelezionato = AuthService.clienteSelezionato;
this.events.publish('functionCall:clienteCambiato', null); this.events.publish('functionCall:clienteCambiato', null);
}); });
return true;
} }
cambiaCliente() cambiaCliente()
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<img src="assets/img/consulto-documenti.svg" (click)="apriPagina('documenti')" tappable/> <img src="assets/img/consulto-documenti.svg" (click)="apriPagina('documenti')" tappable/>
</div> </div>
<div tappable class="section-title" (click)="apriPagina('documenti')"> <div tappable class="section-title" (click)="apriPagina('documenti')">
Consulto i miei documenti I miei documenti
</div> </div>
</div> </div>
<div class="box" tappable> <div class="box" tappable>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<img src="assets/img/chiedo-parere.svg" (click)="apriPagina('pareri')" tappable/> <img src="assets/img/chiedo-parere.svg" (click)="apriPagina('pareri')" tappable/>
</div> </div>
<div class="section-title" (click)="apriPagina('pareri')" tappable> <div class="section-title" (click)="apriPagina('pareri')" tappable>
Chiedo un parere al consulente Voglio un parere
</div> </div>
</div> </div>
<div class="box" tappable> <div class="box" tappable>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<img src="assets/img/domande-risposte.svg" (click)="apriPagina('interviste')" tappable/> <img src="assets/img/domande-risposte.svg" (click)="apriPagina('interviste')" tappable/>
</div> </div>
<div class="section-title" (click)="apriPagina('interviste')" tappable> <div class="section-title" (click)="apriPagina('interviste')" tappable>
Domande e risposte Domanda / Risposta
</div> </div>
</div> </div>
<div class="box" tappable> <div class="box" tappable>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<img src="assets/img/segreteria.svg" (click)="apriPagina('segreteria')" tappable/> <img src="assets/img/segreteria.svg" (click)="apriPagina('segreteria')" tappable/>
</div> </div>
<div class="section-title" (click)="apriPagina('segreteria')" tappable> <div class="section-title" (click)="apriPagina('segreteria')" tappable>
La mia segreteria La segreteria
</div> </div>
</div> </div>
<!-- <!--
...@@ -39,18 +39,18 @@ ...@@ -39,18 +39,18 @@
<img src="../../../assets/img/leggo-news.svg" (click)="apriPagina('news')" tappable/> <img src="../../../assets/img/leggo-news.svg" (click)="apriPagina('news')" tappable/>
</div> </div>
<div class="section-title" (click)="apriPagina('news')" tappable> <div class="section-title" (click)="apriPagina('news')" tappable>
Consulto le News 2p2 Novità
</div> </div>
</div> </div>
-->
<div class="box" tappable> <div class="box" tappable>
<div class="icon" tappable> <div class="icon" tappable>
<img src="../../../assets/img/segreteria.svg" (click)="apriPagina('bi')" tappable/> <img src="assets/img/verifico-reports.svg" (click)="apriPagina('bi')" tappable/>
</div> </div>
<div class="section-title" (click)="apriPagina('bi')" tappable> <div class="section-title" (click)="apriPagina('bi')" tappable>
Verifico i miei grafici reports I miei risultati
</div> </div>
</div> </div>
-->
</div> </div>
</div> </div>
</ion-content> </ion-content>
...@@ -11,6 +11,7 @@ import { SegreteriaService } from './../../service/segreteria.service'; ...@@ -11,6 +11,7 @@ import { SegreteriaService } from './../../service/segreteria.service';
import { ErrorResponse } from '../../auth/interface/error-response'; import { ErrorResponse } from '../../auth/interface/error-response';
import { Platform, Events } from '@ionic/angular'; import { Platform, Events } from '@ionic/angular';
import { DatePicker } from '@ionic-native/date-picker/ngx'; import { DatePicker } from '@ionic-native/date-picker/ngx';
import { BrowserStack } from 'protractor/built/driverProviders';
@Component({ @Component({
selector: 'app-segreteria', selector: 'app-segreteria',
...@@ -68,6 +69,47 @@ export class SegreteriaPage implements OnInit { ...@@ -68,6 +69,47 @@ export class SegreteriaPage implements OnInit {
changeSel(sel) changeSel(sel)
{ {
this.segreteria = sel; this.segreteria = sel;
var fatture = document.getElementById('icon-fatture');
var estratto = document.getElementById('icon-estratto');
var solleciti = document.getElementById('icon-solleciti');
var fatturelabel = document.getElementById('label-fatture');
var estrattolabel = document.getElementById('label-estratto');
var sollecitilabel = document.getElementById('label-solleciti');
switch(sel)
{
case "fatture":
{
fatture.setAttribute("src", "assets/icon/fatture-progetti-bianco.svg");
fatturelabel.setAttribute("style", "color: white;");
estratto.setAttribute("src", "assets/icon/estratto-conto-grigio.svg");
estrattolabel.setAttribute("style", "color:#515151;");
solleciti.setAttribute("src", "assets/icon/solleciti-grigio.svg");
sollecitilabel.setAttribute("style", "color:#515151;");
break;
}
case "estratto":
{
fatture.setAttribute("src", "assets/icon/fatture-progetti-grigio.svg");
fatturelabel.setAttribute("style", "color:#515151;");
estratto.setAttribute("src", "assets/icon/estratto-conto-bianco.svg");
estrattolabel.setAttribute("style", "color: white;");
solleciti.setAttribute("src", "assets/icon/solleciti-grigio.svg");
sollecitilabel.setAttribute("style", "color:#515151;");
break;
}
case "solleciti":
{
fatture.setAttribute("src", "assets/icon/fatture-progetti-grigio.svg");
fatturelabel.setAttribute("style", "color:#515151;");
estratto.setAttribute("src", "assets/icon/estratto-conto-grigio.svg");
estrattolabel.setAttribute("style", "color:#515151;");
solleciti.setAttribute("src", "assets/icon/solleciti-bianco.svg");
sollecitilabel.setAttribute("style", "color: white;");
break;
}
}
} }
setDateDa() setDateDa()
...@@ -135,14 +177,14 @@ export class SegreteriaPage implements OnInit { ...@@ -135,14 +177,14 @@ export class SegreteriaPage implements OnInit {
loadStrutture() loadStrutture()
{ {
this.utilService.showLoading(); //this.utilService.showLoading();
this.segreteriaService.getStrutture(AuthService.clienteSelezionato.id).subscribe((res: StruttureResponse)=>{ this.segreteriaService.getStrutture(AuthService.clienteSelezionato.id).subscribe((res: StruttureResponse)=>{
this.utilService.closeLoading(); //this.utilService.closeLoading();
this.strutture = res.strutture; this.strutture = res.strutture;
if(this.strutture.length > 0) this.strutturaSel = this.strutture[0]; if(this.strutture.length > 0) this.strutturaSel = this.strutture[0];
}, },
(error: ErrorResponse) => { (error: ErrorResponse) => {
this.utilService.closeLoading(); //this.utilService.closeLoading();
if(error != null && error.errorMsg != null) this.utilService.presentAlert("Errore", "", error.errorMsg, ["OK"]); if(error != null && error.errorMsg != null) this.utilService.presentAlert("Errore", "", error.errorMsg, ["OK"]);
else if(error!=null) this.utilService.presentAlert("Errore", "", error, ["OK"]); else if(error!=null) this.utilService.presentAlert("Errore", "", error, ["OK"]);
else this.utilService.presentAlert("Errore", "", "Errore durante la richiesta lista strutture", ["OK"]); else this.utilService.presentAlert("Errore", "", "Errore durante la richiesta lista strutture", ["OK"]);
......
...@@ -163,6 +163,11 @@ export class UtilService { ...@@ -163,6 +163,11 @@ export class UtilService {
this.router.navigateByUrl('home/segreteria'); this.router.navigateByUrl('home/segreteria');
break; break;
} }
case "bi":
{
this.router.navigateByUrl('home/bi');
break;
}
case "change-password": case "change-password":
{ {
this.router.navigateByUrl('home/change-pwd'); this.router.navigateByUrl('home/change-pwd');
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 97.6 117.5" style="enable-background:new 0 0 97.6 117.5;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<g>
<g>
<path class="st0" d="M63.7,8.6H9.5v100.2H88V33L63.7,8.6z M64.6,14.3L82.3,32H64.6V14.3z M12.9,105.5V12h48.4v23.4h23.4v70.2H12.9
z"/>
<path class="st0" d="M26.2,37h15c0.9,0,1.7-0.7,1.7-1.7s-0.7-1.7-1.7-1.7h-15c-0.9,0-1.7,0.7-1.7,1.7S25.3,37,26.2,37z"/>
<path class="st0" d="M26.2,50.4h8.4c0.9,0,1.7-0.7,1.7-1.7c0-0.9-0.7-1.7-1.7-1.7h-8.4c-0.9,0-1.7,0.7-1.7,1.7
C24.6,49.6,25.3,50.4,26.2,50.4z"/>
<path class="st0" d="M51.3,50.4H63c0.9,0,1.7-0.7,1.7-1.7c0-0.9-0.7-1.7-1.7-1.7H51.3c-0.9,0-1.7,0.7-1.7,1.7
C49.6,49.6,50.4,50.4,51.3,50.4z"/>
<path class="st0" d="M41.7,47.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.4,0.2,0.9,0.5,1.2c0.3,0.3,0.8,0.5,1.2,0.5s0.9-0.2,1.2-0.5
c0.3-0.3,0.5-0.7,0.5-1.2c0-0.4-0.2-0.9-0.5-1.2C43.5,46.9,42.4,46.9,41.7,47.5z"/>
<path class="st0" d="M71.3,50.4c0.4,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.8,0.5-1.2c0-0.4-0.2-0.9-0.5-1.2c-0.6-0.6-1.7-0.6-2.4,0
c-0.3,0.3-0.5,0.8-0.5,1.2c0,0.4,0.2,0.9,0.5,1.2C70.5,50.2,70.9,50.4,71.3,50.4z"/>
<path class="st0" d="M46.3,60.4H34.6c-0.9,0-1.7,0.7-1.7,1.7s0.7,1.7,1.7,1.7h11.7c0.9,0,1.7-0.7,1.7-1.7
C47.9,61.1,47.2,60.4,46.3,60.4z"/>
<path class="st0" d="M26.2,63.7c0.4,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.8,0.5-1.2c0-0.4-0.2-0.9-0.5-1.2c-0.6-0.6-1.7-0.6-2.4,0
c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.4,0.2,0.9,0.5,1.2C25.4,63.6,25.8,63.7,26.2,63.7z"/>
<path class="st0" d="M31.5,75.7c-3.7,1.9-4.9,5.5-5.3,9.3c-0.7-0.6-1.4-1.2-2.1-1.7c-1.6-1.4-4,1-2.4,2.4c1.6,1.3,3.1,2.6,4.7,3.9
c1.1,0.9,2.8,0.3,2.9-1.2c0.1-3.6,0.3-7.9,3.9-9.8C35.1,77.6,33.4,74.7,31.5,75.7z"/>
<path class="st0" d="M42.6,82.4c-2.3,0.5-4.9,3.5-6.6,0.2c-1-1.9-3.8-0.2-2.9,1.7c0.9,1.8,2.5,3,4.5,3.2c1,0.1,1.9,0,2.8-0.4
c0.7-0.3,3.2-2.2,3.8-1.2c1,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,1.4,2,2.6,2.5
c0.6,0.2,0.7,0.8,0.7,1S76.3,71.2,75.6,71.4z"/>
</g>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 97.6 117.5" style="enable-background:new 0 0 97.6 117.5;" xml:space="preserve">
<style type="text/css">
.st0{fill:#525252;}
</style>
<g>
<g>
<path class="st0" d="M63.7,8.6H9.5v100.2H88V33L63.7,8.6z M64.6,14.3L82.3,32H64.6V14.3z M12.9,105.5V12h48.4v23.4h23.4v70.2H12.9
z"/>
<path class="st0" d="M26.2,37h15c0.9,0,1.7-0.7,1.7-1.7s-0.7-1.7-1.7-1.7h-15c-0.9,0-1.7,0.7-1.7,1.7S25.3,37,26.2,37z"/>
<path class="st0" d="M26.2,50.4h8.4c0.9,0,1.7-0.7,1.7-1.7c0-0.9-0.7-1.7-1.7-1.7h-8.4c-0.9,0-1.7,0.7-1.7,1.7
C24.6,49.6,25.3,50.4,26.2,50.4z"/>
<path class="st0" d="M51.3,50.4H63c0.9,0,1.7-0.7,1.7-1.7c0-0.9-0.7-1.7-1.7-1.7H51.3c-0.9,0-1.7,0.7-1.7,1.7
C49.6,49.6,50.4,50.4,51.3,50.4z"/>
<path class="st0" d="M41.7,47.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.4,0.2,0.9,0.5,1.2c0.3,0.3,0.8,0.5,1.2,0.5s0.9-0.2,1.2-0.5
c0.3-0.3,0.5-0.7,0.5-1.2c0-0.4-0.2-0.9-0.5-1.2C43.5,46.9,42.4,46.9,41.7,47.5z"/>
<path class="st0" d="M71.3,50.4c0.4,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.8,0.5-1.2c0-0.4-0.2-0.9-0.5-1.2c-0.6-0.6-1.7-0.6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,0.7s-0.8-0.1-1-0.7c-0.2-0.6-0.5-1.1-1-1.6c0,0,0,0-0.1,0
c-0.2-0.2-0.4-0.4-0.6-0.5c-0.2-0.1-0.4-0.2-0.6-0.3c-0.1,0-0.1-0.1-0.2-0.1l0,0c0,0,0,0,0,0c0,0-0.1,0-0.1,0
c-0.2-0.1-0.5-0.2-0.7-0.2c-0.2,0-0.4,0-0.6-0.1c-0.1,0-0.2,0-0.2,0c0,0,0,0,0,0c-0.6,0-1.2,0.1-1.7,0.4L57.3,79
c-0.5,0.1-0.8-0.1-1-0.3c-0.2-0.2-0.5-0.6-0.2-1.2c0.5-1.1,0.6-2.4,0.1-3.6c-0.5-1.1-1.4-2-2.6-2.5c-0.6-0.2-0.7-0.8-0.7-1
s0.1-0.8,0.7-1c1.2-0.4,2.1-1.3,2.6-2.5c0.5-1.2,0.4-2.5-0.1-3.6c-0.3-0.6,0-1.1,0.2-1.2c0.2-0.2,0.6-0.5,1.2-0.2
c1.1,0.5,2.4,0.6,3.6,0.1c1.1-0.5,2-1.4,2.5-2.6c0.2-0.6,0.8-0.7,1-0.7s0.8,0.1,1,0.7c0.4,1.2,1.3,2.1,2.5,2.6
c1.1,0.5,2.5,0.4,3.6-0.1c0.6-0.3,1.1,0,1.2,0.2c0.2,0.2,0.5,0.6,0.2,1.2c-0.5,1.1-0.6,2.4-0.1,3.6c0.5,1.1,1.4,2,2.6,2.5
c0.6,0.2,0.7,0.8,0.7,1S76.3,71.2,75.6,71.4z"/>
</g>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 97.6 117.5" style="enable-background:new 0 0 97.6 117.5;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<g>
<g>
<g>
<path class="st0" d="M91.6,2.8H17.1c-1,0-1.9,0.8-1.9,1.9V14H5.9c-1,0-1.9,0.8-1.9,1.9v96.9c0,1,0.8,1.9,1.9,1.9h74.5
c1,0,1.9-0.8,1.9-1.9v-9.3h9.3c1,0,1.9-0.8,1.9-1.9V4.7C93.5,3.7,92.7,2.8,91.6,2.8z M78.6,110.9H7.8V17.7h55.9v13
c0,1,0.8,1.9,1.9,1.9h13V110.9z M67.4,28.9v-8.5l8.5,8.5H67.4z M89.8,99.7h-7.5V30.8c0-0.5-0.2-1-0.5-1.3L66.9,14.6
c-0.3-0.3-0.8-0.5-1.3-0.5H19V6.6h70.8V99.7z"/>
</g>
</g>
<g>
<g>
<rect x="20.8" y="41.6" class="st0" width="44.7" height="3.7"/>
</g>
</g>
<g>
<g>
<rect x="20.8" y="51.3" class="st0" width="44.7" height="3.7"/>
</g>
</g>
<g>
<g>
<rect x="20.8" y="62.5" class="st0" width="27.9" height="3.7"/>
</g>
</g>
<path class="st0" d="M30.3,102.7c-0.2,0-0.3,0-0.5-0.1c-0.8-0.3-1.1-1.1-0.9-1.9c5-13.4,7.6-15.9,10-15.5c2,0.4,2.7,2.8,3.4,5.4
c0.3,1.1,1,3.8,1.6,4l0,0c0.4,0,1.6-1.5,2.1-2.2c1.4-1.8,3.1-3.9,5.5-3.7c1.7,0.2,2.6,1.6,3.2,2.5c0.6,1,1,1.4,1.5,1.5
c0.5,0.1,0.9-0.2,1.9-0.8c1-0.7,2.4-1.6,4.5-2.1c1.6-0.3,3.3-0.3,4.9,0c0.8,0.2,1.3,0.9,1.1,1.7c-0.2,0.8-0.9,1.3-1.7,1.1
c-1.3-0.3-2.6-0.3-3.8,0c-1.5,0.3-2.5,1-3.5,1.6c-1.1,0.8-2.3,1.6-4,1.3c-1.9-0.3-2.9-1.7-3.5-2.8c-0.5-0.8-0.8-1.2-1.2-1.2
c-0.7-0.2-1.9,1.4-2.8,2.6c-1.4,1.7-2.8,3.5-4.8,3.3c-2.4-0.3-3.2-3.3-4-6.1c-0.3-1.1-0.8-3.1-1.3-3.4c0.1,0.1-1.9,1.1-6.6,13.7
C31.4,102.4,30.8,102.7,30.3,102.7z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 97.6 117.5" style="enable-background:new 0 0 97.6 117.5;" xml:space="preserve">
<style type="text/css">
.st0{fill:#525252;}
</style>
<g>
<g>
<g>
<path class="st0" d="M91.6,2.8H17.1c-1,0-1.9,0.8-1.9,1.9V14H5.9c-1,0-1.9,0.8-1.9,1.9v96.9c0,1,0.8,1.9,1.9,1.9h74.5
c1,0,1.9-0.8,1.9-1.9v-9.3h9.3c1,0,1.9-0.8,1.9-1.9V4.7C93.5,3.7,92.7,2.8,91.6,2.8z M78.6,110.9H7.8V17.7h55.9v13
c0,1,0.8,1.9,1.9,1.9h13V110.9z M67.4,28.9v-8.5l8.5,8.5H67.4z M89.8,99.7h-7.5V30.8c0-0.5-0.2-1-0.5-1.3L66.9,14.6
c-0.3-0.3-0.8-0.5-1.3-0.5H19V6.6h70.8V99.7z"/>
</g>
</g>
<g>
<g>
<rect x="20.8" y="41.6" class="st0" width="44.7" height="3.7"/>
</g>
</g>
<g>
<g>
<rect x="20.8" y="51.3" class="st0" width="44.7" height="3.7"/>
</g>
</g>
<g>
<g>
<rect x="20.8" y="62.5" class="st0" width="27.9" height="3.7"/>
</g>
</g>
<path class="st0" d="M30.3,102.7c-0.2,0-0.3,0-0.5-0.1c-0.8-0.3-1.1-1.1-0.9-1.9c5-13.4,7.6-15.9,10-15.5c2,0.4,2.7,2.8,3.4,5.4
c0.3,1.1,1,3.8,1.6,4l0,0c0.4,0,1.6-1.5,2.1-2.2c1.4-1.8,3.1-3.9,5.5-3.7c1.7,0.2,2.6,1.6,3.2,2.5c0.6,1,1,1.4,1.5,1.5
c0.5,0.1,0.9-0.2,1.9-0.8c1-0.7,2.4-1.6,4.5-2.1c1.6-0.3,3.3-0.3,4.9,0c0.8,0.2,1.3,0.9,1.1,1.7c-0.2,0.8-0.9,1.3-1.7,1.1
c-1.3-0.3-2.6-0.3-3.8,0c-1.5,0.3-2.5,1-3.5,1.6c-1.1,0.8-2.3,1.6-4,1.3c-1.9-0.3-2.9-1.7-3.5-2.8c-0.5-0.8-0.8-1.2-1.2-1.2
c-0.7-0.2-1.9,1.4-2.8,2.6c-1.4,1.7-2.8,3.5-4.8,3.3c-2.4-0.3-3.2-3.3-4-6.1c-0.3-1.1-0.8-3.1-1.3-3.4c0.1,0.1-1.9,1.1-6.6,13.7
C31.4,102.4,30.8,102.7,30.3,102.7z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 97.6 117.5" style="enable-background:new 0 0 97.6 117.5;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<g>
<g>
<g>
<path class="st0" d="M91.6,2.8H17.1c-1,0-1.9,0.8-1.9,1.9V14H5.9c-1,0-1.9,0.8-1.9,1.9v96.9c0,1,0.8,1.9,1.9,1.9h74.5
c1,0,1.9-0.8,1.9-1.9v-9.3h9.3c1,0,1.9-0.8,1.9-1.9V4.7C93.5,3.7,92.7,2.8,91.6,2.8z M78.6,110.9H7.8V17.7h55.9v13
c0,1,0.8,1.9,1.9,1.9h13V110.9z M67.4,28.9v-8.5l8.5,8.5H67.4z M89.8,99.7h-7.5V30.8c0-0.5-0.2-1-0.5-1.3L66.9,14.6
c-0.3-0.3-0.8-0.5-1.3-0.5H19V6.6h70.8V99.7z"/>
</g>
</g>
<g>
<g>
<path class="st0" d="M70.6,46.2c-3.8-3.8-10-3.8-13.8,0L25.1,77.9c-0.2,0.2-0.4,0.5-0.5,0.9L21,93.2l-1.5,1.5l2.6,2.6l1.5-1.5
l14.4-3.6c0.3-0.1,0.6-0.3,0.9-0.5L70.6,60c1.8-1.8,2.9-4.3,2.9-6.9C73.5,50.5,72.4,48.1,70.6,46.2z M49.7,58.6l3,3L32,82.2l-3-3
L49.7,58.6z M25.3,91.6l2.2-8.7l6.5,6.5L25.3,91.6z M37.6,87.8l-3-3l20.7-20.7l3,3L37.6,87.8z M60.9,64.5l-8.5-8.5l2-2l8.5,8.5
L60.9,64.5z M68,57.4l-2.4,2.4L57,51.3l2.4-2.4c2.4-2.4,6.2-2.4,8.5,0c1.1,1.1,1.8,2.7,1.8,4.3C69.7,54.8,69.1,56.3,68,57.4z"/>
</g>
</g>
<g>
<g>
<rect x="20.8" y="99.7" class="st0" width="44.7" height="3.7"/>
</g>
</g>
<g>
<g>
<rect x="14.9" y="40.1" transform="matrix(0.5547 -0.8321 0.8321 0.5547 -22.3124 42.2239)" class="st0" width="26.9" height="3.7"/>
</g>
</g>
<g>
<g>
<path class="st0" d="M37.6,42c-3.1,0-5.6,2.5-5.6,5.6s2.5,5.6,5.6,5.6s5.6-2.5,5.6-5.6S40.7,42,37.6,42z M37.6,49.4
c-1,0-1.9-0.8-1.9-1.9s0.8-1.9,1.9-1.9s1.9,0.8,1.9,1.9S38.6,49.4,37.6,49.4z"/>
</g>
</g>
<g>
<g>
<path class="st0" d="M19,30.8c-3.1,0-5.6,2.5-5.6,5.6c0,3.1,2.5,5.6,5.6,5.6s5.6-2.5,5.6-5.6C24.6,33.3,22.1,30.8,19,30.8z
M19,38.2c-1,0-1.9-0.8-1.9-1.9c0-1,0.8-1.9,1.9-1.9s1.9,0.8,1.9,1.9C20.8,37.4,20,38.2,19,38.2z"/>
</g>
</g>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 97.6 117.5" style="enable-background:new 0 0 97.6 117.5;" xml:space="preserve">
<style type="text/css">
.st0{fill:#535353;}
</style>
<g>
<g>
<g>
<path class="st0" d="M91.6,2.8H17.1c-1,0-1.9,0.8-1.9,1.9V14H5.9c-1,0-1.9,0.8-1.9,1.9v96.9c0,1,0.8,1.9,1.9,1.9h74.5
c1,0,1.9-0.8,1.9-1.9v-9.3h9.3c1,0,1.9-0.8,1.9-1.9V4.7C93.5,3.7,92.7,2.8,91.6,2.8z M78.6,110.9H7.8V17.7h55.9v13
c0,1,0.8,1.9,1.9,1.9h13V110.9z M67.4,28.9v-8.5l8.5,8.5H67.4z M89.8,99.7h-7.5V30.8c0-0.5-0.2-1-0.5-1.3L66.9,14.6
c-0.3-0.3-0.8-0.5-1.3-0.5H19V6.6h70.8V99.7z"/>
</g>
</g>
<g>
<g>
<path class="st0" d="M70.6,46.2c-3.8-3.8-10-3.8-13.8,0L25.1,77.9c-0.2,0.2-0.4,0.5-0.5,0.9L21,93.2l-1.5,1.5l2.6,2.6l1.5-1.5
l14.4-3.6c0.3-0.1,0.6-0.3,0.9-0.5L70.6,60c1.8-1.8,2.9-4.3,2.9-6.9C73.5,50.5,72.4,48.1,70.6,46.2z M49.7,58.6l3,3L32,82.2l-3-3
L49.7,58.6z M25.3,91.6l2.2-8.7l6.5,6.5L25.3,91.6z M37.6,87.8l-3-3l20.7-20.7l3,3L37.6,87.8z M60.9,64.5l-8.5-8.5l2-2l8.5,8.5
L60.9,64.5z M68,57.4l-2.4,2.4L57,51.3l2.4-2.4c2.4-2.4,6.2-2.4,8.5,0c1.1,1.1,1.8,2.7,1.8,4.3C69.7,54.8,69.1,56.3,68,57.4z"/>
</g>
</g>
<g>
<g>
<rect x="20.8" y="99.7" class="st0" width="44.7" height="3.7"/>
</g>
</g>
<g>
<g>
<rect x="14.9" y="40.1" transform="matrix(0.5547 -0.8321 0.8321 0.5547 -22.3124 42.2239)" class="st0" width="26.9" height="3.7"/>
</g>
</g>
<g>
<g>
<path class="st0" d="M37.6,42c-3.1,0-5.6,2.5-5.6,5.6s2.5,5.6,5.6,5.6s5.6-2.5,5.6-5.6S40.7,42,37.6,42z M37.6,49.4
c-1,0-1.9-0.8-1.9-1.9s0.8-1.9,1.9-1.9s1.9,0.8,1.9,1.9S38.6,49.4,37.6,49.4z"/>
</g>
</g>
<g>
<g>
<path class="st0" d="M19,30.8c-3.1,0-5.6,2.5-5.6,5.6c0,3.1,2.5,5.6,5.6,5.6s5.6-2.5,5.6-5.6C24.6,33.3,22.1,30.8,19,30.8z
M19,38.2c-1,0-1.9-0.8-1.9-1.9c0-1,0.8-1.9,1.9-1.9s1.9,0.8,1.9,1.9C20.8,37.4,20,38.2,19,38.2z"/>
</g>
</g>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 97.6 117.5" style="enable-background:new 0 0 97.6 117.5;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<g>
<path class="st0" d="M48.8,8.7c-5.8,0-10.4,4.7-10.4,10.4S43,29.6,48.8,29.6s10.4-4.7,10.4-10.4S54.5,8.7,48.8,8.7z M48.8,27.4
c-4.5,0-8.3-3.7-8.3-8.3c0-4.5,3.7-8.3,8.3-8.3s8.3,3.7,8.3,8.3C57,23.7,53.3,27.4,48.8,27.4z"/>
<path class="st0" d="M60.2,34.7L60.2,34.7l-3-0.9c-0.5-0.1-1,0.1-1.1,0.6l-6.3,17.2c-0.4,1-1.8,1-2.1,0l-6.3-17.2
c-0.1-0.4-0.5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,1.7-3.8L86.5,89.8L86.5,89.8z"
/>
<path class="st0" d="M89.8,66.2l-10.5-4.6c-1.5-0.7-3.2,0-3.9,1.5s0,3.2,1.5,3.9l4,1.8l-17.6,6.9V82L83,74.3l-1.8,4
c-0.7,1.5,0,3.2,1.5,3.9c0.4,0.2,0.8,0.3,1.2,0.3c1.1,0,2.2-0.7,2.7-1.8l4.6-10.5C91.9,68.6,91.3,66.9,89.8,66.2L89.8,66.2z"/>
<path class="st0" d="M51.2,34.1c-0.3-0.3-0.6-0.4-1-0.4h-2.8c-0.4,0-0.7,0.1-1,0.4c-0.4,0.4-0.4,1-0.2,1.5l1.5,2.2L47,43.7l1.4,3.6
c0.1,0.4,0.7,0.4,0.8,0l1.4-3.6l-0.7-5.9l1.5-2.2C51.6,35.1,51.5,34.5,51.2,34.1z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 97.6 117.5" style="enable-background:new 0 0 97.6 117.5;" xml:space="preserve">
<style type="text/css">
.st0{fill:#535353;}
</style>
<g>
<path class="st0" d="M48.8,8.7c-5.8,0-10.4,4.7-10.4,10.4S43,29.6,48.8,29.6s10.4-4.7,10.4-10.4S54.5,8.7,48.8,8.7z M48.8,27.4
c-4.5,0-8.3-3.7-8.3-8.3c0-4.5,3.7-8.3,8.3-8.3s8.3,3.7,8.3,8.3C57,23.7,53.3,27.4,48.8,27.4z"/>
<path class="st0" d="M60.2,34.7L60.2,34.7l-3-0.9c-0.5-0.1-1,0.1-1.1,0.6l-6.3,17.2c-0.4,1-1.8,1-2.1,0l-6.3-17.2
c-0.1-0.4-0.5-0.6-0.9-0.6c-0.1,0-3.2,1-3.2,1c-3.8,1.3-6.4,4.8-6.4,8.8v18.2c0,0.2,0.1,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-3.9,1.5s0,3.2,1.5,3.9l4,1.8l-17.6,6.9V82L83,74.3l-1.8,4
c-0.7,1.5,0,3.2,1.5,3.9c0.4,0.2,0.8,0.3,1.2,0.3c1.1,0,2.2-0.7,2.7-1.8l4.6-10.5C91.9,68.6,91.3,66.9,89.8,66.2L89.8,66.2z"/>
<path class="st0" d="M51.2,34.1c-0.3-0.3-0.6-0.4-1-0.4h-2.8c-0.4,0-0.7,0.1-1,0.4c-0.4,0.4-0.4,1-0.2,1.5l1.5,2.2L47,43.7l1.4,3.6
c0.1,0.4,0.7,0.4,0.8,0l1.4-3.6l-0.7-5.9l1.5-2.2C51.6,35.1,51.5,34.5,51.2,34.1z"/>
</g>
</svg>
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
export const environment = { export const environment = {
production: false, production: false,
BASE_ADDRESS: 'http://aimsviluppo.aimconsulting.it:8085/stman', BASE_ADDRESS: 'http://aimsviluppo.aimconsulting.it:8085/stman',
//BASE_ADDRESS: 'http://localhost:8080/stman, //BASE_ADDRESS: 'http://localhost:8080/stman',
P2PTokenUrl: "https://www.2p2.it/auth-request", P2PTokenUrl: "https://www.2p2.it/auth-request",
P2PSingleSignOnUrl: "https://www.2p2.it/?token=" P2PSingleSignOnUrl: "https://www.2p2.it/?token="
}; };
......
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="it">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
<!--In caso di deploy per Desktop--> <!--In caso di deploy per Desktop-->
<!--<base href="/" />--> <!--<base href="/intranet/" />-->
<!--In tutti gli altri casi--> <!--In tutti i casi-->
<base href="/" /> <base href="." />
<!--<link href="css/awesome.scss" rel="stylesheet"> <!--<link href="css/awesome.scss" rel="stylesheet">
<link href="css/styles.scss" rel="stylesheet"> <link href="css/styles.scss" rel="stylesheet">
<link rel="stylesheet" href="css/aos.scss">s <link rel="stylesheet" href="css/aos.scss">s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment