--- a/pvl/verkko/hosts.py Thu Oct 11 01:25:05 2012 +0300
+++ b/pvl/verkko/hosts.py Thu Oct 11 01:28:27 2012 +0300
@@ -118,7 +118,11 @@
)
def url (**opts) :
- args = dict(filters)
+ args = dict()
+
+ if filters :
+ args.update(filters)
+
args.update(opts)
return self.url(**args)
@@ -147,7 +151,7 @@
),
html.tbody(
html.tr(class_=('alternate' if i % 2 else None), id=host.id)(
- html.td(class_='id')(
+ html.th(
html.a(href=self.url(ItemHandler, id=host.id))(
'#' #host['rowid'])
)
--- a/static/style.css Thu Oct 11 01:25:05 2012 +0300
+++ b/static/style.css Thu Oct 11 01:28:27 2012 +0300
@@ -93,6 +93,7 @@
background-color: #F5F3B8;
}
+/* Cells */
td, th
{
border: thin solid #ffffff;
@@ -106,6 +107,11 @@
display: block;
}
+th
+{
+ text-align: center;
+}
+
td.row-header
{
text-align: right;