[Kimchi-devel] [PATCH V2 1/5] Display MAC Address in guest interface tab
Jose Ricardo Ziviani
joserz at linux.vnet.ibm.com
Wed May 13 18:39:24 UTC 2015
- This commit adds a field in the guest interface tab to
display the MAC address of a network card.
Signed-off-by: Jose Ricardo Ziviani <joserz at linux.vnet.ibm.com>
---
ui/css/theme-default/guest-edit.css | 2 +-
ui/pages/guest-edit.html.tmpl | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ui/css/theme-default/guest-edit.css b/ui/css/theme-default/guest-edit.css
index 6815ecf..d4b3166 100644
--- a/ui/css/theme-default/guest-edit.css
+++ b/ui/css/theme-default/guest-edit.css
@@ -115,7 +115,7 @@
#form-guest-edit-storage .cell,
.guest-edit-interface .cell {
display: inline-block;
- width: 250px;
+ width: 200px;
}
.guest-edit-snapshot .cell {
diff --git a/ui/pages/guest-edit.html.tmpl b/ui/pages/guest-edit.html.tmpl
index 9db1e1c..7568fce 100644
--- a/ui/pages/guest-edit.html.tmpl
+++ b/ui/pages/guest-edit.html.tmpl
@@ -110,6 +110,7 @@
<div class="header">
<span class="cell">$_("Network")</span>
<span class="cell">$_("Type")</span>
+ <span class="cell">$_("MAC Address")</span>
<button class="add action-area"></button>
</div>
<div class="body"></div>
@@ -232,6 +233,9 @@
<span class="cell">
<span>{type}</span>
</span>
+ <span class="cell">
+ <span>{mac}</span>
+ </span>
<span class="action-area {editMode}">
<button class="save"></button><button class="cancel"></button>
</span>
--
1.9.1
More information about the Kimchi-devel
mailing list