10
10
</div >
11
11
</div >
12
12
<div class =" pb-4" >Deploy resources, like Applications, Databases, Services...</div >
13
- <div class =" flex flex-col gap-2 py-4" x-data =" searchResources()" >
13
+ <div class =" flex flex-col gap-4 py-4" x-data =" searchResources()" >
14
14
@if ($current_step === ' type' )
15
- <input autocomplete =" off" x-ref =" searchInput" class =" input" x-model =" search" placeholder =" Search..." >
15
+ <div class =" sticky top-0 z-50 py-2" >
16
+ <input autocomplete =" off" x-ref =" searchInput" class =" input w-full" x-model =" search"
17
+ placeholder =" Type / to search..." @keydown .window.slash.prevent =" $refs.searchInput.focus()" >
18
+ </div >
16
19
<div x-show =" loading" >Loading...</div >
17
20
<h2 x-show =" filteredGitBasedApplications.length > 0" >Applications</h2 >
18
21
<h4 x-show =" filteredGitBasedApplications.length > 0" >Git Based</h4 >
19
- <div class =" grid justify-start grid-cols-1 gap-4 text-left xl:grid-cols-1" >
22
+ <div x-show =" filteredGitBasedApplications.length > 0"
23
+ class =" grid justify-start grid-cols-1 gap-4 text-left xl:grid-cols-1" >
20
24
<template x-for =" application in filteredGitBasedApplications" :key =" application.name" >
21
25
<div x-on:click =' setType(application.id)' >
22
26
<x-resource-view >
34
38
</template >
35
39
</div >
36
40
<h4 x-show =" filteredDockerBasedApplications.length > 0" >Docker Based</h4 >
37
- <div class =" grid justify-start grid-cols-1 gap-4 text-left xl:grid-cols-3" >
41
+ <div x-show =" filteredDockerBasedApplications.length > 0"
42
+ class =" grid justify-start grid-cols-1 gap-4 text-left xl:grid-cols-3" >
38
43
<template x-for =" application in filteredDockerBasedApplications" :key =" application.name" >
39
44
<div x-on:click =" setType(application.id)" >
40
45
<x-resource-view >
@@ -48,8 +53,9 @@ class="w-[4.5rem]
48
53
</div >
49
54
</template >
50
55
</div >
51
- <h2 x-show =" filteredDatabases.length > 0" class =" py-4" > Databases </h2 >
52
- <div class =" grid justify-start grid-cols-1 gap-4 text-left xl:grid-cols-2" >
56
+ <h2 x-show =" filteredDatabases.length > 0" >Databases</h2 >
57
+ <div x-show =" filteredDatabases.length > 0"
58
+ class =" grid justify-start grid-cols-1 gap-4 text-left xl:grid-cols-2" >
53
59
<template x-for =" database in filteredDatabases" :key =" database.id" >
54
60
<div x-on:click =" setType(database.id)" >
55
61
<x-resource-view >
@@ -66,7 +72,7 @@ class="w-[4.5rem]
66
72
</div >
67
73
<div x-show =" filteredServices.length > 0" >
68
74
<div class =" flex items-center gap-4" x-init =" loadResources" >
69
- <h2 class = " py-4 " >Services</h2 >
75
+ <h2 >Services</h2 >
70
76
<x-forms .button x-on:click =" loadResources" >Reload List</x-forms .button >
71
77
</div >
72
78
<div class =" pb-4 text-xs" >Trademarks Policy: The respective trademarks mentioned here are owned by the
@@ -271,7 +277,8 @@ function searchResources() {
271
277
272
278
< div class = " flex items-center px-2" title= " Read the documentation." >
273
279
< a class = " p-2 hover:underline group-hover:dark:text-white dark:text-white text-neutral-6000"
274
- onclick= " event.stopPropagation()" href= " https://hub.docker.com/_/postgres/" target= " _blank" >
280
+ onclick= " event.stopPropagation()" href= " https://hub.docker.com/_/postgres/"
281
+ target= " _blank" >
275
282
Documentation
276
283
< / a>
277
284
< / div>
0 commit comments