Skip to content

Commit f337a89

Browse files
committed
Add search bar to dash
1 parent d78189d commit f337a89

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

resources/assets/styles/components/miscellaneous.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,15 @@ code {
6868
@apply .border .border-grey-light .bg-white .rounded .p-4 .justify-between .leading-normal;
6969
}
7070
}
71+
72+
.server-search {
73+
@apply .w-full .my-4;
74+
75+
& > input[type="text"] {
76+
@apply .w-full .p-3 .rounded .border .text-grey-darker;
77+
78+
&:focus {
79+
@apply .border-blue-light;
80+
}
81+
}
82+
}

resources/themes/pterodactyl/templates/base/core.blade.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</li>
2525
<li>
2626
<a href="{{ route('auth.logout') }}">
27-
<span>L</span>
27+
<span>Logout</span>
2828
</a>
2929
</li>
3030
</ul>
@@ -33,7 +33,10 @@
3333
@endsection
3434

3535
@section('container')
36-
<div class="w-full m-auto mt-8 animate fadein sm:flex flex-wrap content-start">
36+
<div class="server-search animate fadein">
37+
<input type="text" placeholder="search for servers..."/>
38+
</div>
39+
<div class="w-full m-auto mt-4 animate fadein sm:flex flex-wrap content-start">
3740
@foreach($servers as $server)
3841
<div class="server-box">
3942
<div class="content">

0 commit comments

Comments
 (0)