<?php
require_once(dirname(__FILE__) . '/../dashlet-helper.inc.php');

$no_servers = grab_request_var('no_servers');
if ($no_servers) {
    echo '<h2 style="margin: 20px 20px 0; padding: 0">' . _("No servers have checked in with data yet.") . ' :(</h2><div style="max-width: 360px">';
}

?>
<table class="infotable table table-condensed table-striped table-bordered table-no-pad-mar">
    <tr>
        <td>
            <span class="infotable_subtitle">
                <?php echo _('Common Tasks'); ?>:
            </span>
        </td>
    </tr>
    <tr>
        <td>
            <ul>
                <li>
                    <a href="<?php echo get_base_url(); ?>account/" target="_top">
                        <?php echo _('Change your account settings'); ?>
                    </a>
                    <br>
                    <?php echo _('Change your account password and general preferences.'); ?>
                </li>
                <li>
                    <a href="<?php echo get_base_url(); ?>dashboards/" target="_top">
                        <?php echo _('Configure your Dashboards'); ?>
                    </a>
                    <br>
                    <?php echo _('Add customized dashlets to visualize Fused Server data.'); ?>
                </li>
            </ul>
        </td>
    </tr>
    <tr>
        <td>
            <span class="infotable_subtitle">
                <?php echo _('Getting Started'); ?>:
            </span>
        </td>
    </tr>
    <tr>
        <td>
            <ul>
                <li>
                    <a href="https://www.nagios.com/products/nagios-fusion/" target="_blank">
                        <b>
                            <?php echo _('Learn about Nagios Fusion'); ?>
                        </b>
                    </a>
                    <br>
                    <?php echo _('Learn more about Fusion and its capabilities.'); ?>
                </li>
            </ul>
        </td>
    </tr>
</table>
<?php
if ($no_servers)
    echo '</div>';

