Skip to content

Commit

Permalink
feat: Add index view for site settings management
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Mar 11, 2024
1 parent 5b8fd2f commit 543f916
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions resources/views/site_settings/index.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
@extends('layouts.app')

@section('content')
<div class="container">
<h1>Site Settings</h1>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Value</th>
<th>Description</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
@forelse($settings as $setting)
<tr>
<td>{{ $setting->name }}</td>
<td>{{ $setting->value }}</td>
<td>{{ $setting->description }}</td>
<td>
<a href="{{ route('site_settings.edit', $setting->id) }}" class="btn btn-primary">Edit</a>
</td>
</tr>
@empty
<tr>
<td colspan="4">No settings found.</td>
</tr>
@endforelse
</tbody>
</table>
</div>
@endsection

0 comments on commit 543f916

Please sign in to comment.