2015-03-20 19:11:19 +00:00
|
|
|
<mct-container key="overlay">
|
|
|
|
<div class="abs top-bar">
|
|
|
|
<div class="title">{{ngModel.dialog.title}}</div>
|
|
|
|
<div class="hint">{{ngModel.dialog.hint}}</div>
|
|
|
|
</div>
|
|
|
|
<div class="abs form outline editor">
|
|
|
|
<div class='abs contents l-dialog'>
|
|
|
|
<mct-include key="ngModel.dialog.template"
|
|
|
|
parameters="ngModel.dialog.parameters"
|
|
|
|
ng-model="ngModel.dialog.model">
|
|
|
|
</mct-include>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="abs bottom-bar">
|
2015-03-20 21:23:51 +00:00
|
|
|
<a ng-repeat="option in ngModel.dialog.options"
|
2015-03-20 19:11:19 +00:00
|
|
|
href=''
|
|
|
|
class="btn lg"
|
|
|
|
title="{{option.description}}"
|
2015-03-25 00:20:59 +00:00
|
|
|
ng-click="ngModel.confirm(option.key)"
|
2015-03-20 19:11:19 +00:00
|
|
|
ng-class="{ major: $first, subtle: !$first }">
|
|
|
|
{{option.name}}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</mct-container>
|