X-Git-Url: https://git.octo.it/?p=collection4.git;a=blobdiff_plain;f=src%2Faction_list_graphs.c;h=6f919e3afdfdce142a054b71d18a8e8a81844c78;hp=89c5d62906d58eec612e28d61a1198bbb71ca5e5;hb=e3fb09073a64cc051c11c4a1bdcec493f937b764;hpb=e8e05e49325abcd90a88d8bc431d14ec5ecf9239 diff --git a/src/action_list_graphs.c b/src/action_list_graphs.c index 89c5d62..6f919e3 100644 --- a/src/action_list_graphs.c +++ b/src/action_list_graphs.c @@ -35,6 +35,17 @@ #include #include +static int left_menu (__attribute__((unused)) void *user_data) /* {{{ */ +{ + printf ("\n\n", + script_name (), script_name ()); + + return (0); +} /* }}} int left_menu */ + static int print_one_graph (graph_config_t *cfg, /* {{{ */ __attribute__((unused)) void *user_data) { @@ -55,7 +66,7 @@ static int print_one_graph (graph_config_t *cfg, /* {{{ */ html_escape_buffer (params, sizeof (params)); printf ("
  • " - "%s (%lu %s)
  • \n", + "%s (%lu %s)\n", script_name (), params, title, (unsigned long) num_instances, (num_instances == 1) ? "instance" : "instances"); @@ -65,17 +76,30 @@ static int print_one_graph (graph_config_t *cfg, /* {{{ */ static int print_all_graphs (__attribute__((unused)) void *user_data) /* {{{ */ { - printf ("