Design Refresh
This commit is contained in:
parent
1dee7ae516
commit
e7202174f7
44 changed files with 593 additions and 228 deletions
40
resources/views/admin/create-bookmark.blade.php
Normal file
40
resources/views/admin/create-bookmark.blade.php
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<style>
|
||||
body {
|
||||
background-image: url('/images/login.jpg');
|
||||
background-size: cover;
|
||||
}
|
||||
input, button { border: black 1px solid }
|
||||
</style>
|
||||
<p><font color="#FF0000">TEMPORARY FORM REPLACE THIS BEFORE PUSHING TO PROD</font></p>
|
||||
<form method="POST" action="{{ route('bookmarks.create-bookmark') }}">
|
||||
@csrf
|
||||
<table>
|
||||
<tr>
|
||||
<td><label for="name"><strong>Name:</strong></label></td>
|
||||
<td><input name="name" type="text" id="name"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="url"><strong>URL:</strong></label>/td></td>
|
||||
<td><input name="url" type="text" id="url"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="description"><strong>Description:</strong></label></td>
|
||||
<td><input name="description" type="text" id="description"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="category"><strong>Category:</strong></label></td>
|
||||
<td>
|
||||
<select id="category" name="category">
|
||||
<option value="" disabled>-- Select Category --</option>
|
||||
@foreach ($categories as $category)
|
||||
<option value="{{$category->id}}"> {{$category->name}} </option>
|
||||
@endforeach
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<a href="{{ route('bookmarks') }}"><img src="/images/buttons/elwiwi.png"> el wiwi</a>
|
||||
25
resources/views/admin/create-category.blade.php
Normal file
25
resources/views/admin/create-category.blade.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<style>
|
||||
body {
|
||||
background-image: url('/images/login.jpg');
|
||||
background-size: cover;
|
||||
}
|
||||
input, button { border: black 1px solid }
|
||||
</style>
|
||||
<p><font color="#FF0000">TEMPORARY FORM REPLACE THIS BEFORE PUSHING TO PROD</font></p>
|
||||
<form method="POST" action="{{ route('bookmarks.create-category') }}">
|
||||
@csrf
|
||||
<table>
|
||||
<tr>
|
||||
<td><label for="name"><strong>Name:</strong></label></td>
|
||||
<td><input name="name" type="text" id="name"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="shuffled"><strong>Shuffle?</strong></label></td>
|
||||
<td><input type="checkbox" name="shuffled" class="switch-input" value="1" {{ old('shuffled') ? 'checked="checked"' : '' }}/></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<a href="{{ route('bookmarks') }}"><img src="/images/buttons/elwiwi.png"> el wiwi</a>
|
||||
34
resources/views/auth/login.blade.php
Normal file
34
resources/views/auth/login.blade.php
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<style>
|
||||
body {
|
||||
background-image: url('/images/login.jpg');
|
||||
background-size: cover;
|
||||
}
|
||||
input, button { border: black 1px solid }
|
||||
</style>
|
||||
<p><font color="#FF0000">TEMPORARY LOGIN REPLACE THIS BEFORE PUSHING TO PROD</font></p>
|
||||
<h1>what your login</h1>
|
||||
<p>twust him with youw wogin infowmation</p>
|
||||
|
||||
<form action="{{ route('login') }}" method="post" class="form login-form">
|
||||
<table>
|
||||
@csrf
|
||||
<tr>
|
||||
<td><label for="username">usewnyame</label></td>
|
||||
<td><input type="text" name="username" placeholder="who r u" id="username" value="{{ old('username') }}" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="password">passwowd</label></td>
|
||||
<td><input type="password" name="password" placeholder="im not looking i swear" id="password" required></td>
|
||||
</tr>
|
||||
</table>
|
||||
@if ($errors->any())
|
||||
<div>
|
||||
<h2>wuh oh</h2>
|
||||
@foreach ($errors->all() as $error)
|
||||
<p>{{ $error }}</p>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
<button type="submit">wemme in</button>
|
||||
<p class="register-link">don't have an account? <a href="/">explode immediately</a></p>
|
||||
</form>
|
||||
|
|
@ -1,9 +1,21 @@
|
|||
<x-layout>
|
||||
<x-slot:title>Bookmarks</x-slot:title>
|
||||
@if(auth()->check())
|
||||
<a href="{{ route('bookmarks.create-category') }}">new category pretty please</a><br>
|
||||
<a href="{{ route('bookmarks.create-bookmark') }}">new bookmark pretty please</a>
|
||||
@endif
|
||||
@foreach($categories as $category)
|
||||
<div class="bookmark-category">
|
||||
<h2>{{ $category->name }}</h2>
|
||||
@if($category->id == 1)
|
||||
@if(Auth::check())
|
||||
<hr>
|
||||
<form action="{{ route('bookmarks.destroy-category',$category->id) }}" method="POST">
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
<button type="submit">Delete</button>
|
||||
</form>
|
||||
@endif
|
||||
@if($category->shuffled)
|
||||
<p><em>(These are shuffled every load)</em></p>
|
||||
@php
|
||||
$sites = $category->sites->shuffle();
|
||||
|
|
@ -16,7 +28,17 @@
|
|||
<hr>
|
||||
<ul>
|
||||
@foreach($sites as $site)
|
||||
<li><a href="{{ $site->url }}"><font color="#000000">{{ $site->name }}</font></a> - {{ $site->description }}</li>
|
||||
<li>
|
||||
<a href="{{ $site->url }}"><font color="#000000">{{ $site->name }}</font></a> - {{ $site->description }}
|
||||
@if(Auth::check())
|
||||
<hr>
|
||||
<form action="{{ route('bookmarks.destroy-bookmark',$site->id) }}" method="POST">
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
<button type="submit">Delete</button>
|
||||
</form>
|
||||
@endif
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -24,53 +24,61 @@
|
|||
<img src="{{ asset('/images/progress.svg') }}" width="120" height="120" alt="progressive pride flag">
|
||||
</a>
|
||||
<div class="page-container">
|
||||
<div id="header">
|
||||
<header>
|
||||
<div>
|
||||
<img class="logo_paw" src="{{ asset('/images/logo-v2.png') }}" width="65" alt="A pixel art depiction of a paw, in three alternating shades of blue.">
|
||||
</div>
|
||||
<div>
|
||||
<h1>wah!</h1>
|
||||
<p>
|
||||
(dot moe)
|
||||
</p>
|
||||
<x-navigation></x-navigation>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<div id="content">
|
||||
<main>
|
||||
{{ $slot }}
|
||||
<div class="clear"></div>
|
||||
</main>
|
||||
</div>
|
||||
<div>
|
||||
<header>
|
||||
<div>
|
||||
<img class="logo_paw" src="{{ asset('/images/logo-v2.png') }}" width="84" alt="A pixel art depiction of a paw, in three alternating shades of blue.">
|
||||
</div>
|
||||
<div>
|
||||
<h1>wah!</h1>
|
||||
<p>
|
||||
(dot moe)
|
||||
</p>
|
||||
<x-navigation></x-navigation>
|
||||
</div>
|
||||
</header>
|
||||
<hr>
|
||||
<main>
|
||||
{{ $slot }}
|
||||
<div class="clear"></div>
|
||||
</main>
|
||||
<hr>
|
||||
<footer>
|
||||
<div id="footer">
|
||||
<div>
|
||||
<span>
|
||||
© RoscoeDaWah 2021-{{ date('Y') }}<br>
|
||||
v{{ config('app.version') }}, <a href="https://git.frzn.dev/RoscoeDaWah/wah.moe/releases/latest">Source</a><br>
|
||||
<img src="{{ URL::asset('images/buttons/wah.png') }}" alt="wah! (dot moe)">
|
||||
<a href="https://aliceisvery.gay/"><img src="{{ URL::asset('images/buttons/cnfunknown.gif') }}" alt="ConfusionUnknown"></a>
|
||||
<a href="https://julimiro.eu/"><img src="{{ URL::asset('images/buttons/juli.gif') }}" alt="Julimiro.eu"></a>
|
||||
<a href="https://lunaisafox.xyz/"><img src="{{ URL::asset('images/buttons/x86.gif') }}" alt="x86Overflow"></a>
|
||||
<a href="https://lim95.com/gggg"><img src="{{ URL::asset('images/buttons/gggg.png') }}" alt="green guy goes grappling"></a>
|
||||
<a href="https://dimden.dev/"><img src="https://dimden.dev/services/images/88x31.gif" alt="Dimden's website"></a>
|
||||
<a href="https://un1x.hs.vc/"><img src="{{ URL::asset('images/buttons/violet.png') }}" alt="Violet"></a>
|
||||
<a href="https://sillydomain.name/"><img src="{{ URL::asset('images/buttons/benjae.png') }}" alt="ben"></a>
|
||||
<a href="https://doskel.net/DSKLwiki"><img src="{{ URL::asset('images/buttons/doskel2.png') }}" alt="doskel"></a>
|
||||
<a href="https://synth.download"><img src="https://synth.download/assets/buttons/sneexy.svg" alt="Sneexy"></a><br>
|
||||
<img src="{{ URL::asset('images/buttons/servfail.png') }}" alt="Servfail DNS">
|
||||
<a href="https://linux.org/"><img src="{{ URL::asset('images/buttons/linuxnow.gif') }}" alt="Linux NOW!"></a>
|
||||
<img src="{{ URL::asset('images/buttons/paws-aliased.png') }}" alt="Made with my own two paws">
|
||||
<img src="{{ URL::asset('images/buttons/transrights.gif') }}" alt="Trans Rights NOW!">
|
||||
<a href="https://www.vim.org/"><img src="{{ URL::asset('images/buttons/vim.gif') }}" alt="Vim"></a>
|
||||
<img src="{{ URL::asset('images/buttons/aliasing.png') }}" alt="I Heart Aliasing">
|
||||
<img src="{{ URL::asset('images/buttons/csshard.gif') }}" alt="CSS is hard">
|
||||
<img src="{{ URL::asset('images/buttons/krisbtn.gif') }}" alt="Kris where tf are we">
|
||||
<a href="https://crosstalk.im/"><img src="{{ URL::asset('images/buttons/yahoo.gif') }}" alt="Send instant messages on Yahoo!"></a>
|
||||
<img src="{{ URL::asset('images/buttons/notcompliant.gif') }}" alt="HTML 4.0 Non-compliant">
|
||||
<div class="footer-footer">
|
||||
<div>
|
||||
<span>
|
||||
© RoscoeDaWah 2021-{{ date('Y') }}
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<a href="https://webring.julimiro.eu/api/previous/wah.moe"><</a> <a href="https://webring.julimiro.eu/">the basename ring</a> <a href="https://webring.julimiro.eu/api/next/wah.moe">></a>
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<img src="{{ URL::asset('images/buttons/wah.png') }}" alt="wah! (dot moe)">
|
||||
<a href="https://aliceisvery.gay/"><img src="{{ URL::asset('images/buttons/cnfunknown.gif') }}" alt="ConfusionUnknown"></a>
|
||||
<a href="https://julimiro.eu/"><img src="{{ URL::asset('images/buttons/juli.gif') }}" alt="Julimiro.eu"></a>
|
||||
<a href="https://x86.isafox.gay/"><img src="{{ URL::asset('images/buttons/x86.gif') }}" alt="x86Overflow"></a>
|
||||
<a href="https://thinliquid.dev/"><img src="{{ URL::asset('images/buttons/thnlqd.png') }}" alt="thinliquid"></a>
|
||||
<a href="https://dimden.dev/"><img src="https://dimden.dev/services/images/88x31.gif" alt="Dimden's website"></a><br>
|
||||
<img src="{{ URL::asset('images/buttons/servfail.png') }}" alt="Servfail DNS">
|
||||
<a href="https://linux.org/"><img src="{{ URL::asset('images/buttons/linuxnow.gif') }}" alt="Linux NOW!"></a>
|
||||
<img src="{{ URL::asset('images/buttons/paws-aliased.png') }}" alt="Made with my own two paws">
|
||||
<img src="{{ URL::asset('images/buttons/transrights.gif') }}" alt="Trans Rights NOW!">
|
||||
<a href="https://www.vim.org/"><img src="{{ URL::asset('images/buttons/vim.gif') }}" alt="Vim"></a>
|
||||
<img src="{{ URL::asset('images/buttons/aliasing.png') }}" alt="I Heart Aliasing">
|
||||
</div>
|
||||
<div>
|
||||
<a href="https://git.frzn.dev/RoscoeDaWah/wah.moe/releases/tag/v{{ config('app.version') }}">v{{ config('app.version') }}</a>, served by {{ gethostname() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -7,4 +7,7 @@
|
|||
<a href="/guestbook">guestbook</a> |
|
||||
<a href="/music">music</a> |
|
||||
<a href="/pandamonium">pandamonium</a>
|
||||
@if(Auth::check())
|
||||
| <a href="{{ route('logout') }}">logout</a>
|
||||
@endif
|
||||
</nav>
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@
|
|||
@php
|
||||
$user_agent = $parser->parse($entry->agent);
|
||||
@endphp
|
||||
<div class="gb-entry">
|
||||
<div class="gb-entry{{ $entry->flagged ? " gb-entry-flagged" : "" }}">
|
||||
Submitted by <strong>{{ $entry->name }}</strong>
|
||||
on <strong>{{ $entry->created_at->format('Y-m-d') }}</strong>
|
||||
at <strong>{{ $entry->created_at->format('h:i:s A (e)') }}</strong>
|
||||
|
|
@ -120,6 +120,21 @@
|
|||
on <strong>{{ $user_agent->os->toString() }}</strong></address>
|
||||
@endif
|
||||
@endif
|
||||
@if(Auth::check())
|
||||
<hr>
|
||||
@if($entry->flagged)
|
||||
<form action="{{ route('guestbook.flag',$entry->id) }}" method="GET">
|
||||
@csrf
|
||||
<button type="submit">Remove Flag</button>
|
||||
</form>
|
||||
|
||||
@endif
|
||||
<form action="{{ route('guestbook.destroy',$entry->id) }}" method="POST">
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
<button type="submit">Delete</button>
|
||||
</form>
|
||||
@endif
|
||||
</div>
|
||||
<br>
|
||||
@endforeach
|
||||
|
|
|
|||
|
|
@ -7,9 +7,6 @@
|
|||
<p>Hi! This is my personal homepage on the <strong>W</strong>orld <strong>W</strong>ide
|
||||
<strong>W</strong>eb.
|
||||
</p>
|
||||
@if(!isLegacy())
|
||||
<br>
|
||||
@endif
|
||||
<h3>Some quick facts about me:</h3>
|
||||
<ul>
|
||||
<li>{{ $age }} y/o, he/him, British</li>
|
||||
|
|
@ -20,12 +17,9 @@
|
|||
Minecraft, Stardew Valley, N++ and Starbound</li>
|
||||
<li><a href="http://wxqa.com/"><font color="#000000">CWOP</font></a> member</li>
|
||||
</ul>
|
||||
@if(!isLegacy())
|
||||
<br>
|
||||
@endif
|
||||
<h3>Interests:</h3>
|
||||
<ul>
|
||||
<li><strong>Tech Theatre</strong> - Lighting, Stage Management, etc.</li>
|
||||
<li><strong>Tech Theatre</strong> - Lighting, Sound, etc.</li>
|
||||
<li><strong>Programming</strong> - HTML, CSS, JavaScript, C#, Java, PHP, Ruby, Python (<a
|
||||
href="https://github.com/RoscoeDaWah"><font color="#000000">GitHub</font></a>)</li>
|
||||
<li><strong>Photography</strong> - <a href="https://www.flickr.com/photos/roscoedawah/"><font color="#000000">Flickr</font></a></li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue