Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit ca788a21 authored by Gary Allan's avatar Gary Allan
Browse files

Bugfix: Fix ping & fping file exists hints for dark mode

parent 91b63fd3
No related branches found
No related tags found
No related merge requests found
......@@ -580,12 +580,7 @@ $(document).ready(function() {
<!-- Ping path -->
<tr>
<td class="title"><?php print _('Ping path'); ?></td>
<?php
//verify that ping file exists!
if(!file_exists($settings['scanPingPath'])&&$settings['scanFPingType']=="ping") { $class="danger"; }
else { $class=""; }
?>
<td class="<?php print $class; ?>">
<td class="<?php print !file_exists($settings['scanPingPath']) ? 'danger' : ''; ?>">
<input type="text" class="form-control input-sm" name="scanPingPath" value="<?php print $settings['scanPingPath']; ?>">
</td>
<td class="info2">
......@@ -596,12 +591,7 @@ $(document).ready(function() {
<!-- fping path -->
<tr>
<td class="title"><?php print _('FPing path'); ?></td>
<?php
//verify that ping file exists!
if(!file_exists($settings['scanFPingPath'])&&$settings['scanFPingType']=="fping") { $class="danger"; }
else { $class=""; }
?>
<td class="<?php print $class; ?>">
<td class="<?php print !file_exists($settings['scanFPingPath']) ? 'danger' : ''; ?>">
<input type="text" class="form-control input-sm" name="scanFPingPath" value="<?php print $settings['scanFPingPath']; ?>">
</td>
<td class="info2">
......
......@@ -264,6 +264,9 @@ table#zonesPrint tr.border-top td,
table#mappingsPrint tr.border-top td {
border-bottom: 1px solid #eee;
}
html table.table td.danger {
background-color: rgba(230, 25, 25, 0.5) !important;
}
......
......@@ -4,7 +4,7 @@ define("VERSION", "1.5"); //decimal release version e.g 1.32
/* set latest version */
define("VERSION_VISIBLE", "1.5.0"); //visible version in footer e.g 1.3.2
/* set latest revision */
define("REVISION", "015"); //increment on static content changes (js/css) or point releases to avoid caching issues
define("REVISION", "016"); //increment on static content changes (js/css) or point releases to avoid caching issues
/* set last possible upgrade */
define("LAST_POSSIBLE", "1.19"); //minimum required version to be able to upgrade
/* set published - hide dbversion in footer */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment