From f440df5666c73c924ea6a6ce1c5de0eb7e8092f3 Mon Sep 17 00:00:00 2001
From: Pim van den Berg
Date: Sun, 20 Sep 2009 13:52:56 +0200
Subject: display term as a list on detail page
---
detail.php | 6 +++---
layout/style.css | 9 +++++++++
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/detail.php b/detail.php
index e12334d..d1f2126 100644
--- a/detail.php
+++ b/detail.php
@@ -29,13 +29,13 @@ $term = array(
);
$args = $_GET;
+print "
\n";
foreach($term as $key => $s) {
$args['s'] = $s;
- printf('%s'."\n",
+ printf('- %s
'."\n",
$CONFIG['weburl'], build_url('detail.php', $args), $key);
}
-
-print "
\n";
+print "
\n";
$plugins = collectd_plugins($host);
diff --git a/layout/style.css b/layout/style.css
index 813f98d..90bc9a5 100644
--- a/layout/style.css
+++ b/layout/style.css
@@ -21,3 +21,12 @@ table.summary td {
img {
border: 0;
}
+
+ul {
+ margin: 0;
+ padding: 0;
+}
+
+li {
+ display: inline;
+}
--
cgit v1.1