aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app/vid/scripts/view-models/creationDialog.htm
blob: 4449285d2d5ab1e8af490627ba0863b8e34bee44 (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
<div ng-controller="creationDialogController">

	<div ng-show="isDialogVisible">
		<div class="titleLine">
			<img src="app/vid/images/spinner.gif"
				ngx-visible="{{isSpinnerVisible}}"></img>
			<h3>Create {{componentName}} -- {{createType}}</h3>
		</div>

		<div class="error" ng-show="isErrorVisible">
			<img src="app/vid/images/error.png"></img>{{error}}
		</div>

		<div ngx-visible="{{isDataVisible}}">
			<parameter-block control="summaryControl"></parameter-block>
			<h4>
				User Provided Data (<img class="requiredIndicator"
					src="app/vid/images/asterisk.png" height='10' width='10'></img> indicates required field)
			</h4>
			<parameter-block control="userProvidedControl"
				callback="userParameterChanged(id);" editable></parameter-block>
			<div class="prompt">
				<p>
					Enter Data and <span>Confirm</span> to<br />Create <span>{{componentName}}</span>
				</p>
				<p>
					<span>Cancel</span> to Return to Previous Page.<br />Data entered
					will be lost
				</p>
			</div>

		</div>
		<div class="buttonRow">
			<button data-tests-id="confirmButton" ngx-enabled="{{isConfirmEnabled}}" att-button size="small"
				ng-click="confirm();">Confirm</button>
			<button type="button" ng-click="cancel();" att-button
				btn-type="primary" size="small">Cancel</button>
		</div>
	</div>

	<div ng-include="'app/vid/scripts/view-models/msoCommit.htm'"></div>

</div>