summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.html
blob: d33fc9af806bad6ecfc09acee83a2f3a33e9ed0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="container-fluid">
  <div class="row">
    <div class="col d-flex justify-content-end">
      <form class="form-inline">
        <label for="refreshInterval"
               class="col-form-label my-0 mx-2"
               i18n>Refresh</label>
        <select id="refreshInterval"
                name="refreshInterval"
                class="form-control"
                (change)="changeRefreshInterval($event.target.value)"
                [(ngModel)]="selectedInterval">
          <option *ngFor="let key of intervalKeys"
                  [value]="intervalList[key]">{{ key }}</option>
        </select>
      </form>
    </div>
  </div>
</div>