2017-12-15 01:50:39 +01:00
<!doctype html>
< html >
< head >
2017-12-21 17:02:47 +01:00
< title > Download SubServers< / title >
2017-12-15 01:50:39 +01:00
< meta charset = "UTF-8" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< / head >
< body >
< style >
* {
font-family: Avenir;
}
html {
min-height: 100%;
position: relative;
}
body {
2017-12-17 22:04:05 +01:00
background: #eeeeee;
background: -webkit-linear-gradient(#eeeeee 0%, #dddddd 100%);
background: -o-linear-gradient(#eeeeee 0%, #dddddd 100%);
background: linear-gradient(#eeeeee 0%, #dddddd 100%);
2017-12-15 01:50:39 +01:00
width: 100%;
height: 100%;
margin: 0px !important;
}
.page .page-title {
display: table;
vertical-align: middle;
margin: 0.83em auto;
margin-bottom: 0px;
font-size: 1.5em;
font-weight: bold;
}
.page .page-subtitle {
display: block;
margin: 0px;
margin-right: 12px;
font-size: 0.5em;
color: #777;
font-weight: normal;
font-style: italic;
text-align: right;
text-decoration: none;
}
.page a.page-subtitle:hover {
text-decoration: underline;
}
.page .options {
display: flex;
}
.page .options > .desktop-spacer {
flex-basis: 25%;
}
.page .options > div-option {
2017-12-17 22:04:05 +01:00
padding: 26px 13px;
2017-12-15 01:50:39 +01:00
flex-basis: 100%;
border-right: 2px solid #CCC;
}
.page .options > div-option:last-of-type {
border-right: none;
}
.page .options > div-option > form > input,
.page .options > div-option > button,
.page .options > div-option > a {
2017-12-17 22:04:05 +01:00
display: inline-block;
margin-bottom: 0;
font-weight: normal;
text-align: center;
-ms-touch-action: manipulation;
touch-action: manipulation;
background-image: none;
border: none;
white-space: nowrap;
padding: 8px 16px;
font-size: 1.125em;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
2017-12-15 01:50:39 +01:00
text-decoration: none;
text-transform: uppercase;
2017-12-17 22:04:05 +01:00
-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
-webkit-transition: all 0.4s;
-o-transition: all 0.4s;
transition: all 0.4s;
2017-12-15 01:50:39 +01:00
}
.page .options > div-option > form > input {
padding-left: 0px;
padding-right: 0px;
}
.page .options > .option-1 > a {
color: #ffffff;
background-color: #4caf50;
border-color: transparent
}
.page .options > .option-1 > a:hover {
2017-12-17 22:04:05 +01:00
background-color: #439a46;
2017-12-15 01:50:39 +01:00
border-color: rgba(0,0,0,0);
}
.page .options > .option-2 > form {
display: inline-block;
2017-12-17 22:04:05 +01:00
background-color: #DDD;
2017-12-15 01:50:39 +01:00
border-bottom: 2px solid #CCC;
2017-12-17 22:04:05 +01:00
padding-left: 16px;
2017-12-15 01:50:39 +01:00
font-size: 1.125em;
2017-12-17 22:04:05 +01:00
cursor: text;
2017-12-15 01:50:39 +01:00
}
.page .options > .option-2 > form > input {
background-color: transparent;
border: none;
2017-12-17 22:04:05 +01:00
width: 82px;
padding-bottom: 6px;
2017-12-15 01:50:39 +01:00
outline: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
font-size: 1em;
2017-12-17 22:04:05 +01:00
text-align: left;
2017-12-15 01:50:39 +01:00
}
.page .options > .option-2 > form > input:focus {
outline: none;
}
.page .options > .option-2 > button {
color: #fff;
2017-12-17 22:04:05 +01:00
background-color: #2196f3;
cursor: pointer;
2017-12-15 01:50:39 +01:00
}
.page .options > .option-2 > button:hover {
2017-12-17 22:04:05 +01:00
background-color: #0d87e9;
2017-12-15 01:50:39 +01:00
}
.page .options > .option-3 > a {
color: #fff;
2017-12-17 22:04:05 +01:00
background-color: #ff9800;
2017-12-15 01:50:39 +01:00
}
.page .options > .option-3 > a:hover {
color: #fff;
2017-12-17 22:04:05 +01:00
background-color: #e08600;
2017-12-15 01:50:39 +01:00
}
2017-12-17 22:04:05 +01:00
.page .options > div-option > span,
.page .options > div-option > span > a {
2017-12-15 01:50:39 +01:00
color: #777;
font-size: 0.8em;
2017-12-17 22:04:05 +01:00
text-decoration: none;
}
.page .options > div-option > span > a {
font-size: 1em;
}
.page .options > div-option > span > a:hover {
text-decoration: underline;
}
.page .options > div-option > p {
margin-left: 13px;
margin-right: 13px;
2017-12-15 01:50:39 +01:00
}
.footer {
margin-bottom: 0px;
padding: 8px;
padding-top: 0px;
position: absolute;
bottom: 0px;
left: 0px;
right: 0px;
}
.footer > div {
height: 32px;
float: right;
}
.footer img {
height: 32px;
float: left;
}
.footer > div > a {
padding-left: 8px;
padding-right: 8px;
vertical-align: middle;
line-height: 32px;
font-size: 14px;
color: #333;
text-decoration: none;
}
.footer > div > a:hover,
.footer > div > a:active {
color: #555;
text-decoration: underline;
}
@media only screen and (max-width:875px),
2017-12-17 22:04:05 +01:00
only screen and (max-height:493px) {
2017-12-15 01:50:39 +01:00
.page .options {
display: inline-block;
}
.page .options > .desktop-spacer {
display: none;
}
.page .options > div-option {
display: block;
padding: 25px 0px;
margin: 0px 25px;
border-right: none;
border-bottom: 2px solid #CCC;
}
.page .options > div-option:last-of-type {
border-bottom: none;
}
}
2017-12-17 22:04:05 +01:00
@media only screen and (max-width:543px),
only screen and (max-height:306px) {
.app-version > span.full {
display: none;
}
}
2017-12-15 01:50:39 +01:00
@font-face {
font-family: Avenir;
src: url("https://raw.githubusercontent.com/ME1312/SubServers-2/master/SubServers.Bungee/Avenir-Book.ttf");
}
< / style >
< div class = "download" > < center >
< div class = "page" >
2017-12-17 22:04:05 +01:00
< span class = "page-title" > You're about to download < span class = "full-app-name" > < unknown> < / span > < br > < a class = "page-subtitle" href = "%commit_source%" target = "_blank" draggable = "false" > from commit < span class = "app-version" > < unknown> < / span > < / a > < / span > < hr style = "margin: 0.5em 8px;" >
2017-12-15 01:50:39 +01:00
Thank you for downloading < span class = "app-name" > < unknown> < / span > . Choose how you would like to get your file:< br > < br >
< div class = "options" >
< div class = "desktop-spacer" > < / div >
< div-option class = "option-1" >
2017-12-17 22:04:05 +01:00
< a href = "%adfly_app_download%" draggable = "false" > Watch a Quick AD< / a >
< br > < span > < a href = "https://adf.ly" draggable = "false" > through adf.ly< / a > < / span >
2017-12-15 01:50:39 +01:00
< p > It only takes 5 seconds to support the developer these days. Then we'll take you straight to your download.< / p >
< / div-option >
< div-option class = "option-2" >
2017-12-17 22:04:05 +01:00
< form id = "donate" action = "https://www.paypal.com/cgi-bin/webscr" method = "get" target = "_blank" > <!--
2017-12-15 01:50:39 +01:00
-->< input type = "hidden" name = "cmd" value = "_xclick" / > <!--
2018-07-06 05:01:38 +02:00
-->< input type = "hidden" name = "business" value = "4S5QNFZGEFJN2" / > <!--
2017-12-15 01:50:39 +01:00
-->< input type = "hidden" name = "lc" value = "US" / > <!--
2018-07-06 05:01:38 +02:00
-->< input type = "hidden" name = "item_name" value = "SubServers%202%20Donation" / > <!--
2017-12-17 22:04:05 +01:00
-->$< input type = "number" name = "amount" step = "0.01" min = "1" value = "15.00" / > <!--
2017-12-15 01:50:39 +01:00
-->< input type = "hidden" name = "currency_code" value = "USD" / > <!--
-->< input type = "hidden" name = "button_subtype" value = "services" / > <!--
-->< input type = "hidden" name = "bn" value = "PP%2dBuyNowBF%3abtn_buynowCC_LG%2egif%3aNonHosted" / > <!--
2017-12-17 22:04:05 +01:00
-->< / form > < button form = "donate" type = "submit" > Donate< / button >
2017-12-15 01:50:39 +01:00
< br > < span > and download after< / span >
< p > I'd appreciate any donation, even if it's just a dollar.< / p >
< / div-option >
< div-option class = "option-3" >
2017-12-17 22:04:05 +01:00
< a id = "download" href = "%app_download%" download = "%" draggable = "false" > Direct Download< / a >
2017-12-15 01:50:39 +01:00
< br > < span > SubServers is always free to use< / span >
< p > You don't have to do that stuff to use SubServers, but it's always appreciated.< / p >
< / div-option >
< div class = "desktop-spacer" > < / div >
< / div >
< / div >
< / center > < / div >
< br >
< br >
< br >
< br >
< div class = "footer" >
< hr >
2018-03-16 23:25:02 +01:00
< a href = "https://www.ME1312.net" target = "_blank" draggable = "false" > < img src = "https://src.ME1312.net/img/me1312.net.inverted.png" draggable = "false" / > < / a >
2017-12-17 22:04:05 +01:00
< div > < a href = "https://github.com/ME1312/SubServers-2/tree/master/Artifacts" target = "_blank" draggable = "false" > Download not working?< / a > < / div >
2017-12-15 01:50:39 +01:00
< / div >
< script src = "https://code.jquery.com/jquery-3.2.1.min.js" > < / script >
< script >
var hash = getHash();
function getHash() {
var hash = window.location.hash.substring(1);
var params = {}
hash.split('& ').map(hk => {
let temp = hk.split('=');
2017-12-17 22:04:05 +01:00
params[temp[0]] = temp[1];
2017-12-15 01:50:39 +01:00
});
return params;
}
if (hash.hasOwnProperty("app")) {
2017-12-21 17:02:47 +01:00
$('.full-app-name').html(hash.app);
2017-12-15 01:50:39 +01:00
$('.app-name').html(hash.app.replace(/^(.+?)\.([^.]*)$/, '$1'));
2017-12-21 17:02:47 +01:00
document.title = "Download " + hash.app.replace(/^(.+?)\.([^.]*)$/, '$1');
2017-12-15 01:50:39 +01:00
if (hash.hasOwnProperty("commit")) {
2017-12-17 22:04:05 +01:00
$('.app-version').html(hash.commit.substring(0, 7) + '< span class = "full" > ' + hash.commit.substring(7) + '< / span > ');
2017-12-15 01:50:39 +01:00
$('a').each(function() {
var a = $(this);
if (a.attr('download') == '%')
a.attr('download', hash.app);
switch (a.attr("href").toLowerCase()) {
case "%adfly_app_download%":
2017-12-22 00:37:39 +01:00
a.attr("href", "https://adf.ly/18562515/https://raw.githubusercontent.com/ME1312/SubServers-2/" + hash.commit.toLowerCase() + "/Artifacts/" + hash.app);
2017-12-15 01:50:39 +01:00
break;
case "%app_download%":
2017-12-22 00:37:39 +01:00
a.attr("href", "https://raw.githubusercontent.com/ME1312/SubServers-2/" + hash.commit.toLowerCase() + "/Artifacts/" + hash.app);
2017-12-15 01:50:39 +01:00
break;
case "%commit_page%":
2017-12-22 00:37:39 +01:00
a.attr("href", "https://github.com/ME1312/SubServers-2/commit/" + hash.commit.toLowerCase());
2017-12-15 01:50:39 +01:00
break;
case "%commit_source%":
2017-12-22 00:37:39 +01:00
a.attr("href", "https://github.com/ME1312/SubServers-2/tree/" + hash.commit.toLowerCase());
2017-12-15 01:50:39 +01:00
break;
}
});
}
}
< / script >
< / body >
< / html >