Commit 6a091ece authored by Ad Schellevis's avatar Ad Schellevis

Merge pull request #592 from fabianfrz/style

style fix
parents 22b20148 e30caa1b
...@@ -122,7 +122,7 @@ $( document ).ready(function() { ...@@ -122,7 +122,7 @@ $( document ).ready(function() {
$("#flushtable").click(function(event){ $("#flushtable").click(function(event){
event.preventDefault() event.preventDefault()
BootstrapDialog.show({ BootstrapDialog.show({
type:BootstrapDialog.TYPE_INFO, type:BootstrapDialog.TYPE_DANGER,
title: "<?= gettext("Tables");?>", title: "<?= gettext("Tables");?>",
message: "<?=gettext("Do you really want to flush this table?");?>", message: "<?=gettext("Do you really want to flush this table?");?>",
buttons: [{ buttons: [{
......
...@@ -81,7 +81,7 @@ $main_buttons = array( ...@@ -81,7 +81,7 @@ $main_buttons = array(
var id = $(this).data("id"); var id = $(this).data("id");
// delete single // delete single
BootstrapDialog.show({ BootstrapDialog.show({
type:BootstrapDialog.TYPE_INFO, type:BootstrapDialog.TYPE_DANGER,
title: "<?= gettext("GIF");?>", title: "<?= gettext("GIF");?>",
message: "<?=gettext("Do you really want to delete this gif tunnel?");?>", message: "<?=gettext("Do you really want to delete this gif tunnel?");?>",
buttons: [{ buttons: [{
......
...@@ -83,7 +83,7 @@ $main_buttons = array( ...@@ -83,7 +83,7 @@ $main_buttons = array(
var id = $(this).data("id"); var id = $(this).data("id");
// delete single // delete single
BootstrapDialog.show({ BootstrapDialog.show({
type:BootstrapDialog.TYPE_INFO, type:BootstrapDialog.TYPE_DANGER,
title: "<?= gettext("GRE");?>", title: "<?= gettext("GRE");?>",
message: "<?=gettext("Do you really want to delete this GRE tunnel?");?>", message: "<?=gettext("Do you really want to delete this GRE tunnel?");?>",
buttons: [{ buttons: [{
......
...@@ -74,7 +74,7 @@ $main_buttons = array( ...@@ -74,7 +74,7 @@ $main_buttons = array(
var id = $(this).data("id"); var id = $(this).data("id");
// delete single // delete single
BootstrapDialog.show({ BootstrapDialog.show({
type:BootstrapDialog.TYPE_INFO, type:BootstrapDialog.TYPE_DANGER,
title: "<?= gettext("Group");?>", title: "<?= gettext("Group");?>",
message: "<?=gettext("Do you really want to delete this group? All elements that still use it will become invalid (e.g. filter rules)!");?>", message: "<?=gettext("Do you really want to delete this group? All elements that still use it will become invalid (e.g. filter rules)!");?>",
buttons: [{ buttons: [{
......
...@@ -92,7 +92,7 @@ $main_buttons = array( ...@@ -92,7 +92,7 @@ $main_buttons = array(
var id = $(this).data("id"); var id = $(this).data("id");
// delete single // delete single
BootstrapDialog.show({ BootstrapDialog.show({
type:BootstrapDialog.TYPE_INFO, type:BootstrapDialog.TYPE_DANGER,
title: "<?= gettext("LAGG");?>", title: "<?= gettext("LAGG");?>",
message: "<?=gettext("Do you really want to delete this LAGG interface?");?>", message: "<?=gettext("Do you really want to delete this LAGG interface?");?>",
buttons: [{ buttons: [{
......
...@@ -98,7 +98,7 @@ $main_buttons = array( ...@@ -98,7 +98,7 @@ $main_buttons = array(
var id = $(this).data("id"); var id = $(this).data("id");
// delete single // delete single
BootstrapDialog.show({ BootstrapDialog.show({
type:BootstrapDialog.TYPE_INFO, type:BootstrapDialog.TYPE_DANGER,
title: "<?= gettext("QinQ");?>", title: "<?= gettext("QinQ");?>",
message: "<?=gettext("Do you really want to delete this QinQ?");?>", message: "<?=gettext("Do you really want to delete this QinQ?");?>",
buttons: [{ buttons: [{
......
...@@ -84,7 +84,7 @@ $main_buttons = array( ...@@ -84,7 +84,7 @@ $main_buttons = array(
var id = $(this).data("id"); var id = $(this).data("id");
// delete single // delete single
BootstrapDialog.show({ BootstrapDialog.show({
type:BootstrapDialog.TYPE_INFO, type:BootstrapDialog.TYPE_DANGER,
title: "<?= gettext("VLAN");?>", title: "<?= gettext("VLAN");?>",
message: "<?=gettext("Do you really want to delete this VLAN?");?>", message: "<?=gettext("Do you really want to delete this VLAN?");?>",
buttons: [{ buttons: [{
......
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