mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-17 17:01:37 +00:00
parent
f0da1c6d8c
commit
25977d2ead
@ -71,7 +71,7 @@ public function install(Server $server, Request $request): HtmxResponse
|
||||
{
|
||||
app(Install::class)->install($server, $request->input());
|
||||
|
||||
Toast::success('Service is being uninstalled!');
|
||||
Toast::success('Service is being installed!');
|
||||
|
||||
return htmx()->back();
|
||||
}
|
||||
|
1
public/build/assets/app-5ad0c361.css
Normal file
1
public/build/assets/app-5ad0c361.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"resources/css/app.css": {
|
||||
"file": "assets/app-f65997bb.css",
|
||||
"file": "assets/app-5ad0c361.css",
|
||||
"isEntry": true,
|
||||
"src": "resources/css/app.css"
|
||||
},
|
||||
|
@ -1,4 +1,4 @@
|
||||
@props(["open" => false, "align" => "right", "width" => "48", "contentClasses" => "list-none divide-y divide-gray-100 rounded-md border border-gray-100 bg-white py-1 text-base shadow dark:divide-gray-600 dark:border-gray-600 dark:bg-gray-700"])
|
||||
@props(["open" => false, "align" => "right", "width" => "48", "contentClasses" => "list-none divide-y divide-gray-100 rounded-md border border-gray-200 bg-white py-1 text-base dark:divide-gray-600 dark:border-gray-600 dark:bg-gray-700"])
|
||||
|
||||
@php
|
||||
switch ($align) {
|
||||
@ -37,11 +37,11 @@
|
||||
x-transition:leave="transition duration-75 ease-in"
|
||||
x-transition:leave-start="scale-100 transform opacity-100"
|
||||
x-transition:leave-end="scale-95 transform opacity-0"
|
||||
class="{{ $width }} {{ $alignmentClasses }} absolute z-50 mt-2 rounded-md shadow-lg"
|
||||
class="{{ $width }} {{ $alignmentClasses }} absolute z-50 mt-2 rounded-md"
|
||||
style="display: none"
|
||||
@click="open = false"
|
||||
>
|
||||
<div class="{{ $contentClasses }} rounded-md ring-1 ring-black ring-opacity-5">
|
||||
<div class="{{ $contentClasses }} rounded-md">
|
||||
{{ $content }}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
@php
|
||||
$class =
|
||||
"inline-flex h-9 w-max min-w-max items-center justify-center rounded-md border border-gray-300 bg-white px-4 py-1 font-semibold text-gray-700 shadow-sm transition duration-150 ease-in-out hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 disabled:opacity-25 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700 dark:focus:ring-offset-gray-800";
|
||||
"inline-flex h-9 w-max min-w-max items-center justify-center rounded-md border border-gray-300 bg-white px-4 py-1 font-semibold text-gray-700 transition duration-150 ease-in-out hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 disabled:opacity-25 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700 dark:focus:ring-offset-gray-800";
|
||||
@endphp
|
||||
|
||||
@if (isset($href))
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<select
|
||||
{{ $disabled ? "disabled" : "" }}
|
||||
{!! $attributes->merge(["class" => "border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-primary-500 dark:focus:border-primary-600 focus:ring-primary-500 dark:focus:ring-primary-600 rounded-md shadow-sm"]) !!}
|
||||
{!! $attributes->merge(["class" => "border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-primary-500 dark:focus:border-primary-600 focus:ring-primary-500 dark:focus:ring-primary-600 rounded-md"]) !!}
|
||||
>
|
||||
{{ $slot }}
|
||||
</select>
|
||||
|
@ -3,5 +3,5 @@
|
||||
<input
|
||||
hx-disable
|
||||
{{ $disabled ? "disabled" : "" }}
|
||||
{!! $attributes->merge(["class" => "border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-primary-500 dark:focus:border-primary-600 focus:ring-primary-500 dark:focus:ring-primary-600 rounded-md shadow-sm"]) !!}
|
||||
{!! $attributes->merge(["class" => "border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-primary-500 dark:focus:border-primary-600 focus:ring-primary-500 dark:focus:ring-primary-600 rounded-md"]) !!}
|
||||
/>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<textarea
|
||||
{{ $disabled ? "disabled" : "" }}
|
||||
{!! $attributes->merge(["class" => "border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-primary-500 dark:focus:border-primary-600 focus:ring-primary-500 dark:focus:ring-primary-600 rounded-md shadow-sm w-full"]) !!}
|
||||
{!! $attributes->merge(["class" => "border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-primary-500 dark:focus:border-primary-600 focus:ring-primary-500 dark:focus:ring-primary-600 rounded-md w-full"]) !!}
|
||||
>
|
||||
{{ $slot }}</textarea
|
||||
>
|
||||
|
@ -29,9 +29,13 @@ class="absolute bottom-0 left-0 right-0 rounded-b-md bg-gray-700/60 text-center
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="ml-5 cursor-pointer" x-data="">
|
||||
<div class="ml-5 flex cursor-pointer items-center" x-data="">
|
||||
<div class="mr-2">
|
||||
@include("layouts.partials.project-select")
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="flex w-full items-center rounded-md border border-gray-200 bg-gray-100 px-4 py-2 text-sm text-gray-900 focus:ring-4 focus:ring-gray-300 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-300 dark:focus:ring-gray-600"
|
||||
class="flex h-10 w-full items-center rounded-md border border-gray-200 bg-gray-100 px-4 py-2 text-sm text-gray-900 focus:ring-4 focus:ring-gray-300 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-300 dark:focus:ring-gray-600"
|
||||
@click="$dispatch('open-search')"
|
||||
>
|
||||
<x-heroicon name="o-magnifying-glass" class="h-4 w-4" />
|
||||
@ -47,7 +51,7 @@ class="flex w-full items-center rounded-md border border-gray-200 bg-gray-100 px
|
||||
<x-dropdown align="right" width="48">
|
||||
<x-slot name="trigger">
|
||||
<button
|
||||
class="flex rounded-full text-sm focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600"
|
||||
class="flex rounded-full p-1 text-sm focus:ring-2 focus:ring-gray-300 dark:focus:ring-gray-600"
|
||||
>
|
||||
<x-heroicon name="o-cog-6-tooth" class="h-8 w-8 rounded-full" />
|
||||
</button>
|
||||
|
@ -35,7 +35,10 @@ class="flex items-center text-gray-600 dark:text-gray-300"
|
||||
<div class="flex items-center justify-end">
|
||||
<x-dropdown>
|
||||
<x-slot name="trigger">
|
||||
<button type="button" class="flex items-center">
|
||||
<button
|
||||
type="button"
|
||||
class="flex items-center rounded-full p-1 focus:ring-2 focus:ring-gray-300 dark:focus:ring-gray-600"
|
||||
>
|
||||
<x-heroicon name="o-moon" x-show="isDark()" class="h-7 w-7" />
|
||||
<x-heroicon name="o-sun" x-show="!isDark()" class="h-7 w-7" />
|
||||
</button>
|
||||
|
@ -1,15 +1,15 @@
|
||||
<div data-tooltip="Project" class="cursor-pointer">
|
||||
<x-dropdown width="full">
|
||||
<div class="cursor-pointer">
|
||||
<x-dropdown align="left">
|
||||
<x-slot:trigger>
|
||||
<div>
|
||||
<div data-tooltip="Project">
|
||||
<div
|
||||
class="block w-full rounded-md border border-gray-300 bg-gray-50 p-2.5 text-sm text-gray-900 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-primary-500 dark:focus:ring-primary-500"
|
||||
class="flex h-10 w-max items-center rounded-md border border-gray-200 bg-gray-100 px-4 py-2 pr-7 text-sm text-gray-900 focus:ring-4 focus:ring-gray-300 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-300 dark:focus:ring-gray-600"
|
||||
>
|
||||
{{ auth()->user()->currentProject?->name ?? __("Select Project") }}
|
||||
<button type="button" class="absolute inset-y-0 right-0 flex items-center pr-2">
|
||||
<x-heroicon name="o-chevron-down" class="h-4 w-4 text-gray-400" />
|
||||
</button>
|
||||
</div>
|
||||
<button type="button" class="absolute inset-y-0 right-0 flex items-center pr-2">
|
||||
<x-heroicon name="o-chevron-down" class="h-4 w-4 text-gray-400" />
|
||||
</button>
|
||||
</div>
|
||||
</x-slot>
|
||||
<x-slot:content>
|
||||
|
@ -5,10 +5,6 @@ class="fixed left-0 top-0 z-40 h-screen w-64 -translate-x-full border-r border-g
|
||||
>
|
||||
<div class="h-full overflow-y-auto bg-white px-3 pb-4 dark:bg-gray-800">
|
||||
<ul class="space-y-2 font-medium">
|
||||
<li x-data="">
|
||||
@include("layouts.partials.project-select")
|
||||
</li>
|
||||
<x-hr />
|
||||
<li>
|
||||
@include("layouts.partials.server-select")
|
||||
</li>
|
||||
|
@ -2,6 +2,9 @@ import { defineConfig } from 'vite';
|
||||
import laravel from 'laravel-vite-plugin';
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
chunkSizeWarningLimit: 500,
|
||||
},
|
||||
plugins: [
|
||||
laravel({
|
||||
input: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user