Project

General

Profile

« Previous | Next » 

Revision 61419

[Trunk | Monitor Dashboard]:
1. indicators.component.html: Added buttons for exporting and importing indicators of a specific subcategory.
2. indicators.component.ts: Added methods for exporting and importing indicators of a specific subcategory (import of indicators is not creating anything for now).

View differences:

indicators.component.html
1 1
<div *ngIf="stakeholder && canEdit">
2
  <div class="uk-text-right uk-width-expand">
3
    <button class="uk-margin-bottom uk-margin-right uk-button uk-button-primary" (click)="export_indicators()">
4
      <span class="uk-text-small">Export</span>
5
    </button>
6
    <div uk-form-custom class="js-upload">
7
      <input id="exampleInputFile" type="file" class="uk-width-medium" (change)="fileChangeEvent($event)"/>
8
      <button class="uk-button uk-button-primary uk-margin-bottom">Import (JSON file) </button>
9
    </div>
10
  </div>
11

  
2 12
  <div *ngIf="numberSections">
3 13
    <h6 class="uk-text-bold">Number Indicators</h6>
4 14
    <ng-template ngFor [ngForOf]="displayNumbers" let-number let-i="index">

Also available in: Unified diff