UI: Fix popup menu active color and license link

This commit is contained in:
Joshua Ogle 2018-11-26 22:39:36 -07:00
parent eb0a632ef1
commit 7e305d157c
2 changed files with 4 additions and 8 deletions

View File

@ -47,11 +47,6 @@
color: $menu-item-hover-color;
}
&.is-active {
background-color: $menu-item-active-background-color;
color: $menu-item-active-color;
}
&.is-destroy {
color: $red;

View File

@ -54,7 +54,7 @@
</li>
{{else}}
<li>
{{#link-to "vault.cluster.replication"
{{#link-to "vault.cluster.replication"
invokeAction=(action onLinkClick)
}}
<div class="level is-mobile">
@ -75,9 +75,10 @@
</div>
<ul class="menu-list">
<li class="action">
{{#link-to "vault.cluster.license" activeClusterName id="license" invokeAction=onLinkClick}}
{{#link-to "vault.cluster.license" activeCluster.name invokeAction=onLinkClick}}
<div class="level is-mobile">
<span class="level-left">See Details</span>
<ICon @glyph="chevron-right" @size="12" @class="has-text-grey-light level-right" />
</div>
{{/link-to}}
</li>
@ -91,7 +92,7 @@
</div>
<ul class="menu-list">
<li class="action">
{{#if activeCluster.unsealed }}
{{#if activeCluster.unsealed}}
{{#link-to 'vault.cluster.settings.seal' cluster.name
class="level is-mobile"
invokeAction=(action (queue (action onLinkClick) (action d.actions.close)))