diff options
author | jim-p <jimp@pfsense.org> | 2016-01-21 10:54:45 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-01-21 10:56:29 -0500 |
commit | 0a5fbe89d402338f09e2958e1d95623d355e4b85 (patch) | |
tree | 47261aaf7f39cd690d76c55059f120b2382d14c4 /src/usr | |
parent | c19802a9f4e042e991a5e2dbf04ae5632ac26299 (diff) | |
download | pfsense-0a5fbe89d402338f09e2958e1d95623d355e4b85.zip pfsense-0a5fbe89d402338f09e2958e1d95623d355e4b85.tar.gz |
Change dependency icon back to a paperclip (globe seems to imply more than intendend here), fix appearance of the text.
<ul> without <li> is invalid, remove. Also move the icon to a separate i tag, putting it in an a tag changed the font in an undesirable way.
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/pkg_mgr.php | 6 | ||||
-rw-r--r-- | src/usr/local/www/pkg_mgr_installed.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/pkg_mgr.php b/src/usr/local/www/pkg_mgr.php index 2be162a..439af71 100644 --- a/src/usr/local/www/pkg_mgr.php +++ b/src/usr/local/www/pkg_mgr.php @@ -133,13 +133,13 @@ function get_pkg_table() { $pkgtbl .= $index['desc']; if (is_array($index['deps']) && count($index['deps'])) { - $pkgtbl .= '<br /><br />' . gettext("Package Dependencies") . ":<ul>\n"; + $pkgtbl .= '<br /><br />' . gettext("Package Dependencies") . ":<br/>\n"; foreach ($index['deps'] as $pdep) { - $pkgtbl .= '<a target="_blank" href="https://freshports.org/' . $pdep['origin'] . '" class="fa fa-globe"><small> ' . basename($pdep['origin']) . '-' . $pdep['version'] . '</small></a> ' . "\n"; + $pkgtbl .= '<a target="_blank" href="https://freshports.org/' . $pdep['origin'] . '"> <i class="fa fa-paperclip"></i> ' . basename($pdep['origin']) . '-' . $pdep['version'] . '</a> ' . "\n"; } - $pkgtbl .= '</ul>' . "\n"; + $pkgtbl .= "\n"; } $pkgtbl .= '</td>' . "\n"; diff --git a/src/usr/local/www/pkg_mgr_installed.php b/src/usr/local/www/pkg_mgr_installed.php index dfef675..483a55e 100644 --- a/src/usr/local/www/pkg_mgr_installed.php +++ b/src/usr/local/www/pkg_mgr_installed.php @@ -177,10 +177,10 @@ if (empty($installed_packages)):?> <td> <?=$pkg['desc']?> <?php if (is_array($pkg['deps']) && count($pkg['deps'])):?> - <br /><br /><?= gettext("Package Dependencies")?>:<ul> + <br /><br /><?= gettext("Package Dependencies")?>:<br/> <?php foreach ($pkg['deps'] as $pdep):?> - <a target="_blank" href="https://freshports.org/<?=$pdep['origin']?>" class="fa fa-globe"><small> <?= basename($pdep['origin']) . '-' . $pdep['version']?></small></a>  - <?php endforeach;?></ul> + <a target="_blank" href="https://freshports.org/<?=$pdep['origin']?>"> <i class="fa fa-paperclip"></i> <?= basename($pdep['origin']) . '-' . $pdep['version']?></small></a>  + <?php endforeach;?> <?php endif;?> </td> <td> |