114 lines
3.2 KiB
HTML
Executable File
114 lines
3.2 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title id="webtitle"></title>
|
|
<link href="css/styles.css" rel="stylesheet" media="screen">
|
|
<style>
|
|
#content .box table td:first-child {
|
|
width: 45%;
|
|
min-width: 200px;
|
|
max-width: none;
|
|
}
|
|
</style>
|
|
<script src="js/jquery.js"></script>
|
|
|
|
<script>
|
|
function checkUser(){
|
|
var result = document.getElementById("username_id").value;
|
|
var password = document.getElementById("pwd_id").value;
|
|
|
|
if(result == ""){
|
|
alert("User name cannot be empty!");
|
|
return false;
|
|
}
|
|
|
|
if(password == ""){
|
|
alert("Password cannot be empty!");
|
|
return false;
|
|
} else {
|
|
return true;
|
|
}
|
|
}
|
|
|
|
function loginsubmit() {
|
|
if(checkUser() == false){
|
|
return;
|
|
}
|
|
document.getElementById('loginformid').submit();
|
|
}
|
|
|
|
function refresh_show(){
|
|
var queryData = "web_title=&"
|
|
$.get("atsc_status_cfg.cgi?"+queryData, function(data, status) {
|
|
var table = data.split("|");
|
|
var title = table[0].split("#");
|
|
document.getElementById('webtitle').textContent = title[1];
|
|
document.getElementById('webtitle_header').textContent = title[1];
|
|
});
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="refresh_show()">
|
|
<div class="app-layout">
|
|
<aside class="app-sidebar">
|
|
<ul class="items">
|
|
<li class="active"><a href="login.html" title="Login">Login</a></li>
|
|
</ul>
|
|
<div class="sidebar-footer">
|
|
<h4>Anywave Broadcast Inc.</h4>
|
|
<p>Copyright 2026<br><br><span class="redbox-label">Technical Support</span><br>+1 847 415 2258<br><a href="mailto:support@anywaveus.com">support@anywaveus.com</a></p>
|
|
</div>
|
|
</aside>
|
|
<div class="sidebar-overlay" onclick="toggleSidebar()"></div>
|
|
|
|
<header class="app-header">
|
|
<button class="menu-toggle" onclick="toggleSidebar()" aria-label="Toggle menu">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<line x1="3" y1="12" x2="21" y2="12"></line>
|
|
<line x1="3" y1="6" x2="21" y2="6"></line>
|
|
<line x1="3" y1="18" x2="21" y2="18"></line>
|
|
</svg>
|
|
</button>
|
|
<h1><a href="https://anywavecom.net/" class="logo-bg" title="Anywave Broadcast Inc."></a></h1>
|
|
<h2 id="webtitle_header"><span></span></h2>
|
|
</header>
|
|
|
|
<main class="app-main">
|
|
<div class="login-container">
|
|
<div class="login-box">
|
|
<h2>Login</h2>
|
|
<div class="box">
|
|
<form method="post" action="login.cgi" name="loginformname" id="loginformid">
|
|
<table>
|
|
<tr>
|
|
<td>User Name</td>
|
|
<td><input type="text" name="Username" style="max-width: 150px;" id="username_id" value="" size="12" maxlength="12"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Password</td>
|
|
<td><input type="password" name="Password" style="max-width: 150px;" id="pwd_id" value="" size="12" maxlength="12"></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td><input type="button" class="btn-modern" alt="Up" value="Login" id="loginid" onclick="loginsubmit();"></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
|
|
<script>
|
|
function toggleSidebar(){
|
|
document.querySelector('.app-sidebar').classList.toggle('sidebar-open');
|
|
document.querySelector('.sidebar-overlay').classList.toggle('active');
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|