提交 | 用户 | 时间
|
8286c6
|
1 |
|
懒 |
2 |
<div class="modal" ng-controller="KisBpmCollapsedSubprocessReferencePopupCrtl"> |
|
3 |
<div class="modal-dialog modal-wide"> |
|
4 |
<div class="modal-content"> |
|
5 |
<div class="modal-header"> |
|
6 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="close()">×</button> |
|
7 |
<h2> |
|
8 |
{{'PROPERTY.SUBPROCESSREFERENCE.TITLE' | translate}} |
|
9 |
<span ng-show="selectedSubProcess != null"> - {{selectedSubProcess.name}}</span> |
|
10 |
<span ng-show="selectedSubProcess == null"> - {{'PROPERTY.SUBPROCESSREFERENCE.EMPTY' | translate}}</span> |
|
11 |
|
|
12 |
</h2> |
|
13 |
</div> |
|
14 |
<div class="modal-body"> |
|
15 |
<div class="detail-group clearfix"> |
|
16 |
<div class="col-xs-12"> |
|
17 |
<div class="alert alert-error" ng-show="(!state.loadingFolders && !state.loadingSubprocesses) && state.subprocessError" translate>PROPERTY.SUBPROCESSREFERENCE.ERROR.SUBPROCESS</div> |
|
18 |
</div> |
|
19 |
</div> |
|
20 |
<div class="detail-group clearfix"> |
|
21 |
<div class="col-xs-12 editor-item-picker"> |
|
22 |
<div ng-if="!state.loadingSubprocesses && !state.subprocessError" class="col-xs-4 editor-item-picker-component" ng-repeat="sub in subProcesses" ng-class="{'selected' : sub.id == selectedSubProcess.id}" ng-click="selectSubProcess(sub, $event)"> |
|
23 |
<div class="controls"> |
|
24 |
<input type="checkbox" value="option1" ng-click="selectSubProcess(sub, $event)" ng-checked="sub.id == selectedSubProcess.id" /> |
|
25 |
</div> |
|
26 |
<h4>{{sub.name}}</h4> |
|
27 |
<img src="{{config.contextRoot}}/app/rest/models/{{sub.id}}/thumbnail" /> |
|
28 |
</div> |
|
29 |
<div ng-show="state.loadingSubprocesses"> |
|
30 |
<p class="loading" translate>PROPERTY.SUBPROCESSREFERENCE.SUBPROCESS.LOADING</p> |
|
31 |
</div> |
|
32 |
<div ng-show="!state.loadingSubprocesses && subProcesses.length == 0"> |
|
33 |
<p translate>PROPERTY.SUBPROCESSREFERENCE.SUBPROCESS.EMPTY</p> |
|
34 |
</div> |
|
35 |
</div> |
|
36 |
</div> |
|
37 |
</div> |
|
38 |
<div class="modal-footer"> |
|
39 |
<button ng-disabled="state.subprocessError" ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button> |
|
40 |
</div> |
|
41 |
</div> |
|
42 |
</div> |
|
43 |
</div> |