Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/techsneeze/dmarcts-report-viewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjnew-gh <github@hazelden.ca>2021-04-01 21:31:32 +0300
committerjnew-gh <github@hazelden.ca>2021-04-01 21:31:32 +0300
commit4d78357b659c8743bffc1972a118d042c1433c69 (patch)
tree1184309d971969074ef4d8498ee019598dbac196 /dmarcts-report-viewer-report-data.php
parent5b3d9bb77f0379de42f00daec2b404c1668dac03 (diff)
Add support for resizable divs
Diffstat (limited to 'dmarcts-report-viewer-report-data.php')
-rw-r--r--dmarcts-report-viewer-report-data.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/dmarcts-report-viewer-report-data.php b/dmarcts-report-viewer-report-data.php
index f4a52ef..2811e71 100644
--- a/dmarcts-report-viewer-report-data.php
+++ b/dmarcts-report-viewer-report-data.php
@@ -29,8 +29,8 @@
// for your database authentication and location.
//
// Edit the configuration variables in dmarcts-report-viewer.js with your preferences.
-//
-//
+//
+//
//####################################################################
//### functions ######################################################
//####################################################################
@@ -40,14 +40,14 @@ function tmpl_reportData($reportnumber, $reports, $host_lookup = 1) {
global $dmarc_where;
$title_message = "Click to toggle sort direction by this column";
-
+
if (!$reportnumber) {
return "";
}
$reportdata[] = "";
$reportdata[] = "<script type=\"text/javascript\">sorttable();</script>";
-
+
// $reportdata[] = "<!-- Start of report data -->";
$reportsum = 0;
@@ -68,11 +68,11 @@ function tmpl_reportData($reportnumber, $reports, $host_lookup = 1) {
return "Unknown report number!";
}
- $reportdata[] = "<div id='report_data_xml' style='display:none; float:right; overflow-y:auto; resize: vertical; text-align:left;'>";
+ $reportdata[] = "<div id='report_data_xml' style='display:none; float:right; overflow-y:auto; border-left: 2px solid var(--shadow); text-align:left;padding-left: 7px;'>";
$reportdata[] = "<pre lang=\"xml\">" . $row['raw_xml'] . "</pre>";
$reportdata[] = "</div>";
- $reportdata[] = "<div id='report_data_table_div' style='overflow-y:auto; resize: both;'>";
+ $reportdata[] = "<div id='report_data_table_div' style='overflow-y:auto;'>";
$reportdata[] = "<table id='report_data_table' class='reportdata'>";
$reportdata[] = " <thead>";
$reportdata[] = " <tr>";
@@ -85,7 +85,6 @@ function tmpl_reportData($reportnumber, $reports, $host_lookup = 1) {
$reportdata[] = " <th title='" . $title_message . "'>DKIM<br />Result</th>";
$reportdata[] = " <th title='" . $title_message . "'>SPF<br />Domain</th>";
$reportdata[] = " <th title='" . $title_message . "'>SPF<br />Result</th>";
-// $reportdata[] = " <th><img src='xml.png' id='xml_html_img' title='Show Raw Report XML' onclick='showXML()' style='float:left;'></th>";
$reportdata[] = " </tr>";
$reportdata[] = " </thead>";
@@ -133,7 +132,7 @@ function tmpl_reportData($reportnumber, $reports, $host_lookup = 1) {
$reportdata[] = "<tr><td></td><td class='right sum'>Sum:</td><td class='sum'>$reportsum</td><td></td><td></td><td></td><td></td><td></td><td></td></tr>";
$reportdata[] = "</table>";
- $reportdata[] = "</div>";
+ $reportdata[] = "</div>";
$reportdata[] = "";