From b3ae3955634ed643472bf9ff93e1437934264e39 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 26 2016 09:39:03 +0000 Subject: [PATCH 1/2] Bring back the source/widget/edit buttons for each panel --- diff --git a/hubs/static/css/style.css b/hubs/static/css/style.css index 854ff32..c39f680 100644 --- a/hubs/static/css/style.css +++ b/hubs/static/css/style.css @@ -356,3 +356,15 @@ font-size: 32pt; #save_edits_btn { cursor: pointer; } + +.pull-right { + float: right; +} + +.widget-buttons { + font-size: 10px; +} + +.edit_widget { + cursor: pointer; +} diff --git a/hubs/widgets/templates/panel.html b/hubs/widgets/templates/panel.html index 8e64bb9..b4270f0 100644 --- a/hubs/widgets/templates/panel.html +++ b/hubs/widgets/templates/panel.html @@ -1,18 +1,18 @@
- {{ heading }}
- - + + - +
+ {{ heading }}
{{ content }}
{% if footer %} - {{footer}} -{% endif %} + {{footer}} +{% endif %}
From b8889cf68accb7a53d776cf6ead06a11d0840f7e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 26 2016 09:49:39 +0000 Subject: [PATCH 2/2] Fix indentation in the HTML --- diff --git a/hubs/widgets/templates/panel.html b/hubs/widgets/templates/panel.html index b4270f0..71cb1f6 100644 --- a/hubs/widgets/templates/panel.html +++ b/hubs/widgets/templates/panel.html @@ -12,7 +12,7 @@
{{ content }}
-{% if footer %} - {{footer}} -{% endif %} + {% if footer %} + {{footer}} + {% endif %}