mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
48 lines
2.1 KiB
HTML
48 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="style.css">
|
|
<title>System Settings</title>
|
|
</head>
|
|
<body>
|
|
<nav id="sidebar"></nav>
|
|
<div style="margin-left:16%;padding:1px 16px;height:1000px;">
|
|
<div id="ports"></div>
|
|
<h1>System Settings</h1>
|
|
<div class="row">
|
|
<div class="lcol"> <label for="ip">IP address:</label></div>
|
|
<div class="rcol"> <input id="ip" class="ip" type="text" minlength="7" maxlength="15" size="15"/></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="lcol"> <label for="netmask">Netmask:</label></div>
|
|
<div class="rcol"><input id="netmask" class="ip" type="text" minlength="7" maxlength="15" size="15"/></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="lcol"> <label for="gw">Gateway:</label></div>
|
|
<div class="rcol"><input id="gw" class="ip" type="text" minlength="7" maxlength="15" size="15"/></div>
|
|
</div>
|
|
<br/>
|
|
When updating the above settings, remember to point your browser to the new IP afterwards:<br/>
|
|
<input style="width:40%;" class="action" id="ip_sub" onclick="ipSub();" type="button" value="Update Settings"><br/>
|
|
<br/>
|
|
Save all current settings to Flash:<br/>
|
|
<input style="width:40%;" class="action" id="flash_sub" onclick="flashSave();" type="button" value="Save Settings to Flash">
|
|
<br/><br/>
|
|
<hr style="width:50%;margin-left:0;"/>
|
|
|
|
<h1>Advanced Settings</h1>
|
|
<div class="lcol"> <label for="ip">Startup configuration:</label></div>
|
|
<textarea id="config_display" rows="8" cols="60"></textarea>
|
|
<br/>
|
|
<input style="width:40%;" class="action" id="clear_config" onclick="clearConfig();" type="button" value="Clear Startup Config">
|
|
<br/>
|
|
<input style="width:40%;" class="action" id="flash_startup_sub" onclick="flashStartupSave();" type="button" value="Save Startup Settings to Flash">
|
|
<br/>
|
|
<input style="width:40%;" class="action" id="switch_reset" onclick="resetSwitch();" type="button" value="Reset Switch">
|
|
</div>
|
|
<script src="/config.js"></script>
|
|
<script src="/system.js"></script>
|
|
<script src="/navigation.js"></script>
|
|
</body>
|
|
</html>
|