-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
224 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Component from '@glimmer/component'; | ||
import { inject as service } from '@ember/service'; | ||
|
||
export default class StatsBox extends Component { | ||
@service system; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import ApplicationSerializer from './application'; | ||
|
||
export default class StructuredAttributes extends ApplicationSerializer { | ||
normalize(typeHash, hash) { | ||
return super.normalize(typeHash, { Raw: hash }); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,4 +62,9 @@ | |
font-size: 0.7rem; | ||
vertical-align: 2px; | ||
} | ||
|
||
.icon { | ||
height: 1rem; | ||
width: 1rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{{#if @job.meta.structured}} | ||
<div class="boxed-section"> | ||
<div class="boxed-section-head"> | ||
Meta | ||
</div> | ||
<div class="boxed-section-body is-full-bleed"> | ||
<AttributesTable | ||
data-test-meta | ||
@attributePairs={{@job.meta.structured}} | ||
@class="attributes-table" /> | ||
</div> | ||
</div> | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<div class="boxed-section is-small"> | ||
<div class="boxed-section-body inline-definitions"> | ||
<span class="label" style="width: 6.125rem;">Job Details</span> | ||
<span class="pair" data-test-job-stat="type"> | ||
<span class="term">Type</span> | ||
{{@job.type}} | ||
</span> | ||
<span class="pair" data-test-job-stat="priority"> | ||
<span class="term">Priority</span> | ||
{{@job.priority}} | ||
</span> | ||
<span class="pair" data-test-job-stat="version"> | ||
<span class="term">Version</span> | ||
{{@job.version}} | ||
</span> | ||
{{yield to="before-namespace"}} | ||
{{#if (and @job.namespace this.system.shouldShowNamespaces)}} | ||
<span class="pair" data-test-job-stat="namespace"> | ||
<span class="term">Namespace</span> | ||
{{@job.namespace.name}} | ||
</span> | ||
{{/if}} | ||
{{yield to="after-namespace"}} | ||
</div> | ||
|
||
{{#if @job.meta.structured.pack.name}} | ||
<div class="boxed-section-body inline-definitions"> | ||
<span class="label" style="width: 6.125rem;">Pack Details</span> | ||
<span class="pair" data-test-pack-stat="name"> | ||
<span class="term">Name</span> | ||
{{@job.meta.structured.pack.name}} | ||
</span> | ||
{{#if @job.meta.structured.pack.registry}} | ||
<span class="pair" data-test-pack-stat="registry"> | ||
<span class="term">Registry</span> | ||
{{@job.meta.structured.pack.registry}} | ||
</span> | ||
{{/if}} | ||
{{#if @job.meta.structured.pack.version}} | ||
<span class="pair" data-test-pack-stat="version"> | ||
<span class="term">Version</span> | ||
{{@job.meta.structured.pack.version}} | ||
</span> | ||
{{/if}} | ||
{{#if @job.meta.structured.pack.revision}} | ||
<span class="pair" data-test-pack-stat="revision"> | ||
<span class="term">Revision</span> | ||
{{@job.meta.structured.pack.revision}} | ||
</span> | ||
{{/if}} | ||
{{yield to="pack"}} | ||
</div> | ||
{{/if}} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.