2022-09-18 19:27:23 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2023-06-05 18:54:14 +03:00
|
|
|
<title>Starlio</title>
|
2022-09-18 19:27:23 +03:00
|
|
|
<link rel="icon" href="/static/image/icons/favicon.png">
|
2022-10-23 15:31:22 +03:00
|
|
|
|
2022-09-25 11:09:54 +03:00
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
|
2022-10-23 15:31:22 +03:00
|
|
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
|
2022-09-18 19:27:23 +03:00
|
|
|
<link rel="stylesheet" href="/static/style/gallery.css" type="text/css">
|
|
|
|
</head>
|
|
|
|
<body style="background: #131313; color: white;">
|
|
|
|
<nav class="navbar navbar-expand-lg bg-dark navbar-dark">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<a class="navbar-brand" href="/">
|
2023-06-05 18:54:14 +03:00
|
|
|
<img src="/static/image/icons/favicon.png" width="45" alt="Starlio">
|
2022-09-18 19:27:23 +03:00
|
|
|
</a>
|
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link active" aria-current="page" href="/">Gallery</a>
|
|
|
|
</li>
|
2022-12-15 21:07:16 +03:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/favorite">Favorite</a>
|
|
|
|
</li>
|
2022-09-18 19:27:23 +03:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/settings">Settings</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/about">About</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2022-09-19 02:08:26 +03:00
|
|
|
<div class="modal fade" id="WallpaperModal" aria-hidden="true" aria-labelledby="WallpaperModal" tabindex="-1" style="color: black;">
|
|
|
|
<div class="modal-dialog modal-dialog-centered">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2022-09-21 10:46:02 +03:00
|
|
|
<h5 class="modal-title" id="WallpaperModale">
|
2022-09-25 11:09:54 +03:00
|
|
|
<span class="d-inline-block text-truncate w-modal-title" style="max-width: 429px;"></span>
|
2022-09-21 10:46:02 +03:00
|
|
|
</h5>
|
2022-09-19 02:08:26 +03:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body"></div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-18 19:27:23 +03:00
|
|
|
<div class="container">
|
2022-10-23 15:31:22 +03:00
|
|
|
<header class="header-row"></header>
|
2022-09-18 19:27:23 +03:00
|
|
|
</div>
|
2022-09-19 23:40:49 +03:00
|
|
|
<div class="preloader">
|
|
|
|
<lottie-player src="https://assets4.lottiefiles.com/datafiles/a3YH0ragZcwfKHS/data.json" background="transparent" speed="1" style="width: 600px; height: 600px;" loop autoplay></lottie-player>
|
|
|
|
</div>
|
2022-09-19 02:08:26 +03:00
|
|
|
<div class="toast-container position-fixed bottom-0 end-0 p-3">
|
|
|
|
<div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
|
|
|
|
<div class="toast-header">
|
2023-06-05 18:54:14 +03:00
|
|
|
<img src="/static/image/icons/favicon.png" class="rounded me-2" alt="Starlio" width="30">
|
|
|
|
<strong class="me-auto" style="color: black;">Starlio</strong>
|
2022-09-19 02:08:26 +03:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
|
|
|
|
</div>
|
|
|
|
<div class="toast-body" style="color: black;"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-18 19:27:23 +03:00
|
|
|
<script src="https://code.jquery.com/jquery-3.6.1.min.js"></script>
|
2022-09-19 02:08:26 +03:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.min.js" integrity="sha384-7VPbUDkoPSGFnVtYi0QogXtr74QeVeeIs99Qfg5YCF+TidwNdjvaKZX19NZ/e6oz" crossorigin="anonymous"></script>
|
2022-09-19 23:40:49 +03:00
|
|
|
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
|
2022-12-15 21:07:16 +03:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.10.0/lottie.min.js"></script>
|
2022-09-18 19:27:23 +03:00
|
|
|
<script src="/static/scripts/gallery.js" type="application/javascript"></script>
|
2022-12-15 21:07:16 +03:00
|
|
|
<script type="application/javascript">
|
|
|
|
startDate.setDate(startDate.getUTCDate() - 17);
|
|
|
|
$(document).ready(function() {
|
|
|
|
$.ajax({
|
|
|
|
url: "https://api.nasa.gov/planetary/apod",
|
|
|
|
type: "GET",
|
|
|
|
data: {
|
|
|
|
api_key: apiKEY,
|
|
|
|
start_date: `${startDate.getUTCFullYear()}-${startDate.getUTCMonth() + 1}-${startDate.getUTCDate()}`,
|
|
|
|
end_date: `${endDate.getUTCFullYear()}-${endDate.getUTCMonth() + 1}-${endDate.getUTCDate()}`,
|
|
|
|
},
|
|
|
|
success: function(data) {
|
|
|
|
data.reverse();
|
|
|
|
wallpaperLoad(data);
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2022-09-18 19:27:23 +03:00
|
|
|
</body>
|
|
|
|
</html>
|