optionsfw.cgi: Cosmetic fix - centered 'Save...' buttons
Commit Message
Center 'Save' and 'Save And Restart' buttons as in most of the
other pages.
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
html/cgi-bin/optionsfw.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi,
> On 27 Dec 2020, at 16:16, Matthias Fischer <matthias.fischer@ipfire.org> wrote:
>
> Center 'Save' and 'Save And Restart' buttons as in most of the
> other pages.
Yes that is a good idea.
However, you are changing the string on the button which is not part of any translation.
-Michael
>
> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
> ---
> html/cgi-bin/optionsfw.cgi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/html/cgi-bin/optionsfw.cgi b/html/cgi-bin/optionsfw.cgi
> index 8771a85ba..78e7710f5 100644
> --- a/html/cgi-bin/optionsfw.cgi
> +++ b/html/cgi-bin/optionsfw.cgi
> @@ -394,7 +394,7 @@ END
>
> <br />
> <table width='100%' cellspacing='0'>
> -<tr><td align='right'><form method='post' action='$ENV{'SCRIPT_NAME'}'>
> +<tr><td align='center'><form method='post' action='$ENV{'SCRIPT_NAME'}'>
> <input type='submit' name='ACTION' value='$Lang::tr{'save'}' />
> <input type='submit' name='ACTION' value='$Lang::tr{'fw settings save and restart'}' />
> </form></td></tr>
> --
> 2.18.0
>
@@ -394,7 +394,7 @@ END
<br />
<table width='100%' cellspacing='0'>
-<tr><td align='right'><form method='post' action='$ENV{'SCRIPT_NAME'}'>
+<tr><td align='center'><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='submit' name='ACTION' value='$Lang::tr{'save'}' />
<input type='submit' name='ACTION' value='$Lang::tr{'fw settings save and restart'}' />
</form></td></tr>