Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 4b69e185

Přidáno uživatelem Jakub Hlaváč před více než 3 roky(ů)

Re #8411 - Merge feature to dev branch

  • merge

Zobrazit rozdíly:

proxy-config.json
1 1
{
2 2
  "/senslog1": {
3
    "target": "https://51.15.45.95:8080",
3
    "target": "http://51.15.45.95:8080",
4 4
    "secure": false
5 5
  },
6 6
  "/senslog-lite2/rest": {
7
    "target": "https://51.15.45.95:8080",
7
    "target": "http://51.15.45.95:8080",
8 8
    "secure": false
9 9
  },
10 10
  "/api/SensLogV1/OGCSensorThings": {
11
    "target": "https://51.15.45.95:9080",
11
    "target": "http://51.15.45.95:9080",
12 12
    "secure": false
13 13
  },
14 14
  "/analytics": {
15
    "target": "https://51.15.45.95:9090",
15
    "target": "http://51.15.45.95:9090",
16 16
    "secure": false
17 17
  }
18 18
}
src/app/dashboard/components/dashboard.component.html
1 1
<app-nav-bar></app-nav-bar>
2 2

  
3
<div class="container">
3
<div class="container dashboard">
4 4
<p-accordion>
5 5
    <p-accordionTab *ngFor="let unit of units">
6 6
      <p-header [className]="'dashboard-unit-wrapper'">
7 7
        <div [className]="'row dashboard-unit'">
8
          <div class="col-md-8">{{ unit.unit.description}}</div>
9
          <div class="col-md-4 text-right">
8
          <div class="col-md-6">{{ unit.unit.description}}</div>
9
          <div class="col-md-6 text-right">
10 10
            <p-button label="Sensors graph" icon="pi pi-chart-line" [routerLink]="['/dashboard/unit', unit.unit.unitId]"></p-button>
11 11
            <p-button label="Add sensor" icon="pi pi-cog" (onClick)="editUnit($event, unit.unit)"></p-button>
12 12
            <p-button label="Edit unit" icon="pi pi-cog" (onClick)="editUnit($event, unit.unit)"></p-button>

Také k dispozici: Unified diff