Fix for #15 (mouse over message to see files)

This commit is contained in:
Ryan Prather 2018-11-16 15:47:35 -05:00
parent 52159a16a6
commit f46d148654

View File

@ -15,6 +15,8 @@
* - Apr 29, 2018 - Changed default message and formatting * - Apr 29, 2018 - Changed default message and formatting
*/ */
$files = glob(TMP . "/*.*");
?> ?>
<div id="import" class="box"> <div id="import" class="box">
@ -112,6 +114,12 @@
</form> </form>
<div style='margin-left: 20px;'> <div style='margin-left: 20px;'>
<?php
if(is_array($files) && count($files)) {
natsort($files);
print "<span style='background-color:red;color:white;font-size:16px;' title='" . implode("\n", $files) . "'>NOTE: There are still files in the " . realpath(TMP) . " directory (mouse over to see)</span><br />";
}
?>
<input type='text' id='location' placeholder='Physical Location...' /><br /> <input type='text' id='location' placeholder='Physical Location...' /><br />
<input type='button' class='button' id='add-scan' value='Add Scan Result' onclick='add_scans();' /><br /> <input type='button' class='button' id='add-scan' value='Add Scan Result' onclick='add_scans();' /><br />
<label for='ignore_hidden' id='ignore_label'>Ignore Hidden Tabs in Excel eChecklists</label> <label for='ignore_hidden' id='ignore_label'>Ignore Hidden Tabs in Excel eChecklists</label>