8e863b8cf5
Implements the new trigger setup user interface, which is now a linear workflow found on its own page, rather than a tiny modal dialog Fixes #1187
31 lines
No EOL
1.1 KiB
HTML
31 lines
No EOL
1.1 KiB
HTML
<div class="linear-workflow-element">
|
|
<!-- Contents -->
|
|
<div ng-transclude/>
|
|
|
|
<div class="bottom-controls">
|
|
<table class="upcoming-table">
|
|
<tr>
|
|
<td>
|
|
<!-- Next button -->
|
|
<button class="btn btn-primary" ng-disabled="!currentSection.valid"
|
|
ng-click="nextSection()"
|
|
ng-class="{'btn-success': currentSection.index == sections.length - 1, 'btn-lg': currentSection.index == sections.length - 1}">
|
|
<span ng-if="currentSection.index != sections.length - 1">Continue</span>
|
|
<span ng-if="currentSection.index == sections.length - 1"><i class="fa fa-check-circle"></i>{{ doneTitle }}</span>
|
|
</button>
|
|
</td>
|
|
<td>
|
|
<!-- Next sections -->
|
|
<div class="upcoming" ng-if="currentSection.index != sections.length - 1">
|
|
<b>Next:</b>
|
|
<ul>
|
|
<li ng-repeat="section in sections" ng-if="section.index > currentSection.index">
|
|
{{ section.title }}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div> |