ui: minor fixes
This commit is contained in:
parent
38791ad142
commit
a45ef5d47f
|
@ -4,7 +4,7 @@
|
|||
<progress
|
||||
data-test-current-value
|
||||
class="progress {{@chartClass}} is-small"
|
||||
value="{{@percent}}"
|
||||
value="{{or @percent 0}}"
|
||||
max="1">
|
||||
{{@percent}}
|
||||
</progress>
|
||||
|
|
|
@ -470,23 +470,25 @@
|
|||
@attributePairs={{this.model.attributes.structured}}
|
||||
@class="attributes-table" />
|
||||
</div>
|
||||
<div class="boxed-section-head">
|
||||
Meta
|
||||
</div>
|
||||
{{#if this.model.meta.structured}}
|
||||
<div class="boxed-section-body is-full-bleed">
|
||||
<AttributesTable
|
||||
data-test-meta
|
||||
@attributePairs={{this.model.meta.structured}}
|
||||
@class="attributes-table" />
|
||||
<div class="boxed-section">
|
||||
<div class="boxed-section-head">
|
||||
Meta
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="boxed-section-body">
|
||||
<div data-test-empty-meta-message class="empty-message">
|
||||
<h3 class="empty-message-headline">No Meta Attributes</h3>
|
||||
<p class="empty-message-body">This client is configured with no meta attributes.</p>
|
||||
{{#if this.model.meta.structured}}
|
||||
<div class="boxed-section-body is-full-bleed">
|
||||
<AttributesTable
|
||||
data-test-meta
|
||||
@attributePairs={{this.model.meta.structured}}
|
||||
@class="attributes-table" />
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<div class="boxed-section-body">
|
||||
<div data-test-empty-meta-message class="empty-message">
|
||||
<h3 class="empty-message-headline">No Meta Attributes</h3>
|
||||
<p class="empty-message-body">This client is configured with no meta attributes.</p>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue