-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4eea7a
commit 799ebbf
Showing
17 changed files
with
374 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/*! | ||
* The buffer module from node.js, for the browser. | ||
* | ||
* @author Feross Aboukhadijeh <http://feross.org> | ||
* @license MIT | ||
*/ | ||
|
||
/*! #__NO_SIDE_EFFECTS__ */ | ||
|
||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
|
||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | ||
|
||
/** | ||
* @license | ||
* Lodash <https://lodash.com/> | ||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/> | ||
* Released under MIT license <https://lodash.com/license> | ||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> | ||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
*/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"/app.js": "/app.js?id=fc139aeb14d759b4a2906fc46d6c8150", | ||
"/app.css": "/app.css?id=8e28997d012793c246fb3c0743b54545", | ||
"/img/log-viewer-128.png": "/img/log-viewer-128.png?id=d576c6d2e16074d3f064e60fe4f35166", | ||
"/img/log-viewer-32.png": "/img/log-viewer-32.png?id=f8ec67d10f996aa8baf00df3b61eea6d", | ||
"/img/log-viewer-64.png": "/img/log-viewer-64.png?id=8902d596fc883ca9eb8105bb683568c6" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,40 @@ | ||
<div class="dropdown" data-strategy="absolute"> | ||
<div class="dropdown-toggle pl-3"> | ||
<button class="group relative flex items-center gap-x-1.5" type="button"> | ||
<div class="avatar avatar-circle avatar-indicator avatar-indicator-online"> | ||
<img | ||
class="avatar-img group-focus-within:ring group-focus-within:ring-primary-500" | ||
src="{{ Auth::user()->avatar }}" | ||
alt="Avatar 1" | ||
/> | ||
</div> | ||
</button> | ||
<button class="group relative flex items-center gap-x-1.5" type="button"> | ||
<div class="avatar avatar-circle avatar-indicator avatar-indicator-online"> | ||
<img class="avatar-img group-focus-within:ring group-focus-within:ring-primary-500" | ||
src="{{ Auth::user()->avatar }}" alt="Avatar 1" /> | ||
</div> | ||
</button> | ||
</div> | ||
|
||
<div class="dropdown-content mt-1 w-56 divide-y dark:divide-slate-600"> | ||
<div class="px-4 py-3"> | ||
<p class="text-sm">Signed in as</p> | ||
<p class="truncate text-sm font-medium">{{ Auth::user()->email }}</p> | ||
</div> | ||
<div class="py-1"> | ||
<a href="{{route('profile.edit')}}" class="dropdown-link"> | ||
<i width="18" height="18" data-feather="user" class="text-slate-500"></i> | ||
<span>Profile</span> | ||
</a> | ||
<a href="javascript:void(0)" class="dropdown-link"> | ||
<i width="18" height="18" data-feather="settings" class="text-slate-500"></i> | ||
<span>Settings</span> | ||
</a> | ||
<a href="javascript:void(0)" class="dropdown-link"> | ||
<i width="18" height="18" data-feather="help-circle" class="text-slate-500"></i> | ||
<span>Support</span> | ||
</a> | ||
</div> | ||
<div class="py-1"> | ||
<form method="POST" action="{{ route('logout') }}"> | ||
@csrf | ||
<button type="submit" class="dropdown-btn"> | ||
<i width="18" height="18" data-feather="log-out" class="text-slate-500"></i> | ||
<span> {{ __('Log Out') }} </span> | ||
</button> | ||
</form> | ||
</div> | ||
<div class="px-4 py-3"> | ||
<p class="text-sm">Signed in as</p> | ||
<p class="truncate text-sm font-medium">{{ Auth::user()->email }}</p> | ||
</div> | ||
<div class="py-1"> | ||
<a href="{{ route('profile.edit') }}" class="dropdown-link"> | ||
<i width="18" height="18" data-feather="user" class="text-slate-500"></i> | ||
<span>Profile</span> | ||
</a> | ||
<a href="{{ route('admin.settings.index') }}" class="dropdown-link"> | ||
<i width="18" height="18" data-feather="settings" class="text-slate-500"></i> | ||
<span>Settings</span> | ||
</a> | ||
<a href="javascript:void(0)" class="dropdown-link"> | ||
<i width="18" height="18" data-feather="help-circle" class="text-slate-500"></i> | ||
<span>Support</span> | ||
</a> | ||
</div> | ||
<div class="py-1"> | ||
<form method="POST" action="{{ route('logout') }}"> | ||
@csrf | ||
<button type="submit" class="dropdown-btn"> | ||
<i width="18" height="18" data-feather="log-out" class="text-slate-500"></i> | ||
<span> {{ __('Log Out') }} </span> | ||
</button> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
@can('settings.view') | ||
<x-app-layout> | ||
<!-- Page Title Starts --> | ||
|
||
<x-page-title page="Settings" header="Settings" /> | ||
|
||
<!-- Page Title Ends --> | ||
|
||
<div class="space-y-4"> | ||
@php | ||
$allSettings = getAllSettings(); | ||
@endphp | ||
<!-- Settings Table Starts --> | ||
<div class="table-responsive whitespace-nowrap rounded-primary"> | ||
<table class="table custom-data-table"> | ||
<thead> | ||
<tr> | ||
<th class="uppercase">Settings Name</th> | ||
<th class="uppercase">Settings Value</th> | ||
<th class="!text-right uppercase">Actions</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
@foreach ($allSettings as $key => $settings) | ||
<tr> | ||
<td> | ||
<span class="font-normal text-md text-gray-700 dark:text-gray-100 capitalize"> | ||
{{ $key }} | ||
</span> | ||
</td> | ||
<td> | ||
<span class="font-normal text-md text-gray-700 dark:text-gray-100 capitalize"> | ||
<input class="input" type="text" value="{{ $settings }}"> | ||
</span> | ||
</td> | ||
<td> | ||
<div class="flex justify-end"> | ||
<button class="btn btn-primary" role="button" > | ||
<i class="w-4" data-feather="upload"></i> | ||
Update | ||
</button> | ||
</div> | ||
</td> | ||
</tr> | ||
@endforeach | ||
|
||
</tbody> | ||
</table> | ||
<div class="sm:hidden"> | ||
@foreach ($allSettings as $key => $settings) | ||
<div class="card my-4 overflow-x-auto shadow-sm shadow-gray-300 dark:shadow-gray-700"> | ||
<div class="card-header flex justify-center"> | ||
<div class="card-title capitalize "> | ||
<p>{{ $key }}</p> | ||
</div> | ||
</div> | ||
<div class="card-body"> | ||
<div class="card-content "> | ||
<div class="px-4 py-4"> | ||
<input class="input" type="text" value="{{ $settings }}"> | ||
</div> | ||
<p class="card-title flex justify-center mt-5"> | ||
<button class="btn btn-primary btn-sm" role="button"> | ||
<i class="w-4" data-feather="upload"></i> | ||
Update | ||
</button> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
@endforeach | ||
</div> | ||
</div> | ||
<!-- Settings Table Ends --> | ||
|
||
</div> | ||
|
||
</x-app-layout> | ||
@endcan |
Oops, something went wrong.