Fixed up some links and added q links to make site better :)

This commit is contained in:
awex
2021-06-03 01:15:49 -04:00
parent 848c4dfe76
commit 88352aa11e
2 changed files with 32 additions and 16 deletions
+14
View File
@@ -2,6 +2,11 @@ function checkparam() {
const params = new URLSearchParams(window.location.search) const params = new URLSearchParams(window.location.search)
// console.log(params) Only uncomment this for testing purposes. // console.log(params) Only uncomment this for testing purposes.
if(!params) {
const embed = document.getElementById("embed");
embed.style.display = "block"
}
if (params.get('type') === 'pt') { if (params.get('type') === 'pt') {
const pt = document.getElementById("pt"); const pt = document.getElementById("pt");
pt.style.display = "block"; pt.style.display = "block";
@@ -9,6 +14,15 @@ function checkparam() {
embed.style.display = "none"; embed.style.display = "none";
} }
if(params.get('type') === 'embed') {
const pt = document.getElementById("pt");
pt.style.display = "none";
const embed = document.getElementById("embed");
embed.style.display = "block";
const success = document.getElementById("success");
success.style.display = "none";
}
if (params.get('status') === 'success') { if (params.get('status') === 'success') {
const pt = document.getElementById("pt"); const pt = document.getElementById("pt");
pt.style.display = "none"; pt.style.display = "none";
+18 -16
View File
@@ -7,7 +7,7 @@
<!--===============================================================================================--> <!--===============================================================================================-->
<link rel="icon" type="image/png" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/images/icons/favicon.ico"/> <link rel="icon" type="image/png" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/images/icons/favicon.ico"/>
<!--===============================================================================================--> <!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/medal-clip-webhook/assets/vendor/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/bootstrap/css/bootstrap.min.css">
<!--===============================================================================================--> <!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<!--===============================================================================================--> <!--===============================================================================================-->
@@ -27,8 +27,8 @@
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/css/main.css">
<!--===============================================================================================--> <!--===============================================================================================-->
</head> </head>
<body> <body onload="checkparam()">
<div id="embed"></div> <div id="embed">
<div class="limiter"> <div class="limiter">
<div class="container-login100" style="background-image: url('https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/images/bg-01.jpg');"> <div class="container-login100" style="background-image: url('https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/images/bg-01.jpg');">
<div class="wrap-login100"> <div class="wrap-login100">
@@ -71,6 +71,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div id="pt" style="display:none;"> <div id="pt" style="display:none;">
<div class="limiter"> <div class="limiter">
@@ -83,7 +84,7 @@
<span class="login100-form-title p-b-34 p-t-27"> <span class="login100-form-title p-b-34 p-t-27">
Medal.tv Clip Webhook<br> Medal.tv Clip Webhook<br>
Plaintext - <a href="https://awexxx.xyz/mcw">Go to Embed</a> Plaintext - <a href="https://awexxx.xyz/mcw?type=embed">Go to Embed</a>
</span> </span>
<div class="wrap-input100 validate-input"> <div class="wrap-input100 validate-input">
@@ -138,25 +139,26 @@
<div id="dropDownSelect1"></div> <div id="dropDownSelect1"></div>
<!--===============================================================================================--> <!--===============================================================================================-->
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//assets/vendor/jquery/jquery-3.2.1.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/jquery/jquery-3.2.1.min.js"></script>
<!--===============================================================================================--> <!--===============================================================================================-->
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//assets/vendor/animsition/js/animsition.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/animsition/js/animsition.min.js"></script>
<!--===============================================================================================--> <!--===============================================================================================-->
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//assets/vendor/bootstrap/js/popper.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/bootstrap/js/popper.js"></script>
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//assets/vendor/bootstrap/js/bootstrap.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/bootstrap/js/bootstrap.min.js"></script>
<!--===============================================================================================--> <!--===============================================================================================-->
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//assets/vendor/select2/select2.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/select2/select2.min.js"></script>
<!--===============================================================================================--> <!--===============================================================================================-->
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//assets/vendor/daterangepicker/moment.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/daterangepicker/moment.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//assets/vendor/daterangepicker/daterangepicker.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/daterangepicker/daterangepicker.js"></script>
<!--===============================================================================================--> <!--===============================================================================================-->
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//assets/vendor/countdowntime/countdowntime.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/countdowntime/countdowntime.js"></script>
<!--===============================================================================================--> <!--===============================================================================================-->
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//assets/js/main.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/js/main.js"></script>
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//assets/js/slideshow.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/js/slideshow.js"></script>
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//public/javascript/embed.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/public/javascript/embed.js"></script>
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook//public/javascript/pt.js"></script> <script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/public/javascript/pt.js"></script>
<script src="https://awexxx.xyz/assets/js/q.js"></script> <script src="https://awexxx.xyz/assets/js/q.js"></script>
<script src="assets/js/q.js"></script>
</body> </body>
</html> </html>