Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
1d0f083d
Commit
1d0f083d
authored
Dec 31, 2015
by
Fabian Franz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change dialog style
parent
1923ee6c
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
40 additions
and
40 deletions
+40
-40
diag_confbak.php
src/www/diag_confbak.php
+1
-1
diag_logs_settings.php
src/www/diag_logs_settings.php
+2
-2
firewall_aliases.php
src/www/firewall_aliases.php
+1
-1
firewall_nat.php
src/www/firewall_nat.php
+2
-2
firewall_nat_1to1.php
src/www/firewall_nat_1to1.php
+2
-2
firewall_nat_npt.php
src/www/firewall_nat_npt.php
+2
-2
firewall_nat_out.php
src/www/firewall_nat_out.php
+2
-2
firewall_rules.php
src/www/firewall_rules.php
+2
-2
firewall_schedule.php
src/www/firewall_schedule.php
+1
-1
firewall_virtual_ip.php
src/www/firewall_virtual_ip.php
+1
-1
interfaces_assign.php
src/www/interfaces_assign.php
+1
-1
interfaces_bridge.php
src/www/interfaces_bridge.php
+1
-1
interfaces_ppps.php
src/www/interfaces_ppps.php
+1
-1
interfaces_wireless.php
src/www/interfaces_wireless.php
+1
-1
system_advanced_sysctl.php
src/www/system_advanced_sysctl.php
+1
-1
system_authservers.php
src/www/system_authservers.php
+1
-1
system_camanager.php
src/www/system_camanager.php
+1
-1
system_certmanager.php
src/www/system_certmanager.php
+1
-1
system_crlmanager.php
src/www/system_crlmanager.php
+2
-2
system_gateway_groups.php
src/www/system_gateway_groups.php
+1
-1
system_gateways.php
src/www/system_gateways.php
+2
-2
system_groupmanager.php
src/www/system_groupmanager.php
+2
-2
system_routes.php
src/www/system_routes.php
+2
-2
system_usermanager.php
src/www/system_usermanager.php
+4
-4
vpn_openvpn_client.php
src/www/vpn_openvpn_client.php
+1
-1
vpn_openvpn_csc.php
src/www/vpn_openvpn_csc.php
+1
-1
vpn_openvpn_server.php
src/www/vpn_openvpn_server.php
+1
-1
No files found.
src/www/diag_confbak.php
View file @
1d0f083d
...
...
@@ -150,7 +150,7 @@ $( document ).ready(function() {
$
(
"
.act_delete
"
).
click
(
function
(){
var
id
=
$
(
this
).
data
(
'
id
'
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Action"
);
?>
"
,
message
:
"
<?=
gettext
(
"Remove Configuration Backup"
);
?>
<br/>
<?=
gettext
(
'Version'
);
?>
:
"
+
id
,
buttons
:
[{
...
...
src/www/diag_logs_settings.php
View file @
1d0f083d
...
...
@@ -273,7 +273,7 @@ $(document).ready(function() {
$
(
"
#ResetRRD
"
).
click
(
function
(
event
){
event
.
preventDefault
();
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Syslog"
);
?>
"
,
message
:
"
<?=
gettext
(
'Do you really want to reset the RRD graphs? This will erase all graph data.'
);
?>
"
,
buttons
:
[{
...
...
@@ -294,7 +294,7 @@ $(document).ready(function() {
$
(
"
#resetlogs
"
).
click
(
function
(
event
){
event
.
preventDefault
();
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Syslog"
);
?>
"
,
message
:
"
<?=
gettext
(
'Do you really want to reset the log files? This will erase all local log data.'
);
?>
"
,
buttons
:
[{
...
...
src/www/firewall_aliases.php
View file @
1d0f083d
...
...
@@ -150,7 +150,7 @@ $( document ).ready(function() {
$
(
"
.act_delete
"
).
click
(
function
(){
var
id
=
$
(
this
).
attr
(
"
id
"
).
split
(
'
_
'
).
pop
(
-
1
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Aliases"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this alias? All elements that still use it will become invalid (e.g. filter rules)!"
);
?>
"
,
buttons
:
[{
...
...
src/www/firewall_nat.php
View file @
1d0f083d
...
...
@@ -166,7 +166,7 @@ $( document ).ready(function() {
if
(
id
!=
'
x
'
)
{
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Port Forward"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this rule?"
);
?>
"
,
buttons
:
[{
...
...
@@ -185,7 +185,7 @@ $( document ).ready(function() {
}
else
{
// delete selected
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Port Forward"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete the selected rules?"
);
?>
"
,
buttons
:
[{
...
...
src/www/firewall_nat_1to1.php
View file @
1d0f083d
...
...
@@ -114,7 +114,7 @@ $main_buttons = array(
if
(
id
!=
'
x
'
)
{
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"1:1"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this rule?"
);
?>
"
,
buttons
:
[{
...
...
@@ -133,7 +133,7 @@ $main_buttons = array(
}
else
{
// delete selected
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"1:1"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete the selected mappings?"
);
?>
"
,
buttons
:
[{
...
...
src/www/firewall_nat_npt.php
View file @
1d0f083d
...
...
@@ -116,7 +116,7 @@ $main_buttons = array(
if
(
id
!=
'
x
'
)
{
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"NPT"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this rule?"
);
?>
"
,
buttons
:
[{
...
...
@@ -135,7 +135,7 @@ $main_buttons = array(
}
else
{
// delete selected
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"NPT"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete the selected rules?"
);
?>
"
,
buttons
:
[{
...
...
src/www/firewall_nat_out.php
View file @
1d0f083d
...
...
@@ -183,7 +183,7 @@ include("head.inc");
if
(
id
!=
'
x
'
)
{
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Nat"
)
.
" "
.
gettext
(
"Outbound"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this rule?"
);
?>
"
,
buttons
:
[{
...
...
@@ -203,7 +203,7 @@ include("head.inc");
}
else
{
// delete selected
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Nat"
)
.
" "
.
gettext
(
"Outbound"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete the selected rules?"
);
?>
"
,
buttons
:
[{
...
...
src/www/firewall_rules.php
View file @
1d0f083d
...
...
@@ -138,7 +138,7 @@ $( document ).ready(function() {
if
(
id
!=
'
x
'
)
{
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Rules"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this rule?"
);
?>
"
,
buttons
:
[{
...
...
@@ -157,7 +157,7 @@ $( document ).ready(function() {
}
else
{
// delete selected
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Rules"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete the selected rules?"
);
?>
"
,
buttons
:
[{
...
...
src/www/firewall_schedule.php
View file @
1d0f083d
...
...
@@ -88,7 +88,7 @@ $main_buttons = array(
var
id
=
$
(
this
).
attr
(
"
id
"
).
split
(
'
_
'
).
pop
(
-
1
);
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Rules"
);
?>
"
,
message
:
"
<?=
gettext
(
'Do you really want to delete this schedule?'
);
?>
"
,
buttons
:
[{
...
...
src/www/firewall_virtual_ip.php
View file @
1d0f083d
...
...
@@ -219,7 +219,7 @@ $main_buttons = array(
var
id
=
$
(
this
).
attr
(
"
id
"
).
split
(
'
_
'
).
pop
(
-
1
);
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Virtual IP"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this entry?"
);
?>
"
,
buttons
:
[{
...
...
src/www/interfaces_assign.php
View file @
1d0f083d
...
...
@@ -357,7 +357,7 @@ include("head.inc");
var
id
=
$
(
this
).
data
(
"
id
"
);
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Interfaces"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this interface?"
);
?>
"
,
buttons
:
[{
...
...
src/www/interfaces_bridge.php
View file @
1d0f083d
...
...
@@ -88,7 +88,7 @@ $main_buttons = array(
var
id
=
$
(
this
).
data
(
"
id
"
);
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Bridge"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this bridge?"
);
?>
"
,
buttons
:
[{
...
...
src/www/interfaces_ppps.php
View file @
1d0f083d
...
...
@@ -83,7 +83,7 @@ $main_buttons = array(
var
id
=
$
(
this
).
data
(
"
id
"
);
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Point-to-Point"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this PPP interface?"
);
?>
"
,
buttons
:
[{
...
...
src/www/interfaces_wireless.php
View file @
1d0f083d
...
...
@@ -81,7 +81,7 @@ $main_buttons = array(
var
id
=
$
(
this
).
data
(
"
id
"
);
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Wireless"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this wireless clone?"
);
?>
"
,
buttons
:
[{
...
...
src/www/system_advanced_sysctl.php
View file @
1d0f083d
...
...
@@ -115,7 +115,7 @@ $( document ).ready(function() {
event
.
preventDefault
();
var
id
=
$
(
this
).
data
(
'
id
'
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Tunable"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this entry?"
);
?>
"
,
buttons
:
[{
...
...
src/www/system_authservers.php
View file @
1d0f083d
...
...
@@ -370,7 +370,7 @@ $( document ).ready(function() {
var
id
=
$
(
this
).
attr
(
"
id
"
).
split
(
'
_
'
).
pop
(
-
1
);
// delete single
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Server"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this Server?"
);
?>
"
,
buttons
:
[{
...
...
src/www/system_camanager.php
View file @
1d0f083d
...
...
@@ -426,7 +426,7 @@ $main_buttons = array(
event.preventDefault();
var id = $(this).data('id');
BootstrapDialog.show({
type:BootstrapDialog.TYPE_
INFO
,
type:BootstrapDialog.TYPE_
DANGER
,
title: "
<?=
gettext
(
"Authorities"
);
?>
",
message: "
<?=
gettext
(
"Do you really want to delete this Certificate Authority and its CRLs, and unreference any associated certificates?"
);
?>
",
buttons: [{
...
...
src/www/system_certmanager.php
View file @
1d0f083d
...
...
@@ -537,7 +537,7 @@ if (empty($act)) {
event
.
preventDefault
();
var
id
=
$
(
this
).
data
(
'
id
'
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Certificates"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this Certificate?"
);
?>
"
,
buttons
:
[{
...
...
src/www/system_crlmanager.php
View file @
1d0f083d
...
...
@@ -292,7 +292,7 @@ include("head.inc");
var
id
=
$
(
this
).
data
(
'
id
'
);
var
descr
=
$
(
this
).
data
(
'
descr
'
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Certificates"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this Certificate Revocation List?"
);
?>
(
"
+
descr
+
"
)
"
,
buttons
:
[{
...
...
@@ -316,7 +316,7 @@ include("head.inc");
var
id
=
$
(
this
).
data
(
'
id
'
);
var
certref
=
$
(
this
).
data
(
'
certref
'
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Certificates"
);
?>
"
,
message
:
"
<?=
gettext
(
"Delete this certificate from the CRL "
);
?>
"
,
buttons
:
[{
...
...
src/www/system_gateway_groups.php
View file @
1d0f083d
...
...
@@ -126,7 +126,7 @@ $( document ).ready(function() {
var
id
=
$
(
this
).
data
(
'
id
'
);
event
.
preventDefault
();
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Gateway-group"
);
?>
"
,
message
:
'
<?=
gettext
(
"Do you really want to delete this gateway group?"
);
?>
'
,
buttons
:
[{
...
...
src/www/system_gateways.php
View file @
1d0f083d
...
...
@@ -220,7 +220,7 @@ $( document ).ready(function() {
event
.
preventDefault
();
var
id
=
$
(
this
).
data
(
'
id
'
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Gateways"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this gateway?"
);
?>
"
,
buttons
:
[{
...
...
@@ -252,7 +252,7 @@ $( document ).ready(function() {
event
.
preventDefault
();
var
id
=
$
(
this
).
data
(
'
id
'
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Gateways"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete the selected gateway items?"
);
?>
"
,
buttons
:
[{
...
...
src/www/system_groupmanager.php
View file @
1d0f083d
...
...
@@ -251,7 +251,7 @@ $( document ).ready(function() {
var
priv_name
=
$
(
this
).
data
(
'
privname
'
);
var
privid
=
$
(
this
).
data
(
'
privid
'
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Group"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this privilege?"
);
?>
"
+
"
<br/>(
"
+
priv_name
+
"
)
"
,
buttons
:
[{
...
...
@@ -275,7 +275,7 @@ $( document ).ready(function() {
var
groupname
=
$
(
this
).
data
(
'
groupname
'
);
event
.
preventDefault
();
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Group"
);
?>
"
,
message
:
'
<?=
gettext
(
"Do you really want to delete this group?"
);
?>
'
+
'
<br/>(
'
+
groupname
+
"
)
"
,
buttons
:
[{
...
...
src/www/system_routes.php
View file @
1d0f083d
...
...
@@ -160,7 +160,7 @@ $( document ).ready(function() {
var
id
=
$
(
this
).
data
(
'
id
'
);
event
.
preventDefault
();
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Route"
);
?>
"
,
message
:
'
<?=
gettext
(
"Do you really want to delete this route?"
);
?>
'
,
buttons
:
[{
...
...
@@ -182,7 +182,7 @@ $( document ).ready(function() {
$
(
"
#del_x
"
).
click
(
function
(
event
){
event
.
preventDefault
();
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Route"
);
?>
"
,
message
:
'
<?=
gettext
(
"Do you really want to delete the selected routes?"
);
?>
'
,
buttons
:
[{
...
...
src/www/system_usermanager.php
View file @
1d0f083d
...
...
@@ -455,7 +455,7 @@ $( document ).ready(function() {
event
.
preventDefault
();
var
priv_name
=
$
(
this
).
data
(
'
priv
'
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"User"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this privilege?"
);
?>
"
+
"
<br/>(
"
+
priv_name
+
"
)
"
,
buttons
:
[{
...
...
@@ -478,7 +478,7 @@ $( document ).ready(function() {
var
certid
=
$
(
this
).
data
(
'
certid
'
);
event
.
preventDefault
();
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"Certificate"
);
?>
"
,
message
:
'
<?=
gettext
(
"Do you really want to remove this certificate association?"
)
.
'\n'
.
gettext
(
"(Certificate will not be deleted)"
);
?>
'
,
buttons
:
[{
...
...
@@ -502,7 +502,7 @@ $( document ).ready(function() {
var
username
=
$
(
this
).
data
(
'
username
'
);
event
.
preventDefault
();
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"User"
);
?>
"
,
message
:
'
<?=
gettext
(
"Do you really want to delete this user?"
);
?>
'
+
'
<br/>(
'
+
username
+
"
)
"
,
buttons
:
[{
...
...
@@ -563,7 +563,7 @@ $( document ).ready(function() {
event
.
preventDefault
();
var
apiKey
=
$
(
this
).
data
(
'
key
'
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"User"
);
?>
"
,
message
:
'
<?=
gettext
(
"Do you really want to delete this API key?"
);
?>
'
+
'
<br/><small>(
'
+
apiKey
.
substring
(
0
,
40
)
+
"
...)</small>
"
,
buttons
:
[{
...
...
src/www/vpn_openvpn_client.php
View file @
1d0f083d
...
...
@@ -340,7 +340,7 @@ $( document ).ready(function() {
$
(
"
.act_delete
"
).
click
(
function
(){
var
id
=
$
(
this
).
attr
(
"
id
"
).
split
(
'
_
'
).
pop
(
-
1
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"OpenVPN"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this client?"
);
?>
"
,
buttons
:
[{
...
...
src/www/vpn_openvpn_csc.php
View file @
1d0f083d
...
...
@@ -214,7 +214,7 @@ $( document ).ready(function() {
$
(
"
.act_delete
"
).
click
(
function
(){
var
id
=
$
(
this
).
attr
(
"
id
"
).
split
(
'
_
'
).
pop
(
-
1
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"OpenVPN"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this csc?"
);
?>
"
,
buttons
:
[{
...
...
src/www/vpn_openvpn_server.php
View file @
1d0f083d
...
...
@@ -421,7 +421,7 @@ $( document ).ready(function() {
$
(
"
.act_delete
"
).
click
(
function
(){
var
id
=
$
(
this
).
attr
(
"
id
"
).
split
(
'
_
'
).
pop
(
-
1
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_
INFO
,
type
:
BootstrapDialog
.
TYPE_
DANGER
,
title
:
"
<?=
gettext
(
"OpenVPN"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this server?"
);
?>
"
,
buttons
:
[{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment