LinkStack/resources/views/layouts/updater.blade.php

156 lines
3.6 KiB
PHP
Raw Normal View History

2022-05-24 15:23:10 +02:00
2022-05-24 15:30:10 +02:00
<!DOCTYPE html>
@include('layouts.lang')
2022-05-24 15:30:10 +02:00
<head>
<meta charset="utf-8">
2022-06-08 15:58:04 +02:00
@include('layouts.analytics')
2022-05-24 15:30:10 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2022-05-31 12:32:36 +02:00
@stack('updater-head')
2023-06-15 15:58:27 +02:00
<title>{{__('messages.Update LinkStack')}}</title>
2022-11-26 13:15:18 +01:00
@include('layouts.fonts')
<link rel="stylesheet" href="{{ asset('assets/linkstack/css/normalize.css') }}">
<link rel="stylesheet" href="{{ asset('assets/linkstack/css/brands.css') }}">
<link rel="stylesheet" href="{{ asset('assets/linkstack/css/hover-min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/linkstack/css/animate.css') }}">
<script src="{{ asset('assets/external-dependencies/fontawesome.js') }}" crossorigin="anonymous"></script>
@if(file_exists(base_path("assets/linkstack/images/").findFile('favicon')))
<link rel="icon" type="image/png" href="{{ asset('assets/linkstack/images/'.findFile('favicon')) }}">
2022-05-24 15:30:10 +02:00
@else
<link rel="icon" type="image/svg+xml" href="{{ asset('assets/linkstack/images/logo.svg') }}">
2022-05-24 15:30:10 +02:00
@endif
{{-- custom font for logo text --}}
<style>@font-face{font-family:'ll';src:url({{ asset('assets/linkstack/fonts/littlelink-custom.otf') }}) format("opentype")}</style>
2022-05-24 15:30:10 +02:00
<?php // override dark/light mode if override cookie is set
$color_scheme_override = isset($_COOKIE["color_scheme_override"]) ? $_COOKIE["color_scheme_override"] : false; ?>
@if ($color_scheme_override == 'dark')
<link rel="stylesheet" href="{{ asset('assets/linkstack/css/skeleton-dark.css') }}">
2022-05-24 15:30:10 +02:00
@elseif ($color_scheme_override == 'light')
<link rel="stylesheet" href="{{ asset('assets/linkstack/css/skeleton-light.css') }}">
2022-06-09 22:26:35 +02:00
@elseif (config('advanced-config.theme') == 'dark')
<link rel="stylesheet" href="{{ asset('assets/linkstack/css/skeleton-dark.css') }}">
2022-06-09 22:26:35 +02:00
@elseif (config('advanced-config.theme') == 'light')
<link rel="stylesheet" href="{{ asset('assets/linkstack/css/skeleton-light.css') }}">
2022-05-24 15:30:10 +02:00
@else
<link rel="stylesheet" href="{{ asset('assets/linkstack/css/skeleton-auto.css') }}">
2022-05-24 15:30:10 +02:00
@endif
<style>
2022-05-26 11:10:33 +02:00
html,
body {
height: 100%;
width: 100%;
}
.container {
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
width: 100%;
}
@media (min-width:700px) {
.row {
display: flex;
flex-direction: row;
}
2022-05-24 15:30:10 +02:00
}
.logo-centered {
2022-05-26 11:10:33 +02:00
/* top: 44vh; */
2022-05-24 15:30:10 +02:00
font-size: 130px;
}
.logo-img{
2022-05-26 11:10:33 +02:00
/* position: relative; */
2022-05-24 15:30:10 +02:00
width: 250px;
height: auto;
}
.loading {
animation: loading 3s linear infinite;
}
@keyframes loading {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
.generic {
margin: auto;
width: 2.5em;
height: 2.5em;
border: 0.4em solid transparent;
border-color: #eee;
border-top-color: #333;
border-radius: 50%;
animation: loadingspin 1s linear infinite;
}
@keyframes loadingspin {
100% {
transform: rotate(360deg)
}
}
.loadingtxt:after {
content: '.';
animation: dots 1.5s steps(5, end) infinite;}
@keyframes dots {
0%, 20% {
color: rgba(0,0,0,0);
text-shadow:
.25em 0 0 rgba(0,0,0,0),
.5em 0 0 rgba(0,0,0,0);}
40% {
color: white;
text-shadow:
.25em 0 0 rgba(0,0,0,0),
.5em 0 0 rgba(0,0,0,0);}
60% {
text-shadow:
.25em 0 0 white,
.5em 0 0 rgba(0,0,0,0);}
80%, 100% {
text-shadow:
.25em 0 0 white,
.5em 0 0 white;}}
button {
border-style: none;
background-color: #0085ff;
}
button:hover {
background-color: #0065c1;
2022-05-25 17:04:47 +02:00
color: #FFF;
2022-05-24 15:30:10 +02:00
box-shadow: 0 10px 20px -10px rgba(0,0,0, 0.6);
}
.btn {
color: #FFF !important;
}
</style>
</head>
<body>
@stack('updater-body')
</body>
</html>