Commit cc582cc1 by tarokkk

webui: Highlighted selected vm at show.html

parent ba28b42a
......@@ -121,6 +121,12 @@
background-position: right top;
background-repeat: no-repeat;
}
&.selected-summary{
background-color: rgb(241, 241, 157);
&:hover{
background-color: #FFFF66;
}
}
&:hover{
background-color: #b1b1b1;
background-image: none;
......
......@@ -3,8 +3,8 @@
{% if instances %}
{% for i in instances %}
<li class="wm">
<div class="summary">
<!--<div class="id">161</div>-->
<div class="summary {% if id == i.id %}selected-summary{% endif %}">
<!--<div class="id"></div>-->
<div class="name {% if i.state == 'ACTIVE' %}wm-on{% else %}wm-off{% endif %}">
{{i.name|truncatechars:20}}
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment