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 { | ||||
|     font-family: sans-serif; | ||||
|     margin: 0px; | ||||
|     margin: 0; | ||||
|     color: #ddd; | ||||
|     background-color: #333; | ||||
| } | ||||
|  | @ -49,11 +49,6 @@ h1.inline { | |||
|     display: inline; | ||||
| } | ||||
| 
 | ||||
| h1, | ||||
| h2, | ||||
| h3 { | ||||
|     margin-top: 1em; | ||||
|     clear: left; | ||||
| h1, | ||||
| h2, | ||||
| h3 { | ||||
|  | @ -61,7 +56,6 @@ h3 { | |||
|     clear: left; | ||||
|     color: #fff; | ||||
| } | ||||
| } | ||||
| 
 | ||||
| img { | ||||
|     border: none; | ||||
|  | @ -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 { | ||||
|  | @ -184,13 +179,10 @@ div.note { | |||
|     font-style: italic; | ||||
| } | ||||
| 
 | ||||
| table { | ||||
|     border-collapse: collapse; | ||||
| table { | ||||
|     border-collapse: collapse; | ||||
|     border-color: #fff; | ||||
| } | ||||
| } | ||||
| 
 | ||||
| table.noborder td { | ||||
|     border: none; | ||||
|  | @ -295,15 +287,13 @@ table td { | |||
| } | ||||
| 
 | ||||
| td { | ||||
|     padding: 0px; | ||||
|     padding: 0; | ||||
|     vertical-align: top; | ||||
| } | ||||
| 
 | ||||
| table.skami { | ||||
| table.skami { | ||||
|     border-color: #eeeeee; | ||||
| } | ||||
| } | ||||
| 
 | ||||
| .header .pagetree { | ||||
|     font-size: 80%; | ||||
|  | @ -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 { | ||||
|  |  | |||
|  | @ -10,6 +10,6 @@ body { | |||
|     background-color: #333; | ||||
| } | ||||
| 
 | ||||
| table.gb_entry_details tr td { | ||||
| table.gb-entry_details tr td { | ||||
|     padding-right: 5px; | ||||
| } | ||||
|  |  | |||
|  | @ -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> | ||||
|  |  | |||
|  | @ -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: {{ $entry->name }}<br> | ||||
|                     IP:   {{ $entry->ip_address }}<br> | ||||
|                     Date: {{ 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> | ||||
|  |  | |||
|  | @ -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> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Frankie B
				Frankie B