forked from xyTom/Url-Shorten-Worker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
204 lines (195 loc) · 6.34 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<!-- saved from url=(0025)https://short.septrux.de/ -->
<html foxified-108=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="./index_files/bootstrap.min.css" integrity="sha256-L/W5Wfqfa0sdBNIKN9cG6QA5F2qx4qICmU2VgLruv9Y=" crossorigin="anonymous">
<script>
if(window.screen.width<=420)
document.getElementsByTagName('meta')['viewport'].content="initial-scale=0.4, maximum-scale=1.0, minimum-scale=0.4, user-scalable=no"
else if(window.screen.width<=769)
document.getElementsByTagName('meta')['viewport'].content="initial-scale=0.6, maximum-scale=1.0, minimum-scale=0.6, user-scalable=no"
</script><style type="text/css" id="operaUserStyle"></style>
<title>Shorter Url</title>
<style>
* {
margin: 0;
padding: 0;
cursor: default;
}
html, body {
height: 100%;
}
body {
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
vertical-align: center;
flex-wrap: wrap;
align-content: center;
color: #2a2b2c;
background: linear-gradient(180deg, #658FFF 0%, #3670FF 100%);
overflow: hidden;
}
.card {
width: 830px;
height: 420px;
background: #231D34;
box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.22);
border-radius: 44px;
border-width: 0;
overflow:hidden;
}
.card-body{
padding:0;
z-index: 1;
}
.card .bigtitle{
width: 409px;
height: 36px;
font-size: 36px;
font-family: DOUYU-Font, DOUYU;
font-weight: normal;
color: #FFFFFF;
line-height: 40px;
margin: 62px 0 0 100px;
}
.dot1{
position:absolute;
display:block;
left:65px;
top: 87px;
width: 132px;
height: 21px;
background: #765CF2;
border-radius: 11px;
z-index: 1;
}
.dot2{
position:absolute;
display:block;
top: 345px;
left: 500px;
width: 378px;
height: 378px;
background: linear-gradient(180deg, #F6327F 0%, #F9796D 100%);
z-index: 1;
border-radius: 200px;
}
.dot3{
position:absolute;
display:block;
top: 317px;
left: 590px;
width: 378px;
height: 378px;
background: linear-gradient(180deg, #FFEA00 0%, #FFD100 100%);
border-radius: 11px;
z-index: 1;
border-radius: 200px;
}
.card-title{
display: block;
font-size: 28px;
font-family: MyriadPro-Regular, MyriadPro;
font-weight: 400;
color: #FFFFFF;
line-height: 34px;
margin: 53px 0 0 71px;
}
.formm{
width: 100%;
height: 70px;
display: block;
position: absolute;
margin-top: 13px;
}
.form-control {
position: absolute;
cursor: auto;
width: 700px;
height: 60px;
background: #FFFFFF;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
border-radius: 30px;
margin-left:65px;
border-width: 0;
margin-top:5px;
}
.btn-cus{position: absolute;
width: 177px;
height: 70px;
background: #644DEF;
box-shadow: 0px 2px 10px 0px #0E0061;
border-width: 0;
border-radius: 40px;
color: #FFFFFF;
font-size: 28px;
font-family: MyriadPro-Semibold, MyriadPro;
font-weight: 600;
line-height: 34px;
right: 65px;
}
@media (max-width: 769px) {
.card {
width: 80%;
}
}
@media (max-width: 420px) {
.card {
width: 95%;
}
}
/* @media (prefers-color-scheme: dark) {
body {
color: #d9d9d9;
background: #1b1b1b;
}
.card {
background-color: #252d38;
}
} */
</style>
<style type="text/css"></style><script type="text/javascript" src="./index_files/c7fa7451-6f95-4815-ac32-b8cc2537837a" data-awssuidacr="ebUgeESqUjdNqGCP8iJNcpqnmCULGSDu"></script></head>
<body>
<div class="card">
<span class="dot1"></span>
<span class="dot3"></span>
<span class="dot2"></span>
<div class="card-body">
<h5 class="bigtitle">Shorten your URLs !</h5>
<h5 class="card-title">Please enter the long URL to be shortened :</h5>
<div class="formm">
<input type="text" class="form-control" placeholder="Example: https://example.com/" id="text">
<button class="btn-cus" type="button" onclick="shorturl()" id="searchbtn">Shorten it</button>
</div>
<div class="card-text">
Powered by <a href="https://septrux.de" target="_self">Septrux Network</a>
</div>
<p id="notice"></p>
</div>
</div>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Result</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body" id="result">No Result</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick="copyurl("result")" data-toggle="popover" data-placement="bottom" data-content="Copied!" data-original-title="" title="">Copy</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="./index_files/jquery.slim.min.js.Download" integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8=" crossorigin="anonymous"></script>
<script src="./index_files/popper.min.js.Download" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="./index_files/bootstrap.min.js.Download" integrity="sha256-WqU1JavFxSAMcLP2WIOI+GB2zWmShMI82mTpLDcqFUg=" crossorigin="anonymous"></script>
<script src="./index_files/main.js.Download" crossorigin="anonymous"></script>
</body></html>