diff --git a/app/Http/Livewire/Project/Application/Danger.php b/app/Http/Livewire/Project/Application/Danger.php new file mode 100644 index 000000000..0a2f59d34 --- /dev/null +++ b/app/Http/Livewire/Project/Application/Danger.php @@ -0,0 +1,9 @@ +application->uuid; $output = instantRemoteProcess([ diff --git a/app/Http/Livewire/Project/Application/Storages/All.php b/app/Http/Livewire/Project/Application/Storages/All.php index e48111614..a8606c175 100644 --- a/app/Http/Livewire/Project/Application/Storages/All.php +++ b/app/Http/Livewire/Project/Application/Storages/All.php @@ -4,7 +4,6 @@ use App\Models\Application; use App\Models\LocalPersistentVolume; -use Illuminate\Database\QueryException; use Livewire\Component; class All extends Component diff --git a/app/Http/Livewire/Source/Github/Change.php b/app/Http/Livewire/Source/Github/Change.php index 0121d73db..a01a0a1a4 100644 --- a/app/Http/Livewire/Source/Github/Change.php +++ b/app/Http/Livewire/Source/Github/Change.php @@ -11,6 +11,8 @@ class Change extends Component public string $host; public $parameters; public GithubApp $github_app; + public string $installation_url; + public string $name; public bool $is_system_wide; protected $rules = [ diff --git a/package-lock.json b/package-lock.json index d8f6ab89e..d588e33db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,8 @@ "dependencies": { "@tailwindcss/typography": "^0.5.9", "alpinejs": "3.12.0", - "daisyui": "^2.51.6" + "daisyui": "^2.51.6", + "tailwindcss-scrollbar": "^0.1.0" }, "devDependencies": { "@vitejs/plugin-vue": "^4.0.0", @@ -1883,6 +1884,14 @@ "postcss": "^8.0.9" } }, + "node_modules/tailwindcss-scrollbar": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/tailwindcss-scrollbar/-/tailwindcss-scrollbar-0.1.0.tgz", + "integrity": "sha512-egipxw4ooQDh94x02XQpPck0P0sfwazwoUGfA9SedPATIuYDR+6qe8d31Gl7YsSMRiOKDkkqfI0kBvEw9lT/Hg==", + "peerDependencies": { + "tailwindcss": ">= 2.x.x" + } + }, "node_modules/thenify": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", diff --git a/package.json b/package.json index 21fb9c605..81441de95 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "dependencies": { "@tailwindcss/typography": "^0.5.9", "alpinejs": "3.12.0", - "daisyui": "^2.51.6" + "daisyui": "^2.51.6", + "tailwindcss-scrollbar": "^0.1.0" } } diff --git a/resources/css/app.css b/resources/css/app.css index 0be962822..a8de249c8 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -2,32 +2,43 @@ @tailwind components; @tailwind utilities; +* { +@apply scrollbar-thumb-yellow-400 scrollbar-track-coolgray-200 scrollbar-w-1; +} +html { + @apply h-full min-h-full bg-coolgray-100 ; +} body { - @apply bg-coolgray-100 text-white; + @apply bg-coolgray-100 text-white min-h-full antialiased; +} +input[type="checkbox"] { + @apply toggle toggle-warning toggle-sm; } input { - @apply input w-full max-w-xl input-bordered input-sm; + @apply input input-sm; } -textarea { - @apply textarea textarea-sm; +input[type="text"],[type="number"],[type="email"],[type="password"] { + @apply read-only:opacity-40; } -/* input, textarea { - @apply border border-solid border-coolgray-500 bg-coolgray-200 rounded p-2 px-4 text-white outline-none transition-all; + @apply textarea; } -input, -textarea { - @apply disabled:text-neutral-600 read-only:text-neutral-600 read-only:select-none read-only:bg-coolgray-200/50; -} */ select { - @apply border border-solid border-coolgray-400 rounded p-2 px-4 bg-coolgray-200 text-white disabled:text-neutral-600 read-only:select-none outline-none; + @apply select select-sm disabled:opacity-40; } -button { - @apply btn btn-xs btn-ghost no-animation normal-case; + +button[type="button"] { + @apply btn btn-xs btn-ghost no-animation normal-case text-white; } button[type="submit"] { - @apply btn-primary btn-sm; + @apply btn btn-xs no-animation normal-case text-white btn-primary; +} +button[isWarning] { + @apply btn-error text-white; +} +button[isHighlighted] { + @apply btn-primary text-white; } h1 { @apply text-3xl font-bold pb-4; @@ -36,10 +47,10 @@ h2 { @apply text-2xl font-bold pb-4; } h3 { - @apply text-xl font-bold pb-4; + @apply text-xl font-bold py-4; } -a{ - @apply hover:text-white text-sm; +a { + @apply text-neutral-400 hover:text-white text-sm link link-hover hover:bg-transparent; } .box { diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index cde952445..11a5bbe83 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -8,7 +8,7 @@ @env('local') value="test@example.com" @endenv autofocus /> - {{ __('auth.login') }} + {{ __('auth.login') }} @if ($errors->any())
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index dba776362..884fbdc82 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -11,7 +11,7 @@ @env('local') value="password" @endenv /> - {{ __('auth.register') }} + {{ __('auth.register') }} @if ($errors->any())
diff --git a/resources/views/components/applications/navbar.blade.php b/resources/views/components/applications/navbar.blade.php index 8b946b994..f5a3199a3 100644 --- a/resources/views/components/applications/navbar.blade.php +++ b/resources/views/components/applications/navbar.blade.php @@ -1,4 +1,4 @@ -