mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 22:46:01 -03:30
add jobs portal relaunch test
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<at-list results="vm.jobs" empty-list-reason="{{ vm.emptyListReason }}">
|
||||
<!-- TODO: implement resources are missing red indicator as present in mockup -->
|
||||
<at-row ng-repeat="job in vm.jobs" job-id="{{ job.id }}">
|
||||
<at-row ng-repeat="job in vm.jobs" id="job-{{ job.id }}">
|
||||
<div class="at-Row-items">
|
||||
<!-- TODO: include workflow tab as well -->
|
||||
<at-row-item
|
||||
|
||||
@@ -26,12 +26,14 @@
|
||||
<button ng-class="{'btn-primary': $state.is('portalMode.myJobs'), 'Button-primary--hollow': $state.is('portalMode.allJobs')}"
|
||||
ng-click='filterUser()'
|
||||
class="btn btn-xs"
|
||||
id="my-jobs-btn"
|
||||
translate>
|
||||
My Jobs
|
||||
</button>
|
||||
<button ng-class="{'btn-primary': $state.is('portalMode.allJobs'), 'Button-primary--hollow': $state.is('portalMode.myJobs')}"
|
||||
ng-click='filterAll()'
|
||||
class="btn btn-xs"
|
||||
id="all-jobs-btn"
|
||||
translate>
|
||||
All Jobs
|
||||
</button>
|
||||
|
||||
@@ -38,9 +38,9 @@
|
||||
<at-list results="vm.templates" id="templates_list">
|
||||
<at-row ng-repeat="template in vm.templates"
|
||||
ng-class="{'at-Row--active': (template.id === vm.activeId)}"
|
||||
template-id="{{ template.id }}"
|
||||
invalid="vm.isInvalid(template)"
|
||||
invalid-tooltip="vm.invalidTooltip">
|
||||
invalid-tooltip="vm.invalidTooltip"
|
||||
id="row-{{ template.id }}">
|
||||
<div class="at-Row-items">
|
||||
<at-row-item
|
||||
header-value="{{ template.name }}"
|
||||
|
||||
@@ -7,7 +7,6 @@ function atRow () {
|
||||
transclude: true,
|
||||
templateUrl,
|
||||
scope: {
|
||||
templateId: '@',
|
||||
invalid: '=',
|
||||
invalidTooltip: '='
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="at-Row" id="row-{{ templateId }}">
|
||||
<div class="at-Row">
|
||||
<div class="at-Row--invalid" ng-show="invalid">
|
||||
<at-popover state="invalidTooltip" ng-if="invalidTooltip"></at-popover>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user