-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (81 loc) · 3.19 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- FONTS BELOW -->
<link href="https://fonts.googleapis.com/css?family=Ruda" rel="stylesheet">
<!-- END FONTS -->
<link rel="stylesheet" href="css/style.css">
<title>Hytale Server Template!</title>
</head>
<body>
<!-- OVERLAY DOTTED START -->
<div class="overlay">
<section class="content">
<p class="logo-content">
<img src="img/logo.png" alt="">
</p>
<div>
<p class="Header-Text">Our Server is Launching Very Soon</p>
</div>
<p class="button2p"><a class="button2" href="#">Copy IP: PLAY.SERVERNAME.COM
</a> <button>COPY</button> </p>
</section>
<div class="button-wrap">
<div class="buttonbox">
<a href=""><img src="img/Store.png" alt=""></a>
<p class="button-text">Store</p>
</div>
<div class="buttonbox">
<a href=""><img src="img/forum.png" alt=""></a>
<p class="button-text">Forums</p>
</div>
<div class="buttonbox">
<a href=""><img src="img/vote.png" alt=""></a>
<p class="button-text">Vote</p>
</div>
</div>
<!-- COPYRIGHT START -->
<div class="cp">
<p>© Copyright @ yourdomain.com 2019.</p>
<p> </p>
</div>
</div>
<!-- I CAN IMPORT SCRIPTS INTO MAIN FILE IF YOU WANT JUST AS ME WHERE YOU DOWNLOADED THIS RESOURCE HOWEVER THIS SCRIPT BEING HERE SHOULD NOT... -->
<!-- IMPACT THE SITE AT ALL -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("button").click(function (event) {
event.preventDefault();
// EDIT SERVER COPY HERE
CopyToClipboard("PLAY.SERVERNAME.COM");
});
});
function CopyToClipboard(value, showNotification, notificationText) {
var $temp = $("<input>");
$("body").append($temp);
$temp.val(value).select();
document.execCommand("copy");
$temp.remove();
var notificationTag = $("div.copy-notification");
if (showNotification && notificationTag.length == 0) {
notificationTag = $("<div/>", {
"class": "copy-notification",
text: notificationText
});
$("body").append(notificationTag);
notificationTag.fadeIn("slow", function () {
setTimeout(function () {
notificationTag.fadeOut("slow", function () {
notificationTag.remove();
});
}, 1000);
});
}
}
</script>
</body>
</html>