<div class="govdb-cnvs-cntr">
                    <div class="govdb-cnvs">
                        <div class="govdb-grd"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row" id="gd-admin-footer"></div>
    <div class="bottomButtons">
        <button id="dashboardCancelBottom" type="button" class="dsb-act-btn btn btn-default pull-right">Cancel</button>
        <?php
        print ($update ? '<button id="dashboardDeleteBottom" type="button" class="dsb-act-btn btn btn-default pull-right">Delete</button><button id="dashboardSaveAsBottom" type="button" class="dsb-act-btn btn btn-success pull-right">Save As</button>' : '');
        ?>
        <button id="dashboardSaveBottom" type="button" data-loading-text="Saving..." class="dsb-act-btn btn btn-success pull-right">Save</button>
    </div>
</div>
<script type="text/javascript">
    <!--//--><![CDATA[//><!--
    (function(global) {
        (function($,Highcharts) {
            GD.DashboardBuilder.config = <?php echo json_encode($config); ?>;
            global.GovdashDashboardBuilder = new GD.DashboardBuilder(
                <?php echo json_encode($dashboard); ?>,
                {<?php echo gd_admin_get_init(); ?>
            });
            global.GovdashDashboardBuilder.run();
        })(typeof global.GD_jQuery != "undefined" ? global.GD_jQuery : jQuery, typeof global.GD_Highcharts != "undefined" ? global.GD_Highcharts : (typeof Highcharts != "undefined" ? Highcharts : undefined));
    })(typeof window === "undefined" ? this : window);
    //--><!]]>
</script>
    <div class="row" id="gd-admin-footer"></div>
    <div class="bottomButtons">
        <button id="reportCancelBottom" type="button" class="rpt-act-btn btn btn-default pull-right">Cancel</button>

        <?php 
print $update ? '<button id="reportDeleteBottom" type="button" class="rpt-act-btn btn btn-default pull-right">Delete</button>
                        <button id="reportSaveAsBottom" type="button" class="rpt-act-btn btn btn-success pull-right">Save As</button>' : '';
?>
        <button id="reportSaveBottom" type="button" data-loading-text="Saving..." class="rpt-act-btn btn btn-success pull-right">Save</button>
    </div>
</div>
<script type="text/javascript">
    (function(global) {
        (function($,Highcharts) {
            global.GovdashReportBuilder = new GD.ReportBuilder(
                <?php 
echo json_encode($report);
?>
,
                {<?php 
echo gd_admin_get_init();
?>
            });
            global.GovdashReportBuilder.getReport().setDataset(new GD.ReportDataset(<?php 
echo json_encode($reportDataset);
?>
));
            global.GovdashReportBuilder.run();
        })(typeof global.GD_jQuery != "undefined" ? global.GD_jQuery : jQuery, typeof global.GD_Highcharts != "undefined" ? global.GD_Highcharts : (typeof Highcharts != "undefined" ? Highcharts : undefined));
    })(typeof window === "undefined" ? this : window);
</script>