Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 91e53981

Přidáno uživatelem Lukáš Moučka před více než 3 roky(ů)

Re #8971 - Úpravy layoutu sekce s grafy a kódování responzivity této sekce
+ Add styles for datepicker
  • Improve sensors desc

Zobrazit rozdíly:

src/app/unit/components/unit.component.html
1 1
<app-nav-bar></app-nav-bar>
2 2

  
3 3
<div class="container graph">
4
  <div class="row graph-desc">
5
    <div class="col-12">
6
      <span class="graph-attr-heading">Unit description: </span>
7
      {{unitDescription}}
4
  <div class="row graph-information">
5
    <div class="graph-desc">
6
      <div>
7
        <span class="graph-attr-heading">Unit description: </span>
8
        {{unitDescription}}
9
      </div>
8 10
    </div>
9
  </div>
10
  <div class="row graph-range-dates">
11
    <div>
12
      <div class="input-group form-group">
13
        <div class="input-group-prepend">
14
          <span class="input-group-text text-color-date background-date-color"><i class="fa fa-calendar-alt" aria-hidden="false"></i></span>
11
    <div class="graph-range-dates">
12
      <div class="col-xs-12">
13
        <div class="input-group form-group">
14
          <div class="input-group-prepend">
15
            <span class="input-group-text text-color-date background-date-color"><i class="fa fa-calendar-alt" aria-hidden="false"></i></span>
16
          </div>
17
          <p-calendar id="from" [style]="{'width':'100%'}" [inputStyle]="{'width':'100%'}" [(ngModel)]="from" [showTime]="true" (onSelect)="aggregationShow()" [maxDate]="today" showButtonBar="true"></p-calendar>
15 18
        </div>
16
        <p-calendar id="from" [style]="{'width':'100%'}" [inputStyle]="{'width':'100%'}" [(ngModel)]="from" [showTime]="true" (onSelect)="aggregationShow()" [maxDate]="today" showButtonBar="true"></p-calendar>
17 19
      </div>
18
    </div>
19
    <div class="graph-range-dates-separator"></div>
20
    <div>
21
      <div class="input-group form-group">
22
        <div class="input-group-prepend">
23
          <span class="input-group-text text-color-date background-date-color"><i class="fa fa-calendar-alt" aria-hidden="false"></i></span>
20
      <div class="graph-range-dates-separator"></div>
21
      <div class="col-xs-12">
22
        <div class="input-group form-group">
23
          <div class="input-group-prepend">
24
            <span class="input-group-text text-color-date background-date-color"><i class="fa fa-calendar-alt" aria-hidden="false"></i></span>
25
          </div>
26
          <p-calendar id="to" [style]="{'width':'100%'}" [inputStyle]="{'width':'100%'}" [(ngModel)]="to" [showTime]="true" (onSelect)="aggregationShow()" [maxDate]="today" showButtonBar="true"></p-calendar>
24 27
        </div>
25
        <p-calendar id="to" [style]="{'width':'100%'}" [inputStyle]="{'width':'100%'}" [(ngModel)]="to" [showTime]="true" (onSelect)="aggregationShow()" [maxDate]="today" showButtonBar="true"></p-calendar>
26 28
      </div>
27
    </div>
28
    <div>
29
      <div class="input-group form-group">
29
      <div class="">
30 30
        <div class="input-group form-group">
31
          <p-listbox *ngIf="showAggregation" [options]="aggregationFunction" [(ngModel)]="selectedAggregationFunction" optionLabel="name" optionValue="code"></p-listbox>
31
          <div class="input-group form-group">
32
            <p-listbox *ngIf="showAggregation" [options]="aggregationFunction" [(ngModel)]="selectedAggregationFunction" optionLabel="name" optionValue="code"></p-listbox>
33
          </div>
32 34
        </div>
33 35
      </div>
34
    </div>
35
    <div>
36
      <p-button *ngIf="dateChanged" label="Get data" icon="pi pi-cog" styleClass="p-button" (click)="showGraph()"></p-button>
36
      <div>
37
        <button pButton type="button" *ngIf="dateChanged" label="Load data" class="p-button-primary" icon="pi pi-check" (click)="showGraph()"></button>
38
      </div>
37 39
    </div>
38 40
  </div>
39

  
40 41
  <ng-container *ngFor="let group of sensorGroups">
41 42
    <div class="row">
42 43
      <div class="graph-group-heading">

Také k dispozici: Unified diff