Signed-off-by: Wen Wang <wenwang(a)linux.vnet.ibm.com>
---
ui/css/theme-default/template_add.css | 4 ++++
ui/pages/template-add.html.tmpl | 8 ++++++--
ui/pages/template-edit.html.tmpl | 4 ++--
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/ui/css/theme-default/template_add.css
b/ui/css/theme-default/template_add.css
index e58bccb..e7a1bff 100644
--- a/ui/css/theme-default/template_add.css
+++ b/ui/css/theme-default/template_add.css
@@ -37,6 +37,10 @@
overflow: hidden;
}
+.button-group {
+ margin-left: 5px;
+}
+
.back {
float: left; display : block;
width: 50px;
diff --git a/ui/pages/template-add.html.tmpl b/ui/pages/template-add.html.tmpl
index eaafaa7..83b70ea 100644
--- a/ui/pages/template-add.html.tmpl
+++ b/ui/pages/template-add.html.tmpl
@@ -26,8 +26,7 @@
<body>
<div class="window" style="width: 992px;height: 660px;">
<header>
- <h1 class="title">$_("Add Template")</h1>
- <div class="close">X</div>
+ <h1 class="title h1 grey">$_("Add
Template")</h1>
</header>
<div class="content" style="margin-bottom: 0">
<div class="page-list">
@@ -219,6 +218,11 @@
</div>
</div>
</div>
+ <footer>
+ <div class="button-group">
+ <button class="btn-normal close"
type="button"><span
type="text">$_("Cancel")</span></button>
+ </div>
+ </footer>
</div>
<script>
kimchi.template_add_main();
diff --git a/ui/pages/template-edit.html.tmpl b/ui/pages/template-edit.html.tmpl
index 7177bf0..53eab25 100644
--- a/ui/pages/template-edit.html.tmpl
+++ b/ui/pages/template-edit.html.tmpl
@@ -24,8 +24,7 @@
<div id="template-edit-window" class="window">
<header>
- <h1 class="title">$_("Edit Template")</h1>
- <div class="close">X</div>
+ <h1 class="title h1 grey">$_("Edit
Template")</h1>
</header>
<div class="content">
<div id="edit-template-tabs">
@@ -130,6 +129,7 @@
<footer>
<div class="btn-group">
<a id="tmpl-edit-button-save" class="btn-normal"
href="javascript:void(0);"><span
class="text">$_("Save")</span></a>
+ <button class="btn-normal close"
type="button"><span
class="text">$_("Cancel")</span></button>
</div>
</footer>
</div>
--
2.1.0