1 <fieldset #cfgFormGroup [formGroup]=
"form.get('configuration')">
2 <legend i18n
>RBD Configuration
</legend>
4 <div *
ngFor=
"let section of rbdConfigurationService.sections">
5 <h3 class=
"page-header">
7 (click)=
"toggleSectionVisibility(section.class)"
8 class=
"collapsible">{{ section.heading }}
<i [ngClass]=
"{'fa-plus-circle': !sectionVisibility[section.class], 'fa-minus-circle': sectionVisibility[section.class]}" class=
"fa" aria-hidden=
"true"></i></span>
10 <div class=
"{{ section.class }}" [hidden]=
"!sectionVisibility[section.class]">
13 *
ngFor=
"let option of section.options"
14 [ngClass]=
"{'has-error': form.showError('configuration.' + option.name, cfgFormGroup)}">
16 class=
"control-label col-sm-3"
17 [for]=
"option.name">{{ option.displayName }}
<cd-helper>{{ option.description }}
</cd-helper></label>
19 <div class=
"col-sm-9 {{ section.heading }}">
20 <div class=
"input-group">
21 <ng-container [ngSwitch]=
"option.type">
22 <ng-container *
ngSwitchCase=
"configurationType.milliseconds">
26 [formControlName]=
"option.name"
29 [ngDataReady]=
"ngDataReady"
32 <ng-container *
ngSwitchCase=
"configurationType.bps">
36 [formControlName]=
"option.name"
40 [ngDataReady]=
"ngDataReady"
41 cdDimlessBinaryPerSecond
>
43 <ng-container *
ngSwitchCase=
"configurationType.iops">
47 [formControlName]=
"option.name"
50 [ngDataReady]=
"ngDataReady"
54 <span class=
"input-group-btn">
56 class=
"btn btn-default"
59 [ngClass]=
"{'active': isDisabled(option.name)}"
60 tooltip=
"Remove the local configuration value. The parent configuration value will be inherited and used instead."
61 containerClass=
"tooltip-wide"
64 (click)=
"reset(option.name)">
65 <i class=
"fa fa-eraser"
66 aria-hidden=
"true"></i>
73 *
ngIf=
"form.showError('configuration.' + option.name, cfgFormGroup, 'min')">The mininum value is
0</span>