[Kimchi-devel] [PATCH 3/8] UI: Guest button fix
Wen Wang
wenwang at linux.vnet.ibm.com
Mon Mar 2 08:50:40 UTC 2015
Signed-off-by: Wen Wang <wenwang at linux.vnet.ibm.com>
---
ui/css/theme-default/guest-edit.css | 8 ++++++++
ui/pages/guest-edit.html.tmpl | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ui/css/theme-default/guest-edit.css b/ui/css/theme-default/guest-edit.css
index d8226dd..2efeed1 100644
--- a/ui/css/theme-default/guest-edit.css
+++ b/ui/css/theme-default/guest-edit.css
@@ -21,6 +21,14 @@
width: 820px;
}
+#guest-edit-window #action-button-container {
+ padding-right: 0;
+}
+
+#guest-edit-window #guest-edit-button-cancel {
+ margin-left: 10px;
+}
+
#guest-edit-tabs {
background: transparent;
border: none;
diff --git a/ui/pages/guest-edit.html.tmpl b/ui/pages/guest-edit.html.tmpl
index e861973..f33d889 100644
--- a/ui/pages/guest-edit.html.tmpl
+++ b/ui/pages/guest-edit.html.tmpl
@@ -188,10 +188,10 @@
<button id="guest-edit-button-save" class="btn-normal">
<span class="text">$_("Save")</span>
</button>
- <button id="guest-edit-button-save" class="btn-normal close">
- <span class="text">$_("Cancel")</span>
- </button>
</div>
+ <button id="guest-edit-button-cancel" class="btn-normal close">
+ <span class="text">$_("Cancel")</span>
+ </button>
</footer>
</div>
<script id="cdrom-row-tmpl" type="text/html">
--
2.1.0
More information about the Kimchi-devel
mailing list