Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sarun Mungthanya
SpnPatch-Laravel
Commits
4f05b759
Commit
4f05b759
authored
Nov 13, 2024
by
Sarun Mungthanya
Browse files
update css auto hide search
parent
7885f031
Changes
26
Hide whitespace changes
Inline
Side-by-side
resources/views/livewire/pages/send-patch/send-patch-edit.blade.php
View file @
4f05b759
...
...
@@ -16,6 +16,12 @@
class=
"ml-3 text-xl text-slate-800 font-semibold underline underline-offset-4 cursor-pointer"
>
Send
</h2>
<h2
class=
"ml-3 text-xl text-slate-800 font-semibold underline underline-offset-4 cursor-pointer"
>
<a
href=
"{{ route('patch.edit', ['editPid' => $PID]) }}"
target=
"_blank"
>
{{ $patchName }}
</a>
</h2>
</div>
<a
href=
"/send-patch"
type=
"button"
class=
"btn ml-1 my-3 text-white bg-primary px-3 py-2"
>
Back
</a>
<div
class=
"rounded-md"
>
...
...
@@ -173,7 +179,7 @@
<button
@
click=
"isInputActive = !isInputActive"
class=
"btn h-8 w-14 rounded-full p-0 hover:bg-slate-300/20 focus:bg-slate-300/20 active:bg-slate-300/25 dark:hover:bg-navy-300/20 dark:focus:bg-navy-300/20 dark:active:bg-navy-300/25"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
class=
"h-4.5 w-4.5"
fill=
"none"
viewBox=
"0 0 24 24"
stroke=
"
currentColor
"
>
stroke=
"
black
"
>
<path
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"1.5"
d=
"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
/>
</svg>
...
...
resources/views/livewire/pages/send-patch/send-patch-index.blade.php
View file @
4f05b759
...
...
@@ -30,11 +30,11 @@
</div>
<div
class=
"inline-flex flex-initial"
>
<div
x-data=
"{ isInputActive: true }"
>
<div
class=
"flex gap-4 px-5 items-center"
>
<div
class=
"flex
flex-wrap
gap-4 px-5 items-center"
>
<button
@
click=
"isInputActive = !isInputActive"
class=
"btn h-8 w-14 rounded-full p-0 hover:bg-primary-focus hover:text-main-container active:text-main-container focus:text-main-container dark:hover:bg-navy-300/20 dark:focus:bg-navy-300/20 dark:active:bg-navy-300/25"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
class=
"h-4.5 w-4.5"
fill=
"none"
viewBox=
"0 0 24 24"
stroke=
"
currentColor
"
>
viewBox=
"0 0 24 24"
stroke=
"
black
"
>
<path
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"1.5"
d=
"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
/>
</svg>
...
...
resources/views/livewire/pages/server-license/server-license-index.blade.php
View file @
4f05b759
...
...
@@ -8,8 +8,15 @@
</div>
</div>
<div
class=
"my-5 flex h-8 place-content-center px-4 "
>
<h2
class=
"text-xl text-slate-800"
>
Server License Management
</h2>
<h2
class=
"ml-3 text-xl text-slate-800 font-semibold underline underline-offset-4"
>
{{ $action === 'add' ? 'Create' : ($action === 'edit' ? 'Edit' : '') }}
</h2>
</div>
<div
class=
"m-2"
>
@if ($action === 'list')
@if ($message)
<div
class=
"alert alert-success"
>
...
...
@@ -17,30 +24,25 @@
x-show.transition.duration.500ms=
"show"
class=
"fixed top-5 right-5 z-50 bg-green-500 text-white py-2 px-4 rounded-md shadow-lg"
>
{{ $message }}
</div>
</div>
</div>
@endif
<div
class=
"grid grid-cols-1 gap-4 sm:gap-5 lg:gap-6 bg-main-container rounded-md"
>
<div
class=
"pb-4"
>
<div
class=
"my-3 flex h-8 items-center justify-between px-4 sm:px-5"
>
<h2
class=
"text-2xl text-black "
>
Server License Management
</h2>
</div>
<div
class=
"pb-4 pt-5 bg-white rounded-lg shadow-lg"
>
<div
class=
"flex justify-between"
>
<div
class=
"px-2 ml-4"
>
<button
type=
"button"
class=
"py-2 px-3 bg-primary rounded-md text-white hover:bg-primary-focus"
wire:click=
"showServerLicenseAddForm"
>
Add
</button>
</div>
<div
class=
"inline-flex flex-initial"
>
<div
class=
"inline-flex flex-initial"
>
<div
x-data=
"{ isInputActive: true }"
>
<div
class=
"flex gap-4 px-5 items-center"
>
<button
@
click=
"isInputActive = !isInputActive"
<div
class=
"flex
flex-wrap
gap-4 px-5 items-center"
>
<button
@
click=
"isInputActive = !isInputActive"
class=
"btn h-8 w-10 rounded-full p-0 hover:bg-primary-focus hover:text-main-container active:text-main-container focus:text-main-container primary-focus hover:text-main-container active:text-main-container focus:text-main-container dark:hover:bg-navy-300/20 dark:focus:bg-navy-300/20 dark:active:bg-navy-300/25"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
class=
"h-4.5 w-4.5"
fill=
"none"
viewBox=
"0 0 24 24"
stroke=
"
currentColor
"
>
viewBox=
"0 0 24 24"
stroke=
"
black
"
>
<path
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"1.5"
d=
"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
/>
</svg>
...
...
@@ -159,7 +161,7 @@
@endif
@push('script')
<script>
console
.
log
(
"
ddd
"
)
console
.
log
(
"
server-license
"
)
</script>
@endpush
</div>
...
...
resources/views/livewire/pages/user/user-index.blade.php
View file @
4f05b759
...
...
@@ -38,11 +38,11 @@
</div>
<div
class=
"inline-flex flex-initial"
>
<div
x-data=
"{ isInputActive: true }"
>
<div
class=
"flex gap-4 px-5 items-center"
>
<div
class=
"flex
flex-wrap
gap-4 px-5 items-center"
>
<button
@
click=
"isInputActive = !isInputActive"
class=
"btn h-8 w-10 rounded-full p-0 hover:bg-primary-focus hover:text-main-container active:text-main-container focus:text-main-container primary-focus hover:text-main-container active:text-main-container focus:text-main-container dark:hover:bg-navy-300/20 dark:focus:bg-navy-300/20 dark:active:bg-navy-300/25"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
class=
"h-4.5 w-4.5"
fill=
"none"
viewBox=
"0 0 24 24"
stroke=
"
currentColor
"
>
viewBox=
"0 0 24 24"
stroke=
"
black
"
>
<path
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"1.5"
d=
"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
/>
</svg>
...
...
resources/views/livewire/paginate-custom.blade.php
View file @
4f05b759
@
php
$paginate_master
=
config
(
'masterfile.defaultPagination'
)
?:
[];
@
endphp
<
div
class
=
"flex flex-col justify-between space-y-4 px-4 py-4 sm:flex-row sm:items-center sm:space-y-0 sm:px-5"
>
<
div
class
=
"flex flex-col
flex-wrap
justify-between space-y-4 px-4 py-4 sm:flex-row sm:items-center sm:space-y-0 sm:px-5"
>
<
div
class
=
"flex items-center space-x-2 text-xs+"
>
<
span
>
Show
</
span
>
<
label
class
=
"block"
>
...
...
routes/web.php
View file @
4f05b759
...
...
@@ -58,7 +58,7 @@ Route::middleware(['auth' ])->group(function () {
Route
::
get
(
'/get-serverlicense'
,
[
ServerLicenseController
::
class
,
'getAllServerKey'
]);
Route
::
get
(
'/patch'
,
[
PatchController
::
class
,
'index'
])
->
name
(
'patch.index'
);
Route
::
get
(
'/patch/edit/{editPid}'
,
\
App\Http\Livewire\Pages\Patch\PatchEdit
::
class
)
->
name
(
'patch.edit'
);
Route
::
get
(
'/master-file'
,
[
MasterFileController
::
class
,
'index'
])
->
name
(
'master-file.index'
);
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment