diff options
author | Colin Fleming <cj_fleming@sky.com> | 2015-12-19 22:29:14 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2015-12-19 22:29:14 +0000 |
commit | b77cef66ac057d84804c60e9df9cf5c4561c0465 (patch) | |
tree | 210446baacf5dc2790560df2f887b43627bbabb7 /src/usr/local/www/guiconfig.inc | |
parent | 72eaefaf1fc991d5949daadbac5ae50ed1d3ad5f (diff) | |
download | pfsense-b77cef66ac057d84804c60e9df9cf5c4561c0465.zip pfsense-b77cef66ac057d84804c60e9df9cf5c4561c0465.tar.gz |
Use Bootstraps text alignment classes
As per "http://getbootstrap.com/css/#type-alignment", use CLASS
statement instead in inline STYLE statement (much tidier)
Diffstat (limited to 'src/usr/local/www/guiconfig.inc')
-rw-r--r-- | src/usr/local/www/guiconfig.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc index b251d20..a30696e 100644 --- a/src/usr/local/www/guiconfig.inc +++ b/src/usr/local/www/guiconfig.inc @@ -330,7 +330,7 @@ function print_info_box_np_undo($msg, $name = "apply", $value = "Apply changes", global $g; if (stristr($msg, "apply") != false || stristr($msg, "save") != false || stristr($msg, "create") != false) { - $savebutton = "<td class=\"infoboxsave nowrap\">"; + $savebutton = "<td class=\"infoboxsave text-nowrap\">"; $savebutton .= "<input type=\"button\" value=\"". gettext("Undo") . "\" onclick=\"document.location='{$undo}'\" />"; $savebutton .= "<input name=\"{$name}\" type=\"submit\" class=\"formbtn\" id=\"${name}\" value=\"{$value}\" />"; $savebutton .= "</td>"; @@ -637,7 +637,7 @@ function dump_clog($logfile, $tail, $withorig = true, $grepfor = "", $grepinvert $entry_date_time = htmlspecialchars(join(" ", array_slice($logent, 0, 3))); $entry_text = ($logent[3] == $config['system']['hostname']) ? "" : $logent[3] . " "; $entry_text .= htmlspecialchars($logent[4] . " " . $logent[5]); - echo "<td style=\"white-space:nowrap;\">{$entry_date_time}</td>\n"; + echo "<td class=\"text-nowrap\">{$entry_date_time}</td>\n"; echo "<td style=\"word-wrap:break-word; word-break:break-all; white-space:normal\">{$entry_text}</td>\n"; } else { echo "<td>" . htmlspecialchars($logent[5]) . "</td>\n"; |