Revision d6ea9b3d snf-astakos-app/astakos/im/templates/im/resource_usage.html

b/snf-astakos-app/astakos/im/templates/im/resource_usage.html
42 42
					</div>
43 43
					<div class="bar" data-steps="">
44 44
						<div>
45
							{% if rdata.ratio > 18 %}
46
							<span style="width:{{ rdata.ratio_limited|floatformat }}%;" class="hovered">
47
                                <em data-value="{{ rdata.ratio }}" class="value">{{ rdata.ratio|floatformat }}&#37; &nbsp;&nbsp;</em>	
48
							</span>
49
							{% else %}
45 50
							<span style="width:{{ rdata.ratio_limited|floatformat }}%;">
46
                                <em data-value="{{ rdata.ratio }}" class="value {% if rdata.ratio > 18 %}hovered{% endif %}
47
">{{ rdata.ratio|floatformat }}&#37; &nbsp;&nbsp;</em>	
51
                                	&nbsp;
48 52
							</span>
53
							<em data-value="{{ rdata.ratio }}" class="value">
54
                                	{{ rdata.ratio|floatformat }}&#37; &nbsp;&nbsp;
55
                                </em>
56
							{% endif %}
49 57
						</div>
50 58
					</div>
51 59
		 		</li>

Also available in: Unified diff