]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
wireguard.cgi: Remove the extra box around the peers
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 17 Apr 2024 17:43:25 +0000 (19:43 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Apr 2025 14:47:54 +0000 (16:47 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/wireguard.cgi

index 923f32224f6ac6a84850d63c9867c167e1dc1285..9936c69ca7c15675133facb2dbf526b7ebe741ef 100644 (file)
@@ -135,7 +135,7 @@ END
        &Header::closebox();
 
        # Show a list with all peers
-       &Header::openbox('100%', 'LEFT', $Lang::tr{'peers'});
+       &Header::opensection();
 
        # Fetch the dump
        my %dump = &dump($INTF);
@@ -278,7 +278,7 @@ END
                        </tr>
                </table>
 END
-       &Header::closebox();
+       &Header::closesection();
        &Header::closepage();
 
 # This function generates a set of keys for this host if none exist