-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35ef7c7
commit 1731e72
Showing
4 changed files
with
103 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,63 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<link rel="icon" type="image/png" href="lg.png"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="Cache-control" content="public"> | ||
<title>Omada Captive Portal</title> | ||
<link rel="stylesheet" href="index.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div class="greeting-container"> | ||
<h3>Good Day! ☀️😎</h3> | ||
</div> | ||
<div id="oper-hint" class="oper-hint"></div> | ||
<img class="logo" src="lg.png" alt="Logo"> | ||
<h1>₱5.00 <span class="hours">for 3 hours</span> | ||
</h1> | ||
<p>By connecting to the Wi-Fi you agree to the <a href="https://www.maridenresort.com/wi-fi-terms-of-service" class="terms-link">Terms of Service.</a> | ||
<div id="hotspot-section" class="hidden"> | ||
<select id="hotspot-selector"></select> | ||
</div> | ||
<form id="login-form"> <!--"will change get to post depends on the result"--> | ||
<div id="input-voucher" class="input-voucher"> | ||
<input type="number" maxlength="7" id="voucherCode" name="voucherCode" placeholder="VOUCHER CODE" inputmode="numeric" style="-webkit-appearance: textfield; -moz-appearance: textfield; appearance: textfield;"> | ||
</div> | ||
<div id="input-user" class="hidden"> | ||
<input id="username" name="username" type="text" placeholder="Username" /> | ||
</div> | ||
<div id="input-password" class="hidden user-input"> | ||
<input id="password" name="password" type="password" placeholder="Password" /> | ||
</div> | ||
<div id="input-simple" class="hidden"> | ||
<input id="simplePassword" name="simplePassword" type="password" placeholder="Password" /> | ||
</div> | ||
<div id="input-phone-num" class="hidden"> + <input id="country-code" /> | ||
<input id="phone-number" name="phone-number" type="text" placeholder="Phone Number" /> | ||
</div> | ||
<div id="input-verify-code" class="hidden"> | ||
<input id="verify-code" name="verify-code" type="text" placeholder="Verification Code" /> | ||
<button id="get-code"> Get Code </button> | ||
</div> | ||
<button type="button" id="button-login">CONNECT</button> <!--"will change "submitData" to"button-login" depends on the result"--> | ||
<input name="clientMac" id="cMac" style="display:none" /> | ||
<input name="radiusSvrIp" id="radiusServerIp" style="display:none" /> | ||
</form> | ||
<div id="button-area" class="hidden"> | ||
<button id="button-facebook" class="hidden">Facebook</button> | ||
</div> | ||
</div> | ||
<script src="index.js"></script> | ||
</body> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="Cache-control" content="public"> | ||
<title>Captive Portal</title> | ||
<link rel="icon" type="image/png" href="lg.png"> | ||
<link rel="stylesheet" href="index.css"> | ||
|
||
<!-- Google tag (gtag.js) --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-S0ED32181B"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', 'G-S0ED32181B'); | ||
</script> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div class="greeting-container"> | ||
<h3 id="greeting"></h3> | ||
</div> | ||
<div id="oper-hint" class="oper-hint"></div> | ||
<img class="logo" src="lg.png" alt="Logo"> | ||
<!-- <h1>₱5.00 <span class="hours">for 3 hours</span> --> | ||
</h1> | ||
<p>By connecting to the Wi-Fi you agree to the <a href="https://www.maridenresort.com/wi-fi-terms-of-service" class="terms-link">Terms of Service.</a> | ||
<div id="hotspot-section" class="hidden"> | ||
<select id="hotspot-selector" class="hidden"></select> | ||
</div> | ||
<form id="login-form"> | ||
<div id="input-voucher" class="input-voucher"> | ||
<input type="number" maxlength="7" id="voucherCode" name="voucherCode" placeholder="VOUCHER CODE" inputmode="numeric" style="-webkit-appearance: textfield; -moz-appearance: textfield; appearance: textfield;"> | ||
</div> | ||
<div id="input-user" class="hidden"> | ||
<input id="username" name="username" type="text" placeholder="Username" /> | ||
</div> | ||
<div id="input-password" class="hidden user-input"> | ||
<input id="password" name="password" type="password" placeholder="Password" /> | ||
</div> | ||
<div id="input-simple" class="hidden"> | ||
<input id="simplePassword" name="simplePassword" type="password" placeholder="Password" /> | ||
</div> | ||
<div id="input-phone-num" class="hidden"> + <input id="country-code" /> | ||
<input id="phone-number" name="phone-number" type="text" placeholder="Phone Number" /> | ||
</div> | ||
<div id="input-verify-code" class="hidden"> | ||
<input id="verify-code" name="verify-code" type="text" placeholder="Verification Code" /> | ||
<button id="get-code"> Get Code </button> | ||
</div> | ||
<input name="clientMac" id="cMac" style="display:none" /> | ||
<input name="radiusSvrIp" id="radiusServerIp" style="display:none" /> | ||
<button type="button" id="button-login">CONNECT</button> | ||
</form> | ||
<div id="button-area" class="hidden"> | ||
<button id="button-facebook" class="hidden">Facebook</button> | ||
</div> | ||
</div> | ||
<script src="index.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters