fix: remove empty title divs for improved layout consistency

- Removed empty `<div class="title nocontrol">&nbsp;</div>` elements from EthX.page, NetworkRules.page, and Wireless.page to streamline the HTML structure.
- This change continues the effort to enhance visual consistency across the plugin.
This commit is contained in:
Zack Spear
2025-05-23 15:16:08 -07:00
parent a29621e8ab
commit 86ee76932e
3 changed files with 0 additions and 3 deletions

View File

@@ -73,7 +73,6 @@ $(function() {
});
</script>
<div class="title nocontrol">&nbsp;</div>
<form markdown="1" name="ethX_settings" method="POST" action="/update.php" target="progressFrame" onchange="signalRun(this,2)" onsubmit="return prepareSettings(this)">
<input type="hidden" name="#file" value="<?=$ini?>">
<input type="hidden" name="#include" value="/webGui/include/update.ethernet.php">

View File

@@ -54,7 +54,6 @@ function update_info(id,mac) {
$('#info-'+id).html(info['_'+mac.replace(/:/g,'')]);
}
</script>
<div class="title nocontrol">&nbsp;</div>
<form markdown="1" name="network_rules" method="POST" action="/update.php" target="progressFrame" onsubmit="return check_rules(this)">
<input type="hidden" name="#file" value="not-used">
<input type="hidden" name="#include" value="/webGui/include/update.rules.php">

View File

@@ -21,7 +21,6 @@ $cfg = '/boot/config/wireless.cfg';
$regions = file("$docroot/webGui/include/regions.key", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
if (file_exists($cfg)) $wlan0 = parse_ini_file($cfg,true)['wlan0'];
?>
<div class="title nocontrol">&nbsp;</div>
<form markdown="1" name="wifi_settings" method="POST" action="/update.php" target="progressFrame" onsubmit="enable_wifi(this.WIFI.value)">
<input type="hidden" name="#file" value="<?=$cfg?>"/>
<input type="hidden" name="#section" value="wlan0"/>