forked from projects/thebadspace
ro
43e0004ac5
The process for updating blocklists per source wasn't effecient, so it has been rewritten to process each source individually before moving on, relieving some processing load on the server and ensuring every source comes back with data, even in the event it doesn't grab it the first time. also removed the recent list from the index page as the recently updated list doesn't reflect what's been the last to get updated and changed the theme color to match the current palette.
103 lines
2.7 KiB
PHP
103 lines
2.7 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="theme-color" content="#c3639e" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>
|
|
@yield('title')
|
|
</title>
|
|
@if(isset($front) && $front == false)
|
|
<link rel="stylesheet" type="text/css" href="/assets/css/back/start.css?=sdfsdf">
|
|
@elseif(!isset($front) || $front == true)
|
|
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf">
|
|
@endif
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<script>
|
|
0
|
|
</script>
|
|
<header>
|
|
<div>
|
|
<div class="header-left">
|
|
<a href="/">
|
|
<img src="/assets/images/global/logo-dark.svg" title="bad-space-logo" />
|
|
</a>
|
|
</div>
|
|
<div class="header-center">
|
|
<h1>{{$title}}</h1>
|
|
</div>
|
|
<div class="header-right">
|
|
<label for="element-toggle">
|
|
<img class="menu-icon" src="/assets/images/global/menu.svg" title="menu-open-toggle" />
|
|
</label>
|
|
<input id="element-toggle" type="checkbox" />
|
|
<div id="main-nav">
|
|
<nav>
|
|
<label for="element-toggle">
|
|
<img class="menu-icon" src="/assets/images/global/close.svg" title="menu-open-toggle" />
|
|
</label><br>
|
|
<a href="/" title="front" class="nav-links">
|
|
Front
|
|
</a><br />
|
|
<a href="/about" title="about" class="nav-links">
|
|
About
|
|
</a><br />
|
|
<a href="/listings/1" title="instance listing" class="nav-links">
|
|
Listings
|
|
</a><br />
|
|
<a href="/exports" title="list exports" class="nav-links">
|
|
Exports
|
|
</a><br />
|
|
<a href="/appeals" title="location appeals" class="nav-links">
|
|
Appeals
|
|
</a><br />
|
|
@if(Auth::check())
|
|
<a href="/den" title="den-start" class="nav-links">
|
|
Den
|
|
</a><br />
|
|
<a href="/logout" title="logout" class="nav-links">
|
|
Logout
|
|
</a><br />
|
|
@else
|
|
<a href="/den" title="login" class="nav-links">
|
|
The Den
|
|
</a><br />
|
|
@endif
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
@if($errors->any())
|
|
<div class="system-notice-error" role="status">
|
|
{{$errors->first()}}
|
|
</div>
|
|
@endif
|
|
@if(session('message'))
|
|
<div class="system-notice-message" role="status">
|
|
{!! session('message') !!}
|
|
</div>
|
|
@endif
|
|
|
|
<main>
|
|
@section('main-content')
|
|
@show
|
|
</main>
|
|
<footer>
|
|
<div>
|
|
The Bad Space © 2024<br />
|
|
an <a href="https://h-i.works">h.i.</a> project
|
|
</div>
|
|
<div>
|
|
a0.6
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</body>
|
|
|
|
</html> |