mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 18:14:42 +00:00
alias.volt: add copy link
This commit is contained in:
parent
bb6cd163d4
commit
fa4a4ec015
@ -195,6 +195,7 @@
|
||||
$("#alias\\.type").change(function(){
|
||||
$(".alias_type").hide();
|
||||
$("#row_alias\\.updatefreq").hide();
|
||||
$("#copy-options_alias\\.content").hide();
|
||||
switch ($(this).val()) {
|
||||
case 'geoip':
|
||||
$("#alias_type_geoip").show();
|
||||
@ -211,6 +212,7 @@
|
||||
default:
|
||||
$("#alias_type_default").show();
|
||||
$("#alias\\.proto").selectpicker('hide');
|
||||
$("#copy-options_alias\\.content").show();
|
||||
break;
|
||||
}
|
||||
if ($(this).val() === 'port') {
|
||||
@ -680,6 +682,8 @@
|
||||
|
||||
<a href="#" class="text-danger" id="clear-options_alias.content"><i class="fa fa-times-circle"></i>
|
||||
<small>{{lang._('Clear All')}}</small></a>
|
||||
<a href="#" class="text-danger" id="copy-options_alias.content"><i class="fa fa-clipboard"></i>
|
||||
<small>{{ lang._('Copy to clipboard') }}</small></a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="help-block" id="help_block_alias.content"></span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user