mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
fwhosts.cgi: Add button spacing on 'Firewall/Firewall Groups' page
commit 50b4c402226cda390832d3124a2a46187cc635c3
Author: Stephen Cuka <stephen@firemypi.org>
Date: Thu Feb 27 16:34:16 2025 -0700
fwhosts.cgi: Add button spacing on 'Firewall/Firewall Groups' page.
Add spacing between showmenu() buttons on Firewall/Firewall Groups page to improve the look of the page.
No changes to the functions of the page.
Signed-off-by: Stephen Cuka <stephen@firemypi.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@@ -1327,10 +1327,29 @@ sub showmenu {
|
|||||||
&Header::openbox('100%', 'left',);
|
&Header::openbox('100%', 'left',);
|
||||||
print "$Lang::tr{'fwhost welcome'}";
|
print "$Lang::tr{'fwhost welcome'}";
|
||||||
print<<END;
|
print<<END;
|
||||||
<br><br><table border='0' width='100%'>
|
<br><br>
|
||||||
<tr><td><form method='post'><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newnet'}' ><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newhost'}' ><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newgrp'}' ><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newlocationgrp'}' ></form></td>
|
<table border='0' width='100%'>
|
||||||
<td align='right'><form method='post'><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newservice'}' ><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newservicegrp'}' ></form></td></tr>
|
<tr>
|
||||||
<tr><td colspan='6'></td></tr></table>
|
<td>
|
||||||
|
<form method='post'>
|
||||||
|
<input type='submit' name='ACTION' value='$Lang::tr{'fwhost newnet'}'>
|
||||||
|
<input type='submit' name='ACTION' value='$Lang::tr{'fwhost newhost'}'>
|
||||||
|
<input type='submit' name='ACTION' value='$Lang::tr{'fwhost newgrp'}'>
|
||||||
|
<input type='submit' name='ACTION' value='$Lang::tr{'fwhost newlocationgrp'}'>
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
<td align='right'>
|
||||||
|
<form method='post'>
|
||||||
|
<input type='submit' name='ACTION' value='$Lang::tr{'fwhost newservice'}'>
|
||||||
|
<input type='submit' name='ACTION' value='$Lang::tr{'fwhost newservicegrp'}'>
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan='6'>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
END
|
END
|
||||||
&Header::closebox();
|
&Header::closebox();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user