open-nomad/ui/app/templates/components/job-page.hbs
Phil Renaud eca0e7bf56
[ui] task logs in sidebar (#14612)
* button styles

* Further styles including global toggle adjustment

* sidebar funcs and header

* Functioning task logs in high-level sidebars

* same-lineify the show tasks toggle

* Changelog

* Full-height sidebar calc in css, plz drop soon container queries

* Active status and query params for allocations page

* Reactive shouldShowLogs getter and added to client and task group pages

* Higher order func passing, thanks @DingoEatingFuzz

* Non-service job types get allocation params passed

* Keyframe animation for task log sidebar

* Acceptance test

* A few more sub-row tests

* Lintfix
2022-09-22 10:58:52 -04:00

33 lines
1.2 KiB
Handlebars

{{yield
(hash
data=(hash)
fns=(hash setError=this.setError)
ui=(hash
Body=(component "job-page/parts/body" job=@job)
Error=(component
"job-page/parts/error"
errorMessage=this.errorMessage
onDismiss=this.clearErrorMessage
)
Title=(component
"job-page/parts/title" job=@job handleError=this.handleError
)
StatsBox=(component "job-page/parts/stats-box" job=@job)
Summary=(component "job-page/parts/summary" job=@job)
PlacementFailures=(component "job-page/parts/placement-failures" job=@job)
LatestDeployment=(component
"job-page/parts/latest-deployment" job=@job handleError=this.handleError
)
TaskGroups=(component "job-page/parts/task-groups" job=@job)
RecentAllocations=(component "job-page/parts/recent-allocations" job=@job activeTask=@activeTask setActiveTaskQueryParam=@setActiveTaskQueryParam)
Meta=(component "job-page/parts/meta" job=@job)
DasRecommendations=(component
"job-page/parts/das-recommendations" job=@job
)
JobClientStatusSummary=(component
"job-page/parts/job-client-status-summary" job=@job
)
Children=(component "job-page/parts/children" job=@job)
)
)
}}