Module: check_mk
Branch: master
Commit: 78e8ec474f71103fb51bb7232368d2b1b29936fa
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=78e8ec474f7110…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Jan 12 14:45:21 2012 +0100
MobileUI: Persistent header toolbar
---
web/htdocs/mobile.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/mobile.py b/web/htdocs/mobile.py
index 0409e17..53bdd4e 100644
--- a/web/htdocs/mobile.py
+++ b/web/htdocs/mobile.py
@@ -70,13 +70,13 @@ def mobile_html_foot():
html.write("</body></html>\n")
def jqm_header_button(url, title, icon=""):
- html.write('<a href="%s" data-direction="reverse"
data-iconpos="notext" data-icon="%s" title="%s"
data-theme="f"></a>' % (url, icon, title))
+ html.write('<a href="%s" data-direction="reverse"
data-icon="%s" title="%s" >%s</a>' % (url, icon, title,
title ))
def jqm_page_header(title, id=None, left_button=None, right_button=None):
idtxt = id and (' id="%s"' % id) or ''
html.write(
'<div data-role="page"%s>\n'
- '<div data-role="header">\n' % idtxt)
+ '<div data-role="header"
data-position="fixed">\n' % idtxt)
if left_button:
jqm_header_button(*left_button)
html.write('<h1>%s</h1>\n' % title)