More fixes
This commit is contained in:
		
					parent
					
						
							
								eabff07f08
							
						
					
				
			
			
				commit
				
					
						d781702215
					
				
			
		
					 5 changed files with 37 additions and 51 deletions
				
			
		|  | @ -1,6 +1,6 @@ | ||||||
| body { | body { | ||||||
|     font-family: sans-serif; |     font-family: sans-serif; | ||||||
|     margin: 0px; |     margin: 0; | ||||||
|     color: #ddd; |     color: #ddd; | ||||||
|     background-color: #333; |     background-color: #333; | ||||||
| } | } | ||||||
|  | @ -54,13 +54,7 @@ h2, | ||||||
| h3 { | h3 { | ||||||
|     margin-top: 1em; |     margin-top: 1em; | ||||||
|     clear: left; |     clear: left; | ||||||
|     h1, |     color: #fff; | ||||||
|     h2, |  | ||||||
|     h3 { |  | ||||||
|         margin-top: 1em; |  | ||||||
|         clear: left; |  | ||||||
|         color: #fff; |  | ||||||
|     } |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| img { | img { | ||||||
|  | @ -125,9 +119,10 @@ div.codeblock pre { | ||||||
|     max-width: 90%; |     max-width: 90%; | ||||||
|     min-width: 400px; |     min-width: 400px; | ||||||
| } | } | ||||||
|  | 
 | ||||||
| div.codeblock pre h1, | div.codeblock pre h1, | ||||||
| div.codeblock pre hr { | div.codeblock pre hr { | ||||||
|     margin: 0px |     margin: 0 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| div.codeblock pre h1 small { | div.codeblock pre h1 small { | ||||||
|  | @ -168,12 +163,12 @@ nav div a img { | ||||||
| 
 | 
 | ||||||
| nav div h1 { | nav div h1 { | ||||||
|     font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, |     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; |         sans-serif; | ||||||
|     font-weight: normal; |     font-weight: normal; | ||||||
|     font-size: 30px; |     font-size: 30px; | ||||||
|     margin: 10px; |     margin: 10px; | ||||||
|     margin-left: 0px; |     margin-left: 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| div.date { | div.date { | ||||||
|  | @ -186,10 +181,7 @@ div.note { | ||||||
| 
 | 
 | ||||||
| table { | table { | ||||||
|     border-collapse: collapse; |     border-collapse: collapse; | ||||||
|     table { |     border-color: #fff; | ||||||
|         border-collapse: collapse; |  | ||||||
|         border-color: #fff; |  | ||||||
|     } |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.noborder td { | table.noborder td { | ||||||
|  | @ -295,14 +287,12 @@ table td { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| td { | td { | ||||||
|     padding: 0px; |     padding: 0; | ||||||
|     vertical-align: top; |     vertical-align: top; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.skami { | table.skami { | ||||||
|     table.skami { |     border-color: #eeeeee; | ||||||
|         border-color: #eeeeee; |  | ||||||
|     } |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .header .pagetree { | .header .pagetree { | ||||||
|  | @ -344,7 +334,7 @@ table.computers { | ||||||
| 
 | 
 | ||||||
| td.computer { | td.computer { | ||||||
|     width: 50%; |     width: 50%; | ||||||
|     border: 0px; |     border: 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| div.footer { | div.footer { | ||||||
|  | @ -362,78 +352,74 @@ a { | ||||||
|     text-decoration: none; |     text-decoration: none; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entryform tr td { | table.gb-entryform tr td { | ||||||
|     border: none; |     border: none; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entryform tr td label { | table.gb-entryform tr td label { | ||||||
|     padding-right: 5px; |     padding-right: 5px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entryform tr td span.text-danger { | table.gb-entryform tr td span.text-danger { | ||||||
|     padding-left: 5px; |     padding-left: 5px; | ||||||
|     color: rgb(255, 114, 114); |     color: rgb(255, 114, 114); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entryform tr td textarea, | table.gb-entryform tr td textarea, | ||||||
| table.gb_entryform tr td input { | table.gb-entryform tr td input { | ||||||
|     margin-bottom: 5px; |     margin-bottom: 5px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entryform_container { | table.gb-entryform-container { | ||||||
|     width: 100%; |     width: 100%; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entryform_container tr td { | table.gb-entryform-container tr td { | ||||||
|     border: none; |     border: none; | ||||||
|     vertical-align: top; |     vertical-align: top; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entryform_container tr td p, | table.gb-entryform-container tr td p, | ||||||
| table.gb_entryform_container tr td ul { | table.gb-entryform-container tr td ul { | ||||||
|     margin: 0px; |     margin: 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entryform tbody tr td textarea { | table.gb-entryform tbody tr td textarea { | ||||||
|     width: 210px; |     width: 210px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entry tr td { | table.gb-entry tr td { | ||||||
|     border: solid #ffffff 1px; |     border: solid #ffffff 1px; | ||||||
|     width: 500px; |     width: 500px; | ||||||
|     vertical-align: top; |     vertical-align: top; | ||||||
|     padding: 5px; |     padding: 5px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entry { | table.gb-entry { | ||||||
|     margin-bottom: 5px; |     margin-bottom: 5px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_admin { | table.gb-admin { | ||||||
|     margin-bottom: 5px; |     margin-bottom: 5px; | ||||||
|     width: 500px; |     width: 500px; | ||||||
|     table.gb_admin { |     border: #fff solid; | ||||||
|         margin-bottom: 5px; |  | ||||||
|         width: 500px; |  | ||||||
|         border: #fff solid; |  | ||||||
|     } |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_admin tr td { | table.gb-admin tr td { | ||||||
|     border-right: none; |     border-right: none; | ||||||
|     border-bottom: none; |     border-bottom: none; | ||||||
|     vertical-align: top; |     vertical-align: top; | ||||||
|     padding: 5px; |     padding: 5px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_admin tr td.gb_del { | table.gb-admin tr td.gb-del { | ||||||
|     border-left: none; |     border-left: none; | ||||||
|     vertical-align: top; |     vertical-align: top; | ||||||
|     padding: 5px; |     padding: 5px; | ||||||
|     width: 32px; |     width: 32px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_admin tr td.gb_message { | table.gb-admin tr td.gb-message { | ||||||
|     border-top: none; |     border-top: none; | ||||||
|     vertical-align: top; |     vertical-align: top; | ||||||
|     padding: 5px; |     padding: 5px; | ||||||
|  | @ -448,7 +434,7 @@ table.infotable tr td { | ||||||
| table.infotable tr td h1, | table.infotable tr td h1, | ||||||
| table.infotable tr td h2, | table.infotable tr td h2, | ||||||
| table.infotable tr td small { | table.infotable tr td small { | ||||||
|     margin: 0px; |     margin: 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.infotable tr td small { | table.infotable tr td small { | ||||||
|  |  | ||||||
|  | @ -10,6 +10,6 @@ body { | ||||||
|     background-color: #333; |     background-color: #333; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| table.gb_entry_details tr td { | table.gb-entry_details tr td { | ||||||
|     padding-right: 5px; |     padding-right: 5px; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
|     <p>Are you sure you want to delete this entry?</p> |     <p>Are you sure you want to delete this entry?</p> | ||||||
| 
 | 
 | ||||||
|     <h3>Entry Details:</h3> |     <h3>Entry Details:</h3> | ||||||
|     <table class="gb_entry_details"> |     <table class="gb-entry_details"> | ||||||
|         <tr> |         <tr> | ||||||
|             <td><b>ID:</b></td> |             <td><b>ID:</b></td> | ||||||
|             <td>{{ $entry->id }}</td> |             <td>{{ $entry->id }}</td> | ||||||
|  |  | ||||||
|  | @ -10,19 +10,19 @@ | ||||||
|     @endphp |     @endphp | ||||||
|     <h1>Entries <small>({{ count($entries) }} total)</small></h1> |     <h1>Entries <small>({{ count($entries) }} total)</small></h1> | ||||||
|     @foreach ($entries as $entry) |     @foreach ($entries as $entry) | ||||||
|         <table class="gb_admin"> |         <table class="gb-admin"> | ||||||
|             <tr> |             <tr> | ||||||
|                 <td> |                 <td> | ||||||
|                     Name: {{ $entry->name }}<br> |                     Name: {{ $entry->name }}<br> | ||||||
|                     IP:   {{ $entry->ip_address }}<br> |                     IP:   {{ $entry->ip_address }}<br> | ||||||
|                     Date: {{ gmdate("H:i:s - Y-m-d", $entry->timestamp) }} |                     Date: {{ gmdate("H:i:s - Y-m-d", $entry->timestamp) }} | ||||||
|                 </td> |                 </td> | ||||||
|                 <td class="gb_del"> |                 <td class="gb-del"> | ||||||
|                     <a href="/admin/guestbook/delete?id={{ $entry->id }}">del</a> |                     <a href="/admin/guestbook/delete?id={{ $entry->id }}">del</a> | ||||||
|                 </td> |                 </td> | ||||||
|             </tr> |             </tr> | ||||||
|             <tr> |             <tr> | ||||||
|                 <td colspan="2" class="gb_message"> |                 <td colspan="2" class="gb-message"> | ||||||
|                     <br> |                     <br> | ||||||
|                     {{ htmlspecialchars($entry->message) }} |                     {{ htmlspecialchars($entry->message) }} | ||||||
|                 </td> |                 </td> | ||||||
|  |  | ||||||
|  | @ -2,13 +2,13 @@ | ||||||
| @section('title', 'Guestbook') | @section('title', 'Guestbook') | ||||||
| @section('content') | @section('content') | ||||||
|     <br> |     <br> | ||||||
|     <table class="gb_entryform_container"> |     <table class="gb-entryform_container"> | ||||||
|         <tr> |         <tr> | ||||||
|             <td> |             <td> | ||||||
|                 <form method="POST" action="/guestbook"> |                 <form method="POST" action="/guestbook"> | ||||||
|                     @csrf |                     @csrf | ||||||
|                     <x-honeypot /> |                     <x-honeypot /> | ||||||
|                     <table class="gb_entryform"> |                     <table class="gb-entryform"> | ||||||
|                         <tr> |                         <tr> | ||||||
|                             <td> |                             <td> | ||||||
|                                 <label for="name"><strong>Name:</strong></label> |                                 <label for="name"><strong>Name:</strong></label> | ||||||
|  | @ -62,7 +62,7 @@ | ||||||
|     @endphp |     @endphp | ||||||
|     <h1>Entries <small>({{ count($entries) }} total)</small></h1> |     <h1>Entries <small>({{ count($entries) }} total)</small></h1> | ||||||
|     @foreach ($entries as $entry) |     @foreach ($entries as $entry) | ||||||
|         <table class="gb_entry"> |         <table class="gb-entry"> | ||||||
|             <tr> |             <tr> | ||||||
|                 <td> |                 <td> | ||||||
|                     Submitted by <strong>{{ $entry->name }}</strong> |                     Submitted by <strong>{{ $entry->name }}</strong> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Frankie B
				Frankie B