Commit fa142b55 authored by Manuel Faux's avatar Manuel Faux

UX: Changed icon for "add similar item"

Changed button icon of "add similar item" from plus to clone symbol.
parent f8d651d1
...@@ -381,7 +381,7 @@ $( document ).ready(function() { ...@@ -381,7 +381,7 @@ $( document ).ready(function() {
<span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-remove"></span>
</a> </a>
<a href="firewall_nat_edit.php?dup=<?=$nnats;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new rule based on this one");?>"> <a href="firewall_nat_edit.php?dup=<?=$nnats;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new rule based on this one");?>">
<span class="glyphicon glyphicon-plus"></span> <span class="fa fa-clone text-muted"></span>
</a> </a>
</td> </td>
</tr> </tr>
......
...@@ -251,7 +251,7 @@ $main_buttons = array( ...@@ -251,7 +251,7 @@ $main_buttons = array(
<span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-remove"></span>
</a> </a>
<a href="firewall_nat_1to1_edit.php?dup=<?=$i;?>" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new mapping based on this one");?>" class="btn btn-default btn-xs"> <a href="firewall_nat_1to1_edit.php?dup=<?=$i;?>" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new mapping based on this one");?>" class="btn btn-default btn-xs">
<span class="glyphicon glyphicon-plus"></span> <span class="fa fa-clone text-muted"></span>
</a> </a>
</td> </td>
</tr> </tr>
......
...@@ -242,7 +242,7 @@ $main_buttons = array( ...@@ -242,7 +242,7 @@ $main_buttons = array(
<span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-remove"></span>
</a> </a>
<a href="firewall_nat_npt_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new rule based on this one");?>"> <a href="firewall_nat_npt_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new rule based on this one");?>">
<span class="glyphicon glyphicon-plus"></span> <span class="fa fa-clone text-muted"></span>
</a> </a>
</td> </td>
</tr> </tr>
......
...@@ -420,7 +420,7 @@ include("head.inc"); ...@@ -420,7 +420,7 @@ include("head.inc");
<span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-remove"></span>
</a> </a>
<a href="firewall_nat_out_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add a new NAT based on this one");?>"> <a href="firewall_nat_out_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add a new NAT based on this one");?>">
<span class="glyphicon glyphicon-plus"></span> <span class="fa fa-clone text-muted"></span>
</a> </a>
</td> </td>
</tr> </tr>
......
...@@ -532,7 +532,7 @@ $( document ).ready(function() { ...@@ -532,7 +532,7 @@ $( document ).ready(function() {
<span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-remove"></span>
</a> </a>
<a href="firewall_rules_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new rule based on this one");?>"> <a href="firewall_rules_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new rule based on this one");?>">
<span class="glyphicon glyphicon-plus"></span> <span class="fa fa-clone text-muted"></span>
</a> </a>
</td> </td>
</tr> </tr>
......
...@@ -239,7 +239,7 @@ $main_buttons = array( ...@@ -239,7 +239,7 @@ $main_buttons = array(
<span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-remove"></span>
</a> </a>
<a href="firewall_schedule.php?dup=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new schedule based on this one");?>"> <a href="firewall_schedule.php?dup=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new schedule based on this one");?>">
<span class="glyphicon glyphicon-plus"></span> <span class="fa fa-clone text-muted"></span>
</a> </a>
</td> </td>
</tr> </tr>
......
...@@ -316,7 +316,7 @@ $main_buttons = array( ...@@ -316,7 +316,7 @@ $main_buttons = array(
<span class="glyphicon glyphicon-remove"></span> <span class="glyphicon glyphicon-remove"></span>
</a> </a>
<a href="firewall_virtual_ip_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new rule based on this one");?>"> <a href="firewall_virtual_ip_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="left" title="<?=gettext("add new rule based on this one");?>">
<span class="glyphicon glyphicon-plus"></span> <span class="fa fa-clone text-muted"></span>
</a> </a>
</td> </td>
</tr> </tr>
......
...@@ -200,7 +200,7 @@ $( document ).ready(function() { ...@@ -200,7 +200,7 @@ $( document ).ready(function() {
data-id="<?=$i?>" title="<?=gettext("delete group");?>" data-toggle="tooltip" data-id="<?=$i?>" title="<?=gettext("delete group");?>" data-toggle="tooltip"
data-placement="left" ><span class="glyphicon glyphicon-remove"></span> data-placement="left" ><span class="glyphicon glyphicon-remove"></span>
</button> </button>
<a href="system_gateway_groups_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-plus"></span></a> <a href="system_gateway_groups_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs"><span class="fa fa-clone text-muted"></span></a>
</td> </td>
</tr> </tr>
<?php $i++; <?php $i++;
......
...@@ -366,7 +366,7 @@ $( document ).ready(function() { ...@@ -366,7 +366,7 @@ $( document ).ready(function() {
endif;?> endif;?>
<a href="system_gateways_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs" <a href="system_gateways_edit.php?dup=<?=$i;?>" class="btn btn-default btn-xs"
data-toggle="tooltip" data-placement="left" title="<?=gettext("Add Gateway based on this one");?>"> data-toggle="tooltip" data-placement="left" title="<?=gettext("Add Gateway based on this one");?>">
<span class="glyphicon glyphicon-plus"></span> <span class="fa fa-clone text-muted"></span>
</a> </a>
</td> </td>
</tr> </tr>
......
...@@ -283,7 +283,7 @@ endif; ?> ...@@ -283,7 +283,7 @@ endif; ?>
data-placement="left" ><span class="glyphicon glyphicon-remove"></span> data-placement="left" ><span class="glyphicon glyphicon-remove"></span>
</button> </button>
<a class="btn btn-default btn-xs" href="system_routes_edit.php?dup=<?=$i;?>"> <a class="btn btn-default btn-xs" href="system_routes_edit.php?dup=<?=$i;?>">
<span class="glyphicon glyphicon-plus" title="<?=gettext("add a new rule based on this one");?>" alt="duplicate"></span> <span class="fa fa-clone text-muted" title="<?=gettext("add a new rule based on this one");?>" alt="duplicate"></span>
</a> </a>
</td> </td>
</tr> </tr>
......
...@@ -381,7 +381,7 @@ if (!empty($ph1ent['encryption-algorithm']['keylen'])) { ...@@ -381,7 +381,7 @@ if (!empty($ph1ent['encryption-algorithm']['keylen'])) {
?> ?>
<a href="vpn_ipsec_phase1.php?dup=<?=$i; <a href="vpn_ipsec_phase1.php?dup=<?=$i;
?>" title="<?=gettext("copy phase1 entry"); ?>" class="btn btn-default btn-xs" alt="add"> ?>" title="<?=gettext("copy phase1 entry"); ?>" class="btn btn-default btn-xs" alt="add">
<span class="glyphicon glyphicon-plus"></span> <span class="fa fa-clone text-muted"></span>
</a> </a>
<?php endif; <?php endif;
?> ?>
...@@ -506,7 +506,7 @@ if (!empty($ph2ent['hash-algorithm-option']) && is_array($ph2ent['hash-algorithm ...@@ -506,7 +506,7 @@ if (!empty($ph2ent['hash-algorithm-option']) && is_array($ph2ent['hash-algorithm
</button> </button>
<a href="vpn_ipsec_phase2.php?dup=<?=$ph2ent['uniqid']; <a href="vpn_ipsec_phase2.php?dup=<?=$ph2ent['uniqid'];
?>" title="<?=gettext("add a new Phase 2 based on this one"); ?>" alt="add" class="btn btn-default btn-xs"> ?>" title="<?=gettext("add a new Phase 2 based on this one"); ?>" alt="add" class="btn btn-default btn-xs">
<span class="glyphicon glyphicon-plus"></span> <span class="fa fa-clone text-muted"></span>
</a> </a>
</td> </td>
</tr> </tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment