From f337a8932051f64ae2da16ca25fdee94d19966cc Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 26 May 2018 22:19:33 -0700 Subject: [PATCH] Add search bar to dash --- resources/assets/styles/components/miscellaneous.css | 12 ++++++++++++ .../themes/pterodactyl/templates/base/core.blade.php | 7 +++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/resources/assets/styles/components/miscellaneous.css b/resources/assets/styles/components/miscellaneous.css index a778c58cf..9007161bf 100644 --- a/resources/assets/styles/components/miscellaneous.css +++ b/resources/assets/styles/components/miscellaneous.css @@ -68,3 +68,15 @@ code { @apply .border .border-grey-light .bg-white .rounded .p-4 .justify-between .leading-normal; } } + +.server-search { + @apply .w-full .my-4; + + & > input[type="text"] { + @apply .w-full .p-3 .rounded .border .text-grey-darker; + + &:focus { + @apply .border-blue-light; + } + } +} diff --git a/resources/themes/pterodactyl/templates/base/core.blade.php b/resources/themes/pterodactyl/templates/base/core.blade.php index 5cee9b6df..353d1f3d3 100644 --- a/resources/themes/pterodactyl/templates/base/core.blade.php +++ b/resources/themes/pterodactyl/templates/base/core.blade.php @@ -24,7 +24,7 @@
  • - L + Logout
  • @@ -33,7 +33,10 @@ @endsection @section('container') -
    + +
    @foreach($servers as $server)