summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24d2bef)
raw | patch | inline | side by side (parent: 24d2bef)
author | Florian Forster <ff@octo.it> | |
Tue, 6 Jul 2010 14:27:09 +0000 (16:27 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 6 Jul 2010 14:27:09 +0000 (16:27 +0200) |
Currently only containing of "All graphs".
src/action_show_graph.c | patch | blob | history |
index 5304a2554d79dcd828bc578923da0dd320f0953b..9b9f5da500085b6c33d2061d50642b0e8e614b57 100644 (file)
--- a/src/action_show_graph.c
+++ b/src/action_show_graph.c
return (0);
} /* }}} int show_time_selector */
+static int left_menu (__attribute__((unused)) void *user_data) /* {{{ */
+{
+ printf ("\n<ul class=\"menu left\">\n"
+ " <li><a href=\"%s?action=list_graphs\">All graphs</a></li>\n"
+ "</ul>\n",
+ script_name ());
+
+ return (0);
+} /* }}} int left_menu */
+
static int show_instance_cb (graph_instance_t *inst, /* {{{ */
void *user_data)
{
title[sizeof (title) - 1] = 0;
pg_callbacks.top_right = html_print_search_box;
+ pg_callbacks.middle_left = left_menu;
pg_callbacks.middle_center = show_graph;
pg_callbacks.middle_right = show_time_selector;