Commit 229225d0 by Kálmán Viktor

dashboard: minor fixes to activity detail

- fix bootstrap class name
- make the activity timeline more readable on smaller screen
parent 7bcde780
...@@ -956,3 +956,7 @@ textarea[name="list-new-namelist"] { ...@@ -956,3 +956,7 @@ textarea[name="list-new-namelist"] {
#vm-list-search-checkbox-span { #vm-list-search-checkbox-span {
cursor: pointer cursor: pointer
} }
#vm-activity-state {
margin-bottom: 15px;
}
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
</h1> </h1>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-5" id="vm-info-pane"> <div class="col-md-6" id="vm-info-pane">
<div class="big"> <div class="big" id="vm-activity-state">
<span id="vm-activity-state" class="label label-{% if object.get_status_id == 'wait' %}info{% else %}{% if object.succeeded %}success{% else %}error{% endif %}{% endif %}"> <span class="label label-{% if object.get_status_id == 'wait' %}info{% else %}{% if object.succeeded %}success{% else %}danger{% endif %}{% endif %}">
<span>{{ object.get_status_id|upper }}</span> <span>{{ object.get_status_id|upper }}</span>
</span> </span>
</div> </div>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
{% include "dashboard/vm-detail/_activity-timeline.html" with active=object %} {% include "dashboard/vm-detail/_activity-timeline.html" with active=object %}
</div> </div>
<div class="col-md-7"> <div class="col-md-6">
<div class="panel panel-default"> <div class="panel panel-default">
<!--<div class="panel-heading"><h2 class="panel-title">{% trans "Activity" %}</h2></div> --> <!--<div class="panel-heading"><h2 class="panel-title">{% trans "Activity" %}</h2></div> -->
<div class="panel-body"> <div class="panel-body">
......
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