aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/pages')
-rw-r--r--resources/views/pages/admin/guestbook-del-confirm.blade.php2
-rw-r--r--resources/views/pages/admin/guestbook.blade.php8
-rw-r--r--resources/views/pages/bookmarks.blade.php48
-rw-r--r--resources/views/pages/calculators.blade.php2
-rw-r--r--resources/views/pages/computers.blade.php2
-rw-r--r--resources/views/pages/guestbook.blade.php112
-rw-r--r--resources/views/pages/home.blade.php91
-rw-r--r--resources/views/pages/projects.blade.php6
8 files changed, 174 insertions, 97 deletions
diff --git a/resources/views/pages/admin/guestbook-del-confirm.blade.php b/resources/views/pages/admin/guestbook-del-confirm.blade.php
index 99d2a4c..ebdafd2 100644
--- a/resources/views/pages/admin/guestbook-del-confirm.blade.php
+++ b/resources/views/pages/admin/guestbook-del-confirm.blade.php
@@ -2,7 +2,7 @@
@section('title', 'Delete confirm')
@section('content')
<h1>Delete Confirmation</h1>
- <hr/>
+ <hr>
<p>Are you sure you want to delete this entry?</p>
<h3>Entry Details:</h3>
diff --git a/resources/views/pages/admin/guestbook.blade.php b/resources/views/pages/admin/guestbook.blade.php
index 1480ea9..a3b073f 100644
--- a/resources/views/pages/admin/guestbook.blade.php
+++ b/resources/views/pages/admin/guestbook.blade.php
@@ -1,5 +1,5 @@
@extends('layouts.default-admin')
-@section('title', 'guestbook')
+@section('title', 'Guestbook')
@section('content')
@php
$entries = DB::select('
@@ -13,8 +13,8 @@
<table class="gb_admin">
<tr>
<td>
- Name:&nbsp;{{ $entry->name }}<br/>
- IP:&nbsp;&nbsp;&nbsp;{{ $entry->ip_address }}<br/>
+ Name:&nbsp;{{ $entry->name }}<br>
+ IP:&nbsp;&nbsp;&nbsp;{{ $entry->ip_address }}<br>
Date:&nbsp;{{ gmdate("H:i:s - Y-m-d", $entry->timestamp) }}
</td>
<td class="gb_del">
@@ -23,7 +23,7 @@
</tr>
<tr>
<td colspan="2" class="gb_message">
- <br/>
+ <br>
{{ htmlspecialchars($entry->message) }}
</td>
</tr></table>
diff --git a/resources/views/pages/bookmarks.blade.php b/resources/views/pages/bookmarks.blade.php
index ee91334..cbc67ee 100644
--- a/resources/views/pages/bookmarks.blade.php
+++ b/resources/views/pages/bookmarks.blade.php
@@ -1,28 +1,46 @@
@extends('layouts.default')
-@section('title', 'bookmarks')
+@section('title', 'Bookmarks')
@section('description', 'This is the personal homepage of floppydisk.')
@section('content')
-@php
- $categories = DB::select('
+ @php
+ $categories = DB::select('
SELECT id, name
FROM bookmark__categories
ORDER BY priority ASC
');
-@endphp
+ @endphp
-@foreach ($categories as $category)
- <h1>{{ $category->name }}</h1>
- @php
- $sites = DB::select('
+ @foreach ($categories as $category)
+ <table class="infotable">
+
+ <tr>
+ <td colspan="2">
+ <h1>{{ $category->name }}</h1>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr>
+ </td>
+ </tr>
+
+ @php
+ $sites = DB::select(
+ '
SELECT name, url, description
FROM bookmark__sites
WHERE category_id = ? ORDER BY priority ASC
- ', array($category->id));
- @endphp
- <ul>
- @foreach ($sites as $site)
- <li><a href="{{ $site->url }}">{{ $site->name }}</a> - {{ $site->description }}</li>
+ ',
+ [$category->id],
+ );
+ @endphp
+ @foreach ($sites as $site)
+ <tr>
+ <td><a href="{{ $site->url }}">{{ $site->name }}</a>
+ - {{ $site->description }}</td>
+ </tr>
+ @endforeach
+ </table>
+ <br>
@endforeach
- </ul>
-@endforeach
@stop
diff --git a/resources/views/pages/calculators.blade.php b/resources/views/pages/calculators.blade.php
index b90d8ef..5d629ed 100644
--- a/resources/views/pages/calculators.blade.php
+++ b/resources/views/pages/calculators.blade.php
@@ -1,5 +1,5 @@
@extends('layouts.default')
-@section('title', 'calculators')
+@section('title', 'Calculators')
@section('description', 'C a l c u l a t o r s.')
@section('content')
<h1>CASIO fx-CG50</h1>
diff --git a/resources/views/pages/computers.blade.php b/resources/views/pages/computers.blade.php
index 4d32de9..667dd03 100644
--- a/resources/views/pages/computers.blade.php
+++ b/resources/views/pages/computers.blade.php
@@ -1,5 +1,5 @@
@extends('layouts.default')
-@section('title', 'computers')
+@section('title', 'Computers')
@section('description', 'Computers I own or have owned.')
@section('content')
<table class="computers" border="0">
diff --git a/resources/views/pages/guestbook.blade.php b/resources/views/pages/guestbook.blade.php
index 4a6fdca..a0112c1 100644
--- a/resources/views/pages/guestbook.blade.php
+++ b/resources/views/pages/guestbook.blade.php
@@ -1,47 +1,58 @@
@extends('layouts.default')
-@section('title', 'guestbook')
+@section('title', 'Guestbook')
@section('content')
- <br/>
- <form method="POST" action="/guestbook">
- @csrf
- <x-honeypot />
- <table class="gb_entryform">
- <tr>
- <td>
- <label for="name">Name:</label>
- </td>
- <td>
- <input name="name" type="text" id="name" placeholder="John Doe">
- </td>
- <td>
- <span class="text-danger">{{ $errors->first('name') }}</span>
- </td>
- </tr>
- <tr>
- <td>
- <label for="message">Message:</label>
- </td>
- <td>
- <textarea name="message" id="message" rows="3"></textarea>
- </td>
- <td>
- <span class="text-danger">{{ $errors->first('message') }}</span>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <button type="submit">Submit</button>
- </td>
- </tr>
- </table>
- </form>
- <p>A few things to note:</p>
- <ul>
- <li>You can submit an entry <u>once every hour</u>.</li>
- <li>Your IP address <u>will</u> be logged but <u>will not</u> be publically displayed.</li>
- <li>Any entries that appear to be spam <u>will</u> be removed.</li>
- </ul>
- <hr/>
+ <br>
+ <table class="gb_entryform_container">
+ <tr>
+ <td>
+ <form method="POST" action="/guestbook">
+ @csrf
+ <x-honeypot />
+ <table class="gb_entryform">
+ <tr>
+ <td>
+ <label for="name"><strong>Name:</strong></label>
+ </td>
+ <td>
+ <input name="name" type="text" id="name" placeholder="John Doe">
+ </td>
+ <td>
+ <span class="text-danger">{{ $errors->first('name') }}</span>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <label for="message"><strong>Message:</strong></label>
+ </td>
+ <td>
+ <textarea name="message" id="message" rows="3"></textarea>
+ </td>
+ <td>
+ <span class="text-danger">{{ $errors->first('message') }}</span>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>
+ <button type="submit">Submit</button>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </td>
+ <td>
+ <p>A few things to note:</p>
+ <ul>
+ <li>You can submit an entry <u>once every hour</u>.</li>
+ <li>Your IP address is logged but <u>not</u> publically displayed.</li>
+ <li>Any entries that appear to be spam <u>will</u> be removed.</li>
+ </ul>
+ </td>
+ </tr>
+ </table>
+
+
+ <hr>
@php
$entries = DB::select('
SELECT name, timestamp, message
@@ -51,11 +62,16 @@
@endphp
<h1>Entries <small>({{ count($entries) }} total)</small></h1>
@foreach ($entries as $entry)
- <table class="gb_entry"><tr><td>
- Name:&nbsp;{{ $entry->name }}<br/>
- Date:&nbsp;{{ gmdate("H:i:s - Y-m-d", $entry->timestamp) }}<br/><br/>
- {{ $entry->message }}
- </td></tr></table>
+ <table class="gb_entry">
+ <tr>
+ <td>
+ Submitted by <strong>{{ $entry->name }}</strong>
+ on <strong>{{ gmdate('H:i:s - Y-m-d', $entry->timestamp) }}</strong>
+ <hr>
+ {{ $entry->message }}
+ </td>
+ </tr>
+ </table>
+ <br>
@endforeach
@stop
-
diff --git a/resources/views/pages/home.blade.php b/resources/views/pages/home.blade.php
index 6ad3013..9471a9e 100644
--- a/resources/views/pages/home.blade.php
+++ b/resources/views/pages/home.blade.php
@@ -1,18 +1,37 @@
@extends('layouts.default')
-@section('title', 'home')
+@section('title', 'Home')
@section('description', 'This is the personal homepage of floppydisk.')
@section('content')
- <h1>About me</h1>
- <p>Hi!<br/>
- This is the personal homepage of floppydisk.
- </p>
- <h2>Interests</h2>
- <p>
- &#9670; <b>Tech Theatre</b> - Lighting, Stage Management, etc.<br/>
- &#9670; <b>Programming</b>&nbsp; - HTML, JavaScript, C#, Java, PHP, Ruby<br/>
- &#9670; <b>Photography</b>&nbsp; - <a href="https://www.flickr.com/photos/floppydisk/">Flickr</a>
- </p>
+ <p>Hi! This my personal homepage on the <strong>W</strong>orld <strong>W</strong>ide <strong>W</strong>eb.
+ </p>
+ <table class="infotable">
+ <tr>
+ <td colspan="2">
+ <h1>Interests</h1>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td>&#9670; <b>Tech Theatre</b></td>
+ <td>- Lighting, Stage Management, etc.</td>
+ </tr>
+ <tr>
+ <td>&#9670; <b>Programming</b></td>
+ <td>- HTML, JavaScript, C#, Java, PHP, Ruby</td>
+ </tr>
+ <tr>
+ <td>&#9670; <b>Photography</b></td>
+ <td>- <a href="https://www.flickr.com/photos/floppydisk/">Flickr</a></td>
+ </tr>
+ </table>
+ <br>
+
+ {{--
<!-- Last.fm -->
@include('components.lastfm')
@@ -21,18 +40,42 @@
<!-- Site Updates -->
@include('components.git')
+ --}}
- <h1>Contact</h1>
- <p><strong>Mail</strong>:&nbsp;<a href="mailto:contact@diskfloppy.me">contact@diskfloppy.me</a><br/>
- <strong>IRC</strong>:&nbsp;&nbsp;<a href="https://r-type.ca/page.php?id=1034">floppydisk @ r-type</a><br/>
- </p>
-
- <h1>Elsewhere</h1>
- <p><strong>Mastodon:</strong>&nbsp;<a rel="me" href="https://c.im/@floppydisk">@floppydisk@c.im</a><br/>
- <strong>Matrix:</strong>&nbsp;&nbsp;&nbsp;<a href="https://matrix.to/#/@floppydisk:arcticfoxes.net">@floppydisk:arcticfoxes.net</a><br/>
- <strong>Twitter:</strong>&nbsp;&nbsp;<a href="https://twitter.com/floppydisk__">@floppydisk__</a><br/>
- <strong>GitHub:</strong>&nbsp;&nbsp;&nbsp;<a href="https://github.com/floppydisk05">floppydisk05</a><br/>
- <strong>SDF:</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://floppydisk.sdf.org/">~floppydisk</a><br/>
- <a href="https://stackoverflow.com/users/15933092/floppydisk"><img src="https://stackoverflow.com/users/flair/15933092.png?theme=dark" width="208" height="58" alt="profile for floppydisk at Stack Overflow, Q&amp;A for professional and enthusiast programmers" title="profile for floppydisk at Stack Overflow, Q&amp;A for professional and enthusiast programmers"></a>
- </p>
+ <table class="infotable">
+ <tr>
+ <td colspan="2">
+ <h1>Contact &amp; social</h1>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td><strong>E-mail</strong></td>
+ <td><a href="mailto:contact@diskfloppy.me">contact (at) diskfloppy (dot) me</a></td>
+ </tr>
+ <tr>
+ <td><strong>Mastodon:</strong></td>
+ <td><a rel="me" href="https://c.im/@floppydisk">@floppydisk@c.im</a></td>
+ </tr>
+ <tr>
+ <td><strong>Matrix:</strong></td>
+ <td><a href="https://matrix.to/#/@floppydisk:arcticfoxes.net">@floppydisk:arcticfoxes.net</a></td>
+ </tr>
+ <tr>
+ <td><strong>GitHub:</strong></td>
+ <td><a href="https://github.com/floppydisk05">floppydisk05</a></td>
+ </tr>
+ <!--<tr>
+ <td colspan="2">
+ <a href="https://stackoverflow.com/users/15933092/floppydisk"><img
+ src="https://stackoverflow.com/users/flair/15933092.png?theme=dark" width="208" height="58"
+ alt="profile for floppydisk at Stack Overflow, Q&amp;A for professional and enthusiast programmers"
+ title="profile for floppydisk at Stack Overflow, Q&amp;A for professional and enthusiast programmers"></a>
+ </td>
+ </tr>-->
+ </table>
@stop
diff --git a/resources/views/pages/projects.blade.php b/resources/views/pages/projects.blade.php
index 08185bf..26a9a0d 100644
--- a/resources/views/pages/projects.blade.php
+++ b/resources/views/pages/projects.blade.php
@@ -1,16 +1,16 @@
<?php $categories = app('config')->get('projects'); ?>
@extends('layouts.default')
-@section('title', 'projects')
+@section('title', 'Projects')
@section('description', 'My projects')
@section('content')
@foreach ($categories as $category)
<h1>{{ $category['name']}}</h1>
@foreach ($category['projects'] as $project)
<div>
- <a href="{{ $project['url'] }}">{{ $project['name'] }}</a> - {{ $project['description'] }}<br/>
+ <a href="{{ $project['url'] }}">{{ $project['name'] }}</a> - {{ $project['description'] }}<br>
<b>Languages:</b> {{ implode(", ", $project['languages']) }}
</div>
- <br/>
+ <br>
@endforeach
@endforeach
@stop