* Tue Mar 25 2025 Brian Read <brianr@koozali.org> 11.0.0-73.sme

- Some changes to error message format in css.
- Fix DB Cache problem with port forwarding panel [SME: 12970]
- Fix error and success message display for port forwarding panel [SME: 12969]
This commit is contained in:
2025-03-25 15:05:34 +00:00
parent ebbe7af9a7
commit 252bf20410
6 changed files with 27 additions and 12 deletions

View File

@@ -201,11 +201,13 @@ body.menu {
div.error, div.sme-error, span.error, span.sme-error {
color: red;
background-color: #fff;
background-color: #f9f9f9;
border-width: 1px;
border-style: solid;
border-color: red;
padding: 2px;
padding: 10px;
border-radius: 10px;
}
form {
@@ -493,5 +495,6 @@ div.success, span.success {
border-width: 1px;
border-style: solid;
border-color: #006400 ;
padding: 8px;
padding: 10px;
border-radius: 10px;
}

View File

@@ -125,7 +125,7 @@
}
#header2 {
width: 94.2%;
width:96%;
margin-left: 1px;
margin-top: 4px;
}

View File

@@ -13,16 +13,17 @@
% my $var5 = @vars[4];
% my $var6 = @vars[5];
<br>
%if ($ret{'ret'} eq "") {
%} elsif (index($ret{ret},"SUCCESS") != -1) {
<div class='success'>
<h2> Operation Status Report</h2>
<!--<h2> Operation Status Report</h2>-->
%= $c->l($ret{ret},$var1,$var2,$var3,$var4,$var5,$var6);
</div>
%} else {
<div class='sme-error'>
<h2> Operation Status Report - Error</h2>
<!--<h2> Operation Status Report - Error</h2>-->
%= $c->l($ret{ret},$var1,$var2,$var3,$var4,$var5,$var6);
</div>
%}
@@ -84,4 +85,4 @@
%end
</div>
</div>

View File

@@ -21,13 +21,15 @@
%if ($ret{ret} eq "") {
%= $c->render_to_string(inline => l('pf_FIRST_PAGE_DESCRIPTION'));
%} elsif (index($ret{ret},"SUCCESS") != -1) {
<br>
<div class='success'>
<h2> Operation Status Report</h2>
<!--<h2> Operation Status Report</h2>-->
%= $c->l($ret{ret},$var1,$var2,$var3,$var4,$var5,$var6);
</div>
%} else {
<br>
<div class='sme-error'>
<h2> Operation Status Report - Error</h2>
<!--<h2> Operation Status Report - Error</h2>-->
%= $c->l($ret{ret},$var1,$var2,$var3,$var4,$var5,$var6);
</div>
%}
@@ -113,4 +115,4 @@
</table>
%= hidden_field 'trt' => $pf_datas->{trt}
</div>
</div>