2015-06-26 14:52:01 +02:00
< ? php
2015-07-02 15:24:39 +02:00
2023-06-08 13:19:01 +02:00
// Pandora FMS - https://pandorafms.com
2015-07-02 15:24:39 +02:00
// ==================================================
2023-06-08 11:53:13 +02:00
// Copyright (c) 2005-2023 Pandora FMS
2023-06-08 13:19:01 +02:00
// Please see https://pandorafms.com/community/ for full contribution list
2015-07-02 15:24:39 +02:00
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
2015-06-26 14:52:01 +02:00
global $config ;
2019-01-30 16:18:44 +01:00
check_login ();
2019-11-21 18:21:46 +01:00
ui_require_css_file ( 'first_task' );
2024-04-04 18:35:56 +02:00
$msg = __ (
'Graphs are designed to show the data collected by %s in a temporary scale defined by the user. %s Graphs display data in real time. They are generated every time the operator requires any of them and display the up-to-date state.' ,
get_product_name (),
get_product_name ()
);
2015-06-26 14:52:01 +02:00
2024-04-04 18:35:56 +02:00
$msg .= '<br><br>' . __ ( " There are two types of graphs: The agent's automated graphs and the graphs the user customizes by using one or more modules to do so. " );
$url_new = 'index.php?sec=reporting&sec2=godmode/reporting/graph_builder' ;
$button = '<form action="' . $url_new . ' " method= " post " >
< input type = " submit " class = " button_task button_task_mini mrgn_0px_imp " value = " '.__('Create custom graph').' " />
</ form > ' ;
echo ui_print_empty_view (
__ ( 'Create custom graph' ),
$msg ,
'custom-graph.svg' ,
$button
);