summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/steps/step1.html
blob: a9baadf8e771a44bf6114e8c7310ee0f1946d44e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<h1 class="heading-page">Step 1 - Report Definition</h1>

<div ng-show="showLoader" class="span loader-container">
	<i class="icon-primary-spinner" role="img"
		aria-label="Please wait while we load your content"></i>
</div>

<div class="span6" ng-hide="showLoader">
		
	<div class="form-row" ng-if="isEdit">
		<label for="textinputID-2a">Report ID</label>
		<div class="field-group">
			<input id="textinputID-2a" ddh-reset="" class="span12" type="text"	data-ng-model="definitionData.reportId"	ng-disabled="true">
		</div>
	</div>
	
	<div class="form-row" >
		<label for="textinputID-2a">Report Name</label>
		<div class="field-group">
			<input id="reportName" ddh-reset="" class="span12" type="text"	data-ng-model="definitionData.reportName">
		</div>
	</div>
	<br>
	<div class="form-row" >
		<label for="textinputID-2a">Report Description</label>
		<div class="field-group">
		 	<textarea b2b-reset b2b-reset-textarea ng-model="definitionData.reportDescr" ng-disabled="disabled" ng-trim="false" placeholder="{{placeholderText}}" rows="{{textAreaRows}}" maxlength="{{textAreaMaxlength}}" class="span12" id="textareaID1Tooltip1"  ng-focus='showTooltip1=true' ng-blur='showTooltip1=false' aria-describedby="textareaID1TooltipContent1"></textarea>
		</div>
	</div>
	<div class="form-row" >
		<label for="textinputID-2a">Report Type</label>
		<div class="field-group">
			<input id="reportType" ddh-reset="" class="span12" type="text"	data-ng-model="definitionData.reportType"	ng-disabled="true">
		</div>
	</div>
	<div class="form-row" >
		<label for="textinputID-2a">Data Source</label>
		<div class="field-group">
			<input id="dataSrc" ddh-reset="" class="span12" type="text"	data-ng-model="definitionData.dbInfo"	ng-disabled="true">
		</div>
	</div>
	<div class="form-row" >
		<label for="textinputID-2a">Form Help Text</label>
		<div class="field-group">
		 	<textarea b2b-reset b2b-reset-textarea ng-model="definitionData.formHelpTxt" ng-disabled="disabled" ng-trim="false" placeholder="{{placeholderText}}" rows="{{textAreaRows}}" maxlength="{{textAreaMaxlength}}" class="span12" id="textareaID1Tooltip1"  ng-focus='showTooltip1=true' ng-blur='showTooltip1=false' aria-describedby="textareaID1TooltipContent1"></textarea>
		</div>
	</div>
	<div class="form-row" >
		<label for="textinputID-2a">Report Definition</label>
		<div class="field-group">
			<input id="reportType" ddh-reset="" class="span12" type="text"	data-ng-model="definitionData.repDefType"	ng-disabled="true">
		</div>
	</div>
	<div class="form-row" >
		<label for="pageSizeDD">Page Size</label>
        <select id="pageSizeDD" name="pageSizeDD" aria-describedby="pageSizeDropdown" b2b-dropdown placeholder-text="Select Page Size" ng-model="definitionData.pageSize">
            <option b2b-dropdown-list option-repeat="d in pageSizeOptions" value="{{d.value}}">{{d.text}}</option>
        </select>
	</div>
	<div class="form-row">
		<div class="listbox-container">
			<label id="pageSizeDD">Display Area</label>
			<div class="listbox-list" tabindex="-1">
				<b2b-list-box current-index="currentIndex1" listbox-data="definitionData.displayArea">
				<div tabindex="-1" data-index="{{$index}}" b2b-accessibility-click="13,32" ng-repeat="displayArea in definitionData.displayArea" role="option" class="b2b-list-box-item" ng-class="{'b2b-list-box-item--selected' : displayArea.selected}" ng-bind-html="displayArea.name | unsafe"></div>
			</b2b-list-box>
			</div>
		</div>
	</div>
	<div class="form-row">
        <label for="hideFormFieldsRun" class="checkbox">
            <input id="hideFormFieldsRun" type="checkbox" ng-model="definitionData.hideFormFieldsAfterRun" /><i class="skin"></i><span>Hide Form fields after run?</span>
        </label>
    </div>
	<div class="form-row" >
		<label for="maxRowDD">Max Rows in Excel/CSV Download</label>
        <select id="maxRowDD" name="maxRowDD" aria-describedby="maxRowOptions" b2b-dropdown placeholder-text="Select Max Row" ng-model="definitionData.maxRowsInExcelCSVDownload">
            <option b2b-dropdown-list option-repeat="d in maxRowOptions" value="{{d.value}}">{{d.text}}</option>
        </select>
	</div>
	<div class="form-row" >
		<label for="frozenColDD">Columns to be Frozen</label>
        <select id="frozenColDD" name="frozenColDD" aria-describedby="Columns to be Frozen" b2b-dropdown placeholder-text="Select Columns to be Frozen" ng-model="definitionData.frozenColumns">
            <option b2b-dropdown-list option-repeat="d in frozenColOptions" value="{{d.value}}">{{d.text}}</option>
        </select>
	</div>
	<div class="form-row" >
		<label for="dataGridAlignDD">Data Grid Align</label>
        <select id="dataGridAlignDD" name="dataGridAlignDD" aria-describedby="Data Grid Align" b2b-dropdown placeholder-text="Select Data Grid Align" ng-model="definitionData.dataGridAlign">
            <option b2b-dropdown-list option-repeat="d in dataGridAlignOptions" value="{{d.value}}">{{d.text}}</option>
        </select>
	</div>
	<div class="form-row" >
		<label for="textinputID-2a">Empty message</label>
		<div class="field-group">
			<input id="emptyMessage" ddh-reset="" class="span12" type="text"	data-ng-model="definitionData.emptyMessage">
		</div>
	</div>
	
	<div class="form-row" >
		<label for="highDataContainerDD">Height of the Data Container(%)</label>
        <select id="highDataContainerDD" name="highDataContainerDD" aria-describedby="Height of the Data Container" b2b-dropdown placeholder-text="Select Height of the Data Container" ng-model="definitionData.dataContainerHeight">
            <option b2b-dropdown-list option-repeat="d in dataContainerOptions" value="{{d.value}}">{{d.text}}</option>
        </select>
	</div>
	<div class="form-row" >
		<label for="widDataContainerDD">Width of the Data Container(%)</label>
        <select id="widDataContainerDD" name="widDataContainerDD" aria-describedby="Width of the Data Container" b2b-dropdown placeholder-text="Select Width of the Data Container" ng-model="definitionData.dataContainerWidth">
            <option b2b-dropdown-list option-repeat="d in dataContainerOptions" value="{{d.value}}">{{d.text}}</option>
        </select>
	</div>	
	<div class="form-row">
        <label for="aScheduler" class="checkbox">
            <input id="aScheduler" type="checkbox" ng-model="definitionData.allowScheduler" /><i class="skin"></i><span>Allow Scheduler</span>
        </label>
    </div>
	<div class="form-row">
        <label for="sizeByContent" class="checkbox">
            <input id="sizeByContent" type="checkbox" ng-model="definitionData.sizedByContent" /><i class="skin"></i><span>Sized By Content</span>
        </label>
    </div>
    <br>
	<label id="pageSizeDD">Display Options:</label>
	<br>
	<div class="form-row">
        <label for="hideFormField" class="checkbox">
            <input id="hideFormField" type="checkbox" ng-model="displayOptions.hideFormFields" /><i class="skin"></i><span>Hide Form Fields</span>
        </label>
    </div>
    <div class="form-row">
        <label for="hideCart" class="checkbox">
            <input id="hideCart" type="checkbox" checked ng-model="displayOptions.hideChart" /><i class="skin"></i><span>Hide Chart</span>
        </label>
    </div>
    <div class="form-row">
        <label for="hideReportData" class="checkbox">
            <input id="hideReportData" type="checkbox" checked ng-model="displayOptions.hideReportData" /><i class="skin"></i><span>Hide Report Data</span>
        </label>
    </div>
	
	<div class="form-row">
        <label for="hideExcel" class="checkbox">
            <input id="hideExcel" type="checkbox" checked ng-model="displayOptions.hideExcel" /><i class="skin"></i><span>Hide Excel</span>
        </label>
    </div>
	<div class="form-row">
        <label for="hidePDF" class="checkbox">
            <input id="hidePDF" type="checkbox" checked ng-model="displayOptions.hidePdf" /><i class="skin"></i><span>Hide PDF</span>
        </label>
    </div>
	
	<div class="form-row">
        <label for="sortColRun" class="checkbox">
            <input id="sortColRun" type="checkbox" checked ng-model="definitionData.runtimeColSortDisabled" /><i class="skin"></i><span>Disable column sort at runtime?</span>
        </label>
    </div>
	<div class="form-row" >
		<label for="runTimeFormNumDD">Run-time Form Number Columns</label>
        <select id="runTimeFormNumDD" name="runTimeFormNumDD" aria-describedby="Run-time Form Number Columns" b2b-dropdown placeholder-text="Select Run-time Form Number Columns" ng-model="definitionData.numFormCols">
            <option b2b-dropdown-list option-repeat="d in runTimeFormNumOptions" value="{{d.value}}">{{d.text}}</option>
        </select>
	</div> 
	<div class="form-row" >
		<label for="reportTitle">Report Title (if blank, the Report Name will be displayed)</label>
		<div class="field-group">
		 	<textarea b2b-reset b2b-reset-textarea ng-model="definitionData.reportTitle" ng-disabled="disabled" ng-trim="false" placeholder="{{placeholderText}}" rows="{{textAreaRows}}" maxlength="{{textAreaMaxlength}}" class="span12" id="reportTitle"  ng-focus='showTooltip1=true' ng-blur='showTooltip1=false' aria-describedby="textareaID1TooltipContent1"></textarea>
		</div>
	</div>
	<div class="form-row" >
		<label for="reportSubTitle">Report Sub-Title</label>
		<div class="field-group">
		 	<textarea b2b-reset b2b-reset-textarea ng-model="definitionData.reportSubTitle" ng-disabled="disabled" ng-trim="false" placeholder="{{placeholderText}}" rows="{{textAreaRows}}" maxlength="{{textAreaMaxlength}}" class="span12" id="reportSubTitle"  ng-focus='showTooltip1=true' ng-blur='showTooltip1=false' aria-describedby="textareaID1TooltipContent1"></textarea>
		</div>
	</div>
	<div class="form-row">
        <label for="oneTime" class="checkbox">
            <input id="oneTime" type="checkbox" ng-model="definitionData.oneTimeRec" /><i class="skin"></i><span>One Time</span>
        </label>
    </div>
    <div class="form-row">
        <label for="hourly" class="checkbox">
            <input id="hourly" type="checkbox" checked ng-model="definitionData.hourlyRec" /><i class="skin"></i><span>Hourly</span>
        </label>
    </div>
    <div class="form-row">
        <label for="daily" class="checkbox">
            <input id="daily" type="checkbox" ng-model="definitionData.dailyRec" /><i class="skin"></i><span>Daily</span>
        </label>
    </div>
    <div class="form-row">
        <label for="dailyMF" class="checkbox">
            <input id="dailyMF" type="checkbox" checked ng-model="definitionData.dailyMFRec" /><i class="skin"></i><span>Daily Monday - Friday</span>
        </label>
    </div>
    <div class="form-row">
        <label for="weekly" class="checkbox">
            <input id="weekly" type="checkbox" ng-model="definitionData.weeklyRec" /><i class="skin"></i><span>Weekly</span>
        </label>
    </div>
    <div class="form-row">
        <label for="monthly" class="checkbox">
            <input id="monthly" type="checkbox" checked ng-model="definitionData.monthlyRec" /><i class="skin"></i><span>Monthly</span>
        </label>
    </div>
    <br>
    
   	<div class="form-row">
<!--    		<button class="btn btn-alt btn-small" type="button" ng-click="createDefinition()" ng-if="!isEdit">Save</button>
 -->		<button class="btn btn-alt btn-small" type="button" ng-click="updateDef()" >Save</button>
<!-- 		<button class="btn btn-alt btn-small" type="button" ng-click="next()" ng-show="$scope.isEdit" >Next</button>
 -->	</div>
  
</div>