This commit is contained in:
Anime4000 2022-04-03 22:47:14 +08:00
parent 7888137214
commit fa2549a0f6
5 changed files with 19 additions and 11 deletions

View File

@ -4,13 +4,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>XPON ONU SFP Stick</title>
<title>xPON ONU SFP Stick</title>
<link rel="stylesheet" href="/style/default.css">
<style>
body, html {
height: 100%;
margin: 0;
overflow: hidden;
height: 100%;
margin: 0;
overflow: hidden;
background-color: #330033;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23404' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23505'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");

View File

@ -36,9 +36,8 @@
<a class="nav-link dropdown-toggle" href="#" id="dropdown07" data-bs-toggle="dropdown" aria-expanded="false">Advanced</a>
<ul class="dropdown-menu" aria-labelledby="dropdown07">
<li><a class="dropdown-item" target="no_js_iframe" href="tcpiplan.asp">LAN Interface</a></li>
<li><a class="dropdown-item" target="no_js_iframe" href="multi_wan_generic.asp">WAN-PON Mapping</a></li>
<li><a class="dropdown-item" target="no_js_iframe" href="vlan.asp">VLAN Mode</a></li>
<li><a class="dropdown-item" target="no_js_iframe" href="omci_info.asp">OMCI Information</a></li>
<li><a class="dropdown-item" target="no_js_iframe" href="omci_info.asp">OMCI</a></li>
<li><a class="dropdown-item" target="no_js_iframe" href="gpon.asp">GPON</a></li>
<li><a class="dropdown-item" target="no_js_iframe" href="epon.asp">EPON</a></li>
</ul>
@ -70,8 +69,8 @@
</div>
</div>
</nav>
<div class="container" style="background-color: rgba(255,255,255, 0.5); backdrop-filter: blur(16px);">
<iframe style="width: 100%;height: calc(100vh - 118px);" src="status.asp" name="no_js_iframe" allowtransparency="true"></iframe>
<div id="iframe_page" class="container" style="background-color: rgba(255,255,255, 0.5); backdrop-filter: blur(16px);">
<iframe id="no_js_iframe" name="no_js_iframe" src="status.asp" style="width: 100%;height: calc(100vh - 118px);" allowtransparency="true"></iframe>
</div>
<footer class="bg-dark text-white p-3">
<div class="container">
@ -89,5 +88,14 @@
</div>
</footer>
<script type="text/javascript" src="bootstrap.bundle.min.js"></script>
<script>
var div = document.getElementById('iframe_page');
function css(element, property) {
return window.getComputedStyle(element, null).getPropertyValue(property);
}
document.getElementById("no_js_iframe").contentDocument.body.style.fontFamily = css(div, 'font-family');
</script>
</body>
</html>

View File

@ -59,7 +59,7 @@ function on_init() {
<div class="col-lg-8 mx-auto p-3 py-md-5">
<h2 class="mt-4"><% multilang("47" "LANG_OMCI_INFO"); %></h2>
<header class="d-flex align-items-center pb-3 mb-5 border-bottom">
This page allow you to change OMCI device information to allow OLT authenticate your xPON ONU Stick SFP
This page allow you to change OMCI device information to allow OLT authenticate your xPON ONU SFP Stick
</header>
<form action="/boaform/admin/formOmciInfo" method="post" name="formOmciInfo">

View File

@ -53,7 +53,7 @@ function uploadClick() {
</div>
<div class="col-sm-8">
<input type="file" class="form-control" id="formFile" name="binary" value="<% multilang("480" "LANG_CHOOSE_FILE"); %>">
<small class="form-text text-warning">Invalid config file can cause xPON ONU Stick SFP unable to boot!</small>
<small class="form-text text-warning">Invalid config file can cause xPON ONU SFP Stick unable to boot!</small>
</div>
</div>
<br />

View File

@ -43,7 +43,7 @@ function sendClicked() {
<div class="mb-3">
<label for="formFile" class="form-label">RTL960x firmware package file (*.tar)</label>
<input class="form-control" id="formFile" type="file" name="binary" value="<% multilang("480" "LANG_CHOOSE_FILE"); %>">
<small class="form-text text-warning">Invalid firmware package can cause xPON ONU Stick SFP unable to boot!</small>
<small class="form-text text-warning">Invalid firmware package can cause xPON ONU SFP Stick unable to boot!</small>
</div>
</div>
<br />