Commit realizado el 12:13:52 08-04-2024
This commit is contained in:
BIN
wp-content/maintenance/assets/fonts/open-sans-300.woff
Normal file
BIN
wp-content/maintenance/assets/fonts/open-sans-300.woff
Normal file
Binary file not shown.
BIN
wp-content/maintenance/assets/fonts/open-sans-300.woff2
Normal file
BIN
wp-content/maintenance/assets/fonts/open-sans-300.woff2
Normal file
Binary file not shown.
BIN
wp-content/maintenance/assets/fonts/open-sans-regular.woff
Normal file
BIN
wp-content/maintenance/assets/fonts/open-sans-regular.woff
Normal file
Binary file not shown.
BIN
wp-content/maintenance/assets/fonts/open-sans-regular.woff2
Normal file
BIN
wp-content/maintenance/assets/fonts/open-sans-regular.woff2
Normal file
Binary file not shown.
BIN
wp-content/maintenance/assets/images/bg.jpg
Normal file
BIN
wp-content/maintenance/assets/images/bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 MiB |
1
wp-content/maintenance/assets/images/facebook.svg
Normal file
1
wp-content/maintenance/assets/images/facebook.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32"><title>Facebook</title><path fill="#fff" d="M16 0C7.1776 0 0 7.1776 0 16c0 8.8217 7.1776 16 16 16 8.8217 0 16-7.1783 16-16 0-8.8224-7.177-16-16-16zm3.979 16.5633h-2.603v9.278h-3.8573v-9.278h-1.8335V13.284h1.8335v-2.121c0-1.519.722-3.8926 3.8927-3.8926l2.8583.011v3.183H18.195c-.3376 0-.8177.169-.8177.8934v1.927h2.9388l-.337 3.2785z"/></svg>
|
After Width: | Height: | Size: 424 B |
1
wp-content/maintenance/assets/images/instagram.svg
Normal file
1
wp-content/maintenance/assets/images/instagram.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32"><title>Instagramm</title><path fill="#fff" d="M16 0c8.823 0 16 7.1776 16 16 0 8.8217-7.1783 16-16 16-8.8224 0-16-7.1783-16-16C0 7.1776 7.1776 0 16 0zm-.0006 19.203c-1.766 0-3.2038-1.437-3.2018-3.2036.0006-.6974.2268-1.3412.6058-1.867.5832-.807 1.5287-1.3355 2.598-1.3355 1.0684 0 2.0146.529 2.5965 1.336.3774.5256.6055 1.1695.6055 1.867 0 1.7663-1.439 3.203-3.2043 3.203zm6.9946-7.1215l-3.075.0103-.0102-3.085 2.6836-.0085.4016-.0013v3.0846zm2.1055 2.0514v-3.715c0-1.94-1.5777-3.517-3.5176-3.517H10.4172c-1.94 0-3.517 1.577-3.517 3.517v11.165c0 1.9404 1.577 3.5175 3.517 3.5175h11.165c1.9393 0 3.517-1.577 3.517-3.5176v-7.45zM20.9775 16c0-.66-.1335-1.291-.37-1.867h2.7177v7.4502c0 .9628-.783 1.7427-1.744 1.7427H10.4168c-.9622 0-1.744-.78-1.744-1.743v-7.45h2.7165c-.2345.576-.366 1.207-.366 1.867 0 2.7435 2.2318 4.9773 4.9767 4.9773 2.745 0 4.9774-2.2338 4.9774-4.9774z"/></svg>
|
After Width: | Height: | Size: 962 B |
BIN
wp-content/maintenance/assets/images/plesk-logo.png
Normal file
BIN
wp-content/maintenance/assets/images/plesk-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
1
wp-content/maintenance/assets/images/twitter.svg
Normal file
1
wp-content/maintenance/assets/images/twitter.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32"><title>Twitter</title><path fill="#fff" d="M16 0C7.1776 0 0 7.1776 0 16c0 8.8217 7.1776 16 16 16 8.8217 0 16-7.1783 16-16 0-8.8224-7.177-16-16-16zm7.1377 12.338c.007.1586.011.3184.011.4782 0 4.8666-3.7033 10.4762-10.4788 10.4762-2.08 0-4.016-.6078-5.645-1.6532.288.0342.581.0516.878.0516 1.726 0 3.313-.589 4.574-1.5764-1.6117-.0297-2.972-1.0943-3.4407-2.558.2242.0426.4555.0664.692.0664.3358 0 .662-.0438.9706-.1282-1.6846-.3377-2.9536-1.826-2.9536-3.611 0-.0156 0-.0317.0007-.0465.4964.276 1.064.442 1.6674.461-.9874-.6593-1.6376-1.7872-1.6376-3.0646 0-.6754.181-1.3083.498-1.8522 1.8156 2.2287 4.53 3.6943 7.59 3.849-.063-.27-.0946-.5504-.0946-.84 0-2.0332 1.6484-3.6824 3.682-3.6824 1.0593 0 2.015.4474 2.688 1.1628.8397-.165 1.626-.4704 2.3394-.894-.277.8605-.859 1.5817-1.6215 2.038.7456-.089 1.457-.286 2.115-.5794-.491.7372-1.1154 1.3862-1.8353 1.9037z"/></svg>
|
After Width: | Height: | Size: 952 B |
119
wp-content/maintenance/assets/styles.css
Normal file
119
wp-content/maintenance/assets/styles.css
Normal file
@@ -0,0 +1,119 @@
|
||||
@font-face {
|
||||
font-family:'Open Sans';font-style:normal;font-weight:300;
|
||||
src: local('Open Sans Light'), local('OpenSans-Light'),
|
||||
url('fonts/open-sans-300.woff2') format('woff2'),
|
||||
url('fonts/open-sans-300.woff') format('woff');
|
||||
}
|
||||
@font-face {
|
||||
font-family:'Open Sans';font-style:normal;font-weight:400;
|
||||
src: local('Open Sans'), local('OpenSans'),
|
||||
url('fonts/open-sans-regular.woff2') format('woff2'),
|
||||
url('fonts/open-sans-regular.woff') format('woff');
|
||||
}
|
||||
a,body,div,footer,h1,h2,h3,header,html,img,span{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}
|
||||
article,aside,footer,header,nav,section{display:block}
|
||||
html,body{height:100%;min-height:100%}
|
||||
html { font-size:62.5%; }
|
||||
body{
|
||||
font-family: "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: 300;
|
||||
color: #fff;
|
||||
background: url(images/bg.jpg) no-repeat;
|
||||
background-size: cover;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
body:after {
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background: rgba(0,0,0,.4);
|
||||
z-index: -1;
|
||||
}
|
||||
h1, h2 { margin: 16px 0; }
|
||||
h1 { font-size: 24px; }
|
||||
h2 { color: rgba(255,255,255,.85); }
|
||||
.container {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-flow: column;
|
||||
flex-flow: column;
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 1 0 auto;
|
||||
flex: 1 0 auto;
|
||||
max-width: 640px;
|
||||
padding: 0 20px;
|
||||
}
|
||||
.header { margin: auto 0 16px; }
|
||||
.timer {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
margin: 0 0 auto;
|
||||
font-size: 50px;
|
||||
line-height: 1;
|
||||
}
|
||||
.timer__type {
|
||||
margin-top: 10px;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
color: rgba(255,255,255,.5);
|
||||
}
|
||||
.social-links {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
margin: auto 0 50px;
|
||||
}
|
||||
.social-links__link { margin: 50px 24px 0 0; }
|
||||
.icon {
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
opacity: .7;
|
||||
}
|
||||
.social-links__link:hover .icon { opacity: 1; }
|
||||
.icon > img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.footer {
|
||||
width: 100%;
|
||||
background: rgba(0,0,0,.5);
|
||||
}
|
||||
.footer__content {
|
||||
margin: auto;
|
||||
padding: 0 40px;
|
||||
max-width: 1200px;
|
||||
text-align: right;
|
||||
color: rgba(255,255,255,.5);
|
||||
}
|
||||
.footer .logo {
|
||||
height: 50px;
|
||||
vertical-align: middle;
|
||||
margin: 0 0 0 10px;
|
||||
}
|
||||
@media (min-width: 500px) {
|
||||
.timer { font-size: 80px; }
|
||||
.social-links { margin-bottom: 110px; }
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.timer { font-size: 100px; }
|
||||
}
|
||||
@media (min-width: 740px) {
|
||||
.timer { font-size: 120px; }
|
||||
}
|
38
wp-content/maintenance/assets/timer.js
Normal file
38
wp-content/maintenance/assets/timer.js
Normal file
@@ -0,0 +1,38 @@
|
||||
// Copyright 1999-2017. Plesk IP Holdings GmbH. All Rights Reserved.
|
||||
var startTimer = function(days, hours, minutes, startTime, timeShift) {
|
||||
var currentDateInSeconds = Math.floor(Date.now() / 1000);
|
||||
var endTime = startTime + (days * 86400) + (hours * 3600) + (minutes * 60);
|
||||
var diff = Math.max(0, endTime - currentDateInSeconds - timeShift);
|
||||
|
||||
displayTimerValues(diff);
|
||||
|
||||
if (0 < diff) {
|
||||
setTimeout(function() {
|
||||
startTimer(days, hours, minutes, startTime, timeShift);
|
||||
}, 1000);
|
||||
}
|
||||
};
|
||||
|
||||
var displayTimerValues = function (diff) {
|
||||
var currentDays = Math.floor(diff / 86400);
|
||||
diff -= currentDays * 86400;
|
||||
|
||||
var currentHours = Math.floor(diff / 3600) % 24;
|
||||
diff -= currentHours * 3600;
|
||||
|
||||
var currentMinutes = Math.floor(diff / 60) % 60;
|
||||
diff -= currentMinutes * 60;
|
||||
|
||||
var seconds = diff % 60;
|
||||
fillTimerValue("timerResultDays", currentDays);
|
||||
fillTimerValue("timerResultHours", currentHours);
|
||||
fillTimerValue("timerResultMinutes", currentMinutes);
|
||||
fillTimerValue("timerResultSeconds", seconds);
|
||||
};
|
||||
|
||||
var fillTimerValue = function(elementName, value) {
|
||||
var element = document.getElementById(elementName);
|
||||
if (element) {
|
||||
element.innerHTML = (value < 10) ? "0" + value : value;
|
||||
}
|
||||
};
|
66
wp-content/maintenance/template.phtml
Normal file
66
wp-content/maintenance/template.phtml
Normal file
@@ -0,0 +1,66 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="icon" href="<?php echo $favicon; ?>">
|
||||
<link rel="stylesheet" href="<?php echo $assetsUrl; ?>styles.css">
|
||||
<script src="<?php echo $assetsUrl; ?>timer.js"></script>
|
||||
<title><?php echo $texts['title']; ?></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<header class="header">
|
||||
<h1><?php echo $texts['header']; ?></h1>
|
||||
<h2><?php echo $texts['subheader']; ?></h2>
|
||||
</header>
|
||||
|
||||
<!--START_TIMER_BLOCK-->
|
||||
<?php if (isset($timer)&& $timer['enabled'] === true): ?>
|
||||
<section class="timer">
|
||||
<div class="timer__item">
|
||||
<div class="timer__data" id="timerResultDays"></div>
|
||||
<div class="timer__type"><?php echo $locale['timer.days']; ?></div>
|
||||
</div>:
|
||||
<div class="timer__item">
|
||||
<div class="timer__data" id="timerResultHours"></div>
|
||||
<div class="timer__type"><?php echo $locale['timer.hours']; ?></div>
|
||||
</div>:
|
||||
<div class="timer__item">
|
||||
<div class="timer__data" id="timerResultMinutes"></div>
|
||||
<div class="timer__type"><?php echo $locale['timer.minutes']; ?></div>
|
||||
</div>:
|
||||
<div class="timer__item">
|
||||
<div class="timer__data" id="timerResultSeconds"></div>
|
||||
<div class="timer__type"><?php echo $locale['timer.seconds']; ?></div>
|
||||
</div>
|
||||
</section>
|
||||
<script type="application/javascript">
|
||||
startTimer(<?php echo $timer['days']; ?>, <?php echo $timer['hours']; ?>, <?php echo $timer['minutes']; ?>, <?php echo $startTime; ?>, <?php echo $timeShift; ?>);
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<!--END_TIMER_BLOCK-->
|
||||
|
||||
<!--START_SOCIAL_LINKS_BLOCK-->
|
||||
<section class="social-links">
|
||||
<?php foreach($socialNetworks as $network => $url): ?>
|
||||
<a class="social-links__link" href="<?php echo $url;?>" target="_blank" title="<?php echo ucfirst($network);?>">
|
||||
<span class="icon"><img src="<?php echo $assetsUrl; ?>images/<?php echo $network;?>.svg" alt="<?php echo ucfirst($network);?>"></span>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</section>
|
||||
<!--END_SOCIAL_LINKS_BLOCK-->
|
||||
|
||||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="footer__content">
|
||||
<?php echo $locale['powered']; ?>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user