Add a subnav to the volumes page
This commit is contained in:
parent
1b47885bdb
commit
dba9a25a13
|
@ -37,6 +37,10 @@ Router.map(function() {
|
|||
this.route('volumes', function() {
|
||||
this.route('volume', { path: '/:volume_name' });
|
||||
});
|
||||
|
||||
this.route('plugins', function() {
|
||||
this.route('plugin', { path: '/:plugin-name' });
|
||||
});
|
||||
});
|
||||
|
||||
this.route('allocations', function() {
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
{{title "CSI Volumes"}}
|
||||
<div class="tabs is-subnav">
|
||||
<ul>
|
||||
<li data-test-tab="volumes">{{#link-to "csi.volumes.index" activeClass="is-active"}}Volumes{{/link-to}}</li>
|
||||
<li data-test-tab="plugins">{{#link-to "csi.plugins.index" activeClass="is-active"}}Plugins{{/link-to}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<section class="section">
|
||||
{{#if isForbidden}}
|
||||
{{partial "partials/forbidden-message"}}
|
||||
|
|
Loading…
Reference in a new issue