summaryrefslogtreecommitdiff
path: root/content/fetchers/about.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-04-12 13:43:57 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2012-04-12 13:43:57 +0000
commitcdee9e985ee4d29d624539e47aa515b5201a18e3 (patch)
treefd9dab256510c36d76f5af1ca5ff97a1013e99e8 /content/fetchers/about.c
parente2e69d29bb41b62c7aa06749b73b1854c3dfbc23 (diff)
downloadnetsurf-cdee9e985ee4d29d624539e47aa515b5201a18e3.tar.gz
netsurf-cdee9e985ee4d29d624539e47aa515b5201a18e3.tar.bz2
More work on about:imagecache entry listing table.
svn path=/trunk/netsurf/; revision=13855
Diffstat (limited to 'content/fetchers/about.c')
-rw-r--r--content/fetchers/about.c43
1 files changed, 22 insertions, 21 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index d1a64cc63..b889a31d7 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -242,29 +242,30 @@ static bool fetch_about_imagecache_handler(struct fetch_about_context *ctx)
/* image cache entry table */
slen = snprintf(buffer, sizeof buffer,
- "<table class=\"imagecachelist\">\n"
- "<tr>"
- "<th>Entry</th>"
- "<th>Content Key</th>"
- "<th>Redraw<br>Count</th>"
- "<th>Conversion<br>Count</th>"
- "<th>Last Redraw</th>"
- "<th>Bitmap Age</th>"
- "<th>Bitmap Size</th>"
- "<th>Source URL</th>"
- "</tr>\n");
+ "<p class=\"imagecachelist\">\n"
+ "<strong>"
+ "<span>Entry</span>"
+ "<span>Content Key</span>"
+ "<span>Redraw Count</span>"
+ "<span>Conversion Count</span>"
+ "<span>Last Redraw</span>"
+ "<span>Bitmap Age</span>"
+ "<span>Bitmap Size</span>"
+ "<span>Source</span>"
+ "</strong>\n");
do {
res = image_cache_snentryf(buffer + slen, sizeof buffer - slen,
cent_loop,
- "<tr><td>%e</td>"
- "<td>%k</td>"
- "<td>%r</td>"
- "<td>%c</td>"
- "<td>%a</td>"
- "<td>%g</td>"
- "<td>%s</td>"
- "<td><a href=\"%U\">%U</a></td>"
- "</tr>\n");
+ "<a href=\"%U\">"
+ "<span>%e</span>"
+ "<span>%k</span>"
+ "<span>%r</span>"
+ "<span>%c</span>"
+ "<span>%a</span>"
+ "<span>%g</span>"
+ "<span>%s</span>"
+ "<span>%o</span>"
+ "</a>\n");
if (res <= 0)
break; /* last option */
@@ -282,7 +283,7 @@ static bool fetch_about_imagecache_handler(struct fetch_about_context *ctx)
} while (res > 0);
slen += snprintf(buffer + slen, sizeof buffer - slen,
- "</table>\n</body>\n</html>\n");
+ "</p>\n</body>\n</html>\n");
msg.data.header_or_data.len = slen;
if (fetch_about_send_callback(&msg, ctx))