More fixes

This commit is contained in:
Frankie B 2023-07-29 17:25:04 +01:00
parent eabff07f08
commit d781702215
No known key found for this signature in database
5 changed files with 37 additions and 51 deletions

View file

@ -1,6 +1,6 @@
body {
font-family: sans-serif;
margin: 0px;
margin: 0;
color: #ddd;
background-color: #333;
}
@ -52,15 +52,9 @@ h1.inline {
h1,
h2,
h3 {
margin-top: 1em;
clear: left;
h1,
h2,
h3 {
margin-top: 1em;
clear: left;
color: #fff;
}
}
img {
@ -125,9 +119,10 @@ div.codeblock pre {
max-width: 90%;
min-width: 400px;
}
div.codeblock pre h1,
div.codeblock pre hr {
margin: 0px
margin: 0
}
div.codeblock pre h1 small {
@ -168,12 +163,12 @@ nav div a img {
nav div h1 {
font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue,
Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
font-weight: normal;
font-size: 30px;
margin: 10px;
margin-left: 0px;
margin-left: 0;
}
div.date {
@ -185,11 +180,8 @@ div.note {
}
table {
border-collapse: collapse;
table {
border-collapse: collapse;
border-color: #fff;
}
}
table.noborder td {
@ -295,14 +287,12 @@ table td {
}
td {
padding: 0px;
padding: 0;
vertical-align: top;
}
table.skami {
table.skami {
border-color: #eeeeee;
}
}
.header .pagetree {
@ -344,7 +334,7 @@ table.computers {
td.computer {
width: 50%;
border: 0px;
border: 0;
}
div.footer {
@ -362,78 +352,74 @@ a {
text-decoration: none;
}
table.gb_entryform tr td {
table.gb-entryform tr td {
border: none;
}
table.gb_entryform tr td label {
table.gb-entryform tr td label {
padding-right: 5px;
}
table.gb_entryform tr td span.text-danger {
table.gb-entryform tr td span.text-danger {
padding-left: 5px;
color: rgb(255, 114, 114);
}
table.gb_entryform tr td textarea,
table.gb_entryform tr td input {
table.gb-entryform tr td textarea,
table.gb-entryform tr td input {
margin-bottom: 5px;
}
table.gb_entryform_container {
table.gb-entryform-container {
width: 100%;
}
table.gb_entryform_container tr td {
table.gb-entryform-container tr td {
border: none;
vertical-align: top;
}
table.gb_entryform_container tr td p,
table.gb_entryform_container tr td ul {
margin: 0px;
table.gb-entryform-container tr td p,
table.gb-entryform-container tr td ul {
margin: 0;
}
table.gb_entryform tbody tr td textarea {
table.gb-entryform tbody tr td textarea {
width: 210px;
}
table.gb_entry tr td {
table.gb-entry tr td {
border: solid #ffffff 1px;
width: 500px;
vertical-align: top;
padding: 5px;
}
table.gb_entry {
table.gb-entry {
margin-bottom: 5px;
}
table.gb_admin {
margin-bottom: 5px;
width: 500px;
table.gb_admin {
table.gb-admin {
margin-bottom: 5px;
width: 500px;
border: #fff solid;
}
}
table.gb_admin tr td {
table.gb-admin tr td {
border-right: none;
border-bottom: none;
vertical-align: top;
padding: 5px;
}
table.gb_admin tr td.gb_del {
table.gb-admin tr td.gb-del {
border-left: none;
vertical-align: top;
padding: 5px;
width: 32px;
}
table.gb_admin tr td.gb_message {
table.gb-admin tr td.gb-message {
border-top: none;
vertical-align: top;
padding: 5px;
@ -448,7 +434,7 @@ table.infotable tr td {
table.infotable tr td h1,
table.infotable tr td h2,
table.infotable tr td small {
margin: 0px;
margin: 0;
}
table.infotable tr td small {

View file

@ -10,6 +10,6 @@ body {
background-color: #333;
}
table.gb_entry_details tr td {
table.gb-entry_details tr td {
padding-right: 5px;
}

View file

@ -6,7 +6,7 @@
<p>Are you sure you want to delete this entry?</p>
<h3>Entry Details:</h3>
<table class="gb_entry_details">
<table class="gb-entry_details">
<tr>
<td><b>ID:</b></td>
<td>{{ $entry->id }}</td>

View file

@ -10,19 +10,19 @@
@endphp
<h1>Entries <small>({{ count($entries) }} total)</small></h1>
@foreach ($entries as $entry)
<table class="gb_admin">
<table class="gb-admin">
<tr>
<td>
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">
<td class="gb-del">
<a href="/admin/guestbook/delete?id={{ $entry->id }}">del</a>
</td>
</tr>
<tr>
<td colspan="2" class="gb_message">
<td colspan="2" class="gb-message">
<br>
{{ htmlspecialchars($entry->message) }}
</td>

View file

@ -2,13 +2,13 @@
@section('title', 'Guestbook')
@section('content')
<br>
<table class="gb_entryform_container">
<table class="gb-entryform_container">
<tr>
<td>
<form method="POST" action="/guestbook">
@csrf
<x-honeypot />
<table class="gb_entryform">
<table class="gb-entryform">
<tr>
<td>
<label for="name"><strong>Name:</strong></label>
@ -62,7 +62,7 @@
@endphp
<h1>Entries <small>({{ count($entries) }} total)</small></h1>
@foreach ($entries as $entry)
<table class="gb_entry">
<table class="gb-entry">
<tr>
<td>
Submitted by <strong>{{ $entry->name }}</strong>