From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 41/54] samba: Use full page width for all tables
Date: Tue, 13 Oct 2020 16:07:59 +0000
Message-ID: <20201013160812.27754-41-michael.tremer@ipfire.org>
In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6199945645956986522=="
List-Id: <development.lists.ipfire.org>

--===============6199945645956986522==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 html/cgi-bin/samba.cgi | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi
index 66043f15b..43d351e98 100644
--- a/html/cgi-bin/samba.cgi
+++ b/html/cgi-bin/samba.cgi
@@ -227,7 +227,7 @@ my %servicenames =3D (
 );
=20
 print <<END;
-	<table class=3D"tbl" width=3D'95%' cellspacing=3D'0'>
+	<table class=3D"tbl" width=3D'100%' cellspacing=3D'0'>
 		<tr bgcolor=3D'$color{'color20'}'>
 			<td colspan=3D'2' align=3D'left'><b>$Lang::tr{'all services'}</b></td>
 		</tr>
@@ -249,7 +249,7 @@ print <<END
=20
 	<br>
=20
-	<table width=3D"95%">
+	<table width=3D"100%">
 		<td width=3D"33%" align=3D"center">
 			<form method=3D"POST" action=3D"$ENV{'SCRIPT_NAME'}">
 				<input type=3D"hidden" name=3D"ACTION" value=3D"smbstart">
@@ -275,7 +275,7 @@ print <<END
 	<br>
=20
 	<form method=3D'post' action=3D'$ENV{'SCRIPT_NAME'}'>
-		<table class=3D"tbl" width=3D'95%' cellspacing=3D'0'>
+		<table class=3D"tbl" width=3D'100%' cellspacing=3D'0'>
 			<tr bgcolor=3D'$color{'color20'}'>
 				<td colspan=3D'2' align=3D'left'><b>$Lang::tr{'basic options'}</b></td>
 			</tr>
@@ -385,7 +385,7 @@ if ($sambasettings{'SECURITY'} eq 'user')
 	&Header::openbox('100%', 'center', $Lang::tr{'user management'});
 	print <<END
 	<br />
-	<table class=3D"tbl" width=3D'95%' cellspacing=3D'0'>
+	<table class=3D"tbl" width=3D'100%' cellspacing=3D'0'>
 	<tr><td colspan=3D'6' align=3D'left'></td></tr>
 	<tr><td bgcolor=3D'$color{'color20'}' colspan=3D'7' align=3D'left'><b>$Lang=
::tr{'accounting'}</b></td></tr>
 	<tr><td align=3D'left'><u>$Lang::tr{'username'}</u></td><td align=3D'left'>=
<u>$Lang::tr{'password'}</u></td>
@@ -488,7 +488,7 @@ END
 		print <<END
 		<br />
 		<form method=3D'post' action=3D'$ENV{'SCRIPT_NAME'}#$Lang::tr{'accounting'=
}'>
-		<table width=3D'95%' cellspacing=3D'0'>
+		<table width=3D'100%' cellspacing=3D'0'>
 		<tr bgcolor=3D'$color{'color20'}'><td colspan=3D'2' align=3D'left'><b>$Lan=
g::tr{'change passwords'}</b></td></tr>
 		<tr><td align=3D'left'>$Lang::tr{'username'}</td><td><input type=3D'text' =
name=3D'USERNAME' value=3D'$username' size=3D'30' readonly=3D'readonly' /></t=
d></tr>
 		<tr><td align=3D'left'>$Lang::tr{'password'}</td><td><input type=3D'passwo=
rd' name=3D'PASSWORD' value=3D'$password' size=3D'30' /></td></tr>
@@ -511,7 +511,7 @@ END
 		print <<END
 		<br />
 		<form method=3D'post' action=3D'$ENV{'SCRIPT_NAME'}#$Lang::tr{'accounting'=
}'>
-		<table width=3D'95%' cellspacing=3D'0'>
+		<table width=3D'100%' cellspacing=3D'0'>
 		<tr bgcolor=3D'$color{'color20'}'><td colspan=3D'2' align=3D'left'><b>$Lan=
g::tr{'add user'}</b></td></tr>
 		<tr><td align=3D'left'>$Lang::tr{'username'}</td><td><input type=3D'text' =
name=3D'USERNAME' value=3D'$username' size=3D'30' /></td></tr>
 		<tr><td align=3D'left'>$Lang::tr{'password'}</td><td><input type=3D'passwo=
rd' name=3D'PASSWORD' value=3D'$password' size=3D'30' /></td></tr>
@@ -533,7 +533,7 @@ END
 		print <<END
 		<br />
 		<form method=3D'post' action=3D'$ENV{'SCRIPT_NAME'}#$Lang::tr{'accounting'=
}'>
-		<table width=3D'95%' cellspacing=3D'0'>
+		<table width=3D'100%' cellspacing=3D'0'>
 		<tr bgcolor=3D'$color{'color20'}'><td colspan=3D'2' align=3D'left'><b>$Lan=
g::tr{'pc add'}</b></td></tr>
 		<tr><td align=3D'left'>$Lang::tr{'client'}</td><td><input type=3D'text' na=
me=3D'PCNAME' value=3D'$pcname' size=3D'30' /></td></tr>
 		<tr><td align=3D'left'>$Lang::tr{'unix group'}</td><td><input type=3D'text=
' name=3D'GROUP' value=3D'sambawks' size=3D'30' /></td></tr>
@@ -558,7 +558,7 @@ if ($sambasettings{'SECURITY'} eq "ADS") {
 	<form method=3D"POST" action=3D"$ENV{'SCRIPT_NAME'}">
 		<input type=3D"hidden" name=3D"ACTION" value=3D"join">
=20
-		<table class=3D"tbl" width=3D"95%">
+		<table class=3D"tbl" width=3D"100%">
 			<tbody>
 				<tr>
 					<td width=3D"40%">
@@ -606,7 +606,7 @@ END
 my %shares =3D  config("${General::swroot}/samba/shares");
=20
 print <<END;
-	<table class=3D"tbl" width=3D'95%' cellspacing=3D'0'>
+	<table class=3D"tbl" width=3D'100%' cellspacing=3D'0'>
 		<tr>
 			<th align=3D'left'>$Lang::tr{'sharename'}</th>
 			<th colspan=3D'2' width=3D"5%" align=3D'center'></th>
@@ -670,7 +670,7 @@ if ($sambasettings{'ACTION'} eq 'shareadd') {
 		<br />
=20
 		<form method=3D'POST' action=3D'$ENV{'SCRIPT_NAME'}'>
-			<table width=3D'95%' cellspacing=3D'0'>
+			<table width=3D'100%' cellspacing=3D'0'>
 				<tr bgcolor=3D'$color{'color20'}'>
 					<td align=3D'left'><b>$Lang::tr{'add share'}</b></td>
 				</tr>
@@ -699,7 +699,7 @@ if ($sambasettings{'ACTION'} eq 'sharechange') {
 		<form method=3D'POST' action=3D'$ENV{'SCRIPT_NAME'}'>
 			<input type=3D'hidden' name=3D'NAME' value=3D'$sambasettings{'NAME'}'>
=20
-			<table width=3D'95%' cellspacing=3D'0'>
+			<table width=3D'100%' cellspacing=3D'0'>
 				<tr bgcolor=3D'$color{'color20'}'>
 					<td align=3D'left'><b>$Lang::tr{'edit share'}</b></td>
 				</tr>
--=20
2.20.1


--===============6199945645956986522==--