summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6261a81)
raw | patch | inline | side by side (parent: 6261a81)
author | Florian Forster <ff@octo.it> | |
Tue, 6 Jul 2010 09:11:24 +0000 (11:11 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 6 Jul 2010 09:11:24 +0000 (11:11 +0200) |
… if not all instances are shown.
share/style.css | patch | blob | history | |
src/action_list_graphs.c | patch | blob | history |
diff --git a/share/style.css b/share/style.css
index 9f78f22dff16fabccb6009906ef1bd3513983d44..a1964d2e455eabfbd87096a38d4d898f9295b9b5 100644 (file)
--- a/share/style.css
+++ b/share/style.css
font-size: 90%;
}
+#search-output li.instance.more
+{
+ padding-top: .5ex;
+ font-style: italic;
+}
+
.breadcrump
{
font-size: 90%;
index caa90a82b1aeaac1e275c99d6ec43fa9a2e81c60..07404243a9430c2edceebe1caf4105c306ce1b57 100644 (file)
--- a/src/action_list_graphs.c
+++ b/src/action_list_graphs.c
{
if (!data->inst_more)
{
- printf (" <li class=\"instance more\">More ...</li>\n");
+ memset (params, 0, sizeof (params));
+ graph_get_params (cfg, params, sizeof (params));
+ html_escape_buffer (params, sizeof (params));
+
+ printf (" <li class=\"instance more\"><a href=\"%s"
+ "?action=show_graph;%s\">More …</a></li>\n",
+ script_name (), params);
+
data->inst_more = 1;
}
return (0);