Commit d86c3ab7 by Kálmán Viktor

dashboard: connection info is nicer

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