summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-03-26 09:20:37 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-03-27 11:11:25 -0300
commit3ffdcd4e54e01a27ef19a49c371768e52804d2b6 (patch)
treea364a7ee49fe9936055a176391972dc12150417e
parent4d8a1ec23f409a1acbd9c0c8aaf81e75111d7bf0 (diff)
downloadpfsense-3ffdcd4e54e01a27ef19a49c371768e52804d2b6.zip
pfsense-3ffdcd4e54e01a27ef19a49c371768e52804d2b6.tar.gz
Add a new class called addgatewaybox to make it easier to respect custom themes. Fixes #2900
Conflicts: usr/local/www/interfaces.php usr/local/www/themes/_corporate/all.css usr/local/www/themes/code-red/all.css usr/local/www/themes/pfsense-dropdown/all.css usr/local/www/themes/pfsense/all.css usr/local/www/themes/pfsense_ng/all.css usr/local/www/themes/the_wall/all.css
-rwxr-xr-xusr/local/www/interfaces.php6
-rw-r--r--usr/local/www/themes/_corporate/all.css6
-rwxr-xr-xusr/local/www/themes/code-red/all.css6
-rw-r--r--usr/local/www/themes/metallic/all.css6
-rw-r--r--usr/local/www/themes/nervecenter/all.css6
-rw-r--r--usr/local/www/themes/pfsense-dropdown/all.css6
-rw-r--r--usr/local/www/themes/pfsense/all.css6
-rw-r--r--usr/local/www/themes/pfsense_ng/all.css6
-rw-r--r--usr/local/www/themes/the_wall/all.css6
9 files changed, 51 insertions, 3 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index eaad8de..1b87b3b 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -1266,11 +1266,11 @@ $types = array("none" => gettext("None"), "static" => gettext("Static"), "dhcp"
</div>
<div style="display:none" id="addgateway" name="addgateway">
<p>
- <table border="1" style="background:#990000; border-style: none none none none; width:225px;">
+ <table border="1" class="addgatewaybox">
<tr>
<td>
- <table bgcolor="#990000" cellpadding="1" cellspacing="1">
- <tr><td>&nbsp;</td>
+ <table class="addgatewaybox" cellpadding="1" cellspacing="1">
+ <tr><td>&nbsp;</td></tr>
<tr>
<td colspan="2"><center><b><font color="white"><?=gettext("Add new gateway:"); ?></font></b></center></td>
</tr>
diff --git a/usr/local/www/themes/_corporate/all.css b/usr/local/www/themes/_corporate/all.css
index 97cec9d..f7b03b2 100644
--- a/usr/local/www/themes/_corporate/all.css
+++ b/usr/local/www/themes/_corporate/all.css
@@ -9,6 +9,12 @@ html, body, td, th, input, select {
font-size: 0.9em;
}
+.addgatewaybox {
+ background-color: #990000;
+ border-style: none none none none;
+ width: 225px;
+}
+
div.GraphLink {
position: relative;
}
diff --git a/usr/local/www/themes/code-red/all.css b/usr/local/www/themes/code-red/all.css
index 5121323..6182c4b 100755
--- a/usr/local/www/themes/code-red/all.css
+++ b/usr/local/www/themes/code-red/all.css
@@ -5,6 +5,12 @@ html, body, td, th, input, select {
}
+.addgatewaybox {
+ background-color: #990000;
+ border-style: none none none none;
+ width: 225px;
+}
+
.infobox {
width:100%;
}
diff --git a/usr/local/www/themes/metallic/all.css b/usr/local/www/themes/metallic/all.css
index 766a869..6ccadd9 100644
--- a/usr/local/www/themes/metallic/all.css
+++ b/usr/local/www/themes/metallic/all.css
@@ -8,6 +8,12 @@ html, body, td, th, input, select {
width:100%;
}
+.addgatewaybox {
+ background-color: #990000;
+ border-style: none none none none;
+ width: 225px;
+}
+
.infoboxsave {
padding-right: 10px;
}
diff --git a/usr/local/www/themes/nervecenter/all.css b/usr/local/www/themes/nervecenter/all.css
index 91253b6..beee389 100644
--- a/usr/local/www/themes/nervecenter/all.css
+++ b/usr/local/www/themes/nervecenter/all.css
@@ -9,6 +9,12 @@ html, body, td, th, input, select {
width:100%;
}
+.addgatewaybox {
+ background-color: #990000;
+ border-style: none none none none;
+ width: 225px;
+}
+
.infoboxsave {
padding-right: 10px;
}
diff --git a/usr/local/www/themes/pfsense-dropdown/all.css b/usr/local/www/themes/pfsense-dropdown/all.css
index 8a4fcc2..77acced 100644
--- a/usr/local/www/themes/pfsense-dropdown/all.css
+++ b/usr/local/www/themes/pfsense-dropdown/all.css
@@ -4,6 +4,12 @@ html, body, td, th, input, select {
font-size: 0.9em;
}
+.addgatewaybox {
+ background-color: #990000;
+ border-style: none none none none;
+ width: 225px;
+}
+
.infobox {
width:100%;
}
diff --git a/usr/local/www/themes/pfsense/all.css b/usr/local/www/themes/pfsense/all.css
index 2cc7fcc..fb09b1e 100644
--- a/usr/local/www/themes/pfsense/all.css
+++ b/usr/local/www/themes/pfsense/all.css
@@ -4,6 +4,12 @@ html, body, td, th, input, select {
font-size: 0.9em;
}
+.addgatewaybox {
+ background-color: #990000;
+ border-style: none none none none;
+ width: 225px;
+}
+
.infobox {
width:100%;
}
diff --git a/usr/local/www/themes/pfsense_ng/all.css b/usr/local/www/themes/pfsense_ng/all.css
index b2f7540..2741969 100644
--- a/usr/local/www/themes/pfsense_ng/all.css
+++ b/usr/local/www/themes/pfsense_ng/all.css
@@ -5,6 +5,12 @@ html, body, td, th, input, select {
}
+.addgatewaybox {
+ background-color: #990000;
+ border-style: none none none none;
+ width: 225px;
+}
+
.infobox {
width:100%;
}
diff --git a/usr/local/www/themes/the_wall/all.css b/usr/local/www/themes/the_wall/all.css
index 0d13dc9..7842b77 100644
--- a/usr/local/www/themes/the_wall/all.css
+++ b/usr/local/www/themes/the_wall/all.css
@@ -5,6 +5,12 @@ html, body, td, th, input, select {
}
+.addgatewaybox {
+ background-color: #990000;
+ border-style: none none none none;
+ width: 225px;
+}
+
.infobox {
width:100%;
}
OpenPOWER on IntegriCloud