Project

General

Profile

« Previous | Next » 

Revision 61425

[Monitor Dashboard|Trunk]

Add importAndSave indicators method

View differences:

indicators.component.html
1 1
<div *ngIf="stakeholder && canEdit">
2 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()">
3
    <a class="uk-margin-bottom uk-margin-right  " uk-icon="icon:download" title="Export indicators (JSON file)"
4
       (click)="export_indicators()">
4 5
      <span class="uk-text-small">Export</span>
5
    </button>
6
    <div uk-form-custom class="js-upload">
6
    </a>
7
    <div uk-form-custom class="js-upload uk-margin-top">
7 8
      <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
      <a class=" uk-margin-bottom" uk-icon="icon:upload" title="Import indicators (JSON file)"> Import</a>
9 10
    </div>
10 11
  </div>
11 12

  

Also available in: Unified diff