Clean up the csi volume page

This commit is contained in:
Michael Lange 2020-05-02 21:29:02 -07:00
parent 7d524ac341
commit bf35d92224
2 changed files with 7 additions and 9 deletions

View File

@ -60,12 +60,10 @@
{{/list-pagination}}
{{else}}
<div data-test-empty-volumes-list class="empty-message">
{{#if (eq sortedVolumes.length 0)}}
<h3 data-test-empty-volumes-list-headline class="empty-message-headline">No Volumes</h3>
<p class="empty-message-body">
The cluster currently has no CSI Volumes.
</p>
{{/if}}
<h3 data-test-empty-volumes-list-headline class="empty-message-headline">No Volumes</h3>
<p class="empty-message-body">
The cluster currently has no CSI Volumes.
</p>
</div>
{{/if}}
{{/if}}

View File

@ -1,12 +1,12 @@
{{title "CSI Volume " model.name}}
<section class="section">
<h1 class="title" data-test-title>{{model.name}}</h1>
<section class="section with-headspace">
<h1 class="title" data-test-title>{{model.name}}</h1>
<div class="boxed-section is-small">
<div class="boxed-section-body inline-definitions">
<span class="label">Volume Details</span>
<span class="pair" data-test-volume-health>
<span class="term">health</span>
<span class="term">Health</span>
{{if model.schedulable "Schedulable" "Unschedulable"}}
</span>
<span class="pair" data-test-volume-provider>