Commit d21ccfe5 by Kálmán Viktor

dashboard: nicer connection msg

parent cb2d9cff
...@@ -187,7 +187,7 @@ function addConnectText() { ...@@ -187,7 +187,7 @@ function addConnectText() {
if(activities.length > 1) { if(activities.length > 1) {
if(activities.eq(0).data("activity-code") == "vm.Instance.wake_up" || if(activities.eq(0).data("activity-code") == "vm.Instance.wake_up" ||
activities.eq(0).data("activity-code") == "vm.Instance.agent") { activities.eq(0).data("activity-code") == "vm.Instance.agent") {
$("#vm-detail-successfull-boot").slideDown(500); $("#vm-detail-successful-boot").slideDown(500);
} }
} }
} }
......
...@@ -1285,9 +1285,16 @@ textarea[name="new_members"] { ...@@ -1285,9 +1285,16 @@ textarea[name="new_members"] {
} }
} }
#vm-detail-successfull-boot { #vm-detail-successful-boot {
margin-bottom: 20px; margin-bottom: 20px;
display: none; display: none;
.label {
width: 100%;
display: block;
overflow: hidden;
text-overflow: ellipsis;
}
} }
#vm-detail-access-help { #vm-detail-access-help {
......
...@@ -192,11 +192,11 @@ ...@@ -192,11 +192,11 @@
{% endif %} {% endif %}
</div> </div>
<div class="col-md-8" id="vm-detail-pane"> <div class="col-md-8" id="vm-detail-pane">
<div class="big" id="vm-detail-successfull-boot"> <div class="big" id="vm-detail-successful-boot">
<span class="label label-info" data-status="{{ instance.status }}"> <div class="label label-info" data-status="{{ instance.status }}">
<i class="fa fa-check"></i> <i class="fa fa-check"></i>
{% trans "The virtual machine successfully started, you can connect now." %} {% trans "The virtual machine successfully started, you can connect now." %}
</span> </div>
</div> </div>
<div class="panel panel-default" id="vm-detail-panel"> <div class="panel panel-default" id="vm-detail-panel">
<ul class="nav nav-pills panel-heading"> <ul class="nav nav-pills panel-heading">
......
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