From 8853675258fb6042b9946504c8feebdd223beaae Mon Sep 17 00:00:00 2001 From: Guba Sándor <guba.sandor@cloud.bme.hu> Date: Tue, 23 Sep 2014 14:17:59 +0200 Subject: [PATCH] dashboard/templates: add ugly resize buttons --- circle/dashboard/templates/dashboard/_disk-list-element.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/circle/dashboard/templates/dashboard/_disk-list-element.html b/circle/dashboard/templates/dashboard/_disk-list-element.html index 7634da4..ee8eef7 100644 --- a/circle/dashboard/templates/dashboard/_disk-list-element.html +++ b/circle/dashboard/templates/dashboard/_disk-list-element.html @@ -17,5 +17,10 @@ > <i class="fa fa-times"></i>{% if long_remove %} {% trans "Remove" %}{% endif %} </a> +<span class="operation-wrapper"> + <a href="{{ op.resize_disk.get_url }}?disk={{d.pk}}" class="btn btn-xs btn-warning pull-right operation"> + <i class="fa fa-arrows-alt"></i> {% trans "Resize" %} + </a> +</span> {% endif %} <div style="clear: both;"></div> -- libgit2 0.26.0