44 lines
1.9 KiB
HTML
44 lines
1.9 KiB
HTML
<!--
|
|
|
|
Copyright (C) 2015-2016 Jeeva Kandasamy (jkandasa@gmail.com)
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
-->
|
|
<form role="form">
|
|
<div class="form-group">
|
|
<label>{{ 'REFRESH_TIME_SECONDS' | translate }}</label>
|
|
<input type="text" class="form-control" id="refreshTime" placeholder="{{'REFRESH_TIME_SECONDS' | translate}}" ng-model="config.refreshTime" pf-validation="mycGroupsEdit.cs.isNumber(input)" required>
|
|
<span class="help-block">{{ 'VALIDATION_ERROR_NUMBER' | translate }}</span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>{{ 'ITEMS_PER_ROW' | translate }}</label>
|
|
<select id="panelSize" class="form-control" pf-select ng-model="config.itemsPerRow" required>
|
|
<option value="" ng-hide="true"></option>
|
|
<option value="1">1</option>
|
|
<option value="2">2</option>
|
|
<option value="3">3</option>
|
|
<option value="4">4</option>
|
|
<option value="6">6</option>
|
|
<option value="12">12</option>
|
|
</select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>{{ 'GROUPS' | translate }}</label>
|
|
<select id="senVars" class="form-control" multiple pf-select data-live-search="true" ng-model="config.itemIds">
|
|
<option value="" ng-hide="true"></option>
|
|
<option ng-repeat="res in mycGroupsEdit.items" ng-bind-html="res.displayName | mcResourceRepresentation" value="{{res.id}}" ng-selected="config.itemIds.indexOf(res.id.toString()) != -1"></option>
|
|
</select>
|
|
</div>
|
|
</form>
|