[node-patches] Change in ovirt-node[master]: ui: Highlight tabel headers

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue Feb 12 10:54:51 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: ui: Highlight tabel headers
......................................................................

ui: Highlight tabel headers

Change-Id: Ied5f510250144152e3f9362bec76a536adc76d84
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/setup/keyboard_page.py
M scripts/tui/src/ovirt/node/setup/support_page.py
M scripts/tui/src/ovirt/node/ui/urwid_builder.py
3 files changed, 3 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/66/11966/1

diff --git a/scripts/tui/src/ovirt/node/setup/keyboard_page.py b/scripts/tui/src/ovirt/node/setup/keyboard_page.py
index e40e93c..6197566 100644
--- a/scripts/tui/src/ovirt/node/setup/keyboard_page.py
+++ b/scripts/tui/src/ovirt/node/setup/keyboard_page.py
@@ -51,7 +51,7 @@
         """
         kbd = utils.system.Keyboard()
         ws = [ui.Header("header", "Keyboard Layout Selection"),
-              ui.Table("keyboard.layout", "Available Keyboard Layouts", "",
+              ui.Table("keyboard.layout", "", "Available Keyboard Layouts",
                        kbd.available_layouts()),
               ]
 
diff --git a/scripts/tui/src/ovirt/node/setup/support_page.py b/scripts/tui/src/ovirt/node/setup/support_page.py
index 9e08970..031140f 100644
--- a/scripts/tui/src/ovirt/node/setup/support_page.py
+++ b/scripts/tui/src/ovirt/node/setup/support_page.py
@@ -47,11 +47,8 @@
               ui.Label("support.info", "Select one of the logfiles below. \n" +
                        "Press 'q' to quit when viewing a logfile."),
               ui.Divider("divider[0]"),
-              ui.Table("support.logfile", "Logfiles", "Available Logfiles",
+              ui.Table("support.logfile", "", "Available Logfiles",
                        self.__debugfiles_to_offer()),
-
-              ui.Header("header[1]", "(Data:)"),
-              ui.Label("support.contents", "")
               ]
 
         page = ui.Page("page", ws)
diff --git a/scripts/tui/src/ovirt/node/ui/urwid_builder.py b/scripts/tui/src/ovirt/node/ui/urwid_builder.py
index ceacb34..7645409 100644
--- a/scripts/tui/src/ovirt/node/ui/urwid_builder.py
+++ b/scripts/tui/src/ovirt/node/ui/urwid_builder.py
@@ -307,7 +307,7 @@
                ('header', 'white', 'dark blue'),
                ('table', element_styles["text"]),
                ('table.label', element_styles["label"]),
-               ('table.header', element_styles["label"]),
+               ('table.header', element_styles["label"] + ", standout"),
                ('table.entry', element_styles["text"]),
                ('table.entry:focus', 'white', 'light blue'),
                ('main.menu', 'black'),


--
To view, visit http://gerrit.ovirt.org/11966
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied5f510250144152e3f9362bec76a536adc76d84
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list