From 4d5a8ac5e1c22123af47aeabf07e9ce8d9c56d26 Mon Sep 17 00:00:00 2001 From: cazenave <cazenave@cines.fr> Date: Tue, 10 Nov 2020 10:21:20 +0100 Subject: [PATCH] stats homepage --- src/app/app.component.html | 8 +++----- src/app/app.component.ts | 2 +- src/app/services/parse-xml.service.ts | 2 +- src/app/stats/stats.component.html | 2 +- src/index.html | 2 +- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 5efc665c3..b09394585 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -9,11 +9,9 @@ <h3 style="width: 100%;text-align: center;"> <strong>{{settingtitle}}</strong></h3> - <nb-user style="white-space: pre;" name="Paulo Pimenta" + <nb-user style="white-space: pre;" name="User" title="CINES" - [nbContextMenu]="items" - badgePosition="right" - nbContextMenuTag="my-context-menu"> + badgePosition="right"> </nb-user> <button routerLink="/login" nbContextMenuPlacement="right" outline nbButton >Login</button> @@ -28,7 +26,7 @@ <router-outlet></router-outlet> <!--<hr style="border-bottom: 1px solid gray; width: 80%; position: absolute;margin-top: 25%;"> <p>Test</p>--> - + </nb-layout-column> <nb-layout-footer>Contact us</nb-layout-footer> diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 0bbd1080f..9af2d0333 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -57,7 +57,7 @@ export class AppComponent { icon: 'options-2-outline', children: [ { - title: 'FDP settings', + title: 'FFDS settings', link: '/settingfdp', pathMatch:'full' }, diff --git a/src/app/services/parse-xml.service.ts b/src/app/services/parse-xml.service.ts index a86eda5df..0b2c20884 100644 --- a/src/app/services/parse-xml.service.ts +++ b/src/app/services/parse-xml.service.ts @@ -7,7 +7,7 @@ import { HttpClient, HttpHeaders } from '@angular/common/http'; }) export class ParseXmlService { - blazePath = "http://10.6.10.9:8888/blazegraph/sparql" + blazePath = "http://51.210.211.132:8888/blazegraph/sparql" constructor(private http:HttpClient) { } diff --git a/src/app/stats/stats.component.html b/src/app/stats/stats.component.html index 00c0b147c..b745aa639 100644 --- a/src/app/stats/stats.component.html +++ b/src/app/stats/stats.component.html @@ -6,7 +6,7 @@ <th style="text-align: center;">Number of Datasets</th> </thead> <tbody > - <tr><td *ngFor="let stat of stats"><strong>{{stat}}</strong></td></tr> + <tr><td *ngFor="let stat of stats" style="text-align: center;"><strong>{{stat}}</strong></td></tr> </tbody> </table> </div> \ No newline at end of file diff --git a/src/index.html b/src/index.html index 5741efe31..1ca5d04f3 100644 --- a/src/index.html +++ b/src/index.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <title>RegisterFront</title> - <base href="/front"> + <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet"> -- GitLab