| | |
| | | <div class="col-xs-6"> |
| | | <div ng-show="selectedProperties.length > 0"> |
| | | |
| | | <div class="form-group"> |
| | | <div class="from-group"> |
| | | <label for="idField">{{'PROPERTY.FORMPROPERTIES.ID' | translate}}</label> |
| | | <input id="idField" class="form-control" type="text" ng-model="selectedProperties[0].id" placeholder="{{'PROPERTY.FORMPROPERTIES.ID.PLACEHOLDER' | translate }}" /> |
| | | <input id="idField" class="from-control" type="text" ng-model="selectedProperties[0].id" placeholder="{{'PROPERTY.FORMPROPERTIES.ID.PLACEHOLDER' | translate }}" /> |
| | | </div> |
| | | <div class="form-group"> |
| | | <div class="from-group"> |
| | | <label for="nameField">{{'PROPERTY.FORMPROPERTIES.NAME' | translate}}</label> |
| | | <input id="nameField" class="form-control" type="text" ng-model="selectedProperties[0].name" placeholder="{{'PROPERTY.FORMPROPERTIES.NAME.PLACEHOLDER' | translate }}" /> |
| | | <input id="nameField" class="from-control" type="text" ng-model="selectedProperties[0].name" placeholder="{{'PROPERTY.FORMPROPERTIES.NAME.PLACEHOLDER' | translate }}" /> |
| | | </div> |
| | | <div class="form-group"> |
| | | <div class="from-group"> |
| | | <label for="typeField">{{'PROPERTY.FORMPROPERTIES.TYPE' | translate}}</label> |
| | | <select id="typeField" class="form-control" ng-model="selectedProperties[0].type" ng-change="propertyTypeChanged()"> |
| | | <select id="typeField" class="from-control" ng-model="selectedProperties[0].type" ng-change="propertyTypeChanged()"> |
| | | <option>string</option> |
| | | <option>long</option> |
| | | <option>boolean</option> |
| | |
| | | <option>enum</option> |
| | | </select> |
| | | </div> |
| | | <div class="form-group" ng-show="selectedProperties[0].datePattern"> |
| | | <div class="from-group" ng-show="selectedProperties[0].datePattern"> |
| | | <label for="datePatternField">{{'PROPERTY.FORMPROPERTIES.DATEPATTERN' | translate}}</label> |
| | | <input id="datePatternField" class="form-control" type="text" ng-model="selectedProperties[0].datePattern" placeholder="{{'PROPERTY.FORMPROPERTIES.DATEPATTERN.PLACEHOLDER' | translate }}" /> |
| | | <input id="datePatternField" class="from-control" type="text" ng-model="selectedProperties[0].datePattern" placeholder="{{'PROPERTY.FORMPROPERTIES.DATEPATTERN.PLACEHOLDER' | translate }}" /> |
| | | </div> |
| | | <div class="form-group" ng-show="selectedProperties[0].enumValues"> |
| | | <div class="from-group" ng-show="selectedProperties[0].enumValues"> |
| | | <label for="valueField">{{'PROPERTY.FORMPROPERTIES.VALUES' | translate}}</label> |
| | | <div ng-repeat="enum in selectedProperties[0].enumValues"> |
| | | <input id="valueField" class="form-control" type="text" ng-model="enum.value" /> |
| | | <input id="valueField" class="from-control" type="text" ng-model="enum.value" /> |
| | | <i class="glyphicon glyphicon-minus clickable-property" ng-click="removeEnumValue($index)"></i> |
| | | <i ng-if="$index == (selectedProperties[0].enumValues.length - 1)" class="glyphicon glyphicon-plus clickable-property" ng-click="addEnumValue($index)"></i> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <div class="from-group"> |
| | | <label for="expressionField">{{'PROPERTY.FORMPROPERTIES.EXPRESSION' | translate}}</label> |
| | | <input id="expressionField" class="form-control" type="text" ng-model="selectedProperties[0].expression" placeholder="{{'PROPERTY.FORMPROPERTIES.EXPRESSION.PLACEHOLDER' | translate }}" /> |
| | | <input id="expressionField" class="from-control" type="text" ng-model="selectedProperties[0].expression" placeholder="{{'PROPERTY.FORMPROPERTIES.EXPRESSION.PLACEHOLDER' | translate }}" /> |
| | | </div> |
| | | <div class="form-group"> |
| | | <div class="from-group"> |
| | | <label for="variableField">{{'PROPERTY.FORMPROPERTIES.VARIABLE' | translate}}</label> |
| | | <input id="variableField" class="form-control" type="text" ng-model="selectedProperties[0].variable" placeholder="{{'PROPERTY.FORMPROPERTIES.VARIABLE.PLACEHOLDER' | translate }}" /> |
| | | <input id="variableField" class="from-control" type="text" ng-model="selectedProperties[0].variable" placeholder="{{'PROPERTY.FORMPROPERTIES.VARIABLE.PLACEHOLDER' | translate }}" /> |
| | | </div> |
| | | <div class="form-inline"> |
| | | <div class="form-group col-xs-2" > |
| | | <div class="from-inline"> |
| | | <div class="from-group col-xs-2" > |
| | | <label for="requiredField">{{'PROPERTY.FORMPROPERTIES.REQUIRED' | translate}}</label> |
| | | <input id="requiredField" class="form-control" type="checkbox" ng-model="selectedProperties[0].required" /> |
| | | <input id="requiredField" class="from-control" type="checkbox" ng-model="selectedProperties[0].required" /> |
| | | </div> |
| | | <div class="form-group col-xs-2"> |
| | | <div class="from-group col-xs-2"> |
| | | <label for="readableField">{{'PROPERTY.FORMPROPERTIES.READABLE' | translate}}</label> |
| | | <input id="readableField" class="form-control" type="checkbox" ng-model="selectedProperties[0].readable" /> |
| | | <input id="readableField" class="from-control" type="checkbox" ng-model="selectedProperties[0].readable" /> |
| | | </div> |
| | | <div class="form-group col-xs-2"> |
| | | <div class="from-group col-xs-2"> |
| | | <label for="writableField">{{'PROPERTY.FORMPROPERTIES.WRITABLE' | translate}}</label> |
| | | <input id="writableField" class="form-control" type="checkbox" ng-model="selectedProperties[0].writable" /> |
| | | <input id="writableField" class="from-control" type="checkbox" ng-model="selectedProperties[0].writable" /> |
| | | </div> |
| | | </div> |
| | | </div> |