Commit d86c3ab7 by Kálmán Viktor

dashboard: connection info is nicer

parent cceea9b2
......@@ -715,3 +715,9 @@ textarea[name="list-new-namelist"] {
#dashboard-profile-avatar {
max-width: 200px;
}
#dashboard-vm-details-connect-command {
/* for mobile view */
margin-bottom: 20px;
}
......@@ -110,11 +110,11 @@
</div>
</dl>
<div class="input-group">
<div class="input-group" id="dashboard-vm-details-connect-command">
<span class="input-group-addon input-tags">{% trans "Command" %}</span>
<input type="text"
value="{% if instance.get_connect_command %}{{ instance.get_connect_command }}
{% else %}{% trans "Connection is not possible." %}{% endif %}"
value="{% if instance.get_connect_command %}{{ instance.get_connect_command }}{% else %}
{% trans "Connection is not possible." %}{% endif %}"
id="vm-details-connection-string" class="form-control input-tags" />
<span class="input-group-addon input-tags" id="vm-details-connection-string-copy">
<i class="icon-copy" title="{% trans "Select all" %}"></i>
......
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