2 #columnEditTable table tbody td {
6 #columnEditTable table tbody tr {
13 vertical-align: middle;
20 #columnEditTable .selectWrap {
28 <div class="b2b-modal-header">
29 <h2 id="myModalLabel" modal-title="">Report Form Field - Edit</h2>
30 <div class="corner-button in">
31 <button type="button" class="close" aria-label="Close"
32 ng-click="$dismiss('cancel')"></button>
35 <div class="b2b-modal-body">
36 <div ng-show="dataProcessing" class="span loader-container">
37 <i class="icon-primary-spinner" role="img"
38 aria-label="Please wait while we load your content"></i>
40 <div id="columnEditTable" ng-hide="dataProcessing">
41 <table class="striped">
44 <td class="colTableLeftColumn">Field Name:</td>
45 <td><input type="text" name="displayName"
46 ng-model="formFieldEditData.fieldName" class="colTableInput"></td>
50 <td class="colTableLeftColumn">Field Type:</td>
51 <td><select name="fieldType" b2b-dropdown
52 ng-model="formFieldEditData.fieldType" placeholder-text="Select">
53 <option b2b-dropdown-list option-repeat="d in fieldTypeOptions"
54 value="{{d.value}}">{{d.text}}</option>
58 <td class="colTableLeftColumn">Visible:</td>
60 <select name="visible" b2b-dropdown ng-model="formFieldEditData.visible">
61 <option b2b-dropdown-list option-repeat="d in ynOptions" value="{{d.value}}">{{d.text}}</option>
66 <td class="colTableLeftColumn">Is used in Group By Clause?</td>
68 <label for="checkboxGrp" class="checkbox">
69 <input id="checkboxGrp" type="checkbox" ng-model="formFieldEditData.groupFormField" /><i class="skin"></i><span></span>
74 <td class="colTableLeftColumn">SQL as Default Value:</td>
76 <label for="cehckboxSql" class="checkbox"> <input
77 id="cehckboxSql" type="checkbox"
78 ng-model="sqlAsDefaultValue.value" /><i class="skin"></i><span></span>
82 <tr ng-show="sqlAsDefaultValue.value">
83 <td class="colTableLeftColumn">Default SQL:</td>
85 <textarea b2b-reset b2b-dragon-input b2b-reset-textarea
86 ng-model="formFieldEditData.fieldDefaultSQL" style="height: 80px">
91 <button ng-click="formFieldVerifySQL(formFieldEditData.fieldDefaultSQL)"
92 class="btn btn-alt btn-small">Verify</button>
96 <tr ng-hide="formFieldEditData.fieldDefaultSQL">
97 <td class="colTableLeftColumn">Default Value:</td>
98 <td><input type="text" name="defaultValue"
99 ng-model="formFieldEditData.defaultValue" class="colTableInput"></td>
104 <td class="colTableLeftColumn">Verify Field Value As:</td>
105 <td><select name="visible" b2b-dropdown
106 ng-model="formFieldEditData.validationType" placeholder-text="Select">
107 <option b2b-dropdown-list option-repeat="d in verifyFieldValueOptions"
108 value="{{d.value}}">{{d.text}}</option>
112 <td class="colTableLeftColumn">SQL Generating Custom List of
114 <td><textarea b2b-reset b2b-dragon-input b2b-reset-textarea
115 ng-model="formFieldEditData.fieldSQL" style="height: 80px">
119 <button ng-click="formFieldVerifySQL(formFieldEditData.fieldSQL)"
120 class="btn btn-alt btn-small">Verify</button>
125 <td class="colTableLeftColumn">Provide Predefined List of Values: Do not use Predefined list - Generate list from database :</td>
127 <input type="text" name="defaultValue" ng-model="predefinedValues.value" class="colTableInput">
131 <button ng-click="addPredefinedValueList();" class="btn btn-alt btn-small">Add to List</button>
136 <td class="colTableLeftColumn"></td>
138 <div ng-repeat = "rowData in formFieldEditData.predefinedValueList">
139 <span>{{rowData.id}}</span>
140 <a ng-click="removePredefinedValueList(rowData.id)" class="icon-misc-trash"></a>
148 <div class="b2b-modal-footer">
149 <div class="cta-button-group in">
150 <button class="btn btn-alt btn-small" type="button" ng-click="save()" ng-show="type=='edit'">Save</button>
151 <button class="btn btn-alt btn-small" type="button" ng-click="add()" ng-show="type=='add'">Add</button>
152 <button class="btn btn-alt btn-small" type="button" ng-click="cancel()">Cancel</button>