From d86c3ab7b6141ed77507b04f976b9d829c003b18 Mon Sep 17 00:00:00 2001 From: Kálmán Viktor <kviktor@cloud.bme.hu> Date: Tue, 17 Jun 2014 23:18:01 +0200 Subject: [PATCH] dashboard: connection info is nicer --- circle/dashboard/static/dashboard/dashboard.css | 6 ++++++ circle/dashboard/templates/dashboard/vm-detail.html | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/circle/dashboard/static/dashboard/dashboard.css b/circle/dashboard/static/dashboard/dashboard.css index b207b8e..8bc195c 100644 --- a/circle/dashboard/static/dashboard/dashboard.css +++ b/circle/dashboard/static/dashboard/dashboard.css @@ -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; + +} diff --git a/circle/dashboard/templates/dashboard/vm-detail.html b/circle/dashboard/templates/dashboard/vm-detail.html index 07ba97e..e1f2cda 100644 --- a/circle/dashboard/templates/dashboard/vm-detail.html +++ b/circle/dashboard/templates/dashboard/vm-detail.html @@ -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> -- libgit2 0.26.0