mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Changed icons to font-awesome
Changed tooltips to Bootstrap style
This commit is contained in:
parent
0e445ef7fd
commit
b38e4b6c6f
@ -309,8 +309,12 @@ form .btn + .btn {
|
||||
color: #5CB85C;
|
||||
}
|
||||
|
||||
.icon-primary
|
||||
{
|
||||
color: #337AB7;
|
||||
}
|
||||
/** icons are often used with onclick actions, so we need the cursor to change to a pointer */
|
||||
.icon-pointer
|
||||
{
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
@ -444,19 +444,19 @@ if (!isset($config['syslog']['rawfilter'])) {
|
||||
$dst_htmlclass = str_replace(array('.', ':'), '-', $filterent['dstip']);
|
||||
?>
|
||||
<td>
|
||||
<i class="icon icon-map-marker" onclick="javascript:resolve_with_ajax('<?="{$filterent['srcip']}"; ?>');" title="<?=gettext("Click to resolve")?>" alt="Reverse Resolve with DNS"/>
|
||||
<i class="fa fa-info icon-pointer icon-primary" onclick="javascript:resolve_with_ajax('<?="{$filterent['srcip']}"; ?>');" title="<?=gettext("Click to resolve")?>" alt="Reverse Resolve with DNS"/>
|
||||
</i>
|
||||
|
||||
<i class="icon icon-download" href="easyrule.php?<?="action=block&int={$int}&src={$filterent['srcip']}&ipproto={$ipproto}"; ?>" alt="Easy Rule: Add to Block List" title="<?=gettext("Easy Rule: Add to Block List")?>" onclick="return confirm('<?=gettext("Do you really want to add this BLOCK rule?")?>')">
|
||||
<i class="fa fa-minus-square-o icon-pointer icon-primary" href="easyrule.php?<?="action=block&int={$int}&src={$filterent['srcip']}&ipproto={$ipproto}"; ?>" alt="Easy Rule: Add to Block List" title="<?=gettext("Easy Rule: Add to Block List")?>" onclick="return confirm('<?=gettext("Do you really want to add this BLOCK rule?")?>')">
|
||||
</i>
|
||||
|
||||
<?=$srcstr . '<span class="RESOLVE-' . $src_htmlclass . '"></span>'?>
|
||||
</td>
|
||||
<td>
|
||||
<i class="icon icon-map-marker" onclick="javascript:resolve_with_ajax('<?="{$filterent['dstip']}"; ?>');" title="<?=gettext("Click to resolve")?>" class="ICON-<?= $dst_htmlclass; ?>" alt="Reverse Resolve with DNS"/>
|
||||
<i class="fa fa-info icon-pointer icon-primary" onclick="javascript:resolve_with_ajax('<?="{$filterent['dstip']}"; ?>');" title="<?=gettext("Click to resolve")?>" class="ICON-<?= $dst_htmlclass; ?>" alt="Reverse Resolve with DNS"/>
|
||||
</i>
|
||||
|
||||
<i class="icon icon-upload" href="easyrule.php?<?="action=pass&int={$int}&proto={$proto}&src={$filterent['srcip']}&dst={$filterent['dstip']}&dstport={$filterent['dstport']}&ipproto={$ipproto}"; ?>" title="<?=gettext("Easy Rule: Pass this traffic")?>" onclick="return confirm('<?=gettext("Do you really want to add this PASS rule?")?>')">
|
||||
<i class="fa fa-plus-square-o icon-pointer icon-primary" href="easyrule.php?<?="action=pass&int={$int}&proto={$proto}&src={$filterent['srcip']}&dst={$filterent['dstip']}&dstport={$filterent['dstport']}&ipproto={$ipproto}"; ?>" title="<?=gettext("Easy Rule: Pass this traffic")?>" onclick="return confirm('<?=gettext("Do you really want to add this PASS rule?")?>')">
|
||||
</i>
|
||||
<?=$dststr . '<span class="RESOLVE-' . $dst_htmlclass . '"></span>'?>
|
||||
</td>
|
||||
@ -508,7 +508,7 @@ else
|
||||
|
||||
print_info_box('<a href="https://doc.pfsense.org/index.php/What_are_TCP_Flags%3F">' .
|
||||
gettext("TCP Flags") . '</a>: F - FIN, S - SYN, A or . - ACK, R - RST, P - PSH, U - URG, E - ECE, C - CWR' . '<br />' .
|
||||
'<i class="icon icon-download"></i> = Add to block list., <i class="icon icon-upload"></i> = Pass traffic, <i class="icon icon-map-marker"></i> = Resolve');
|
||||
'<i class="fa fa-minus-square-o icon-primary"></i> = Add to block list., <i class="fa fa-plus-square-o icon-primary"></i> = Pass traffic, <i class="fa fa-info icon-primary"></i> = Resolve');
|
||||
|
||||
?>
|
||||
|
||||
@ -592,5 +592,9 @@ if (typeof getURL == 'undefined') {
|
||||
};
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$('.fa').tooltip();
|
||||
});
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
@ -250,4 +250,14 @@ if ($tcpcnt > 0)
|
||||
gettext("TCP Flags") . '</a>: F - FIN, S - SYN, A or . - ACK, R - RST, P - PSH, U - URG, E - ECE, C - CWR');
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
events.push(function(){
|
||||
$(document).ready(function(){
|
||||
$('.fa').tooltip();
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<?php include("foot.inc");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user