mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Multiple Apps: Integrate content cards.
This commit is contained in:
@@ -129,7 +129,8 @@
|
||||
if (permission_exists('xml_cdr_search')) {
|
||||
echo "<form name='frm' id='frm' method='get'>\n";
|
||||
|
||||
echo "<div class='form_grid' style='padding-bottom: 35px;'>\n";
|
||||
echo "<div class='card' style='margin-bottom: 30px;'>\n";
|
||||
echo "<div class='form_grid'>\n";
|
||||
|
||||
echo " <div class='form_set'>\n";
|
||||
echo " <div class='label'>\n";
|
||||
@@ -179,6 +180,7 @@
|
||||
echo " </div>\n";
|
||||
echo " </div>\n";
|
||||
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
if (!empty($_GET['show']) && $_GET['show'] == 'all' && permission_exists('xml_cdr_extension_summary_all')) {
|
||||
@@ -189,6 +191,7 @@
|
||||
}
|
||||
|
||||
//show the results
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo " <tr class='list-header'>\n";
|
||||
if (!empty($_GET['show']) && $_GET['show'] === "all" && permission_exists('xml_cdr_extension_summary_all')) {
|
||||
@@ -237,6 +240,7 @@
|
||||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
|
||||
//show the footer
|
||||
|
||||
@@ -156,11 +156,12 @@
|
||||
echo $text['label-call-statistics-description']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
?>
|
||||
<script src='/resources/chartjs/chart.min.js'></script>
|
||||
<script src='/resources/chartjs/chartjs-adapter-date-fns.bundle.min.js'></script>
|
||||
|
||||
<div align='center' style="justify-content: center;">
|
||||
<div align='center' style="justify-content: center; margin-bottom: 25px;">
|
||||
<div style="max-width: 100%; width: 800px; height: 280px;">
|
||||
<canvas id="cdr_stats_chart" style="width: 100%; height: 100%;"></canvas>
|
||||
</div>
|
||||
@@ -334,6 +335,7 @@
|
||||
$i++;
|
||||
}
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br><br>";
|
||||
|
||||
//include the footer
|
||||
|
||||
Reference in New Issue
Block a user