id stringlengths 64 64 | repo_name stringlengths 7 87 | repo_license stringclasses 27 values | repo_language stringclasses 45 values | repo_description stringlengths 0 349 | repo_url stringlengths 26 106 | repo_stars int64 1 67k | repo_forks int64 0 9.36k | repo_commits int64 6 181k | repo_created_at timestamp[ms]date 2025-08-01 01:36:39 2025-12-31 23:38:47 | repo_updated_at timestamp[ms]date 2025-08-10 14:25:18 2026-02-02 19:46:21 | file_name stringlengths 3 158 | file_path stringlengths 4 233 | file_contents stringlengths 59 23.4k | file_language stringclasses 42 values | file_tokens int64 15 4k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
19174a2f44ac1bd53a7ae54d1623538fcdb9afed098f999b9ab4d54da2a3452f | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | 2fa.blade.php | sleek/views/auth/2fa.blade.php | <form
class="mx-auto flex flex-col gap-3 shadow-lg px-6 sm:px-8 py-6 bg-background-secondary backdrop-blur-sm rounded-lg max-w-md w-full border border-neutral/20"
wire:submit="verify">
<div class="flex flex-col items-center mb-4">
<x-logo class="h-10 mb-2" />
<h1 class="text-xl font-bold text-center text-base">{{ __('auth.verify_2fa') }}</h1>
<p class="text-xs text-base/60 mt-1 text-center">Enter your two-factor authentication code</p>
</div>
<x-form.input name="code" type="text" :label="__('account.input.two_factor_code')" :placeholder="__('account.input.two_factor_code_placeholder')" wire:model="code" required
divClass="mt-1" />
<x-button.primary
class="w-full py-2 mt-2 font-medium transition-all duration-200 hover:shadow-lg hover:shadow-primary/20"
type="submit">
{{ __('auth.verify') }}
</x-button.primary>
</form>
| Blade | 243 |
e1788b0a9f0b19ee16dc9aeda77138bbf74f0494e76f057b120203ec0877323c | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | login.blade.php | sleek/views/auth/login.blade.php | <div class="min-h-[80vh] flex items-center justify-center w-full py-4">
<form
class="mx-auto flex flex-col gap-3 shadow-lg px-6 sm:px-8 py-6 bg-background-secondary backdrop-blur-sm rounded-lg max-w-md w-full border border-neutral/20"
wire:submit="submit" id="login">
<div class="flex flex-col items-center mb-4">
<x-logo class="h-10 mb-2" />
<h1 class="text-xl font-bold text-center text-base">{{ __('auth.sign_in_title') }}</h1>
<p class="text-xs text-base/60 mt-1 text-center">Enter your credentials to access your account</p>
</div>
<div class="space-y-3">
<x-form.input name="email" type="email" :label="__('general.input.email')" :placeholder="__('general.input.email_placeholder')" wire:model="email"
hideRequiredIndicator required />
<x-form.input name="password" type="password" :label="__('general.input.password')" :placeholder="__('general.input.password_placeholder')" required
hideRequiredIndicator wire:model="password" />
<div class="flex flex-row items-center justify-between">
<x-form.checkbox name="remember" label="Remember me" wire:model="remember" />
<a class="text-sm text-primary hover:underline transition-colors"
href="{{ route('password.request') }}">
{{ __('auth.forgot_password') }}
</a>
</div>
</div>
<x-captcha :form="'login'" />
<x-button.primary
class="w-full py-2 mt-2 font-medium transition-all duration-200 hover:shadow-lg hover:shadow-primary/20"
type="submit">
{{ __('auth.sign_in') }}
</x-button.primary>
@if (config('settings.oauth_github') || config('settings.oauth_google') || config('settings.oauth_discord'))
<div class="flex flex-col items-center mt-3">
<div class="my-2 flex items-center w-full">
<span aria-hidden="true" class="h-px grow bg-neutral/20"></span>
<span class="px-2 text-xs font-medium text-base/60">
{{ __('auth.or_sign_in_with') }}
</span>
<span aria-hidden="true" class="h-px grow bg-neutral/20"></span>
</div>
<div class="flex flex-row flex-wrap justify-center gap-2 w-full">
@foreach (['github', 'google', 'discord'] as $provider)
@if (config('settings.oauth_' . $provider))
<a href="{{ route('oauth.redirect', $provider) }}"
class="flex items-center justify-center px-3 py-1.5 flex-1 bg-background hover:bg-neutral/10 transition-colors border border-neutral/20 rounded-md text-xs">
<img src="/assets/images/{{ $provider }}-dark.svg" alt="{{ $provider }}"
class="size-4 mr-1.5">
{{ __(ucfirst($provider)) }}
</a>
@endif
@endforeach
</div>
</div>
@endif
@if (!config('settings.registration_disabled', false))
<div class="text-center mt-3 text-xs text-base/70">
{{ __('auth.dont_have_account') }}
<a class="text-primary font-medium hover:underline transition-colors" href="{{ route('register') }}"
wire:navigate>
{{ __('auth.sign_up') }}
</a>
</div>
@endif
</form>
</div>
| Blade | 791 |
07db262f279225045dc25034f7807e46c4497fa766a9337783a9e2cd1b8eba80 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | reset.blade.php | sleek/views/auth/password/reset.blade.php | <form
class="mx-auto flex flex-col gap-3 shadow-lg px-6 sm:px-8 py-6 bg-background-secondary backdrop-blur-sm rounded-lg max-w-md w-full border border-neutral/20"
wire:submit="submit" id="reset">
<div class="flex flex-col items-center mb-4">
<x-logo class="h-10 mb-2" />
<h1 class="text-xl font-bold text-center text-base">{{ __('auth.reset_password') }}</h1>
<p class="text-xs text-base/60 mt-1 text-center">Create a new password for your account</p>
</div>
<x-form.input name="email" type="text" :label="__('auth.input.email_label')" :placeholder="__('auth.input.email')" wire:model="email" required disabled
divClass="mt-1" />
<x-form.input name="password" type="password" :label="__('Password')" :placeholder="__('Your password')" wire:model="password" required
divClass="mt-1" />
<x-form.input name="password_confirm" type="password" :label="__('Password')" :placeholder="__('Confirm your password')"
wire:model="password_confirmation" required divClass="mt-1" />
<x-captcha :form="'reset'" />
<x-button.primary
class="w-full py-2 mt-2 font-medium transition-all duration-200 hover:shadow-lg hover:shadow-primary/20"
type="submit">
{{ __('auth.reset_password') }}
</x-button.primary>
</form>
| Blade | 341 |
e4fc70616247cc1948ecf1141708065d81d1b472b0513770d82ffaf7aebbf0bd | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | register.blade.php | sleek/views/auth/register.blade.php | <div class="min-h-[80vh] flex items-center justify-center w-full py-4">
<form
class="mx-auto flex flex-col gap-3 shadow-lg px-6 sm:px-8 py-6 bg-background-secondary backdrop-blur-sm rounded-lg max-w-2xl w-full border border-neutral/20"
wire:submit.prevent="submit" id="register">
<div class="flex flex-col items-center mb-4">
<x-logo class="h-10 mb-2" />
<h1 class="text-xl font-bold text-center text-base">{{ __('auth.sign_up_title') }}</h1>
<p class="text-xs text-base/60 mt-1 text-center">Create your account to get started</p>
</div>
<div class="flex flex-col md:grid md:grid-cols-2 gap-3">
<x-form.input name="first_name" type="text" :label="__('general.input.first_name')" :placeholder="__('general.input.first_name_placeholder')" wire:model="first_name"
required divClass="mt-1" />
<x-form.input name="last_name" type="text" :label="__('general.input.last_name')" :placeholder="__('general.input.last_name_placeholder')" wire:model="last_name"
required divClass="mt-1" />
<x-form.input name="email" type="email" :label="__('general.input.email')" :placeholder="__('general.input.email_placeholder')" required wire:model="email"
divClass="col-span-2 mt-1" />
<x-form.input name="password" type="password" :label="__('Password')" :placeholder="__('Your password')" wire:model="password"
required divClass="mt-1" />
<x-form.input name="password_confirm" type="password" :label="__('Password')" :placeholder="__('Confirm your password')"
wire:model="password_confirmation" required divClass="mt-1" />
<x-form.properties :custom_properties="$custom_properties" :properties="$properties" />
@if (config('settings.tos'))
<div class="col-span-2 mt-1">
<x-form.checkbox wire:model="tos" name="tos" required>
{{ __('product.tos') }}
<a href="{{ config('settings.tos') }}" target="_blank"
class="text-primary hover:underline transition-colors">
{{ __('product.tos_link') }}
</a>
</x-form.checkbox>
</div>
@endif
</div>
<x-captcha :form="'register'" />
<x-button.primary
class="w-full py-2 mt-3 font-medium transition-all duration-200 hover:shadow-lg hover:shadow-primary/20"
type="submit">
{{ __('Sign up') }}
</x-button.primary>
<div class="text-center mt-3 text-xs text-base/70">
{{ __('auth.already_have_account') }}
<a class="text-primary font-medium hover:underline transition-colors" href="{{ route('login') }}"
wire:navigate>
{{ __('auth.sign_in') }}
</a>
</div>
</form>
</div>
| Blade | 684 |
75fba7ea332ac36ae91a57936dcafddaaa264afb7075d07d72057bd5dde7667e | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | primary.blade.php | sleek/views/components/button/primary.blade.php | <button
{{ $attributes->merge(['class' => 'flex items-center gap-2 justify-center bg-primary text-black text-sm font-medium hover:bg-primary/90 py-2 px-4 rounded-md shadow-sm transition-all duration-200 cursor-pointer disabled:cursor-not-allowed disabled:opacity-50 focus:outline-none focus:ring-2 focus:ring-primary/30']) }}>
@if (isset($type) && $type === 'submit')
<div role="status" wire:loading>
<svg aria-hidden="true" class="size-6 me-2 fill-background animate-spin" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<path d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z" opacity="0.25" />
<path
d="M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z" />
</svg>
<span class="sr-only">Loading...</span>
</div>
<div wire:loading.remove>
{{ $slot }}
</div>
@else
{{ $slot }}
@endif
</button>
| Blade | 432 |
1a2ead23cb14c1d00a9702ecab60e6c4e7ae42d722b07b072314cce1379bd16e | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | save.blade.php | sleek/views/components/button/save.blade.php | <div class="flex flex-row items-center">
<x-button.primary {{ $attributes }}>
{{ $slot }}
</x-button.primary>
<div class="items-center justify-center ml-2 text-success hidden opacity-0 transition-opacity ease-in-out delay-150 duration-300 mt-4"
id="saved">
{{ __('Saved!') }}
</div>
@script
<script>
$wire.on('saved', function() {
setTimeout(() => {
document.getElementById('saved').classList.remove('hidden');
}, 50);
setTimeout(() => {
document.getElementById('saved').classList.remove('opacity-0');
document.getElementById('saved').classList.add('opacity-100');
}, 70);
setTimeout(() => {
document.getElementById('saved').classList.remove('opacity-100');
document.getElementById('saved').classList.add('opacity-0');
}, 2500);
});
</script>
@endscript
</div>
| Blade | 204 |
27d084419dd3b310adeb1f28cf790301ddb9af017b97316aa7f2458791c8537a | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | turnstile.blade.php | sleek/views/components/captcha/turnstile.blade.php | @assets
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit"></script>
@endassets
<div id="cf-turnstile"></div>
<script>
function renderTurnstile() {
const isDarkMode = localStorage.getItem('_x_darkMode') === 'true';
const theme = isDarkMode ? 'dark' : 'light';
turnstile.render('#cf-turnstile', {
sitekey: '{{ config('settings.captcha_site_key') }}',
size: 'flexible',
theme: theme,
callback: token => @this.set('captcha', token, false),
});
}
document.addEventListener('livewire:initialized', () => {
// On livewire validation error reset captcha
Livewire.hook('request', ({
succeed
}) => {
succeed(() => {
turnstile.reset();
});
})
});
</script>
@script
<script>
renderTurnstile();
</script>
@endscript
| Blade | 213 |
7e33710c15586c7ec1afeefce8599e8a1b9eaf86c3431f9fcb0863924173460d | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | confirmation.blade.php | sleek/views/components/confirmation.blade.php | <template x-teleport="body">
<div class="fixed inset-0 z-30 flex items-center justify-center overflow-hidden bg-black/50"
x-show="$store.confirmation.show"
x-on:keydown.escape.window="!$store.confirmation.loading && $store.confirmation.close()">
<!-- Modal inner -->
<div class="px-6 py-4 w-full mx-2 md:mx-auto text-left bg-background-secondary rounded shadow-lg max-h-screen overflow-y-auto mb-8 mt-8 max-w-2xl"
x-cloak x-transition:enter="transition ease-out duration-300" x-transition:enter-start="opacity-0 scale-90"
x-transition:enter-end="opacity-100 scale-100" x-transition:leave="transition ease-in duration-300"
x-transition:leave-start="opacity-100 scale-100" x-transition:leave-end="opacity-0 scale-90">
<div class="flex justify-between items-center">
<h2 class="text-2xl font-semibold text-primary-100" x-text="$store.confirmation.title"></h2>
<button @click="!$store.confirmation.loading && $store.confirmation.close()"
class="text-primary-100"
:class="{ 'opacity-50 cursor-not-allowed': $store.confirmation.loading }">
<x-ri-close-fill class="size-6" />
</button>
</div>
<div class="mt-4" x-text="$store.confirmation.message"></div>
<div class="mt-5 sm:mt-4 flex-col sm:flex-row flex sm:flex-row-reverse gap-2">
<x-button.primary type="button"
x-on:click="$store.confirmation.execute()"
::disabled="$store.confirmation.loading">
<!-- Loading spinner -->
<template x-if="$store.confirmation.loading">
<div class="mr-2">
<x-ri-loader-5-fill class="size-4 animate-spin" />
</div>
</template>
<span x-text="$store.confirmation.loading ? 'Loading...' : $store.confirmation.confirmText"></span>
</x-button.primary>
<x-button.danger type="button"
x-text="$store.confirmation.cancelText"
x-on:click="!$store.confirmation.loading && $store.confirmation.close()"
::disabled="$store.confirmation.loading">
</x-button.danger>
</div>
</div>
</div>
</template> | Blade | 540 |
6c11b3542225aabf09bf26bd77e9528c2b23082203bfa6800c31a93a485aae2c | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | input.blade.php | sleek/views/components/form/input.blade.php | @props([
'name',
'label' => null,
'required' => false,
'divClass' => null,
'class' => null,
'placeholder' => null,
'id' => null,
'type' => null,
'hideRequiredIndicator' => false,
'dirty' => false,
])
<fieldset class="flex flex-col mt-3 w-full {{ $divClass ?? '' }}">
@if ($label)
<label for="{{ $name }}" class="block text-sm font-medium mb-1.5">
{{ $label }}
@if ($required && !$hideRequiredIndicator)
<span class="text-error">*</span>
@endif
</label>
@endif
<input type="{{ $type ?? 'text' }}" id="{{ $id ?? $name }}" name="{{ $name }}"
class="block w-full text-sm text-base bg-background border border-neutral/20 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary hover:border-neutral/30 transition-all duration-200 disabled:bg-background/50 disabled:cursor-not-allowed {{ $class ?? '' }} @if ($type !== 'color') px-2.5 py-2.5 @endif"
placeholder="{{ $placeholder ?? '' }}"
@if ($dirty && isset($attributes['wire:model'])) wire:dirty.class="!border-yellow-600" @endif
{{ $attributes->except(['placeholder', 'label', 'id', 'name', 'type', 'class', 'divClass', 'required', 'hideRequiredIndicator', 'dirty']) }}
@required($required) />
@error($name)
<p class="text-error text-xs">{{ $message }}</p>
@enderror
</fieldset>
| Blade | 379 |
86dc936dc90e60f56e2ab364557bbc4843fd6c8299ba3de93c7e2823749224a1 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | select.blade.php | sleek/views/components/form/select.blade.php | @props([
'name',
'label' => null,
'options' => [],
'selected' => null,
'multiple' => false,
'required' => false,
'divClass' => null,
'hideRequiredIndicator' => false,
])
<fieldset class="flex flex-col mt-3 w-full {{ $divClass ?? '' }}">
@if ($label)
<label for="{{ $name }}" class="block text-sm font-medium mb-1.5">
{{ $label }}
@if ($required && !$hideRequiredIndicator)
<span class="text-error">*</span>
@endif
</label>
@endif
<select id="{{ $id ?? $name }}" {{ $multiple ? 'multiple' : '' }}
{{ $attributes->except(['options', 'id', 'name', 'multiple', 'class']) }}
class="block px-2.5 py-2.5 w-full text-sm text-base bg-background border border-neutral/20
rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-neutral/30 focus:border-neutral hover:border-neutral transition-all duration-200 form-select disabled:bg-background/50 disabled:cursor-not-allowed">
@if (count($options) == 0 && $slot)
{{ $slot }}
@else
@foreach ($options as $key => $option)
<option value="{{ gettype($options) == 'array' ? $option : $key }}"
{{ ($multiple && $selected ? in_array($key, $selected) : $selected == $option) ? 'selected' : '' }}>
{{ $option }}</option>
@endforeach
@endif
</select>
@if ($multiple)
<p class="text-xs text-base">
{{ __('Pro tip: Hold down the Ctrl (Windows) / Command (Mac) button to select multiple options.') }}</p>
@endif
@error($name)
<p class="text-error text-xs">{{ $message }}</p>
@enderror
</fieldset>
| Blade | 439 |
314644e44282b62d5f9a1f79bdaf64a8ec0cde9404d6d0aafc13860eeef66133 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | setting.blade.php | sleek/views/components/form/setting.blade.php | <div class="flex flex-col gap-1">
@switch($setting->type)
@case('select')
<x-form.select name="fields.{{ $key }}.{{ $setting->name }}" :label="__($setting->label ?? $setting->name)" :required="$setting->required ?? false"
:options="$setting->options" :selected="config('settings.' . $setting->name)" :multiple="$setting->multiple ?? false"
wire:model="fields.{{ $key }}.{{ $setting->name }}" />
@break
@case('text')
@case('password')
@case('email')
@case('number')
@case('color')
@case('file')
<x-form.input name="fields.{{ $key }}.{{ $setting->name }}" :type="$setting->type" :label="__($setting->label ?? $setting->name)"
:placeholder="$setting->default ?? ''" :required="$setting->required ?? false" wire:model="fields.{{ $key }}.{{ $setting->name }}" />
@break
@case('checkbox')
<x-form.checkbox name="fields.{{ $key }}.{{ $setting->name }}" type="checkbox" :label="__($setting->label ?? $setting->name)"
:required="$setting->required ?? false" :checked="config('settings.' . $setting->name) ? true : false" wire:model="fields.{{ $key }}.{{ $setting->name }}" />
@break
@default
@endswitch
@isset($setting->description)
@isset($setting->link)
<a href="{{ $setting->link }}" class="text-xs text-primary-500 hover:underline hover:text-secondary group">
{{ $setting->description }}
<x-ri-arrow-right-long-line class="ml-1 size-3 inline-block -rotate-45 group-hover:rotate-0 transition" />
</a>
@else
<p class="text-xs text-primary-500">{{ $setting->description }}</p>
@endisset
@endisset
</div>
| Blade | 456 |
3addf710954d2054f177b513a4eeec8ee2750f2cc8c143c64b746d2f4af8b80d | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | amex.blade.php | sleek/views/components/icons/amex.blade.php | <svg {{ $attributes }} viewBox="0 0 32 22" fill="none" xmlns="http://www.w3.org/2000/svg" class="p-Logo p-Logo--md p-CardBrandIcon">
<g clip-path="url(#clip0_4934_35113)">
<rect width="32" height="32" transform="translate(0 -5.3501)" fill="#0193CE"></rect>
<path d="M25.5028 10.7339L28.5406 7.6228H24.4902L23.3932 8.79998L22.465 7.6228H17.7915V8.46364H22.1275L23.3932 9.97716L24.8277 8.46364H26.3466L24.1527 10.7339L26.3466 12.8339H24.8277L23.3932 11.3225L22.0788 12.8339H17.7915V13.6769H22.465L23.3932 12.4997L24.4902 13.6769H28.5406L25.5028 10.7339Z" fill="white"></path>
<path d="M18.9209 11.9952H21.4524L22.6338 10.7339L21.6212 9.47265H18.9209V10.3135H21.2837V11.1543H18.9209V11.9952Z" fill="white"></path>
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.30466 12.6678L6.95509 13.6769H3.45947L6.43075 7.6228H9.23401L9.57681 8.29548V7.6228H13.0724L13.7716 9.30448L14.4707 7.6228H17.7915V13.6769H15.1618V12.836L14.8202 13.6769H12.7229L12.3733 12.836V13.6769H8.52812L8.17856 12.6678H7.30466ZM15.8689 12.836H16.9115L16.9176 8.46364H15.1698L13.7716 11.4907L12.3733 8.46364H10.6255V12.4997L8.52812 8.46364H7.12987L5.0325 12.836H6.25597L6.60553 11.827H8.87769L9.22725 12.836H11.6742V9.47265L13.2472 12.836H14.2959L15.8689 9.47265V12.836ZM8.52812 10.9862L7.829 9.13632L6.95509 10.9862H8.52812Z" fill="white"></path>
</g>
<defs>
<clipPath id="clip0_4934_35113">
<rect width="32" height="21.3" rx="4" fill="white"></rect>
</clipPath>
</defs>
</svg>
| Blade | 779 |
db7f6cdc84023492895be2f909dfee73b7c13e30b637618db1fb230cab54f70e | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | bancontact.blade.php | sleek/views/components/icons/bancontact.blade.php | <svg {{ $attributes }} viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" class="⚙ as-9n as-z as-10 as-11 as-8a as-13 as-14 as-47 as-3 ⚙9ssu6z">
<path fill="#EBF1F7" d="M0 0h32v32H0z"></path>
<g clip-path="url(#bi_bancontact__a_:r83:_0)">
<path d="M8.164 21.448c3.918 0 5.877-2.612 7.836-5.224H3v5.224h5.164Z" fill="url(#bi_bancontact__b_:r83:_1)"></path>
<path d="M23.836 11c-3.918 0-5.877 2.612-7.836 5.224h13V11h-5.164Z" fill="url(#bi_bancontact__c_:r83:_2)"></path>
</g>
<defs>
<linearGradient id="bi_bancontact__b_:r83:_1" x1="5.629" y1="19.077" x2="15.139" y2="15.544" gradientUnits="userSpaceOnUse">
<stop stop-color="#005AB9"></stop>
<stop offset="1" stop-color="#1E3764"></stop>
</linearGradient>
<linearGradient id="bi_bancontact__c_:r83:_2" x1="16.787" y1="16.677" x2="26.885" y2="13.232" gradientUnits="userSpaceOnUse">
<stop stop-color="#FBA900"></stop>
<stop offset="1" stop-color="#FFD800"></stop>
</linearGradient>
<clipPath id="bi_bancontact__a_:r83:_0">
<path fill="#fff" transform="translate(3 11)" d="M0 0h26v10.447H0z"></path>
</clipPath>
</defs>
</svg>
| Blade | 495 |
b691e12c97478cb046df8b952ee15c8e7e1a3c54c17ec4107efdbad75a86d691 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | paypal.blade.php | sleek/views/components/icons/paypal.blade.php | <svg {{ $attributes }} viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="512" height="512" fill="#F5F6F8" />
<path d="M336.397 181.48C336.397 215.667 304.847 256 257.111 256H211.129L208.872 270.242L198.145 338.8H141L175.378 118H267.961C299.137 118 323.664 135.376 332.698 159.523C335.304 166.543 336.559 173.993 336.397 181.48Z" fill="#002991" />
<path d="M369.331 244.96C363.031 283.237 329.898 311.293 291.106 311.2H259.176L245.885 394H189.047L198.143 338.8L208.876 270.241L211.127 256H257.109C304.783 256 336.395 215.667 336.395 181.479C359.855 193.587 373.532 218.053 369.331 244.96Z" fill="#60CDFF" />
<path d="M336.397 181.48C326.559 176.334 314.629 173.2 301.645 173.2H224.119L211.129 256H257.111C304.785 256 336.397 215.667 336.397 181.48Z" fill="#008CFF" />
</svg>
| Blade | 390 |
70774c1896424f3060b596a0cfd4912ddb51205d50d85c10f0f7e38ed42772ad | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | language-switch.blade.php | sleek/views/components/language-switch.blade.php | <x-select
wire:model.live="currentLocale"
:options="collect($locales)->map(fn($locale, $code) => [
'value' => $code,
'label' => $locale,
])->values()->toArray()"
placeholder="Select language"
class="min-w-[120px] flex-shrink-0"
/>
{{-- Custom dropdown version (disabled for now) --}}
{{--
<div class="relative" x-data="{ open: false }">
<button
@click="open = !open"
class="p-2 rounded-md hover:bg-neutral/10 transition-colors flex items-center justify-center"
aria-label="Change language"
>
<svg xmlns="http://www.w3.org/2000/svg" class="size-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5h12M9 3v2m1.048 9.5A18.022 18.022 0 016.412 9m6.088 9h7M11 21l5-10 5 10M12.751 5C11.783 10.77 8.07 15.61 3 18.129" />
</svg>
<span class="ml-1 text-xs font-medium">{{ strtoupper(app()->getLocale()) }}</span>
</button>
<div
x-show="open"
@click.outside="open = false"
x-transition:enter="transition ease-out duration-150"
x-transition:enter-start="opacity-0 scale-90"
x-transition:enter-end="opacity-100 scale-100"
x-transition:leave="transition ease-in duration-75"
x-transition:leave-start="opacity-100 scale-100"
x-transition:leave-end="opacity-0 scale-90"
x-cloak
style="z-index: 9999;"
class="absolute right-0 mt-1 w-48 bg-background-secondary rounded-md shadow-xl border border-neutral/20 py-1"
>
@foreach ($locales as $code => $locale)
<button
wire:click="changeLocale('{{ $code }}')"
@click="open = false"
class="block w-full text-left px-3 py-1.5 text-sm whitespace-nowrap hover:bg-primary/5 transition-colors {{ app()->getLocale() === $code ? 'text-primary font-semibold bg-primary/5' : 'text-base hover:text-primary' }}"
>
{{ $locale }}
</button>
@endforeach
</div>
</div>
--}}
| Blade | 589 |
3fc9efa270395ca28bac951ee0e0f1bd4a9e541d474f7514d716bc62c0e43bc9 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | logo-marquee.blade.php | sleek/views/components/logo-marquee.blade.php | @if (theme('enable_logo_marquee', true))
@php
$logoUrls = [
theme('logo_marquee_image_url_1', 'https://placehold.co/200x80/cccccc/666666?text=Logo+1'),
theme('logo_marquee_image_url_2', 'https://placehold.co/200x80/cccccc/666666?text=Logo+2'),
theme('logo_marquee_image_url_3', 'https://placehold.co/200x80/cccccc/666666?text=Logo+3'),
theme('logo_marquee_image_url_4', 'https://placehold.co/200x80/cccccc/666666?text=Logo+4'),
theme('logo_marquee_image_url_5', 'https://placehold.co/200x80/cccccc/666666?text=Logo+5'),
theme('logo_marquee_image_url_6', 'https://placehold.co/200x80/cccccc/666666?text=Logo+6'),
];
$allLogos = array_merge($logoUrls, $logoUrls);
@endphp
<div class="py-8">
<div class="max-w-7xl mx-auto px-6 lg:px-8">
<div class="text-center mb-10">
<h2 class="text-3xl md:text-4xl font-bold text-base mb-4">{{ theme('logo_marquee_title') }}</h2>
<p class="text-lg text-base/70 max-w-2xl mx-auto">{{ theme('logo_marquee_description') }}</p>
</div>
<div class="relative overflow-hidden">
<div class="absolute left-0 top-0 bottom-0 w-16 bg-gradient-to-r from-background to-transparent z-10">
</div>
<div class="absolute right-0 top-0 bottom-0 w-16 bg-gradient-to-l from-background to-transparent z-10">
</div>
<div class="flex overflow-hidden">
<div class="flex animate-marquee whitespace-nowrap">
@foreach ($allLogos as $logoUrl)
<div class="flex-shrink-0 h-12 w-auto mx-6 flex items-center justify-center">
<img src="{{ $logoUrl }}" alt="Trusted Partner Logo"
class="h-full w-auto object-contain opacity-70">
</div>
@endforeach
</div>
</div>
</div>
</div>
</div>
<style>
@keyframes marquee {
0% {
transform: translateX(0%);
}
100% {
transform: translateX(-100%);
}
}
.animate-marquee {
animation: marquee 20s linear infinite;
}
</style>
@endif
| Blade | 616 |
3617ca7ce2aa9aba050174463f9b13c5567de7c8c0658e38768aa59ba2008774 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | modal.blade.php | sleek/views/components/modal.blade.php | @props([
'title' => '',
'closable' => true,
'closeTrigger' => '',
'open' => false,
'width' => 'max-w-3xl',
])
<div x-data="{ open: {{ $open ? 'true' : 'false' }} }">
<template x-teleport="body">
<div class="fixed inset-0 z-30 flex items-center justify-center overflow-hidden bg-black/50" x-show="open">
<div class="px-6 py-4 w-full mx-2 md:mx-auto text-left bg-background-secondary rounded-lg border border-neutral/20 shadow-xl max-h-screen overflow-y-auto mb-8 mt-8 {{ $width }}"
x-cloak x-transition:enter="transition ease-out duration-300"
x-transition:enter-start="opacity-0 scale-90" x-transition:enter-end="opacity-100 scale-100"
x-transition:leave="transition ease-in duration-300" x-transition:leave-start="opacity-100 scale-100"
x-transition:leave-end="opacity-0 scale-90">
<div class="flex justify-between items-center">
<h2 class="text-2xl font-semibold text-base">{{ $title }}</h2>
@if ($closable && !$closeTrigger)
<button @click="open = false"
class="text-base/70 hover:text-base transition-colors duration-200">
<x-ri-close-fill class="size-6" />
</button>
@elseif ($closable && $closeTrigger)
{{ $closeTrigger }}
@endif
</div>
<div class="mt-4">
{{ $slot }}
</div>
</div>
</div>
</template>
</div>
| Blade | 386 |
55550d3984b3a4a32c2d1391bea0d614d89b33fa7ac144eb2b027dfc6ada8332 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | breadcrumb.blade.php | sleek/views/components/navigation/breadcrumb.blade.php | @php
$currentUrl = url()->current();
$currentPath = parse_url($currentUrl, PHP_URL_PATH) ?? '/';
$currentPath = $currentPath === '' ? '/' : $currentPath;
$normalizedCurrentUrl = rtrim($currentUrl, '/');
$navigation = [\App\Classes\Navigation::getLinks()];
if (\Illuminate\Support\Facades\Auth::check()) {
$navigation[] = \App\Classes\Navigation::getAccountDropdownLinks();
$navigation[] = \App\Classes\Navigation::getDashboardLinks();
}
function normalizeNavigationUrl($url)
{
if (!is_string($url) || $url === '' || $url === '#') {
return [null, null];
}
$fullUrl = filter_var($url, FILTER_VALIDATE_URL) ? $url : url($url);
$fullUrl = rtrim($fullUrl, '/');
$path = parse_url($fullUrl, PHP_URL_PATH) ?? '/';
$path = $path === '' ? '/' : $path;
return [$fullUrl, $path];
}
function findBreadcrumb($items, $currentUrl, $currentPath)
{
foreach ($items as $item) {
[$itemUrl, $itemPath] = normalizeNavigationUrl($item['url'] ?? null);
if ($itemUrl && ($itemUrl === $currentUrl || $itemPath === $currentPath)) {
return [$item];
}
if (!empty($item['children'])) {
$childTrail = findBreadcrumb($item['children'], $currentUrl, $currentPath);
if (!empty($childTrail)) {
return array_merge([$item], $childTrail);
}
}
}
return [];
}
$breadcrumbs = [];
foreach ($navigation as $group) {
$breadcrumbs = findBreadcrumb($group, $normalizedCurrentUrl, $currentPath);
if (!empty($breadcrumbs)) {
break;
}
}
@endphp
<div class="flex flex-row items-center pb-4">
@if (!empty($breadcrumbs))
@foreach ($breadcrumbs as $index => $breadcrumb)
@if ($index > 0)
<x-ri-arrow-right-s-line class="size-4 text-base mx-2" />
@endif
@if (count($breadcrumbs) === 1)
<span class="text-2xl font-bold">
{{ $breadcrumb['name'] ?? '' }}
</span>
@elseif ($index === count($breadcrumbs) - 1)
<span class="text-base/80 font-semibold">
{{ $breadcrumb['name'] ?? '' }}
</span>
@else
<a href="{{ $breadcrumb['url'] ?? (isset($breadcrumb['route']) ? route($breadcrumb['route'], $breadcrumb['params'] ?? []) : '#') }}"
class="text-lg font-bold hover:text-primary">
{{ $breadcrumb['name'] ?? '' }}
</a>
@endif
@endforeach
@else
<span class="text-lg font-bold">{{ __('navigation.home') }}</span>
@endif
</div>
| Blade | 667 |
8963c9674881fb911c813fc907e953959c713d5854a5c723d4bea6be0429102d | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | notifications.blade.php | sleek/views/components/notifications.blade.php | <div>
<x-dropdown width="w-84" :showArrow="false">
<x-slot:trigger>
<div class="relative w-10 h-10 flex items-center justify-center rounded-lg hover:bg-neutral transition" x-data="{ hasNew: false }" x-on:new-notification.window="hasNew = true"
@click="hasNew = false">
<x-ri-notification-3-fill class="size-4" ::class="{'animate-wiggle': hasNew}"/>
@if($this->notifications->where('read_at', null)->count() > 0)
<span
class="absolute top-0 right-0 w-4 h-4 inline-flex items-center justify-center text-xs font-bold leading-none text-red-100 bg-red-600 rounded-full">
{{ $this->notifications->where('read_at', null)->count() }}
</span>
@endif
</div>
</x-slot:trigger>
<x-slot:content>
<div class="w-full max-h-96 overflow-y-auto p-3 space-y-3">
@if ($this->notifications->isEmpty())
<div class="rounded-xl border border-neutral/20 bg-background-secondary p-4 text-center text-sm text-base/80">
{{ __('No new notifications') }}
</div>
@else
@foreach ($this->notifications as $notification)
<div wire:click="goToNotification('{{ $notification->id }}')"
class="group block cursor-pointer rounded-xl border border-neutral/20 bg-background-secondary p-4 transition-all duration-200 hover:border-neutral/30 hover:shadow-sm">
<div class="flex items-start gap-3">
<x-ri-notification-3-fill
class="size-5 mt-1 flex-shrink-0 {{ $notification->read_at ? 'text-base/80' : 'text-primary' }}" />
<div class="flex flex-col">
<span class="font-medium group-hover:text-primary transition-colors">{{ $notification->title }}</span>
<span class="text-sm text-base/80">{{ $notification->body }}</span>
<div class="flex flex-row justify-between mt-2 text-xs text-base/60">
<p>
{{ $notification->created_at->diffForHumans() }}
</p>
<button wire:click.stop="markAsRead('{{ $notification->id }}')" class="cursor-pointer text-primary/80 hover:text-primary transition-colors"
type="button">
{{ __('Mark as read') }}
</button>
</div>
</div>
</div>
</div>
@endforeach
@endif
</div>
</x-slot:content>
</x-dropdown>
</div> | Blade | 591 |
568e9571e47b0db4de696500f8668bcd3d981b4fef12b54e9294a7ab980f54ca | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | panel-showcase.blade.php | sleek/views/components/panel-showcase.blade.php | @if (theme('enable_panel_showcase', true))
<div class="py-16 w-full">
<div class="max-w-7xl mx-auto px-6 lg:px-8 w-full">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
<div class="order-2 lg:order-1 flex flex-col justify-center lg:justify-start">
<h2 class="text-3xl md:text-4xl font-bold text-base mb-6">
{{ theme('panel_showcase_title', 'Powerful Game Control Panel') }}
</h2>
<p class="text-lg text-base/70">
{{ theme('panel_showcase_description', 'Take full control of your game servers with our intuitive control panel. Easily manage settings, monitor performance, and deploy mods with just a few clicks.') }}
</p>
</div>
<div class="order-1 lg:order-2 flex justify-center lg:justify-end">
@php
$showcaseImageUrl = theme('panel_showcase_image_url', 'https://placehold.co/1200x800');
@endphp
<div class="rounded-lg overflow-hidden shadow-lg border border-neutral/10 w-full max-w-lg">
<img src="{{ $showcaseImageUrl }}" alt="Game Control Panel" class="w-full h-auto">
</div>
</div>
</div>
</div>
</div>
@endif
| Blade | 317 |
997bbd1a66714ee08f98f18635d378a8b761237da5896799161a463fd3112a1c | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | select.blade.php | sleek/views/components/select.blade.php | <div x-data="{
selectOpen: false,
selectedValue: @entangle($attributes->wire('model')),
selectableItems: {{ json_encode($options) }},
selectableItemActive: null,
selectId: $id('select'),
selectDropdownPosition: 'bottom',
init() {
this.$watch('selectOpen', () => {
if (this.selectOpen) {
this.selectableItemActive = this.selectableItems.find(item => item.value === this.selectedValue) ||
this.selectableItems[0];
this.$nextTick(() => this.selectScrollToActiveItem());
}
this.selectPositionUpdate();
});
window.addEventListener('resize', this.resizeHandler = () => this.selectPositionUpdate());
this.$el.addEventListener('alpine:destroyed', () => window.removeEventListener('resize', this.resizeHandler));
},
selectableItemIsActive(item) {
return this.selectableItemActive && this.selectableItemActive.value === item.value;
},
selectableItemActiveNext() {
let index = this.selectableItems.indexOf(this.selectableItemActive);
if (index < this.selectableItems.length - 1) {
this.selectableItemActive = this.selectableItems[index + 1];
this.selectScrollToActiveItem();
}
},
selectableItemActivePrevious() {
let index = this.selectableItems.indexOf(this.selectableItemActive);
if (index > 0) {
this.selectableItemActive = this.selectableItems[index - 1];
this.selectScrollToActiveItem();
}
},
selectScrollToActiveItem() {
if (this.selectableItemActive) {
const activeElement = document.getElementById(this.selectableItemActive.value + '-' + this.selectId);
if (activeElement) {
activeElement.scrollIntoView({ block: 'nearest' });
}
}
},
selectPositionUpdate() {
if (!this.$refs.selectButton || !this.$refs.selectableItemsList) return;
const selectDropdownBottomPos = this.$refs.selectButton.getBoundingClientRect().top +
this.$refs.selectButton.offsetHeight +
this.$refs.selectableItemsList.offsetHeight;
this.selectDropdownPosition = window.innerHeight < selectDropdownBottomPos ? 'top' : 'bottom';
}
}" @keydown.escape="selectOpen = false"
@keydown.down.prevent="if(selectOpen) { selectableItemActiveNext() } else { selectOpen = true }"
@keydown.up.prevent="if(selectOpen) { selectableItemActivePrevious() } else { selectOpen = true }"
@keydown.enter.prevent="selectedValue = selectableItemActive.value; selectOpen = false" class="relative w-full">
<button x-ref="selectButton" @click="selectOpen = !selectOpen"
:class="{ 'ring-2 ring-offset-2 ring-[color:var(--color-border-ring)] ring-offset-[color:var(--color-background)]': selectOpen }"
class="relative w-full min-h-[38px] py-2 pl-3 pr-10 text-left bg-background-secondary border border-[color:var(--color-border-muted)] rounded-md shadow-sm cursor-pointer text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[color:var(--color-border-ring)] focus:ring-offset-[color:var(--color-background)] focus:border-[color:var(--color-border)] hover:border-[color:var(--color-border)]"
type="button">
<span
x-text="selectableItems.find(item => item.value === selectedValue)?.label ?? '{{ $placeholder ?? 'Select option' }}'"
class="block truncate"></span>
<span class="absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none">
<x-ri-expand-up-down-line class="size-4" />
</span>
</button>
<ul x-show="selectOpen" x-ref="selectableItemsList" @click.away="selectOpen = false"
x-transition:enter="transition ease-out duration-100" x-transition:enter-start="opacity-0 scale-95"
x-transition:enter-end="opacity-100 scale-100"
:class="{ 'bottom-full mb-1': selectDropdownPosition === 'top', 'top-full mt-1': selectDropdownPosition === 'bottom' }"
class="absolute z-50 w-full py-1 overflow-auto bg-background-secondary border border-[color:var(--color-border-muted)] rounded-lg shadow-lg max-h-60 focus:outline-none text-sm"
x-cloak>
<template x-for="item in selectableItems" :key="item.value">
<li :id="item.value + '-' + selectId" @click="selectedValue = item.value; selectOpen = false"
@mousemove="selectableItemActive = item" :class="{ 'bg-neutral-700': selectableItemIsActive(item) }"
class="relative py-2 pl-8 pr-4 cursor-pointer select-none hover:bg-neutral-700">
<span class="block truncate" :class="{ 'font-semibold': item.value === selectedValue }"
x-text="item.label"></span>
<span x-show="item.value === selectedValue"
class="absolute inset-y-0 left-0 flex items-center pl-2 text-neutral-400">
<x-ri-check-fill class="size-4" />
</span>
</li>
</template>
</ul>
</div>
| Blade | 1,158 |
67c7e67ec19a9b42b81cca0df7ef5302c0f3ea3fa5459288f5d0d5e6219b8a43 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | 404.blade.php | sleek/views/errors/404.blade.php | <x-app-layout>
<x-slot name="title">
{{ __('errors.404.title') }}
</x-slot>
<div class="min-h-[calc(100vh-12rem)] flex items-center justify-center px-6 py-24">
<div class="max-w-xl w-full space-y-8 text-center">
<div
class="inline-flex items-center gap-3 px-4 py-2 rounded-full border border-primary/20 bg-primary/10 text-primary">
<x-ri-compass-3-line class="size-5" />
<span class="text-sm font-semibold tracking-wide">404</span>
</div>
<div class="space-y-4">
<h1 class="text-4xl sm:text-5xl font-bold text-base">{{ __('errors.404.title') }}</h1>
<p class="text-base/70 text-lg">{{ __('errors.404.message') }}</p>
</div>
<div class="bg-background-secondary border border-neutral/20 rounded-2xl shadow-sm p-8 space-y-6">
<div class="flex justify-center">
<div class="bg-primary/10 border border-primary/20 rounded-2xl p-4">
<x-ri-map-pin-line class="size-8 text-primary" />
</div>
</div>
<p class="text-base/60 text-sm">{{ __('errors.404.message') }}</p>
<a href="{{ route('home') }}" wire:navigate class="w-full sm:w-auto inline-block">
<x-button.primary class="w-full sm:w-auto">
<x-ri-arrow-left-line class="size-4" />
{{ __('errors.404.return_home') }}
</x-button.primary>
</a>
</div>
</div>
</div>
</x-app-layout>
| Blade | 399 |
37405775de81e2228896f51d14de86fd339e91983059482fea612880b6782429 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | index.blade.php | sleek/views/invoices/index.blade.php | <div class="container mt-14 space-y-4">
<x-navigation.breadcrumb />
@forelse ($invoices as $invoice)
<a href="{{ route('invoices.show', $invoice) }}" wire:navigate>
<div class="bg-background-secondary hover:bg-background-secondary/80 border border-neutral/20 p-5 rounded-lg mb-4 transition-all duration-200 shadow-sm hover:shadow-md">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<div class="bg-secondary/10 p-2 rounded-lg">
<x-ri-bill-line class="size-5 text-secondary" />
</div>
<span class="font-medium">
{{ !$invoice->number && config('settings.invoice_proforma', false)
? __('invoices.proforma_invoice', ['id' => $invoice->id])
: __('invoices.invoice', ['id' => $invoice->number]) }}
</span>
<span class="text-base/50 font-semibold">
<x-ri-circle-fill class="size-1 text-base/20" />
</span>
<span class="text-base text-sm">{{ $invoice->formattedTotal }}</span>
</div>
<div class="size-5 rounded-md p-0.5
@if ($invoice->status == 'paid') text-success bg-success/20
@elseif($invoice->status == 'cancelled') text-info bg-info/20
@else text-warning bg-warning/20
@endif">
@if ($invoice->status == 'paid')
<x-ri-checkbox-circle-fill />
@elseif($invoice->status == 'cancelled')
<x-ri-forbid-fill />
@elseif($invoice->status == 'pending')
<x-ri-error-warning-fill />
@endif
</div>
</div>
@foreach ($invoice->items as $item)
<p class="text-base text-sm">
{{ __('Item(s): :description (:date)', ['description' => $item->description, 'date' => $invoice->created_at->format('d M Y')]) }}
</p>
@endforeach
</div>
</a>
@empty
<div class="bg-background-secondary border border-neutral/20 p-5 rounded-lg text-center">
<p class="text-base text-sm">{{ __('invoices.no_invoices') }}</p>
</div>
@endforelse
{{ $invoices->links() }}
</div>
| Blade | 543 |
a3f616a6fb165b7e64411252bea31d7fa31080df1de6937fb80e99d7ed3cca63 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | app.blade.php | sleek/views/layouts/app.blade.php | <!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" @if (in_array(app()->getLocale(), config('app.rtl_locales'))) dir="rtl" @endif>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>
{{ config('app.name', 'Paymenter') }}
@isset($title)
- {{ $title }}
@endisset
</title>
@livewireStyles
@vite(['themes/' . config('settings.theme') . '/js/app.js', 'themes/' . config('settings.theme') . '/css/app.css'], config('settings.theme'))
@include('layouts.colors')
@if (config('settings.favicon'))
<link rel="icon" href="{{ Storage::url(config('settings.favicon')) }}">
@endif
@isset($title)
<meta
content="{{ isset($title) ? config('app.name', 'Paymenter') . ' - ' . $title : config('app.name', 'Paymenter') }}"
property="og:title">
<meta
content="{{ isset($title) ? config('app.name', 'Paymenter') . ' - ' . $title : config('app.name', 'Paymenter') }}"
name="title">
@endisset
@isset($description)
<meta content="{{ $description }}" property="og:description">
<meta content="{{ $description }}" name="description">
@endisset
@isset($image)
<meta content="{{ $image }}" property="og:image">
<meta content="{{ $image }}" name="image">
@endisset
<meta name="theme-color" content="{{ theme('primary') }}">
{!! hook('head') !!}
</head>
<body class="w-full bg-background text-base min-h-screen flex flex-col antialiased" x-cloak x-data="{ darkMode: $persist({{ theme('force_dark_mode', false) ? 'true' : 'window.matchMedia(\'(prefers-color-scheme: dark)\').matches' }}) }"
:class="{ 'dark': darkMode }" x-init="$watch('darkMode', val => { document.documentElement.classList.toggle('dark', val) });
{{ theme('force_dark_mode', false) ? 'darkMode = true;' : '' }}">
{!! hook('body') !!}
<x-navigation />
<x-navigation.dashboard-toolbar />
@php
$isDashboardPage =
auth()->check() &&
(request()->routeIs('dashboard*') ||
request()->routeIs('services*') ||
request()->routeIs('invoices*') ||
request()->routeIs('tickets*') ||
request()->routeIs('account*') ||
request()->routeIs('profile*') ||
request()->routeIs('affiliate*'));
$dashboardPadding = 'pt-[7.5rem]';
$regularPadding = 'pt-[6.5rem]';
@endphp
<div class="w-full flex flex-grow">
<div class="flex flex-col flex-grow overflow-auto">
<main
class="container mx-auto max-w-7xl px-6 lg:px-8 flex-grow {{ $isDashboardPage ? $dashboardPadding : $regularPadding }}">
{{ $slot }}
</main>
<x-notification />
<x-confirmation />
<div class="pt-8">
<x-navigation.footer />
</div>
</div>
<x-impersonating />
</div>
@livewireScriptConfig
{!! hook('footer') !!}
</body>
</html>
| Blade | 795 |
c4d3aae61b271fcb2497e913d57546a4a6fd76cc9eb900e014a6b40060e45bf4 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | cancel.blade.php | sleek/views/services/cancel.blade.php | <div class="space-y-6">
<div class="bg-background rounded-lg border border-neutral/20 p-4">
<p class="text-base/80">
{{ __('services.cancel_are_you_sure') }}
</p>
</div>
<div class="space-y-5">
<x-form.select name="type" label="{{ __('services.cancel_type') }}" required wire:model="type">
<option value="end_of_period">{{ __('services.cancel_end_of_period') }}</option>
<option value="immediate">{{ __('services.cancel_immediate') }}</option>
</x-form.select>
<x-form.textarea name="reason" label="{{ __('services.cancel_reason') }}" required wire:model="reason"
rows="4" />
<template x-if="$wire.type === 'immediate'">
<div class="bg-error/10 border border-error/20 text-error p-4 rounded-lg">
<p class="text-sm">{{ __('services.cancel_immediate_warning') }}</p>
</div>
</template>
<div class="pt-2">
<x-button.danger wire:click="cancelService" wire:confirm="{{ __('services.cancel_are_you_sure') }}"
class="flex items-center gap-2">
<x-ri-close-circle-line class="size-4" />
{{ __('services.cancel') }}
</x-button.danger>
</div>
</div>
</div>
| Blade | 307 |
4c574c3389e77078c94a6fe3b318bb3b66b53a5137311f5fe9432624f4ecad20 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | index.blade.php | sleek/views/services/index.blade.php | <div class="container mt-14 space-y-4">
<x-navigation.breadcrumb />
@forelse ($services as $service)
<a href="{{ route('services.show', $service) }}" wire:navigate>
<div class="bg-background-secondary hover:bg-background-secondary/90 border border-neutral/20 p-5 rounded-xl mb-4 transition-all duration-200 shadow-sm hover:shadow-md">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<div class="bg-secondary/10 p-2 rounded-lg">
<x-ri-instance-line class="size-5 text-secondary" />
</div>
<span class="font-medium truncate max-w-[16rem] sm:max-w-xs md:max-w-sm">
{{ $service->product->name }}
</span>
</div>
<div class="size-5 rounded-md p-0.5
@if ($service->status == 'active') text-success bg-success/20
@elseif($service->status == 'suspended' || $service->status == 'cancelled') text-inactive bg-inactive/20
@else text-warning bg-warning/20
@endif">
@if ($service->status == 'active')
<x-ri-checkbox-circle-fill />
@elseif($service->status == 'suspended' || $service->status == 'cancelled')
<x-ri-forbid-fill />
@elseif($service->status == 'pending')
<x-ri-error-warning-fill />
@endif
</div>
</div>
<p class="text-base text-sm text-base/70">
{{ $service->product->category->name }}
{{ in_array($service->plan->type, ['recurring'])
? ' - ' . __('services.every_period', [
'period' => $service->plan->billing_period > 1 ? $service->plan->billing_period : '',
'unit' => trans_choice(__('services.billing_cycles.' . $service->plan->billing_unit), $service->plan->billing_period),
])
: '' }}
{{ $service->expires_at ? '- ' . __('services.expires_at') . ': ' . $service->expires_at->format('M d, Y') : ''}}
</p>
</div>
</a>
@empty
<div class="bg-background-secondary border border-neutral/20 p-5 rounded-lg text-center">
<p class="text-base text-sm">{{ __('services.no_services') }}</p>
</div>
@endforelse
{{ $services->links() }}
</div>
| Blade | 572 |
8f52e4f889c7009e039b118a4740a19b11f61bdde229c2eff569c9b9e7b335e6 | 26bz/Sleek-Theme | GPL-3.0 | Blade | A Paymenter theme | https://github.com/26bz/Sleek-Theme | 6 | 3 | 48 | 2025-09-24T06:26:42 | 2025-11-30T08:21:34 | index.blade.php | sleek/views/tickets/index.blade.php | <div class="container mt-14 space-y-4">
<div class="flex flex-row justify-end">
<a href="{{ route('tickets.create') }}" wire:navigate>
<x-button.primary
class="flex items-center justify-center gap-2 py-2.5 px-4 font-medium transition-all duration-200 hover:shadow-lg hover:shadow-primary/20">
<x-ri-add-line class="size-5" />
<span>Create New Ticket</span>
</x-button.primary>
</a>
</div>
@forelse ($tickets as $ticket)
<a href="{{ route('tickets.show', $ticket) }}" wire:navigate>
<div class="bg-background-secondary hover:bg-background-secondary/80 border border-neutral/20 p-5 rounded-xl mb-4 transition-all duration-200 shadow-sm hover:shadow-md">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<div class="bg-secondary/10 p-2 rounded-lg">
<x-ri-ticket-line class="size-5 text-secondary" />
</div>
<span class="font-medium truncate max-w-[18rem]">#{{ $ticket->id }} - {{ $ticket->subject }}</span>
</div>
<div class="size-5 rounded-md p-0.5
@if ($ticket->status == 'open') text-success bg-success/20
@elseif($ticket->status == 'closed') text-inactive bg-inactive/20
@else text-info bg-info/20
@endif">
@if ($ticket->status == 'open')
<x-ri-checkbox-circle-fill />
@elseif($ticket->status == 'closed')
<x-ri-close-circle-fill />
@elseif($ticket->status == 'replied')
<x-ri-chat-smile-2-fill />
@endif
</div>
</div>
<p class="text-base text-sm text-base/70">
{{ $ticket->messages()->orderBy('created_at', 'desc')->first()->created_at->diffForHumans() }}
{{ $ticket->department ? ' - ' . $ticket->department : '' }}
</p>
</div>
</a>
@empty
<div class="bg-background-secondary border border-neutral/20 p-5 rounded-lg text-center">
<div class="bg-neutral/5 inline-flex p-5 rounded-full mb-4">
<x-ri-ticket-line class="size-10 text-base/50" />
</div>
<h3 class="text-xl font-semibold mb-2">No Support Tickets</h3>
<p class="text-base/70 mb-6 max-w-md mx-auto">You haven't created any support tickets yet. Need help
with something? Create your first ticket.</p>
<a href="{{ route('tickets.create') }}" class="inline-flex justify-center" wire:navigate>
<x-button.primary class="py-2.5 px-5">
<x-ri-add-line class="size-5" />
<span>Create New Ticket</span>
</x-button.primary>
</a>
</div>
@endforelse
{{ $tickets->links() }}
</div>
| Blade | 714 |
665b85bbdf74f5d5da2ad42e73fff0362f7784f59b56243bfb34326597a03473 | Abdogoda/LARAVEL_TESTS | Blade | A comprehensive blog application built with Laravel 12 Featuring modern design, role-based authentication, content management, and extensive testing coverage. Both a production-ready platform and educational resource for Laravel development. | https://github.com/Abdogoda/LARAVEL_TESTS | 6 | 5 | 49 | 2025-09-11T01:28:12 | 2026-01-20T19:18:00 | verify-email.blade.php | resources/views/auth/verify-email.blade.php | @extends('layouts.app')
@section('title', 'Verify Email')
@section('content')
<div class="max-w-md mx-auto bg-gray-800 border border-gray-700 rounded-lg shadow-lg p-8">
<div class="text-center mb-8">
<div class="w-16 h-16 bg-yellow-900/20 border border-yellow-700 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-8 h-8 text-yellow-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
</div>
<h1 class="text-3xl font-bold text-white">Verify Your Email</h1>
<p class="text-gray-300 mt-2">We've sent a verification link to your email address</p>
</div>
<div class="bg-yellow-900/20 border border-yellow-700 rounded-lg p-4 mb-6">
<p class="text-sm text-yellow-300">
Before continuing, please check your email for a verification link.
If you didn't receive the email, you can request a new one below.
</p>
</div>
@if (session('status') == 'verification-link-sent')
<div class="bg-green-900/20 border border-green-700 text-green-300 px-4 py-3 rounded mb-6">
A new verification link has been sent to your email address.
</div>
@endif
@if (session('success'))
<div class="bg-green-900/20 border border-green-700 text-green-300 px-4 py-3 rounded mb-6">
{{ session('success') }}
</div>
@endif
<form method="POST" action="{{ route('verification.send') }}">
@csrf
<button type="submit" class="w-full px-4 py-2 text-white text-sm font-medium rounded-md transition-colors duration-200 mb-4" style="background-color: #2563eb;" onmouseover="this.style.backgroundColor='#1d4ed8'" onmouseout="this.style.backgroundColor='#2563eb'">
Resend Verification Email
</button>
</form>
<div class="text-center">
<a href="{{ route('profile.show') }}" class="text-sm text-gray-400 hover:text-gray-300 underline mr-4">
Back to Profile
</a>
</div>
</div>
@endsection
| Blade | 646 | |
b85ceb10c863525e0fd06d7f2c3fec9c57c899e5b9370753ac63f9fa23ec7b45 | Abdogoda/LARAVEL_TESTS | Blade | A comprehensive blog application built with Laravel 12 Featuring modern design, role-based authentication, content management, and extensive testing coverage. Both a production-ready platform and educational resource for Laravel development. | https://github.com/Abdogoda/LARAVEL_TESTS | 6 | 5 | 49 | 2025-09-11T01:28:12 | 2026-01-20T19:18:00 | welcome.blade.php | resources/views/emails/welcome.blade.php | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Welcome!</title>
<style>
body {
font-family: Arial, sans-serif;
background: #f7f7f7;
margin: 0;
padding: 0;
}
.container {
background: #fff;
max-width: 600px;
margin: 40px auto;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
h1 {
color: #3490dc;
}
p {
color: #333;
}
.footer {
margin-top: 30px;
font-size: 12px;
color: #aaa;
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<h1>Welcome to Our Platform!</h1>
<p>
Hello {{ $user->name ?? 'User' }},
</p>
<p>
We're excited to have you join us. Get started by exploring our features and connecting with the community.
</p>
<p>
If you have any questions, feel free to reply to this email.
</p>
<div class="footer">
© {{ date('Y') }} Your Company. All rights reserved.
</div>
</div>
</body>
</html> | Blade | 330 | |
49444d030918df0b19fcf5af08e4c59483dbe1a543252c896cf9c9b6d8c3799b | Bangkah/belalar-laravel12 | Blade | https://github.com/Bangkah/belalar-laravel12 | 11 | 2 | 8 | 2025-09-03T13:22:18 | 2025-12-17T16:14:38 | register.blade.php | resources/views/register.blade.php | <!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Register</title>
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body class="min-h-screen flex items-center justify-center bg-gradient-to-br from-indigo-50 to-gray-100">
<div class="bg-white rounded-2xl shadow-xl w-full max-w-sm p-8">
<h2 class="text-2xl font-bold text-gray-800 text-center mb-6">Daftar</h2>
<form class="space-y-5">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Username</label>
<input type="text" required class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" placeholder="Atha"/>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Email</label>
<input type="email" required class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" placeholder="gacor@gmail.com"/>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Kata Sandi</label>
<input type="password" required class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" placeholder="gacor123"/>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Konfirmasi Kata Sandi</label>
<input type="password" required class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" placeholder="gacor123"/>
</div>
<button type="submit" class="w-full bg-indigo-600 text-white py-2.5 rounded-lg hover:bg-indigo-700 transition font-medium">Daftar</button>
</form>
<p class="text-center text-sm text-gray-600 mt-6">Sudah punya akun? <a href="login" class="text-indigo-600 hover:underline font-medium">Masuk</a></p>
</div>
</body>
</html> | Blade | 581 | ||
457866c5e213cf6d8f68fdaf338574b79a61b48d619e7f206b3feacb3ed199c6 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | edit.blade.php | projects/auth-Lab/resources/views/profile/edit.blade.php | <x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">
{{ __('Profile') }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8 space-y-6">
<div class="p-4 sm:p-8 bg-white dark:bg-gray-800 shadow sm:rounded-lg">
<div class="max-w-xl">
@include('profile.partials.update-profile-information-form')
</div>
</div>
<div class="p-4 sm:p-8 bg-white dark:bg-gray-800 shadow sm:rounded-lg">
<div class="max-w-xl">
@include('profile.partials.update-password-form')
</div>
</div>
<div class="p-4 sm:p-8 bg-white dark:bg-gray-800 shadow sm:rounded-lg">
<div class="max-w-xl">
@include('profile.partials.delete-user-form')
</div>
</div>
</div>
</div>
</x-app-layout>
| Blade | 260 | ||
93bae323d9fd115efdab0e25695928c6eeea351bae59aa4cba7bc5f9d4bd5ee8 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | calculator.blade.php | projects/calculator/resources/views/calculator.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Laravel Calculator</title>
</head>
<body>
<h1>Calculator Sederhana</h1>
@if($errors->any())
<div style="color: red">
<ul>
@foreach ($errors->all() as $error)
<li>{{$error}}</li>
@endforeach
</ul>
</div>
@endif
<form method="POST" action="{{ route('calculator.calculate') }}">
@csrf
<input type="number" name="number1" value="{{old('number1', $number1 ?? '')}}" placeholder="Angka Pertama" required>
<select name="operator" required>
<option value="add" {{ ($operator ?? '') == 'add' ? 'selected' : '' }}>+</option>
<option value="sub" {{ ($operator ?? '') == 'sub' ? 'selected' : '' }}>-</option>
<option value="mul" {{ ($operator ?? '') == 'mul' ? 'selected' : '' }}>*</option>
<option value="div" {{ ($operator ?? '') == 'div' ? 'selected' : '' }}>/</option>
</select>
<input type="number" name="number2" value="{{ old('number2', $number2 ?? '') }}" placeholder="Angka kedua" required>
<button type="submit">hitung</button>
</form>
@isset($result)
<h3>Hasil : {{$result}}</h3>
@endisset
</body>
</html> | Blade | 393 | ||
5a905fbd36ba805415ad6d59ad7156dd58ba646e3d3f4354084b6ad296f3ad72 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | app.blade.php | projects/complex-Relationships/resources/views/layouts/app.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@yield('title')</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="container mt-4">
<h1 class="text-center mb-4">Laravel 12 Complex Relationships</h1>
@if(session('success'))
<div class="alert alert-success">{{ session('success') }}</div>
@endif
<nav class="mb-4">
<a href="{{ route('users.index') }}" class="btn btn-primary">Users</a>
<a href="{{ route('posts.index') }}" class="btn btn-secondary">Posts</a>
</nav>
@yield('content')
</body>
</html>
| Blade | 205 | ||
b818fc09fe2020a7fd78fe047f3e5008e0267e7c3e3cc103f40a314e77235f34 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | result.blade.php | projects/dto-app/resources/views/product/result.blade.php | <!DOCTYPE html>
<html>
<head>
<title>Product Result</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="container py-5">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 class="mb-4">Product DTO Result</h2>
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Product Details</h5>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">
<strong>Name:</strong> {{ $product['name'] }}
</li>
<li class="list-group-item">
<strong>Price:</strong> ${{ number_format($product['price'], 2) }}
</li>
<li class="list-group-item">
<strong>Description:</strong> {{ $product['description'] }}
</li>
</ul>
</div>
<a href="{{ route('product.create') }}" class="btn btn-secondary mt-3">Submit Another Product</a>
</div>
</div>
</body>
</html>
| Blade | 278 | ||
84d293b68641a4ccaf5351dd25572df875f8db037e09b963420dba062e365eab | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | register.blade.php | projects/form-app/resources/views/register.blade.php | <!DOCTYPE html>
<html>
<head>
<title>Form Register</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="container mt-5">
<h2>Contoh Validasi Kustom</h2>
@if (session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
<form method="POST" action="{{ route('register.handle') }}">
@csrf
<div class="mb-3">
<label for="name">Nama Lengkap</label>
<input name="name" class="form-control" value="{{ old('name') }}">
@error('name') <div class="text-danger">{{ $message }}</div> @enderror
</div>
<div class="mb-3">
<label for="email">Alamat Email</label>
<input name="email" class="form-control" value="{{ old('email') }}">
@error('email') <div class="text-danger">{{ $message }}</div> @enderror
</div>
<div class="mb-3">
<label for="username">Username</label>
<input name="username" class="form-control" value="{{ old('username') }}">
@error('username') <div class="text-danger">{{ $message }}</div> @enderror
</div>
<div class="mb-3">
<label for="password">Password</label>
@error('password') <div class="text-danger">{{ $message }}</div> @enderror
<input type="password" name="password" class="form-control">
</div>
<button type="submit" class="btn btn-primary">Register</button>
</form>
</body>
</html>
| Blade | 406 | ||
f932f1c461dac399ae4777917a4aa9d12c8732e2276021ef005338127f4a4ac6 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | create.blade.php | projects/model-app/resources/views/product/create.blade.php | <!DOCTYPE html>
<html>
<head>
<title>Create Product</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="container py-5">
<h2>Create Product (No Database)</h2>
<form method="POST" action="{{ route('product.result') }}">
@csrf
<div class="mb-3">
<label class="form-label">Name</label>
<input name="name" class="form-control" required>
</div>
<div class="mb-3">
<label class="form-label">Price</label>
<input name="price" type="number" step="0.01" class="form-control" required>
</div>
<div class="mb-3">
<label class="form-label">Description</label>
<textarea name="description" class="form-control"></textarea>
</div>
<button type="submit" class="btn btn-primary">Submit Product</button>
</form>
</body>
</html>
| Blade | 242 | ||
e2f4daa08cbe24f598a0c96704559b8d0a09100fe19628195988cda86359de85 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | dasar.blade.php | projects/modul-4-blade-view/resources/views/dasar.blade.php | <!DOCTYPE html>
<html>
<head>
<title>Data Passing Demo</title>
</head>
<body>
<h1>Passing Data to Blade View</h1>
<h2>String</h2>
<p>Name: {{ $name }}</p>
<h2>Array</h2>
<ul>
@foreach ($fruits as $fruit)
<li>{{ $fruit }}</li>
@endforeach
</ul>
<h2>Associative Array</h2>
<p>Name: {{ $user['name'] }}</p>
<p>Email: {{ $user['email'] }}</p>
<p>Status: {{ $user['is_active'] ? 'Active' : 'Inactive' }}</p>
<h2>Object</h2>
<p>ID: {{ $product->id }}</p>
<p>Product: {{ $product->name }}</p>
<p>Price: Rp{{ number_format($product->price, 0, ',', '.') }}</p>
</body>
</html>
| Blade | 232 | ||
0f46407530ea79ef617644584baa265848252559591a49ca33035ae170146fe4 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | app.blade.php | projects/modul-4-blade-view/resources/views/layouts/app.blade.php | <!DOCTYPE html>
<html>
<head>
<title>@yield('title') | Layout and Personalization</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-4">
<div class="container">
<a class="navbar-brand" href="#">Layout and Personalization</a>
<div class="collapse navbar-collapse">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<span class="nav-link active">Welcome, {{ $username }}</span>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
@if ($role === 'admin')
<div class="alert alert-info">Admin Access Granted</div>
@elseif ($role === 'user')
<div class="alert alert-success">User Area</div>
@endif
@yield('content')
</div>
<footer class="bg-light text-center mt-5 p-3 border-top">
<p class="mb-0">© 2025 Layout and Personalization. All rights reserved.</p>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
| Blade | 310 | ||
7170a1c60d8e848e320a6c00ff9105cd0692e223ca14e2db07cc9c5a633c8b52 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | logic.blade.php | projects/modul-4-blade-view/resources/views/logic.blade.php | <!DOCTYPE html>
<html>
<head>
<title>Blade Logic Demo</title>
<meta charset="UTF-8">
</head>
<body>
<h1>Blade Control Structures Demo</h1>
<h2>1. @@if / @@else</h2>
@if ($isLoggedIn)
<p>Welcome back, user!</p>
@else
<p>Please log in.</p>
@endif
<h2>2.@@ foreach</h2>
<ul>
@foreach ($users as $user)
<li>{{ $user['name'] }} - Role: {{ $user['role'] }}</li>
@endforeach
</ul>
<h2>3.@@forelse</h2>
@forelse ($products as $product)
<p>{{ $product }}</p>
@empty
<p>No products found.</p>
@endforelse
<h2>4. @@isset</h2>
@isset($profile['email'])
<p>User Email: {{ $profile['email'] }}</p>
@endisset
<h2>5. @@empty</h2>
@empty($profile['phone'])
<p>No phone number available.</p>
@endempty
<h2>6. @@switch</h2>
@switch($status)
@case('active')
<p>Status: Active</p>
@break
@case('inactive')
<p>Status: Inactive</p>
@break
@default
<p>Status: Unknown</p>
@endswitch
</body>
</html>
| Blade | 367 | ||
ef4a540f13400d8a4300b54b775b34d10ea2075769ffeb3bbb743f0479024c99 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | about.blade.php | projects/modul-4-laravel-ui/resources/views/about.blade.php | @extends('layouts.app')
@props(['title', 'icon', 'description', 'badge', 'theme' => 'light'])
@section('title', 'About - Partial Views Demo')
@section('content')
<div class="row">
<div class="col-12">
<div class="theme-demo {{ $theme === 'dark' ? 'bg-dark border-light' : 'bg-white border' }} mb-4">
<h1 class="mb-4">About - Partial Views</h1>
<p class="lead">Halaman ini mendemonstrasikan penggunaan <strong>Partial Views</strong> dengan <code>@@include</code> directive.</p>
</div>
<h3 class="mb-4">Tim Kami</h3>
@php
$avatars = ['👨💻','👩🎨','👨💼'];
@endphp
<div class="row">
@foreach($team as $member)
<x-team-member
:name="$member['name']"
:role="$member['role']"
:theme="$theme"
:avatar="['👨💻','👩🎨','👨💼'][$loop->index]"
:description="'Bergabung sejak 2024 dan berkontribusi dalam pengembangan.'"
/>
@endforeach
</div>
<!-- Demonstrasi Partial View dengan Data -->
@include('partials.team-stats', ['theme' => $theme])
</div>
</div>
@endsection
| Blade | 336 | ||
a85747bbabbab5c764357f52b54e9350072bfd009f2a65b336cba94ace72ae37 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | contact-form.blade.php | projects/modul-4-laravel-ui/resources/views/components/contact-form.blade.php | @props(['title', 'icon', 'description', 'badge', 'theme', 'name', 'role', 'departments' => 'light'])
<div class="card {{ $theme === 'dark' ? 'bg-dark border-light' : '' }} h-100">
<div class="card-header">
<h5>Form Kontak</h5>
</div>
<div class="card-body">
<form>
<div class="mb-3">
<label class="form-label">Nama Lengkap</label>
<input type="text" class="form-control {{ $theme === 'dark' ? 'bg-dark text-light border-light' : '' }}" placeholder="Masukkan nama Anda">
</div>
<div class="mb-3">
<label class="form-label">Email</label>
<input type="email" class="form-control {{ $theme === 'dark' ? 'bg-dark text-light border-light' : '' }}" placeholder="nama@example.com">
</div>
<div class="mb-3">
<label class="form-label">Department</label>
<select class="form-select {{ $theme === 'dark' ? 'bg-dark text-light border-light' : '' }}">
<option selected>Pilih department...</option>
@foreach($departments as $dept)
<option value="{{ $dept }}">{{ $dept }}</option>
@endforeach
</select>
</div>
<div class="mb-3">
<label class="form-label">Pesan</label>
<textarea class="form-control {{ $theme === 'dark' ? 'bg-dark text-light border-light' : '' }}" rows="4" placeholder="Tulis pesan Anda..."></textarea>
</div>
<button type="submit" class="btn btn-primary">Kirim Pesan</button>
</form>
</div>
</div>
| Blade | 410 | ||
adc930a9cd809035704efd848c3121018549c10a5f7fae516765d8cf9fa035bf | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | footer.blade.php | projects/modul-4-laravel-ui/resources/views/components/footer.blade.php | @props(['title', 'icon', 'description', 'badge', 'theme' => 'light'])
<footer class="mt-5 py-4 border-top {{ $theme === 'dark' ? 'border-secondary' : '' }}">
<div class="container">
<div class="row">
<div class="col-md-6">
<h5>Laravel UI Integrated Demo</h5>
<p class="mb-0">Demonstrasi Partial Views, Blade Components, dan Theme Switching</p>
</div>
<div class="col-md-6 text-md-end">
<p class="mb-0">
<strong>Current Theme:</strong>
<span class="badge {{ $theme === 'dark' ? 'bg-primary' : 'bg-dark' }}">
{{ ucfirst($theme) }}
</span>
</p>
<p class="mb-0">© 2024 Laravel UI Demo. All rights reserved.</p>
</div>
</div>
</div>
</footer>
| Blade | 223 | ||
f0bf194b2bd7d7a11f914d0c70c9a4654ac86029c7790aa919228d8afff39675 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | contact.blade.php | projects/modul-4-laravel-ui/resources/views/contact.blade.php | @extends('layouts.app')
@section('title', 'Contact - Components Demo')
@section('content')
<div class="row">
<div class="col-12">
<div class="theme-demo {{ $theme === 'dark' ? 'bg-dark border-light' : 'bg-white border' }} mb-4">
<h1 class="mb-4">Contact - Blade Components</h1>
<p class="lead">Halaman ini mendemonstrasikan penggunaan <strong>Blade Components</strong> dengan props dan slots.</p>
</div>
<div class="row">
<div class="col-md-6">
<x-contact-form :theme="$theme" :departments="$departments" />
</div>
<div class="col-md-6">
<div class="card {{ $theme === 'dark' ? 'bg-dark border-light' : '' }} h-100">
<div class="card-header">
<h5>Informasi Kontak</h5>
</div>
<div class="card-body">
<p><strong>Email:</strong> info@laraveldemo.com</p>
<p><strong>Telepon:</strong> +62 21 1234 5678</p>
<p><strong>Alamat:</strong> Jakarta, Indonesia</p>
<h6 class="mt-4">Department Tersedia:</h6>
<ul>
@foreach($departments as $dept)
<li>{{ $dept }}</li>
@endforeach
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
| Blade | 360 | ||
ad76fcd72eb0b41c0fc8c39c5019911836d87d43109fcbf003b8d7536194d28d | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | app.blade.php | projects/modul-4-laravel-ui/resources/views/layouts/app.blade.php | <!DOCTYPE html>
<html lang="id" data-bs-theme="{{ $theme }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@yield('title', 'Laravel UI Integrated Demo')</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
padding-top: 4rem;
transition: all 0.3s ease;
min-height: 100vh;
}
.theme-demo {
border-radius: 10px;
padding: 20px;
margin: 10px 0;
transition: all 0.3s ease;
}
.feature-card {
transition: transform 0.2s ease;
}
.feature-card:hover {
transform: translateY(-5px);
}
</style>
</head>
<body class="{{ $theme === 'dark' ? 'bg-dark text-light' : 'bg-light text-dark' }}">
<!-- Navigation menggunakan Partial View -->
@include('partials.navigation')
<div class="container mt-4">
<!-- Alert menggunakan Partial View -->
@if(isset($alertMessage) && !empty($alertMessage))
@include('partials.alert', ['message' => $alertMessage, 'type' => 'info'])
@endif
@yield('content')
</div>
<!-- Footer menggunakan Blade Component -->
<x-footer :theme="$theme" />
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script>
// Smooth theme transition
document.addEventListener('DOMContentLoaded', function() {
const themeLinks = document.querySelectorAll('a[href*="switch-theme"]');
themeLinks.forEach(link => {
link.addEventListener('click', function(e) {
e.preventDefault();
window.location.href = this.href;
});
});
});
</script>
</body>
</html>
| Blade | 445 | ||
fa05132a6d945b3219077422a18e9f6785d3371c75f654162c10296518a2ca3b | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | team-stats.blade.php | projects/modul-4-laravel-ui/resources/views/partials/team-stats.blade.php | <div class="card {{ $theme === 'dark' ? 'bg-dark border-light' : '' }} mt-4">
<div class="card-header">
<h5>Statistik Tim</h5>
</div>
<div class="card-body">
<div class="row text-center">
<div class="col-md-3">
<h3>3</h3>
<p class="text-muted">Anggota</p>
</div>
<div class="col-md-3">
<h3>12+</h3>
<p class="text-muted">Proyek</p>
</div>
<div class="col-md-3">
<h3>95%</h3>
<p class="text-muted">Kepuasan</p>
</div>
<div class="col-md-3">
<h3>2+</h3>
<p class="text-muted">Tahun</p>
</div>
</div>
</div>
</div>
| Blade | 228 | ||
c82cd361b588f0607ae9fb9685b9ed68704fd6cf3ef1985478e66f55071a32b3 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | app.blade.php | projects/multistep-form-app/resources/views/layouts/app.blade.php | <!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@yield('title', 'Multi-Step Form')</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
.step-progress {
margin-bottom: 30px;
}
.step-item {
text-align: center;
position: relative;
}
.step-item .step-number {
width: 40px;
height: 40px;
border-radius: 50%;
background: #e9ecef;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 10px;
font-weight: bold;
}
.step-item.active .step-number {
background: #007bff;
color: white;
}
.step-item.completed .step-number {
background: #28a745;
color: white;
}
.step-line {
position: absolute;
top: 20px;
left: 50%;
width: 100%;
height: 2px;
background: #e9ecef;
z-index: -1;
}
.form-step {
display: none;
}
.form-step.active {
display: block;
}
.card {
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
</style>
</head>
<body>
<nav class="navbar navbar-dark bg-dark">
<div class="container">
<span class="navbar-brand mb-0 h1">Multi-Step Form Demo</span>
</div>
</nav>
<div class="container mt-4">
@yield('content')
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
| Blade | 464 | ||
cca4e7844253fbb97cbc1408c530d14bb829413bc415b98ea87b4ae071e3d0f6 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | complete.blade.php | projects/multistep-form-app/resources/views/multistep/complete.blade.php | @extends('layouts.app')
@section('title', 'Pendaftaran Selesai')
@section('content')
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card text-center">
<div class="card-body py-5">
<div class="mb-4">
<i class="fas fa-check-circle text-success" style="font-size: 4rem;"></i>
</div>
<h2 class="card-title text-success mb-3">Pendaftaran Berhasil!</h2>
<p class="card-text lead mb-4">
Terima kasih telah melengkapi formulir pendaftaran. Data Anda telah berhasil disimpan.
</p>
<div class="alert alert-info text-start">
<h6><i class="fas fa-envelope me-2"></i>Informasi Penting:</h6>
<ul class="mb-0">
<li>Anda akan menerima email konfirmasi dalam 24 jam</li>
<li>Proses verifikasi membutuhkan waktu 2-3 hari kerja</li>
<li>Tim kami akan menghubungi Anda untuk langkah selanjutnya</li>
</ul>
</div>
<div class="mt-4">
<a href="{{ route('multistep.step1') }}" class="btn btn-primary me-2">
<i class="fas fa-plus me-2"></i>Daftar Lagi
</a>
<a href="/" class="btn btn-outline-secondary">
<i class="fas fa-home me-2"></i>Kembali ke Home
</a>
</div>
</div>
</div>
<!-- Debug Data (bisa dihapus di production) -->
@if(env('APP_DEBUG'))
<div class="card mt-4">
<div class="card-header">
<h6 class="mb-0">Data yang Disimpan (Debug)</h6>
</div>
<div class="card-body">
<pre>{{ json_encode($data, JSON_PRETTY_PRINT) }}</pre>
</div>
</div>
@endif
</div>
</div>
@endsection
| Blade | 487 | ||
c9a31bd155a9bec21f7a78d05778220aacfd82134df0c94033c19667df33d785 | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | index.blade.php | projects/productpagination/resources/views/products/index.blade.php | <!DOCTYPE html>
<html>
<head>
<title>Paginated Products</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="max-w-4xl mx-auto py-10">
<h1 class="text-2xl font-bold mb-5">Daftar Produk (Paginasi)</h1>
<table class="table-auto w-full border-collapse border border-gray-300 mb-6">
<thead>
<tr class="bg-gray-200">
<th class="border px-4 py-2">#</th>
<th class="border px-4 py-2">Nama</th>
<th class="border px-4 py-2">Harga</th>
</tr>
</thead>
<tbody>
@foreach ($products as $product)
<tr>
<td class="border px-4 py-2">{{ $product->id }}</td>
<td class="border px-4 py-2">{{ $product->name }}</td>
<td class="border px-4 py-2">${{ number_format($product->price, 2) }}</td>
</tr>
@endforeach
</tbody>
</table>
<div>
{{ $products->links() }}
</div>
</body>
</html>
| Blade | 292 | ||
a15d467ea50c255ad7e9eee3c71bdb8289c8c8b9d972c1d3d68a1cce6577555e | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | forgot-password.blade.php | projects/role-lab/resources/views/auth/forgot-password.blade.php | <x-guest-layout>
<div class="mb-4 text-sm text-gray-600 dark:text-gray-400">
{{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }}
</div>
<!-- Session Status -->
<x-auth-session-status class="mb-4" :status="session('status')" />
<form method="POST" action="{{ route('password.email') }}">
@csrf
<!-- Email Address -->
<div>
<x-input-label for="email" :value="__('Email')" />
<x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus />
<x-input-error :messages="$errors->get('email')" class="mt-2" />
</div>
<div class="flex items-center justify-end mt-4">
<x-primary-button>
{{ __('Email Password Reset Link') }}
</x-primary-button>
</div>
</form>
</x-guest-layout>
| Blade | 245 | ||
65a3d81f6cb67f3e017fd5111691ad3e0dbc9b34a00159ae335eddd910b13f6d | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | app.blade.php | projects/todo-app-mysql/resources/views/layouts/app.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@yield('title', 'Todo App')</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="container mt-4">
<h1 class="text-center mb-4">Laravel 12 Todo App</h1>
@if(session('success'))
<div class="alert alert-success">{{ session('success') }}</div>
@endif
<nav class="mb-3">
<a href="{{ route('todos.index') }}" class="btn btn-primary">Todo List</a>
<a href="{{ route('todos.create') }}" class="btn btn-success">Add New Task</a>
</nav>
@yield('content')
</body>
</html>
| Blade | 212 | ||
0a6934f2307900e99ab24e6df899fdbac5b28cb57b49d55ee514ad1b5e223eae | Bangkah/weblanjut-2024573010075 | Blade | https://github.com/Bangkah/weblanjut-2024573010075 | 11 | 0 | 21 | 2025-09-10T01:06:55 | 2025-12-17T16:13:43 | index.blade.php | projects/todo-app-mysql/resources/views/todos/index.blade.php | @extends('layouts.app')
@section('title', 'Daftar Todo')
@section('content')
<h2>Daftar Todo</h2>
<ul class="list-group">
@foreach($todos as $todo)
<li class="list-group-item d-flex justify-content-between align-items-center">
{{ $todo->task }}
<div>
<form action="{{ route('todos.show', $todo->id) }}" method="GET" class="d-inline">
<button type="submit" class="btn btn-info btn-sm">Detail</button>
</form>
<form action="{{ route('todos.edit', $todo->id) }}" method="GET" class="d-inline">
<button type="submit" class="btn btn-warning btn-sm">Edit</button>
</form>
<form action="{{ route('todos.destroy', $todo->id) }}" method="POST" class="d-inline">
@csrf
@method('DELETE')
<button class="btn btn-danger btn-sm">Hapus</button>
</form>
</div>
</li>
@endforeach
</ul>
@endsection
| Blade | 244 | ||
140105264eba2b6166a326c8fbdff9e4f8104dedc90c1b2a515cb6462f475f82 | CaturSetyono/first-laravel | MIT | Blade | learn laravel | https://github.com/CaturSetyono/first-laravel | 13 | 0 | 238 | 2025-10-06T15:32:21 | 2026-01-10T15:29:32 | show.blade.php | resources/views/barang/show.blade.php | @extends('adminlte::page')
@section('title', 'Detail Barang')
@section('content')
<div class="card shadow">
<div class="card-header bg-info text-white">
<h5 class="mb-0">Detail Barang</h5>
</div>
<div class="card-body">
<table class="table table-bordered">
<tbody>
<tr>
<th width="200">ID Barang</th>
<td>{{ $barang->id }}</td>
</tr>
<tr>
<th>Jenis Barang</th>
<td>{{ $barang->jenis->nama_jenis ?? '-' }}</td>
</tr>
<tr>
<th>Nama Barang</th>
<td>{{ $barang->nama_barang }}</td>
</tr>
<tr>
<th>Satuan</th>
<td>{{ $barang->satuan }}</td>
</tr>
<tr>
<th>Harga Pokok</th>
<td>Rp {{ number_format($barang->harga_pokok, 0, ',', '.') }}</td>
</tr>
<tr>
<th>Harga Jual</th>
<td>Rp {{ number_format($barang->harga_jual, 0, ',', '.') }}</td>
</tr>
<tr>
<th>Stok</th>
<td>{{ $barang->stok }}</td>
</tr>
<tr>
<th>Dibuat Pada</th>
<td>{{ $barang->create_at ? $barang->create_at->format('d-m-Y H:i:s') : '-' }}</td>
</tr>
<tr>
<th>Diupdate Pada</th>
<td>{{ $barang->update_at ? $barang->update_at->format('d-m-Y H:i:s') : '-' }}</td>
</tr>
</tbody>
</table>
<div class="d-flex justify-content-between mt-4">
<a href="{{ route('barang.index') }}" class="btn btn-secondary">Kembali</a>
<div>
<a href="{{ route('barang.edit', $barang->id) }}" class="btn btn-warning">Edit</a>
<form action="{{ route('barang.destroy', $barang->id) }}" method="POST" class="d-inline">
@csrf
@method('DELETE')
<button type="submit" class="btn btn-danger"
onclick="return confirm('Yakin hapus data ini?')">Hapus</button>
</form>
</div>
</div>
</div>
</div>
@endsection
@section('css')
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ asset('css/admin-pro.css') }}">
@stop
@section('js')
<script src="{{ asset('js/admin-pro.js') }}" defer></script>
@stop | Blade | 674 |
2a665a9bff45bcf28245288b6774008580b0f4b5bcd9e710f8ba91e57a1af46b | CaturSetyono/first-laravel | MIT | Blade | learn laravel | https://github.com/CaturSetyono/first-laravel | 13 | 0 | 238 | 2025-10-06T15:32:21 | 2026-01-10T15:29:32 | aggregate.blade.php | resources/views/db/aggregate.blade.php | @extends('adminlte::page')
@section('title', 'Aggregate Functions')
@section('content_header')
<h1><i class="fas fa-calculator"></i> Aggregate Functions</h1>
@stop
@section('content')
<style>
.card-table {
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
overflow: hidden;
border: 1px solid #e5e7eb;
}
.table {
margin-bottom: 0;
}
.table thead th {
background-color: #f8fafc;
color: #475569;
font-weight: 600;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.5px;
padding: 16px;
border-bottom: 2px solid #e5e7eb;
}
.table tbody tr {
transition: all 0.2s ease;
border-bottom: 1px solid #f1f5f9;
}
.table tbody tr:hover {
background-color: #f8fafc;
}
.table tbody td {
padding: 16px;
vertical-align: middle;
color: #334155;
}
</style>
<div class="container-fluid">
<div class="card-table">
<table class="table">
<thead>
<tr>
<th width="50%">Fungsi Agregat</th>
<th width="50%" class="text-end">Hasil</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>max('harga_jual')</strong> - Harga Maksimal</td>
<td class="text-end"><strong>Rp {{ number_format($hargaMaks, 0, ',', '.') }}</strong></td>
</tr>
<tr>
<td><strong>avg('harga_jual')</strong> - Harga Rata-rata (Jenis 1)</td>
<td class="text-end"><strong>Rp {{ number_format($hargaRata2, 0, ',', '.') }}</strong></td>
</tr>
<tr>
<td><strong>min('harga_jual')</strong> - Harga Minimal (Jenis 1)</td>
<td class="text-end"><strong>Rp {{ number_format($hargaMin, 0, ',', '.') }}</strong></td>
</tr>
<tr>
<td><strong>max('harga_jual')</strong> - Harga Maksimal (Jenis 1)</td>
<td class="text-end"><strong>Rp {{ number_format($hargaMax, 0, ',', '.') }}</strong></td>
</tr>
<tr>
<td><strong>sum(stok * harga_jual)</strong> - Total Nilai Stok (Jenis 1)</td>
<td class="text-end"><strong>Rp {{ number_format($jumHarga, 0, ',', '.') }}</strong></td>
</tr>
</tbody>
</table>
</div>
</div>
@stop
@section('css')
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css">
@stop
| Blade | 742 |
3b2bd82a7b1b166bedd95ca83723a3618372dbd7f71b5f1da4926b3c86aa86b6 | CaturSetyono/first-laravel | MIT | Blade | learn laravel | https://github.com/CaturSetyono/first-laravel | 13 | 0 | 238 | 2025-10-06T15:32:21 | 2026-01-10T15:29:32 | bacaDb2.blade.php | resources/views/db/bacaDb2.blade.php | @extends('adminlte::page')
@section('title', 'Detail Kota')
@section('content_header')
<h1><i class="fas fa-map-marker-alt"></i> Detail Kota - Query first()</h1>
@stop
@section('content')
<style>
.card-table {
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
overflow: hidden;
border: 1px solid #e5e7eb;
}
.table {
margin-bottom: 0;
}
.table thead th {
background-color: #f8fafc;
color: #475569;
font-weight: 600;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.5px;
padding: 16px;
border-bottom: 2px solid #e5e7eb;
}
.table tbody tr {
transition: all 0.2s ease;
border-bottom: 1px solid #f1f5f9;
}
.table tbody tr:hover {
background-color: #f8fafc;
}
.table tbody td {
padding: 16px;
vertical-align: middle;
color: #334155;
}
.badge-value {
background-color: #dbeafe;
color: #1e40af;
padding: 8px 16px;
border-radius: 6px;
font-weight: 600;
font-size: 1rem;
}
</style>
<div class="container-fluid">
@if($kota)
<div class="card-table">
<table class="table">
<thead>
<tr>
<th width="30%">Field</th>
<th width="70%">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>ID Kota</strong></td>
<td><span class="badge-value">{{ $kota->id }}</span></td>
</tr>
<tr>
<td><strong>Nama Kota</strong></td>
<td><span class="badge-value">{{ $kota->nama_kota }}</span></td>
</tr>
<tr>
<td><strong>ID Propinsi</strong></td>
<td><span class="badge-value">{{ $kota->propinsi_id }}</span></td>
</tr>
</tbody>
</table>
</div>
@else
<div class="alert alert-warning">
<i class="bi bi-exclamation-triangle"></i> Data tidak ditemukan!
</div>
@endif
</div>
@stop
@section('css')
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css">
@stop
| Blade | 644 |
f7642582378891dd1e595a99b505569569c11bdf49b8ff050d5bf7917c606c63 | CaturSetyono/first-laravel | MIT | Blade | learn laravel | https://github.com/CaturSetyono/first-laravel | 13 | 0 | 238 | 2025-10-06T15:32:21 | 2026-01-10T15:29:32 | default.blade.php | resources/views/default.blade.php | <!DOCTYPE html>
<html>
<head>
<title>Rectangle Calculator | Luxe Store</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<style>
body {
background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
min-height: 100vh;
font-family: 'Poppins', sans-serif;
color: #e0e0e0;
}
.container {
background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
border: 1px solid rgba(201, 169, 98, 0.2);
border-radius: 16px;
padding: 2rem;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
h1,
h2,
h3,
h4,
h5 {
font-family: 'Playfair Display', serif;
color: #c9a962;
}
.btn-primary {
background: linear-gradient(135deg, #c9a962 0%, #b8956f 100%);
border: none;
color: #0d0d0d;
font-weight: 600;
}
.btn-primary:hover {
background: linear-gradient(135deg, #d4b876 0%, #c9a962 100%);
color: #0d0d0d;
}
.form-control {
background: #252525;
border: 1px solid rgba(201, 169, 98, 0.2);
color: #e0e0e0;
}
.form-control:focus {
background: #2d2d2d;
border-color: #c9a962;
color: #e0e0e0;
box-shadow: 0 0 0 0.2rem rgba(201, 169, 98, 0.25);
}
</style>
</head>
<body>
<div class="container mt-4">
@yield('content')
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</body>
</html> | Blade | 645 |
fa25e9c24bc03a6d62ee5606ea8c8fbdeb15d97cf09131b82d8624f0775ebd6f | CaturSetyono/first-laravel | MIT | Blade | learn laravel | https://github.com/CaturSetyono/first-laravel | 13 | 0 | 238 | 2025-10-06T15:32:21 | 2026-01-10T15:29:32 | home.blade.php | resources/views/home.blade.php | @extends('adminlte::page')
@section('title', 'Dashboard - RetroVault')
@section('content_header')
<h1 class="retro-title"><i class="fas fa-archive"></i> Dashboard</h1>
@stop
@section('content')
<p class="retro-subtitle">Welcome to RetroVault - Your Modern Retro Management System.</p>
@stop
@section('css')
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap" rel="stylesheet">
<style>
:root {
--cream: #F5F0E8;
--burgundy: #8B2942;
--mustard: #D4A12A;
--charcoal: #2C2C2C;
}
.content-wrapper {
background-color: var(--cream) !important;
}
.content-header {
background-color: var(--cream) !important;
}
.retro-title {
font-family: 'DM Serif Display', serif !important;
color: var(--charcoal) !important;
}
.retro-title i {
color: var(--burgundy);
margin-right: 10px;
}
.retro-subtitle {
color: var(--charcoal);
font-family: 'Space Grotesk', sans-serif;
}
</style>
@stop
@section('js')
<script>
console.log("RetroVault - Modern Retro Management System");
</script>
@stop | Blade | 344 |
091dfac79e7d1874ae593913e243a5e3ae4034c4b98b7dfd61cf9ba35564a64b | CaturSetyono/first-laravel | MIT | Blade | learn laravel | https://github.com/CaturSetyono/first-laravel | 13 | 0 | 238 | 2025-10-06T15:32:21 | 2026-01-10T15:29:32 | create.blade.php | resources/views/jual/create.blade.php | @extends('adminlte::page')
@section('title', 'Transaksi Penjualan')
@section('content_header')
<h1><i class="fas fa-cash-register"></i> Tambah Transaksi Penjualan</h1>
@stop
@section('content')
<div class="card shadow">
<div class="card-header bg-primary text-white">
<h5 class="mb-0">Form Data Pelanggan</h5>
</div>
<div class="card-body">
{{ csrf_field() }}
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="mb-3">
<label for="no_transaksi" class="form-label">Nomor Transaksi (Preview)</label>
<input type="text" class="form-control" id="no_transaksi" name="no_transaksi"
value="{{ $jual->no_transaksi }}" readonly>
<small class="text-muted">Nomor transaksi akan digenerate saat klik Proses</small>
</div>
<div class="mb-3">
<label for="tanggal" class="form-label">Tanggal</label>
<input type="text" class="form-control tanggal" name="tanggal" id="tanggal"
value="{{ $jual->tanggal }}" readonly>
</div>
<div class="mb-3">
<label for="username" class="form-label">Kasir</label>
<input type="text" class="form-control username" name="username" id="username"
value="{{ auth()->user()->name }}" readonly>
</div>
<div class="mb-3">
<label for="pelanggan_id" class="form-label">Nomor ID Pelanggan <small class="text-muted">(tekan enter)</small></label>
<input type="text" class="form-control pelanggan_id" name="pelanggan_id" id="pelanggan_id"
placeholder="Masukkan ID pelanggan...">
</div>
<div class="mb-3">
<label for="nama_pelanggan" class="form-label">Nama Pelanggan</label>
<input type="text" class="form-control" id="nama_pelanggan" name="nama_pelanggan" readonly>
</div>
<div class="d-flex justify-content-between mt-4">
<a href="{{ route('jual.index') }}" class="btn btn-secondary">
<i class="fas fa-arrow-left"></i> Kembali
</a>
<button type="button" class="btn btn-success proses">
<i class="fas fa-arrow-right"></i> Proses
</button>
</div>
</div>
</div>
@stop
@section('css')
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ asset('css/admin-pro.css') }}">
@stop
@section('js')
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="{{ asset('js/admin-pro.js') }}" defer></script>
<script>
$(document).ready(function() {
var CSRF_TOKEN = $('meta[name="csrf-token"]').attr('content');
// Cari pelanggan ketika enter ditekan
$(".pelanggan_id").keypress(function(e) {
var keycode = (e.keyCode ? e.keyCode : e.which);
if (keycode == '13') {
e.preventDefault();
$.ajax({
url: '/bacaPelanggan',
type: 'POST',
data: {
_token: CSRF_TOKEN,
pelanggan_id: $(".pelanggan_id").val()
},
dataType: 'JSON',
success: function(data) {
if (data) {
$("#nama_pelanggan").val(data.nama_pelanggan);
} else {
alert('Pelanggan tidak ditemukan!');
$("#nama_pelanggan").val('');
}
},
error: function(xhr, status, error) {
var errorMessage = xhr.status + ': ' + xhr.statusText;
alert('Error - ' + errorMessage);
}
});
}
});
// Proses simpan pelanggan dan redirect ke detail jual
$(".proses").click(function() {
if (!$(".pelanggan_id").val()) {
alert('Silakan masukkan ID pelanggan terlebih dahulu!');
return;
}
if (!$("#nama_pelanggan").val()) {
alert('Data pelanggan belum dimuat! Tekan Enter pada ID Pelanggan.');
return;
}
$.ajax({
url: '/jual/store',
type: 'POST',
data: {
_token: CSRF_TOKEN,
pelanggan_id: $(".pelanggan_id").val()
},
success: function(response) {
if (response.success && response.id) {
// Redirect ke halaman detail jual dengan ID baru
$(location).attr('href', "{{ url('/detailJual') }}/" + response.id);
} else {
alert('Error: Gagal membuat transaksi');
}
},
error: function(xhr, status, error) {
alert('Error menyimpan data!');
console.error(xhr.responseText);
}
});
});
});
</script>
@stop | Blade | 1,156 |
ba4a67fe4633a9426e9f374b5b3391c484294beb71d0e395089dfb1081f64729 | CaturSetyono/first-laravel | MIT | Blade | learn laravel | https://github.com/CaturSetyono/first-laravel | 13 | 0 | 238 | 2025-10-06T15:32:21 | 2026-01-10T15:29:32 | inputSegiEmpat.blade.php | resources/views/segi-empat/inputSegiEmpat.blade.php | @extends('default')
@section('content')
<h4>Form Masukan Nilai Segi Empat</h4>
<form action="{{ route('segi-empat.hasil') }}" method="post">
{{csrf_field()}}
@if ($errors->any())
<div class="alert alert-danger">
<strong>Ada kesalahan</strong> Harap diperbaiki.<br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="form-group {{ $errors->has('panjang') ?'has-error' : ''}}">
<label for="panjang" class="control-label">Panjang</label>
<input type="text" class="form-control" name="panjang" value="{{ old('panjang') }}">
</div>
<div class="form-group {{ $errors->has('lebar') ? 'has-error' : ''}}">
<label for="lebar" class="control-label">Lebar</label>
<input type="text" class="form-control" name="lebar" value="{{ old('lebar') }}">
</div>
<div class="form-group">
<button type="submit" class="btn btn-info">Proses</button>
</div>
</form>
@endsection | Blade | 301 |
6744ad61c2b832aaa2bd745f7b214ae4560db663ab73764955ece98bde87fb63 | DJWeb-Damian-Jozwiak/larafony-demo-app | Blade | Simple Web application using Larafony framework and full power of PHP 8.5 | https://github.com/DJWeb-Damian-Jozwiak/larafony-demo-app | 11 | 0 | 19 | 2025-10-26T14:31:01 | 2025-12-22T10:52:59 | index.blade.php | resources/views/blade/notes/index.blade.php | <x-layout title="Notes - Larafony Notes Pro+">
<a href="/" class="back-link">← Back to Home</a>
<h1>📝 Notes</h1>
<h2 style="margin-bottom: 1.5rem; color: #2c3e50;">All Notes</h2>
@if(empty($notes))
<div style="background: white; padding: 40px; text-align: center; border-radius: 8px;">
<p style="color: #888; font-size: 1.1rem;">No notes found</p>
<p style="color: #aaa; margin-top: 10px;">Create your first note to get started!</p>
</div>
@else
<div class="notes-grid">
@foreach($notes as $note)
<div class="note-card">
<div class="note-title">{{ $note->title }}</div>
<div class="note-content">{{ $note->content }}</div>
<div class="note-meta">
<div>Author: {{ $note->user->name ?? 'Unknown' }}</div>
@if(!empty($note->tags))
<div style="margin-top: 8px;">
@foreach($note->tags as $tag)
<span class="tag">{{ $tag->name }}</span>
@endforeach
</div>
@endif
</div>
</div>
@endforeach
</div>
@endif
<div style="background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-top: 2rem;">
<h2 style="margin-bottom: 1rem; color: #2c3e50;">Create New Note</h2>
<form method="POST" action="/notes">
<input type="text" name="title" placeholder="Note title..." required style="width: 100%; padding: 0.8rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 4px;">
<textarea name="content" placeholder="Write your note content..." rows="4" required style="width: 100%; padding: 0.8rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 4px;"></textarea>
<input type="text" name="tags" placeholder="Tags (comma separated, e.g., php, framework, clean-code)" style="width: 100%; padding: 0.8rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 4px;">
<button type="submit" style="background: #3498db; color: white; border: none; padding: 0.8rem 2rem; border-radius: 4px; cursor: pointer; font-weight: 600;">Add Note</button>
</form>
</div>
</x-layout>
| Blade | 670 | |
3b835d318ca08744210f7e0884cc646b69739e2bef7720fa50e3289627b13512 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | input-otp.blade.php | resources/views/components/input-otp.blade.php | @props([
'digits' => 6,
'name' => 'code',
])
<div
@focus-2fa-auth-code.window="$refs.input1?.focus()"
@clear-2fa-auth-code.window="clearAll()"
class="relative"
x-data="{
totalDigits: @js($digits),
digitIndices: @js(range(1, $digits)),
init() {
$nextTick(() => {
this.$refs.input1?.focus();
});
},
getInput(index) {
return this.$refs['input' + index];
},
setValue(index, value) {
this.getInput(index).value = value;
},
getCode() {
return this.digitIndices
.map(i => this.getInput(i).value)
.join('');
},
updateHiddenField() {
this.$refs.code.value = this.getCode();
this.$refs.code.dispatchEvent(new Event('input', { bubbles: true }));
this.$refs.code.dispatchEvent(new Event('change', { bubbles: true }));
},
handleNumberKey(index, key) {
this.setValue(index, key);
if (index < this.totalDigits) {
this.getInput(index + 1).focus();
}
$nextTick(() => {
this.updateHiddenField();
});
},
handleBackspace(index) {
const currentInput = this.getInput(index);
if (currentInput.value !== '') {
currentInput.value = '';
this.updateHiddenField();
return;
}
if (index <= 1) {
return;
}
const previousInput = this.getInput(index - 1);
previousInput.value = '';
previousInput.focus();
this.updateHiddenField();
},
handleKeyDown(index, event) {
const key = event.key;
if (/^[0-9]$/.test(key)) {
event.preventDefault();
this.handleNumberKey(index, key);
return;
}
if (key === 'Backspace') {
event.preventDefault();
this.handleBackspace(index);
return;
}
},
handlePaste(event) {
event.preventDefault();
const pastedText = (event.clipboardData || window.clipboardData).getData('text');
const numericOnly = pastedText.replace(/[^0-9]/g, '');
const digitsToFill = Math.min(numericOnly.length, this.totalDigits);
this.digitIndices
.slice(0, digitsToFill)
.forEach(index => {
this.setValue(index, numericOnly[index - 1]);
});
if (numericOnly.length >= this.totalDigits) {
this.updateHiddenField();
}
},
clearAll() {
this.digitIndices.forEach(index => {
this.setValue(index, '');
});
this.$refs.code.value = '';
this.$refs.input1?.focus();
}
}"
>
<div class="flex items-center">
@for ($x = 1; $x <= $digits; $x++)
<input
x-ref="input{{ $x }}"
type="text"
inputmode="numeric"
pattern="[0-9]"
maxlength="1"
autocomplete="off"
@paste="handlePaste"
@keydown="handleKeyDown({{ $x }}, $event)"
@focus="$el.select()"
@input="$el.value = $el.value.replace(/[^0-9]/g, '').slice(0, 1)"
@class([
'flex size-10 items-center justify-center border border-zinc-300 bg-accent-foreground text-center text-sm font-medium text-accent-content transition-colors focus:border-accent focus:border-2 focus:outline-none focus:relative focus:z-10 dark:border-zinc-700 dark:focus:border-accent',
'rounded-l-md' => $x === 1,
'rounded-r-md' => $x === $digits,
'-ml-px' => $x > 1,
])
/>
@endfor
</div>
<input
{{ $attributes->except(['digits']) }}
type="hidden"
x-ref="code"
name="{{ $name }}"
minlength="{{ $digits }}"
maxlength="{{ $digits }}"
/>
</div>
| Blade | 900 |
634bddd336426cb1e693852b6bcb534083dbe8609748ef42a6065cf9ba793fbd | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | invitation-link-modal.blade.php | resources/views/components/invitation-link-modal.blade.php | @props(['title', 'message', 'doneAction' => null, 'doneLabel' => __('Done')])
<x-modal wire:model="showCopyModal" class="backdrop-blur" title="{{ $title }}" separator persistent>
<p class="mb-4">{{ $message }}</p>
<div class="flex gap-2">
<div class="flex-1">
<x-input
wire:model="invitationUrl"
readonly
class="w-full"
/>
</div>
<x-button
icon="o-clipboard-document"
class="btn-primary"
x-clipboard="$wire.invitationUrl"
x-on:clipboard-copied="$wire.success('{{ __('Link copied to clipboard!') }}', null, 'toast-bottom')"
tooltip="{{ __('Copy') }}"
/>
</div>
<x-slot:actions>
@if($doneAction)
<x-button label="{{ $doneLabel }}" wire:click="{{ $doneAction }}" class="btn-primary" />
@else
<x-button label="{{ $doneLabel }}" @click="$wire.showCopyModal = false" class="btn-primary" />
@endif
</x-slot:actions>
</x-modal>
| Blade | 260 |
a79d267012863a020a7f2c627654ea34265212e74b46f554eb81f324c07d2da4 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | app.blade.php | resources/views/components/layouts/app.blade.php | <!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" data-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ isset($title) ? $title.' - '.config('app.name') : config('app.name') }}</title>
<link rel="icon" href="{{ asset('favicon.svg') }}" type="image/svg+xml">
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('apple-touch-icon.png') }}/">
@vite(['resources/css/app.css', 'resources/js/app.js'])
<script>
function applyTheme() {
const savedTheme = localStorage.getItem('theme');
if (savedTheme) {
document.documentElement.setAttribute('data-theme', savedTheme);
}
}
applyTheme();
document.addEventListener('livewire:navigated', () => {
applyTheme();
console.log('theme changed');
});
</script>
</head>
<body class="min-h-screen font-sans antialiased bg-base-200">
{{-- NAVBAR mobile only --}}
<x-nav sticky class="lg:hidden">
<x-slot:brand>
<x-app-brand />
</x-slot:brand>
<x-slot:actions>
<label for="main-drawer" class="lg:hidden me-3">
<x-icon name="o-bars-3" class="cursor-pointer" />
</label>
</x-slot:actions>
</x-nav>
{{-- MAIN --}}
<x-main>
{{-- SIDEBAR --}}
<x-slot:sidebar drawer="main-drawer" collapsible class="bg-base-100 lg:bg-inherit">
<div class="flex flex-col h-full">
{{-- BRAND --}}
<x-app-brand class="px-5 pt-4" />
{{-- MAIN MENU --}}
<x-menu activate-by-route class="flex-1">
<x-menu-separator />
<x-menu-item title="{{ __('Dashboard') }}" icon="o-home" link="{{ route('dashboard') }}" wire:navigate />
<x-menu-item title="{{ __('Database Servers') }}" icon="o-server-stack" link="{{ route('database-servers.index') }}" wire:navigate />
<livewire:menu.jobs-menu-item />
<x-menu-item title="{{ __('Volumes') }}" icon="o-circle-stack" link="{{ route('volumes.index') }}" wire:navigate />
<x-menu-item title="{{ __('Users') }}" icon="o-users" link="{{ route('users.index') }}" wire:navigate />
<x-menu-separator />
<x-menu-item title="{{ __('Configuration') }}" icon="o-cog-6-tooth" link="{{ route('configuration.index') }}" wire:navigate />
<x-menu-item title="{{ __('API Docs') }}" no-wire-navigate="true" icon="o-document-text" link="{{ route('scramble.docs.ui') }}" />
<x-menu-item title="{{ __('API Tokens') }}" icon="o-key" link="{{ route('api-tokens.index') }}" wire:navigate />
</x-menu>
{{-- USER SECTION AT BOTTOM --}}
@if($user = auth()->user())
<x-menu activate-by-route class="mt-auto" title="">
<x-menu-sub title="{{ $user->name }}" icon="o-user">
<x-menu-item title="{{ __('Appearance') }}" icon="o-paint-brush" link="{{ route('appearance.edit') }}" wire:navigate />
@unless($user->isDemo())
<x-menu-item title="{{ __('Profile') }}" icon="o-user" link="{{ route('profile.edit') }}" wire:navigate />
@unless($user->isOAuthOnly())
<x-menu-item title="{{ __('Password') }}" icon="o-key" link="{{ route('user-password.edit') }}" wire:navigate />
@if (Laravel\Fortify\Features::canManageTwoFactorAuthentication())
<x-menu-item title="{{ __('Two-Factor Auth') }}" icon="o-shield-check" link="{{ route('two-factor.show') }}" wire:navigate />
@endif
@endunless
@endunless
<form method="POST" action="{{ route('logout') }}" class="w-full">
@csrf
<x-button type="submit" class="w-full" icon="o-power">
{{ __('Logout') }}
</x-button>
</form>
</x-menu-sub>
</x-menu>
@endif
</div>
</x-slot:sidebar>
{{-- The `$slot` goes here --}}
<x-slot:content>
{{-- Demo mode banner --}}
@if (config('app.demo_mode') && auth()->user()?->isDemo())
<x-alert :title="__('You\'re in demo mode. Some data modifications are disabled.')" class="alert-warning mb-4" icon="o-eye" />
@endif
@if (session('status'))
<x-alert class="alert-success mb-4" icon="o-check-circle" dismissible>
{{ session('status') }}
</x-alert>
@endif
@if (session('demo_notice'))
<x-alert class="alert-warning mb-4" icon="o-exclamation-triangle" dismissible>
{{ session('demo_notice') }}
</x-alert>
@endif
{{ $slot }}
{{-- FOOTER --}}
@php
$commitHash = \App\Support\GitInfo::getCommitHash();
$commitUrl = \App\Support\GitInfo::getCommitUrl();
$githubRepo = \App\Support\GitInfo::getGitHubRepo();
$githubRepoShort = \App\Support\GitInfo::getGitHubRepoShort();
$newIssueUrl = \App\Support\GitInfo::getNewIssueUrl();
@endphp
<footer class="mt-12 py-6 border-t border-base-300">
<div class="flex flex-col items-center gap-4 text-sm text-base-content/60">
{{-- Top row: Made by + GitHub --}}
<div class="flex flex-col sm:flex-row items-center gap-2 sm:gap-4">
<span>
Made with <span class="text-error">❤</span> by
<a href="https://crty.dev" target="_blank" rel="noopener" class="link link-hover">David-Crty</a>
</span>
<a href="{{ $githubRepo }}" target="_blank" rel="noopener" class="link link-hover flex items-center gap-1">
<x-fab-github class="w-4 h-4" />
{{ $githubRepoShort }}
</a>
</div>
{{-- Bottom row: Links --}}
<div class="flex flex-wrap items-center justify-center gap-x-4 gap-y-2">
<a href="https://david-crty.github.io/databasement/" target="_blank" rel="noopener" class="link link-hover">
Documentation
</a>
<a href="{{ $newIssueUrl }}" target="_blank" rel="noopener" class="link link-hover">
Report an issue
</a>
<a href="{{ $githubRepo }}/blob/main/LICENSE" target="_blank" rel="noopener" class="link link-hover">
MIT License
</a>
@if($commitHash)
<a href="{{ $commitUrl }}" target="_blank" rel="noopener" class="link link-hover font-mono text-xs">
{{ $commitHash }}
</a>
@endif
</div>
</div>
</footer>
</x-slot:content>
</x-main>
{{-- TOAST area --}}
<x-toast />
</body>
</html>
| Blade | 1,680 |
abfc1621751507f5d20205d84a894ed7e57f8ef710ac9917f7fcd993c02f4684 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | accept-invitation.blade.php | resources/views/livewire/auth/accept-invitation.blade.php | <div class="flex flex-col gap-6">
<div class="flex w-full flex-col text-center">
<h1 class="text-2xl font-bold">{{ __('Complete your registration') }}</h1>
<p class="text-sm opacity-70">{{ __('Welcome, :name! Set your password to complete your account setup.', ['name' => $user->name]) }}</p>
</div>
<form wire:submit="accept" class="flex flex-col gap-6">
<!-- Email (read-only) -->
<x-input
label="{{ __('Email address') }}"
type="email"
:value="$user->email"
readonly
disabled
/>
<!-- Password -->
<x-password
wire:model="password"
label="{{ __('Password') }}"
required
autofocus
autocomplete="new-password"
placeholder="{{ __('Choose a strong password') }}"
/>
<!-- Confirm Password -->
<x-password
wire:model="password_confirmation"
label="{{ __('Confirm password') }}"
required
autocomplete="new-password"
placeholder="{{ __('Confirm your password') }}"
/>
<div class="flex items-center justify-end">
<x-button type="submit" class="btn-primary w-full" label="{{ __('Complete registration') }}" spinner="accept" />
</div>
</form>
</div>
| Blade | 287 |
4c5eefd20e39411f55cb5742927c4b82946c4401240fd293cf31288a9c1bf9a1 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | forgot-password.blade.php | resources/views/livewire/auth/forgot-password.blade.php | <x-layouts.auth>
<div class="flex flex-col gap-6">
<div class="flex w-full flex-col text-center">
<h1 class="text-2xl font-bold">{{ __('Forgot password') }}</h1>
<p class="text-sm opacity-70">{{ __('Enter your email to receive a password reset link') }}</p>
</div>
@if (session('status'))
<x-alert class="alert-success" icon="o-check-circle">{{ session('status') }}</x-alert>
@endif
<form method="POST" action="{{ route('password.email') }}" class="flex flex-col gap-6">
@csrf
<!-- Email Address -->
<x-input
name="email"
label="{{ __('Email Address') }}"
type="email"
required
autofocus
placeholder="email@example.com"
/>
<x-button type="submit" class="btn-primary w-full" label="{{ __('Email password reset link') }}" data-test="email-password-reset-link-button" />
</form>
<div class="space-x-1 rtl:space-x-reverse text-center text-sm">
<span>{{ __('Or, return to') }}</span>
<a href="{{ route('login') }}" class="link link-primary" wire:navigate>{{ __('log in') }}</a>
</div>
</div>
</x-layouts.auth>
| Blade | 298 |
c3d1d87b0a37506d93792e5ba612b1070f4faec89cffbd3270eb01e7bf0862d9 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | login.blade.php | resources/views/livewire/auth/login.blade.php | <x-layouts.auth>
<div class="flex flex-col gap-6">
<div class="flex w-full flex-col text-center">
<h1 class="text-2xl font-bold">{{ __('Log in to your account') }}</h1>
<p class="text-sm opacity-70">{{ __('Enter your email and password below to log in') }}</p>
</div>
@if (config('app.demo_mode'))
<x-alert class="alert-info" icon="o-information-circle">
{{ __('Demo mode: credentials are pre-filled. Just click Log in!') }}
</x-alert>
@endif
@if (session('status'))
<x-alert class="alert-success" icon="o-check-circle">{{ session('status') }}</x-alert>
@endif
@if (session('error'))
<x-alert class="alert-error" icon="o-exclamation-circle">{{ session('error') }}</x-alert>
@endif
<x-form method="POST" action="{{ route('login.store') }}" class="flex flex-col gap-6">
@csrf
<!-- Email Address -->
<x-input
name="email"
label="{{ __('Email address') }}"
type="email"
required
autofocus
autocomplete="email"
placeholder="email@example.com"
value="{{ config('app.demo_mode') ? config('app.demo_user_email') : old('email') }}"
/>
<!-- Password -->
<div class="relative">
<x-password
name="password"
label="{{ __('Password') }}"
required
autocomplete="current-password"
placeholder="{{ __('Password') }}"
value="{{ config('app.demo_mode') ? config('app.demo_user_password') : '' }}"
/>
@if (Route::has('password.request'))
<a href="{{ route('password.request') }}" class="absolute top-0 text-sm end-0 link link-hover" wire:navigate>
{{ __('Forgot your password?') }}
</a>
@endif
</div>
<!-- Remember Me -->
<x-checkbox name="remember" label="{{ __('Remember me') }}" :checked="old('remember')" />
<div class="flex items-center justify-end">
<x-button type="submit" class="btn-primary w-full" label="{{ __('Log in') }}" data-test="login-button" />
</div>
</x-form>
{{-- OAuth Providers Section --}}
@php
$oauthProviders = app(\App\Services\OAuthService::class)->getEnabledProviders();
@endphp
@if (count($oauthProviders) > 0)
<div class="divider">{{ __('or continue with') }}</div>
<div class="flex flex-col gap-3">
@foreach ($oauthProviders as $key => $provider)
<a href="{{ $provider['url'] }}" class="btn btn-outline w-full gap-2" data-test="oauth-{{ $key }}">
<x-icon name="{{ $provider['icon'] }}" class="w-5 h-5" />
{{ __('Continue with :provider', ['provider' => $provider['label']]) }}
</a>
@endforeach
</div>
@endif
</div>
</x-layouts.auth>
| Blade | 695 |
8fa293ac8bacf5575316aa5f6712d9a51aa50d606767ceaeee75db4d6ba4766e | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | register.blade.php | resources/views/livewire/auth/register.blade.php | <x-layouts.auth>
<div class="flex flex-col gap-6">
<div class="flex w-full flex-col text-center">
<h1 class="text-2xl font-bold">{{ __('Create an account') }}</h1>
<p class="text-sm opacity-70">{{ __('Enter your details below to create your account') }}</p>
</div>
@if (session('status'))
<x-alert class="alert-success" icon="o-check-circle">{{ session('status') }}</x-alert>
@endif
<form method="POST" action="{{ route('register.store') }}" class="flex flex-col gap-6">
@csrf
<!-- Name -->
<x-input
name="name"
label="{{ __('Name') }}"
type="text"
required
autofocus
autocomplete="name"
placeholder="{{ __('Full name') }}"
/>
<!-- Email Address -->
<x-input
name="email"
label="{{ __('Email address') }}"
type="email"
required
autocomplete="email"
placeholder="email@example.com"
/>
<!-- Password -->
<x-password
name="password"
label="{{ __('Password') }}"
required
autocomplete="new-password"
placeholder="{{ __('Password') }}"
/>
<!-- Confirm Password -->
<x-password
name="password_confirmation"
label="{{ __('Confirm password') }}"
required
autocomplete="new-password"
placeholder="{{ __('Confirm password') }}"
/>
@if(\App\Models\User::count() === 0)
<!-- Demo Backup Option -->
<x-checkbox
name="create_demo_backup"
:label="__('Add Databasement\'s own database as a demo backup')"
:hint="__('Creates a local backup volume and schedules daily backups of this application\'s database')"
checked
/>
@endif
<div class="flex items-center justify-end">
<x-button type="submit" class="btn-primary w-full" label="{{ __('Create account') }}" data-test="register-user-button" />
</div>
</form>
</div>
</x-layouts.auth>
| Blade | 457 |
fb4b55b61dda4ccb4bfc2f70ef6f74cd7de531b7b8a8752a3d6bc7907959076d | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | delete-user-form.blade.php | resources/views/livewire/settings/delete-user-form.blade.php | <section class="mt-10 space-y-6">
<div class="relative mb-5">
<x-header title="{{ __('Delete account') }}" subtitle="{{ __('Delete your account and all of its resources') }}" size="text-lg" />
</div>
<x-button
label="{{ __('Delete account') }}"
class="btn-error"
@click="$wire.showDeleteModal = true"
data-test="delete-user-button"
/>
<x-modal wire:model="showDeleteModal" title="{{ __('Are you sure you want to delete your account?') }}" class="backdrop-blur">
<p class="mb-4">
{{ __('Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.') }}
</p>
<form wire:submit="deleteUser" class="space-y-6">
<x-password wire:model="password" label="{{ __('Password') }}" />
<x-slot:actions>
<x-button label="{{ __('Cancel') }}" @click="$wire.showDeleteModal = false" />
<x-button label="{{ __('Delete account') }}" class="btn-error" type="submit" data-test="confirm-delete-user-button" />
</x-slot:actions>
</form>
</x-modal>
</section>
| Blade | 286 |
f7c981bf13495d4393bde7bafe2a73378d8f5d334c78bf249b49e51177a8008b | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | profile.blade.php | resources/views/livewire/settings/profile.blade.php | <div>
<div class="mx-auto max-w-4xl">
<x-header title="{{ __('Profile') }}" subtitle="{{ __('Update your name and email address') }}" size="text-2xl" separator class="mb-6" />
@if (session('success'))
<x-alert class="alert-success mb-6" icon="o-check-circle" dismissible>
{{ session('success') }}
</x-alert>
@endif
<x-card>
<form wire:submit="updateProfileInformation" class="space-y-6">
<x-input wire:model="name" label="{{ __('Name') }}" type="text" required autofocus autocomplete="name" />
<x-input wire:model="email" label="{{ __('Email') }}" type="email" required autocomplete="email" />
<div class="flex items-center justify-end">
<x-button type="submit" class="btn-primary" label="{{ __('Save') }}" data-test="update-profile-button" />
</div>
</form>
</x-card>
<livewire:settings.delete-user-form />
</div>
</div>
| Blade | 238 |
d67d726ac76cef883ad93f8246f2303795c4ed1c50fde0630af3ad74be7a0581 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | recovery-codes.blade.php | resources/views/livewire/settings/two-factor/recovery-codes.blade.php | <div
class="py-6 space-y-6 border shadow-sm rounded-xl border-base-300"
wire:cloak
x-data="{ showRecoveryCodes: false }"
>
<div class="px-6 space-y-2">
<div class="flex items-center gap-2">
<x-icon name="o-lock-closed" class="w-4 h-4" />
<h3 class="text-lg font-semibold">{{ __('2FA Recovery Codes') }}</h3>
</div>
<p class="text-sm opacity-70">
{{ __('Recovery codes let you regain access if you lose your 2FA device. Store them in a secure password manager.') }}
</p>
</div>
<div class="px-6">
<div class="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">
<x-button
x-show="!showRecoveryCodes"
icon="o-eye"
class="btn-primary"
@click="showRecoveryCodes = true;"
label="{{ __('View Recovery Codes') }}"
/>
<x-button
x-show="showRecoveryCodes"
icon="o-eye-slash"
class="btn-primary"
@click="showRecoveryCodes = false"
label="{{ __('Hide Recovery Codes') }}"
/>
@if (filled($recoveryCodes))
<x-button
x-show="showRecoveryCodes"
icon="o-arrow-path"
class="btn-outline"
wire:click="regenerateRecoveryCodes"
label="{{ __('Regenerate Codes') }}"
/>
@endif
</div>
<div
x-show="showRecoveryCodes"
x-transition
id="recovery-codes-section"
class="relative overflow-hidden"
x-bind:aria-hidden="!showRecoveryCodes"
>
<div class="mt-3 space-y-3">
@error('recoveryCodes')
<x-alert class="alert-error" icon="o-x-circle">{{ $message }}</x-alert>
@enderror
@if (filled($recoveryCodes))
<div
class="grid gap-1 p-4 font-mono text-sm rounded-lg bg-base-200"
role="list"
aria-label="Recovery codes"
>
@foreach($recoveryCodes as $code)
<div
role="listitem"
class="select-text"
wire:loading.class="opacity-50 animate-pulse"
>
{{ $code }}
</div>
@endforeach
</div>
<p class="text-xs opacity-70">
{{ __('Each recovery code can be used once to access your account and will be removed after use. If you need more, click Regenerate Codes above.') }}
</p>
@endif
</div>
</div>
</div>
</div>
| Blade | 627 |
136f3a9cc27b6d0cf3c5e03263be3f9f88667c90449840a42e6315f1eb29433d | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | create.blade.php | resources/views/livewire/user/create.blade.php | <div>
<div class="mx-auto max-w-4xl">
<x-header title="{{ __('Create User') }}" subtitle="{{ __('Invite a new user to the application') }}" size="text-2xl" separator class="mb-6">
<x-slot:actions>
<x-button label="{{ __('Cancel') }}" link="{{ route('users.index') }}" wire:navigate icon="o-arrow-left" class="btn-ghost" />
</x-slot:actions>
</x-header>
<x-card class="space-y-6">
<form wire:submit="save" class="space-y-6">
<x-input
wire:model="form.name"
label="{{ __('Name') }}"
placeholder="{{ __('Full name') }}"
icon="o-user"
required
/>
<x-input
wire:model="form.email"
label="{{ __('Email') }}"
type="email"
placeholder="{{ __('email@example.com') }}"
icon="o-envelope"
required
/>
<x-select
wire:model="form.role"
label="{{ __('Role') }}"
:options="$roleOptions"
icon="o-shield-check"
required
/>
<div class="bg-base-200 p-4 rounded-lg">
<h4 class="font-medium mb-2">{{ __('Role Permissions') }}</h4>
<ul class="text-sm space-y-1 text-base-content/70">
<li><strong>{{ __('Viewer') }}:</strong> {{ __('Read-only access to all index pages and details. Cannot perform any actions.') }}</li>
<li><strong>{{ __('Member') }}:</strong> {{ __('Full access to create, edit, and delete resources. Cannot manage users.') }}</li>
<li><strong>{{ __('Admin') }}:</strong> {{ __('Full access to everything, including user management.') }}</li>
</ul>
</div>
<div class="flex justify-end gap-3">
<x-button label="{{ __('Cancel') }}" link="{{ route('users.index') }}" wire:navigate />
<x-button type="submit" label="{{ __('Create User') }}" class="btn-primary" spinner="save" />
</div>
</form>
</x-card>
</div>
<!-- INVITATION LINK MODAL -->
<x-invitation-link-modal
:title="__('User Created Successfully')"
:message="__('The user has been created. Copy the invitation link below and send it to the user so they can set their password and complete registration.')"
doneAction="closeAndRedirect"
/>
</div>
| Blade | 554 |
8e4484184898fd8ef17fdaeb24a962e874e69eeb463706529fabc5c3ba0ea006 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | edit.blade.php | resources/views/livewire/user/edit.blade.php | <div>
<div class="mx-auto max-w-4xl">
<x-header title="{{ __('Edit User') }}" subtitle="{{ __('Update user information') }}" size="text-2xl" separator class="mb-6">
<x-slot:actions>
<x-button label="{{ __('Back') }}" link="{{ route('users.index') }}" wire:navigate icon="o-arrow-left" class="btn-ghost" />
</x-slot:actions>
</x-header>
@if (session('status'))
<x-alert class="alert-success mb-6" icon="o-check-circle" dismissible>
{{ session('status') }}
</x-alert>
@endif
<x-card class="space-y-6">
<form wire:submit="save" class="space-y-6">
<x-input
wire:model="form.name"
label="{{ __('Name') }}"
placeholder="{{ __('Full name') }}"
icon="o-user"
required
/>
<x-input
wire:model="form.email"
label="{{ __('Email') }}"
type="email"
placeholder="{{ __('email@example.com') }}"
icon="o-envelope"
required
/>
<x-select
wire:model="form.role"
label="{{ __('Role') }}"
:options="$roleOptions"
icon="o-shield-check"
required
/>
@if($form->user->isAdmin() && \App\Models\User::where('role', 'admin')->count() === 1)
<x-alert class="alert-warning" icon="o-exclamation-triangle">
{{ __('This is the only administrator. The role cannot be changed.') }}
</x-alert>
@endif
<div class="bg-base-200 p-4 rounded-lg">
<h4 class="font-medium mb-2">{{ __('User Status') }}</h4>
<div class="flex items-center gap-2">
@if($form->user->isActive())
<x-badge value="{{ __('Active') }}" class="badge-success" />
<span class="text-sm text-base-content/70">{{ __('Joined :date', ['date' => \App\Support\Formatters::humanDate($form->user->invitation_accepted_at)]) }}</span>
@else
<x-badge value="{{ __('Pending') }}" class="badge-warning" />
<span class="text-sm text-base-content/70">{{ __('Invitation sent, awaiting registration') }}</span>
@endif
</div>
</div>
<div class="flex justify-end gap-3">
<x-button label="{{ __('Cancel') }}" link="{{ route('users.index') }}" wire:navigate />
<x-button type="submit" label="{{ __('Save Changes') }}" class="btn-primary" spinner="save" />
</div>
</form>
</x-card>
</div>
</div>
| Blade | 615 |
2c493593c183ad24ec076f0dad0097249dd346693d7eb18a47f3d90dcadbcde3 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | index.blade.php | resources/views/livewire/user/index.blade.php | <div>
<!-- HEADER with filters (Desktop) -->
<x-header title="{{ __('Users') }}" separator progress-indicator>
<x-slot:actions>
<div class="hidden lg:flex items-center gap-2">
@include('livewire.user._filters', ['variant' => 'desktop'])
</div>
@can('create', App\Models\User::class)
<x-button label="{{ __('Add User') }}" link="{{ route('users.create') }}" icon="o-plus" class="btn-primary btn-sm" wire:navigate />
@endcan
</x-slot:actions>
</x-header>
<!-- FILTERS (Tablet & Mobile) -->
<div class="lg:hidden mb-4" x-data="{ showFilters: false }">
@include('livewire.user._filters', ['variant' => 'mobile'])
</div>
<!-- TABLE -->
<x-card shadow>
<x-table :headers="$headers" :rows="$users" :sort-by="$sortBy" with-pagination>
<x-slot:empty>
<div class="text-center text-base-content/50 py-8">
@if($search || $roleFilter !== '' || $statusFilter !== '')
{{ __('No users found matching your filters.') }}
@else
{{ __('No users yet.') }}
@endif
</div>
</x-slot:empty>
@scope('cell_name', $user)
<div class="flex items-center gap-2">
<div class="table-cell-primary">{{ $user->name }}</div>
@if($user->id === auth()->id())
<span class="text-xs text-base-content/50">{{ __('(You)') }}</span>
@endif
@if($user->isOAuthOnly())
<x-badge value="OAuth" class="badge-ghost badge-sm" />
@endif
</div>
@endscope
@scope('cell_email', $user)
{{ $user->email }}
@endscope
@scope('cell_role', $user)
@php
$roleClass = match($user->role) {
'admin' => 'badge-primary',
'member' => 'badge-info',
'viewer' => 'badge-neutral',
default => 'badge-ghost',
};
@endphp
<x-badge :value="ucfirst($user->role)" class="{{ $roleClass }}" />
@endscope
@scope('cell_status', $user)
@if($user->isActive())
<x-badge value="{{ __('Active') }}" class="badge-success" />
@else
<x-badge value="{{ __('Pending') }}" class="badge-warning" />
@endif
@endscope
@scope('cell_created_at', $user)
<div class="table-cell-primary">{{ \App\Support\Formatters::humanDate($user->created_at) }}</div>
<div class="text-sm text-base-content/70">{{ $user->created_at->diffForHumans() }}</div>
@endscope
@scope('actions', $user)
<div class="flex gap-2 justify-end">
@can('copyInvitationLink', $user)
<x-button
icon="o-clipboard-document"
wire:click="copyInvitationLink({{ $user->id }})"
tooltip="{{ __('Copy Invitation Link') }}"
class="btn-ghost btn-sm text-info"
/>
@endcan
@can('update', $user)
<x-button
icon="o-pencil"
link="{{ route('users.edit', $user) }}"
wire:navigate
tooltip="{{ __('Edit') }}"
class="btn-ghost btn-sm"
/>
@endcan
@can('delete', $user)
<x-button
icon="o-trash"
wire:click="confirmDelete({{ $user->id }})"
tooltip="{{ __('Delete') }}"
class="btn-ghost btn-sm text-error"
/>
@endcan
</div>
@endscope
</x-table>
</x-card>
<!-- DELETE CONFIRMATION MODAL -->
<x-delete-confirmation-modal
:title="__('Delete User')"
:message="__('Are you sure you want to delete this user? This action cannot be undone.')"
onConfirm="delete"
/>
<!-- COPY INVITATION LINK MODAL -->
<x-invitation-link-modal
:title="__('Invitation Link')"
:message="__('Copy this link and send it to the user so they can complete their registration.')"
:doneLabel="__('Close')"
/>
</div>
| Blade | 1,002 |
4a371afc4d7c08a66384eebc1b94694d2f0f52ba6eb042c37a63e6cfcbd5a56c | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | _form.blade.php | resources/views/livewire/volume/_form.blade.php | @props(['form', 'submitLabel' => 'Save', 'cancelRoute' => 'volumes.index', 'readonly' => false])
@php
use App\Enums\VolumeType;
@endphp
<form wire:submit="save" class="space-y-6">
<!-- Basic Information -->
<div class="space-y-4">
<h3 class="text-lg font-semibold">{{ __('Basic Information') }}</h3>
<x-input
wire:model="form.name"
label="{{ __('Volume Name') }}"
placeholder="{{ __('e.g., Production S3 Bucket') }}"
type="text"
required
/>
<!-- Storage Type Selection -->
<div>
<label class="label label-text font-semibold mb-2">{{ __('Storage Type') }}</label>
<div class="grid grid-cols-2 sm:grid-cols-4 gap-2">
@foreach(VolumeType::cases() as $volumeType)
@php
$isSelected = $form->type === $volumeType->value;
$buttonClass = match(true) {
$isSelected && $readonly => 'btn-primary opacity-70 cursor-not-allowed border-2 border-primary',
$isSelected => 'btn-primary',
$readonly => 'btn-outline opacity-40 cursor-not-allowed',
default => 'btn-outline',
};
@endphp
<button
type="button"
wire:click="$set('form.type', '{{ $volumeType->value }}')"
@if($readonly) disabled @endif
class="btn justify-start gap-2 h-auto py-3 {{ $buttonClass }}"
>
<x-volume-type-icon :type="$volumeType" class="w-5 h-5" />
<span>{{ $volumeType->label() }}</span>
</button>
@endforeach
</div>
</div>
</div>
<!-- Configuration -->
<x-hr />
<div class="space-y-4">
<h3 class="text-lg font-semibold">{{ __('Configuration') }}</h3>
@php
$configType = VolumeType::from($form->type);
$configProperty = $configType->configPropertyName();
@endphp
<livewire:dynamic-component
:component="'volume.connectors.' . $form->type . '-config'"
:wire:model="'form.' . $configProperty"
:readonly="$readonly"
:is-editing="$form->volume !== null"
:wire:key="$form->type . '-config'"
/>
<!-- Test Connection Button -->
<div class="pt-2">
<x-button
class="w-full btn-outline"
type="button"
icon="o-arrow-path"
wire:click="testConnection"
:disabled="$form->testingConnection"
spinner="testConnection"
>
@if($form->testingConnection)
{{ __('Testing Connection...') }}
@else
{{ __('Test Connection') }}
@endif
</x-button>
</div>
<!-- Connection Test Result -->
@if($form->connectionTestMessage)
<div class="mt-2">
@if($form->connectionTestSuccess)
<x-alert class="alert-success" icon="o-check-circle">
{{ $form->connectionTestMessage }}
</x-alert>
@else
<x-alert class="alert-error" icon="o-x-circle">
{{ $form->connectionTestMessage }}
</x-alert>
@endif
</div>
@endif
</div>
<!-- Submit Button -->
<div class="flex items-center justify-end gap-3 pt-4">
<x-button class="btn-ghost" link="{{ route($cancelRoute) }}" wire:navigate>
{{ __('Cancel') }}
</x-button>
<x-button class="btn-primary" type="submit">
{{ __($submitLabel) }}
</x-button>
</div>
</form>
| Blade | 847 |
601cdc8348b440949b2d8c52a0aed6ba71c4a33264f23a06b5c720f4a0037165 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | s3-config.blade.php | resources/views/livewire/volume/connectors/s3-config.blade.php | <div class="space-y-4">
<x-alert class="alert-info" icon="o-information-circle">
{{ __('S3 credentials are configured via environment variables.') }}
<x-slot:actions>
<x-button
label="{{ __('View S3 Configuration Docs') }}"
link="https://david-crty.github.io/databasement/self-hosting/configuration#s3-storage"
external
class="btn-ghost btn-sm"
icon="o-arrow-top-right-on-square"
/>
</x-slot:actions>
</x-alert>
<x-input
wire:model="config.bucket"
label="{{ __('S3 Bucket Name') }}"
placeholder="{{ __('e.g., my-backup-bucket') }}"
type="text"
:disabled="$readonly"
required
/>
<x-input
wire:model="config.prefix"
label="{{ __('Prefix (Optional)') }}"
placeholder="{{ __('e.g., backups/production/') }}"
type="text"
:disabled="$readonly"
/>
@unless($readonly)
<p class="text-sm opacity-70">
{{ __('The prefix is prepended to all backup file paths in the S3 bucket.') }}
</p>
@endunless
</div>
| Blade | 267 |
84587e17918b64c3ece4d1704b327a9ea515a54746f21e5a4f1fe7655e9ea4a0 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | sftp-config.blade.php | resources/views/livewire/volume/connectors/sftp-config.blade.php | <div class="space-y-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<x-input
wire:model="config.host"
label="{{ __('Host') }}"
placeholder="{{ __('e.g., sftp.example.com') }}"
type="text"
:disabled="$readonly"
required
/>
<x-input
wire:model="config.port"
label="{{ __('Port') }}"
placeholder="22"
type="number"
:disabled="$readonly"
/>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<x-input
wire:model="config.username"
label="{{ __('Username') }}"
placeholder="{{ __('e.g., backup-user') }}"
type="text"
:disabled="$readonly"
required
/>
<x-password
wire:model="config.password"
label="{{ __('Password') }}"
placeholder="{{ $isEditing ? __('Leave blank to keep current') : '' }}"
:disabled="$readonly"
:required="!$isEditing"
/>
</div>
<x-input
wire:model="config.root"
label="{{ __('Root Directory') }}"
placeholder="{{ __('e.g., /home/backup-user/backups') }}"
type="text"
:disabled="$readonly"
/>
<x-input
wire:model="config.timeout"
label="{{ __('Connection Timeout (seconds)') }}"
placeholder="10"
type="number"
:disabled="$readonly"
/>
@unless($readonly)
<p class="text-sm opacity-70">
{{ __('Backups will be stored in the specified root directory on the SFTP server.') }}
</p>
@endunless
</div>
| Blade | 379 |
5f365036871e7792924fed4f86e61fdc2e50d46ac2d0d92da4ee3169810ba7c0 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | edit.blade.php | resources/views/livewire/volume/edit.blade.php | <div>
<div class="mx-auto max-w-4xl">
<x-header title="{{ __('Edit Volume') }}" subtitle="{{ __('Update storage volume configuration') }}" size="text-2xl" separator class="mb-6" />
@if (session('status'))
<x-alert class="alert-success mb-6" icon="o-check-circle" dismissible>
{{ session('status') }}
</x-alert>
@endif
@if($hasSnapshots)
<x-alert class="alert-warning mb-6" icon="o-lock-closed">
{{ __('This volume has existing snapshots. Only the name can be modified. Configuration changes are locked to protect backup integrity.') }}
</x-alert>
@endif
<x-card class="space-y-6">
@include('livewire.volume._form', [
'form' => $form,
'submitLabel' => 'Update Volume',
'readonly' => $hasSnapshots,
])
</x-card>
</div>
</div>
| Blade | 221 |
c4f0403bc50f1297c4aa71d8a1cfe973b9b42cf3c3f6d23f304ba92b58d815b6 | David-Crty/databasement | MIT | PHP | Simple web UI for database backup & restore | https://github.com/David-Crty/databasement | 147 | 10 | 358 | 2025-11-14T21:05:44 | 2026-02-02T15:01:06 | index.blade.php | resources/views/livewire/volume/index.blade.php | <div>
<!-- HEADER with search (Desktop) -->
<x-header title="{{ __('Volumes') }}" separator progress-indicator>
<x-slot:actions>
<div class="hidden sm:flex items-center gap-2">
<x-input
placeholder="{{ __('Search...') }}"
wire:model.live.debounce="search"
clearable
icon="o-magnifying-glass"
class="!input-sm w-48"
/>
@if($search)
<x-button
icon="o-x-mark"
wire:click="clear"
spinner
class="btn-ghost btn-sm"
tooltip="{{ __('Clear search') }}"
/>
@endif
</div>
@can('create', App\Models\Volume::class)
<x-button label="{{ __('Add Volume') }}" link="{{ route('volumes.create') }}" icon="o-plus" class="btn-primary btn-sm" wire:navigate />
@endcan
</x-slot:actions>
</x-header>
<!-- SEARCH (Mobile) -->
<div class="sm:hidden mb-4">
<x-input
placeholder="{{ __('Search...') }}"
wire:model.live.debounce="search"
clearable
icon="o-magnifying-glass"
/>
</div>
<!-- TABLE -->
<x-card shadow>
<x-table :headers="$headers" :rows="$volumes" :sort-by="$sortBy" with-pagination>
<x-slot:empty>
<div class="text-center text-base-content/50 py-8">
@if($search)
{{ __('No volumes found matching your search.') }}
@else
{{ __('No volumes yet.') }}
<a href="{{ route('volumes.create') }}" class="link link-primary" wire:navigate>
{{ __('Create your first one.') }}
</a>
@endif
</div>
</x-slot:empty>
@scope('cell_name', $volume)
<div class="table-cell-primary">{{ $volume->name }}</div>
@endscope
@scope('cell_type', $volume)
<div class="flex items-center gap-2">
<x-volume-type-icon :type="$volume->type" class="w-4 h-4" />
<span>{{ $volume->getVolumeType()?->label() ?? $volume->type }}</span>
</div>
@endscope
@scope('cell_config', $volume)
@php $summary = $volume->getConfigSummary(); @endphp
@foreach($summary as $label => $value)
<div class="text-sm {{ $loop->first ? '' : 'text-base-content/70' }}">
@if(count($summary) > 1){{ $label }}: @endif{{ $value }}
</div>
@endforeach
@endscope
@scope('cell_created_at', $volume)
<div class="table-cell-primary">{{ \App\Support\Formatters::humanDate($volume->created_at) }}</div>
<div class="text-sm text-base-content/70">{{ $volume->created_at->diffForHumans() }}</div>
@endscope
@scope('actions', $volume)
<div class="flex gap-2 justify-end">
@can('update', $volume)
<x-button
icon="o-pencil"
link="{{ route('volumes.edit', $volume) }}"
wire:navigate
tooltip="{{ __('Edit') }}"
class="btn-ghost btn-sm"
/>
@endcan
@can('delete', $volume)
<x-button
icon="o-trash"
wire:click="confirmDelete('{{ $volume->id }}')"
tooltip="{{ __('Delete') }}"
class="btn-ghost btn-sm text-error"
/>
@endcan
</div>
@endscope
</x-table>
</x-card>
<!-- DELETE CONFIRMATION MODAL -->
<x-modal wire:model="showDeleteModal" :title="__('Delete Volume')" class="backdrop-blur">
<p>{{ __('Are you sure you want to delete this volume? This action cannot be undone.') }}</p>
@if($deleteSnapshotCount > 0)
<x-alert icon="o-exclamation-triangle" class="alert-warning mt-4">
{{ trans_choice(':count snapshot will also be deleted.|:count snapshots will also be deleted.', $deleteSnapshotCount, ['count' => $deleteSnapshotCount]) }}
</x-alert>
@endif
<x-slot:actions>
<x-button label="{{ __('Cancel') }}" @click="$wire.showDeleteModal = false" />
<x-button label="{{ __('Delete') }}" class="btn-error" wire:click="delete" />
</x-slot:actions>
</x-modal>
</div>
| Blade | 1,040 |
391cc3ff7a927c04310725d239a15ff01dc9fa9e399cf8516cdf186ddba910c2 | Grazulex/laravel-autobuilder | PHP | Visual automation builder for Laravel - Create workflows with a drag-and-drop interface | https://github.com/Grazulex/laravel-autobuilder | 42 | 3 | 30 | 2025-12-31T07:08:50 | 2026-01-10T20:56:05 | editor.blade.php | resources/views/editor.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>AutoBuilder - {{ $flow->name }}</title>
@if(app()->environment('local') && file_exists(public_path('hot')))
{{-- Development: Vite dev server --}}
@vite(['resources/js/autobuilder.js'])
@else
{{-- Production: Built assets --}}
<link rel="stylesheet" href="{{ asset('vendor/autobuilder/css/autobuilder.css') }}">
<script type="module" src="{{ asset('vendor/autobuilder/js/autobuilder.js') }}" defer></script>
@endif
</head>
<body class="bg-gray-100">
<div id="autobuilder-app"></div>
<script>
window.flowData = @json($flow);
window.apiBase = '{{ url(config('autobuilder.routes.prefix', 'autobuilder')) }}/api';
window.indexUrl = '{{ route('autobuilder.index') }}';
</script>
</body>
</html>
| Blade | 260 | |
cdeba1e52cd1f47df70485f5ff7343a4c8927dbbb65a669584b273b2cc009731 | HafidzThufail22/learn-laravel12 | Blade | https://github.com/HafidzThufail22/learn-laravel12 | 7 | 0 | 7 | 2025-10-20T09:48:07 | 2026-01-06T16:26:59 | create.blade.php | resources/views/anggota/create.blade.php | @extends('layouts.app')
@section('content')
<h4>Tambah Anggota</h4>
<form action="{{ route('anggota.store') }}" method="POST">
@csrf
<div>
<label for="nomor_anggota">Nomor Anggota</label><br>
<input type="text" name="nomor_anggota" id="nomor_anggota" value="{{ old('nomor_anggota') }}">
@error('nomor_anggota')
<div>{{ $message }}</div>
@enderror
</div>
<div>
<label for="nama">Nama</label><br>
<input type="text" name="nama" id="nama" value="{{ old('nama') }}">
@error('nama')
<div>{{ $message }}</div>
@enderror
</div>
<div>
<label for="alamat">Alamat</label><br>
<textarea name="alamat" id="alamat">{{ old('alamat') }}</textarea>
@error('alamat')
<div>{{ $message }}</div>
@enderror
</div>
<div>
<label for="email">Email</label><br>
<input type="email" name="email" id="email" value="{{ old('email') }}">
@error('email')
<div>{{ $message }}</div>
@enderror
</div>
<div>
<label for="tanggal_lahir">Tanggal Lahir</label><br>
<input type="date" name="tanggal_lahir" id="tanggal_lahir" value="{{ old('tanggal_lahir') }}">
@error('tanggal_lahir')
<div>{{ $message }}</div>
@enderror
</div>
<div style="margin-top:8px;">
<button type="submit">Simpan</button>
<a href="{{ route('anggota.index') }}">Batal</a>
</div>
</form>
@endsection | Blade | 416 | ||
6e511198e83fb80e80915ba2b7fbabb9669706b86b86067be8ae29991d0519b9 | HafidzThufail22/learn-laravel12 | Blade | https://github.com/HafidzThufail22/learn-laravel12 | 7 | 0 | 7 | 2025-10-20T09:48:07 | 2026-01-06T16:26:59 | index.blade.php | resources/views/anggota/index.blade.php | <!DOCTYPE html>
<html>
<head>
<title>Daftar Anggota</title>
</head>
<body>
<h2>Daftar Anggota</h2>
@if (session('success'))
<div style="color: green;">
{{ session('success') }}
</div>
@endif
<br>
<a href="{{ route('anggota.create') }}">Tambah Anggota Baru</a>
<br><br>
<table border="1" cellpadding="5" cellspacing="0">
<thead>
<tr>
<th>No</th>
<th>Nomor Anggota</th>
<th>Nama</th>
<th>Alamat</th>
<th>Email</th>
<th>Tanggal Lahir</th>
</tr>
</thead>
<tbody>
@if ($anggota->isEmpty())
<tr>
<td colspan="6" style="text-align: center;">Tidak ada data.</td>
</tr>
@else
@foreach ($anggota as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->nomor_anggota }}</td>
<td>{{ $item->nama }}</td>
<td>{{ $item->alamat }}</td>
<td>{{ $item->email }}</td>
<td>{{ $item->tanggal_lahir }}</td>
</tr>
@endforeach
@endif
</tbody>
</table>
</body>
</html> | Blade | 336 | ||
e2b0700bdd0d08ff908d9e53873fd89e48307c93730ff2f45ead640a627cd962 | HafidzThufail22/learn-laravel12 | Blade | https://github.com/HafidzThufail22/learn-laravel12 | 7 | 0 | 7 | 2025-10-20T09:48:07 | 2026-01-06T16:26:59 | index.blade.php | resources/views/barang/index.blade.php | @extends('layouts.app')
@section('content')
<h4>Daftar Barang</h4>
<a href="{{ route('barangs.create') }}" class="btn btn-info btn-sm">Tambah Barang Baru</a>
@if ($message = Session::get('success'))
<div class="alert alert-success mt-sm">
<p>{{ $message }}</p>
</div>
@endif
<table class="table table-responsive mt-sm">
<thead>
<th>ID</th>
<th>Nama Barang</th>
<th>Satuan</th>
<th>Harga</th>
<th>Stok</th>
<th>Aksi</th>
</thead>
<tbody>
@forelse ($barangs as $barang)
<tr>
<td>{{ $barang->id }}</td>
<td>{{ $barang->nama_barang }}</td>
<td>{{ $barang->satuan }}</td>
<td>Rp {{ number_format($barang->harga, 0, ',', '.') }}</td>
<td>{{ $barang->stok }}</td>
<td>
<form action="{{ route('barangs.destroy', $barang->id) }}" method="POST">
{{ csrf_field() }}
{{ method_field('DELETE') }}
<a href="{{ route('barangs.edit', $barang->id) }}" class="btn btn-warning btn-sm">Edit</a>
<button type="submit" class="btn btn-danger btn-sm" onclick="return confirm('Yakin hapus barang ini?')">Hapus</button>
</form>
</td>
</tr>
@empty
<tr>
<td colspan="6">Tidak ada data barang.</td>
</tr>
@endforelse
</tbody>
</table>
@endsection | Blade | 384 | ||
67f35fdb842d221c8fd84c06020698f52f22b8afb5188167cf9eb7a8fd6b859d | HafidzThufail22/learn-laravel12 | Blade | https://github.com/HafidzThufail22/learn-laravel12 | 7 | 0 | 7 | 2025-10-20T09:48:07 | 2026-01-06T16:26:59 | dropdown.blade.php | resources/views/components/dropdown.blade.php | @props(['align' => 'right', 'width' => '48', 'contentClasses' => 'py-1 bg-white dark:bg-gray-700'])
@php
$alignmentClasses = match ($align) {
'left' => 'ltr:origin-top-left rtl:origin-top-right start-0',
'top' => 'origin-top',
default => 'ltr:origin-top-right rtl:origin-top-left end-0',
};
$width = match ($width) {
'48' => 'w-48',
default => $width,
};
@endphp
<div class="relative" x-data="{ open: false }" @click.outside="open = false" @close.stop="open = false">
<div @click="open = ! open">
{{ $trigger }}
</div>
<div x-show="open"
x-transition:enter="transition ease-out duration-200"
x-transition:enter-start="opacity-0 scale-95"
x-transition:enter-end="opacity-100 scale-100"
x-transition:leave="transition ease-in duration-75"
x-transition:leave-start="opacity-100 scale-100"
x-transition:leave-end="opacity-0 scale-95"
class="absolute z-50 mt-2 {{ $width }} rounded-md shadow-lg {{ $alignmentClasses }}"
style="display: none;"
@click="open = false">
<div class="rounded-md ring-1 ring-black ring-opacity-5 {{ $contentClasses }}">
{{ $content }}
</div>
</div>
</div>
| Blade | 336 | ||
9f6765c8820a03eb0e9d22398768b7b91cd31739e989ba79d043be021fe0a062 | HafidzThufail22/learn-laravel12 | Blade | https://github.com/HafidzThufail22/learn-laravel12 | 7 | 0 | 7 | 2025-10-20T09:48:07 | 2026-01-06T16:26:59 | create.blade.php | resources/views/kota/create.blade.php | @extends('layouts.app')
@section('content')
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg">
<div class="p-6 text-gray-900 dark:text-gray-100">
<h2 class="text-2xl font-bold mb-6">Tambah Kota</h2>
<form action="{{ route('kota.store') }}" method="POST" class="space-y-4">
@csrf
<div>
<label for="propinsi_id" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">Propinsi</label>
<select name="propinsi_id" id="propinsi_id"
class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-gray-100">
<option value="">-- Pilih Propinsi --</option>
@foreach($propinsi as $p)
<option value="{{ $p->id }}" {{ old('propinsi_id') == $p->id ? 'selected' : '' }}>{{ $p->nama_propinsi }}</option>
@endforeach
</select>
@error('propinsi_id')
<p class="mt-1 text-sm text-red-600">{{ $message }}</p>
@enderror
</div>
<div>
<label for="nama_kota" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">Nama Kota</label>
<input type="text" name="nama_kota" id="nama_kota" value="{{ old('nama_kota') }}"
class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-gray-100">
@error('nama_kota')
<p class="mt-1 text-sm text-red-600">{{ $message }}</p>
@enderror
</div>
<div class="flex gap-2 pt-4">
<button type="submit" class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Simpan</button>
<a href="{{ route('kota.index') }}" class="bg-gray-500 hover:bg-gray-600 text-white font-bold py-2 px-4 rounded">Kembali</a>
</div>
</form>
</div>
</div>
</div>
</div>
@endsection | Blade | 603 | ||
13fcbd96196951bf6c6befcb82cf2140181bb24ffbb867d0ca1845bff2055363 | HafidzThufail22/learn-laravel12 | Blade | https://github.com/HafidzThufail22/learn-laravel12 | 7 | 0 | 7 | 2025-10-20T09:48:07 | 2026-01-06T16:26:59 | create.blade.php | resources/views/propinsi/create.blade.php | @extends('layouts.app')
@section('content')
<h4>Propinsi Baru</h4>
<form action="{{ route('propinsi.store') }}" method="post">
{{csrf_field()}}
<div class="form-group {{ $errors->has('nama_propinsi') ?
'has-error' : '' }}">
<label for="nama_propinsi" class="control-label">Propinsi</label>
<input type="text" class="form-control" name="nama_propinsi"
placeholder="Propinsi" value="{{ old('nama_propinsi') }}">
@if ($errors->has('nama_propinsi'))
<span class="help-block">{{ $errors->first('nama_propinsi') }}
</span>
@endif
</div>
<div class="form-group">
<button type="submit" class="btn btn-info">Simpan</button>
<a href="{{ route('propinsi.index') }}"
class="btn btn-default">Kembali</a>
</div>
</form>
@endsection | Blade | 216 | ||
61c848d259a0051645173ad8ac1242c18eee733cf6aaa19323e1ee6d252b4b19 | HafidzThufail22/toserba-management | Blade | https://github.com/HafidzThufail22/toserba-management | 7 | 0 | 27 | 2025-11-15T16:46:41 | 2026-01-20T14:35:50 | login-bootstrap.blade.php | resources/views/auth/login-bootstrap.blade.php | <!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>Login - Aplikasi Manajemen Barang</title>
<!-- Bootstrap 5 -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap Icons -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css" rel="stylesheet">
<style>
body {
background: linear-gradient(135deg, #34445C 0%, #1a2332 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.login-card {
background: white;
border-radius: 15px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
overflow: hidden;
max-width: 400px;
width: 100%;
}
.login-header {
background-color: #34445C;
color: #ffc107;
padding: 30px;
text-align: center;
}
.login-header h3 {
margin: 0;
font-weight: bold;
}
.login-header i {
font-size: 3rem;
margin-bottom: 10px;
}
.login-body {
padding: 30px;
}
.form-control:focus {
border-color: #ffc107;
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}
.btn-login {
background-color: #34445C;
border-color: #34445C;
color: white;
}
.btn-login:hover {
background-color: #283444;
border-color: #283444;
color: #ffc107;
}
.register-link {
color: #34445C;
}
.register-link:hover {
color: #ffc107;
}
</style>
</head>
<body>
<div class="login-card">
<div class="login-header">
<i class="bi bi-box-seam"></i>
<h3>Aplikasi Manajemen Barang</h3>
<p class="mb-0">Silakan login untuk melanjutkan</p>
</div>
<div class="login-body">
@if (session('status'))
<div class="alert alert-success alert-dismissible fade show" role="alert">
{{ session('status') }}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
@endif
<form method="POST" action="{{ route('login') }}">
@csrf
<div class="mb-3">
<label for="email" class="form-label">
<i class="bi bi-envelope"></i> Email
</label>
<input type="email" class="form-control @error('email') is-invalid @enderror"
id="email" name="email" value="{{ old('email') }}"
required autofocus autocomplete="username" placeholder="Masukkan email Anda">
@error('email')
<div class="invalid-feedback">{{ $message }}</div>
@enderror
</div>
<div class="mb-3">
<label for="password" class="form-label">
<i class="bi bi-lock"></i> Password
</label>
<input type="password" class="form-control @error('password') is-invalid @enderror"
id="password" name="password" required autocomplete="current-password"
placeholder="Masukkan password Anda">
@error('password')
<div class="invalid-feedback">{{ $message }}</div>
@enderror
</div>
<div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" id="remember" name="remember">
<label class="form-check-label" for="remember">Ingat saya</label>
</div>
<div class="d-grid gap-2 mb-3">
<button type="submit" class="btn btn-login btn-lg">
<i class="bi bi-box-arrow-in-right"></i> Login
</button>
</div>
<div class="text-center">
@if (Route::has('password.request'))
<a href="{{ route('password.request') }}" class="text-muted small">
Lupa password?
</a>
@endif
</div>
<hr>
<div class="text-center">
<span class="text-muted">Belum punya akun?</span>
<a href="{{ route('register') }}" class="register-link fw-bold">Daftar Sekarang</a>
</div>
</form>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html> | Blade | 1,151 | ||
a75336d76d4dbe0755861b3a6e8c620d4770e157b4c7db38e339bce135cffaa1 | HafidzThufail22/toserba-management | Blade | https://github.com/HafidzThufail22/toserba-management | 7 | 0 | 27 | 2025-11-15T16:46:41 | 2026-01-20T14:35:50 | verify-email.blade.php | resources/views/auth/verify-email.blade.php | <x-guest-layout>
<div class="mb-4 text-sm text-gray-600">
{{ __('Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn\'t receive the email, we will gladly send you another.') }}
</div>
@if (session('status') == 'verification-link-sent')
<div class="mb-4 font-medium text-sm text-green-600">
{{ __('A new verification link has been sent to the email address you provided during registration.') }}
</div>
@endif
<div class="mt-4 flex items-center justify-between">
<form method="POST" action="{{ route('verification.send') }}">
@csrf
<div>
<x-primary-button>
{{ __('Resend Verification Email') }}
</x-primary-button>
</div>
</form>
<form method="POST" action="{{ route('logout') }}">
@csrf
<button type="submit" class="underline text-sm text-gray-600 hover:text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
{{ __('Log Out') }}
</button>
</form>
</div>
</x-guest-layout>
| Blade | 285 | ||
50ba715666a9fa7b3267bf8ad854f3a474b54fe04e52bff4702915f866597356 | HafidzThufail22/toserba-management | Blade | https://github.com/HafidzThufail22/toserba-management | 7 | 0 | 27 | 2025-11-15T16:46:41 | 2026-01-20T14:35:50 | index.blade.php | resources/views/barang/index.blade.php | @extends('layouts.dashboard')
@section('content')
<div class="container">
<h3>Daftar Barang</h3>
<a href="{{ route('barang.create') }}" class="btn btn-primary mb-3">Tambah Barang</a>
@if (session('success'))
<div class="alert alert-success">{{ session('success') }}</div>
@endif
<table class="table table-bordered">
<thead>
<tr>
<th>ID</th>
<th>Jenis</th>
<th>Nama</th>
<th>Satuan</th>
<th>Harga Pokok</th>
<th>Harga Jual</th>
<th>Stok</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
@foreach ($barang as $b)
<tr>
<td>{{ $b->id }}</td>
<td>{{ $b->jenis->nama_jenis }}</td>
<td>{{ $b->nama_barang }}</td>
<td>{{ $b->satuan }}</td>
<td class="text-end">{{ number_format($b->harga_pokok) }}</td>
<td class="text-end">{{ number_format($b->harga_jual) }}</td>
<td class="text-end">{{ $b->stok }}</td>
<td>
<a href="{{ route('barang.show', $b->id) }}"
class="btn btn-sm btn-info text-white">Lihat</a>
<a href="{{ route('barang.edit', $b->id) }}"
class="btn btn-sm btn-warning">Edit</a>
<form action="{{ route('barang.destroy', $b->id) }}"
method="POST" class="d-inline">
@csrf @method('DELETE')
<button class="btn btn-sm btn-danger"
onclick="return confirm('Yakin hapus data ini?')">Hapus</button>
</form>
</td>
</tr>
@endforeach
</tbody>
</table>
{{ $barang->links() }}
</div>
@endsection | Blade | 461 | ||
ffe632df7862f9a0ebdf4fb5ebe558c01ea17c84159b00b2120da5394fd02f64 | HafidzThufail22/toserba-management | Blade | https://github.com/HafidzThufail22/toserba-management | 7 | 0 | 27 | 2025-11-15T16:46:41 | 2026-01-20T14:35:50 | create.blade.php | resources/views/jenis_barang/create.blade.php | @extends('layouts.dashboard')
@section('title', 'Tambah Jenis Barang')
@section('content')
<div class="card">
<div class="card-header">
<h5 class="card-title">Tambah Jenis Barang</h5>
</div>
<div class="card-body">
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form method="POST" action="{{ route('jenis-barang.store') }}">
@csrf
<div class="mb-3">
<label for="nama_jenis" class="form-label">Nama Jenis</label>
<input type="text" name="nama_jenis" id="nama_jenis" class="form-control" value="{{ old('nama_jenis') }}" required>
</div>
<button type="submit" class="btn btn-success">Simpan</button>
<a href="{{ route('jenis-barang.index') }}" class="btn btn-secondary">Batal</a>
</form>
</div>
</div>
@endsection | Blade | 262 | ||
bba25e2c3fcdceab65f466970855d67e1f05ab36b0ebf900e08d8a25d222c91a | HafidzThufail22/toserba-management | Blade | https://github.com/HafidzThufail22/toserba-management | 7 | 0 | 27 | 2025-11-15T16:46:41 | 2026-01-20T14:35:50 | create.blade.php | resources/views/propinsi/create.blade.php | @extends('layouts.dashboard')
@section('title', 'Tambah Propinsi')
@section('content')
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-lg-6">
<div class="d-flex justify-content-between align-items-center mb-4">
<h3><i class="bi bi-plus-circle"></i> Tambah Propinsi</h3>
<a href="{{ route('propinsi.index') }}" class="btn btn-secondary">
<i class="bi bi-arrow-left"></i> Kembali
</a>
</div>
<div class="card border-0 shadow-sm">
<div class="card-body p-4">
<form action="{{ route('propinsi.store') }}" method="POST">
@csrf
<div class="mb-4">
<label for="nama_propinsi" class="form-label fw-semibold">
<i class="bi bi-geo-alt text-primary"></i> Nama Propinsi
</label>
<input type="text"
class="form-control form-control-lg @error('nama_propinsi') is-invalid @enderror"
id="nama_propinsi"
name="nama_propinsi"
value="{{ old('nama_propinsi') }}"
placeholder="Masukkan nama propinsi"
required
autofocus>
@error('nama_propinsi')
<div class="invalid-feedback">{{ $message }}</div>
@enderror
</div>
<div class="d-grid gap-2">
<button type="submit" class="btn btn-primary btn-lg">
<i class="bi bi-save"></i> Simpan Propinsi
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection
| Blade | 393 | ||
87f816698745cc2b4fe6d716e8d8a2f9c19ba8b122b9091b5ee75c666031514e | HafidzThufail22/toserba-management | Blade | https://github.com/HafidzThufail22/toserba-management | 7 | 0 | 27 | 2025-11-15T16:46:41 | 2026-01-20T14:35:50 | edit.blade.php | resources/views/propinsi/edit.blade.php | @extends('layouts.dashboard')
@section('title', 'Edit Propinsi')
@section('content')
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-lg-6">
<div class="d-flex justify-content-between align-items-center mb-4">
<h3><i class="bi bi-pencil"></i> Edit Propinsi</h3>
<a href="{{ route('propinsi.index') }}" class="btn btn-secondary">
<i class="bi bi-arrow-left"></i> Kembali
</a>
</div>
<div class="card border-0 shadow-sm">
<div class="card-body p-4">
<form action="{{ route('propinsi.update', $propinsi->id) }}" method="POST">
@csrf
@method('PUT')
<div class="mb-4">
<label for="nama_propinsi" class="form-label fw-semibold">
<i class="bi bi-geo-alt text-primary"></i> Nama Propinsi
</label>
<input type="text"
class="form-control form-control-lg @error('nama_propinsi') is-invalid @enderror"
id="nama_propinsi"
name="nama_propinsi"
value="{{ old('nama_propinsi', $propinsi->nama_propinsi) }}"
placeholder="Masukkan nama propinsi"
required
autofocus>
@error('nama_propinsi')
<div class="invalid-feedback">{{ $message }}</div>
@enderror
</div>
<div class="d-grid gap-2">
<button type="submit" class="btn btn-primary btn-lg">
<i class="bi bi-save"></i> Update Propinsi
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection
| Blade | 411 | ||
4f22099830c0bc920180feb18d9ecba3f5f0fa3f1f697b557d34790df3e685dc | HafidzThufail22/toserba-management | Blade | https://github.com/HafidzThufail22/toserba-management | 7 | 0 | 27 | 2025-11-15T16:46:41 | 2026-01-20T14:35:50 | index.blade.php | resources/views/transaksi/index.blade.php | @extends('layouts.dashboard')
@section('title', 'Transaksi Penjualan')
@section('content')
<div class="card">
<div class="card-header">
<h5 class="card-title">Transaksi Penjualan (Placeholder)</h5>
</div>
<div class="card-body">
<p>Halaman transaksi sementara menampilkan daftar barang sebagai contoh.</p>
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Nama Barang</th>
<th>Stok</th>
</tr>
</thead>
<tbody>
@forelse($barangs as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->nama_barang ?? '-' }}</td>
<td>{{ $item->stok ?? 0 }}</td>
</tr>
@empty
<tr>
<td colspan="3">Belum ada data barang.</td>
</tr>
@endforelse
</tbody>
</table>
{{ $barangs->links() ?? '' }}
</div>
</div>
@endsection | Blade | 257 | ||
6672ccbe15339b669a70ddd7ab84f7491c69004ad72d1b46c1b5612f5b81c877 | Halltec/qr-generator | Blade | Sistema en laravel para generar qr | https://github.com/Halltec/qr-generator | 20 | 10 | 25 | 2025-12-01T17:35:31 | 2026-02-02T17:33:15 | register.blade.php | resources/views/livewire/auth/register.blade.php | <x-layouts.auth>
<div class="flex flex-col gap-6">
<x-auth-header :title="__('Create an account')" :description="__('Enter your details below to create your account')" />
<!-- Session Status -->
<x-auth-session-status class="text-center" :status="session('status')" />
<form method="POST" action="{{ route('register.store') }}" class="flex flex-col gap-6">
@csrf
<!-- Name -->
<flux:input
name="name"
:label="__('Name')"
:value="old('name')"
type="text"
required
autofocus
autocomplete="name"
:placeholder="__('Full name')"
/>
<!-- Email Address -->
<flux:input
name="email"
:label="__('Email address')"
:value="old('email')"
type="email"
required
autocomplete="email"
placeholder="email@example.com"
/>
<!-- Password -->
<flux:input
name="password"
:label="__('Password')"
type="password"
required
autocomplete="new-password"
:placeholder="__('Password')"
viewable
/>
<!-- Confirm Password -->
<flux:input
name="password_confirmation"
:label="__('Confirm password')"
type="password"
required
autocomplete="new-password"
:placeholder="__('Confirm password')"
viewable
/>
<div class="flex items-center justify-end">
<flux:button type="submit" variant="primary" class="w-full" data-test="register-user-button">
{{ __('Create account') }}
</flux:button>
</div>
</form>
<div class="space-x-1 rtl:space-x-reverse text-center text-sm text-zinc-600 dark:text-zinc-400">
<span>{{ __('Already have an account?') }}</span>
<flux:link :href="route('login')" wire:navigate>{{ __('Log in') }}</flux:link>
</div>
</div>
</x-layouts.auth>
| Blade | 449 | |
d7dfa4e409fd7233ca804f2089621d43f27ddabc6f4aa9d4394e249924f41d53 | Halltec/qr-generator | Blade | Sistema en laravel para generar qr | https://github.com/Halltec/qr-generator | 20 | 10 | 25 | 2025-12-01T17:35:31 | 2026-02-02T17:33:15 | verify-email.blade.php | resources/views/livewire/auth/verify-email.blade.php | <x-layouts.auth>
<div class="mt-4 flex flex-col gap-6">
<flux:text class="text-center">
{{ __('Please verify your email address by clicking on the link we just emailed to you.') }}
</flux:text>
@if (session('status') == 'verification-link-sent')
<flux:text class="text-center font-medium !dark:text-green-400 !text-green-600">
{{ __('A new verification link has been sent to the email address you provided during registration.') }}
</flux:text>
@endif
<div class="flex flex-col items-center justify-between space-y-3">
<form method="POST" action="{{ route('verification.send') }}">
@csrf
<flux:button type="submit" variant="primary" class="w-full">
{{ __('Resend verification email') }}
</flux:button>
</form>
<form method="POST" action="{{ route('logout') }}">
@csrf
<flux:button variant="ghost" type="submit" class="text-sm cursor-pointer" data-test="logout-button">
{{ __('Log out') }}
</flux:button>
</form>
</div>
</div>
</x-layouts.auth>
| Blade | 268 | |
d6305e644e2ab8f7fefe4cae154f22963ed5e6626b0134ae6f60a02a10b88ef8 | Halltec/qr-generator | Blade | Sistema en laravel para generar qr | https://github.com/Halltec/qr-generator | 20 | 10 | 25 | 2025-12-01T17:35:31 | 2026-02-02T17:33:15 | profile.blade.php | resources/views/livewire/settings/profile.blade.php | <?php
use App\Models\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
use Illuminate\Validation\Rule;
use Livewire\Volt\Component;
new class extends Component {
public string $name = '';
public string $email = '';
/**
* Mount the component.
*/
public function mount(): void
{
$this->name = Auth::user()->name;
$this->email = Auth::user()->email;
}
/**
* Update the profile information for the currently authenticated user.
*/
public function updateProfileInformation(): void
{
$user = Auth::user();
$validated = $this->validate([
'name' => ['required', 'string', 'max:255'],
'email' => [
'required',
'string',
'lowercase',
'email',
'max:255',
Rule::unique(User::class)->ignore($user->id)
],
]);
$user->fill($validated);
if ($user->isDirty('email')) {
$user->email_verified_at = null;
}
$user->save();
$this->dispatch('profile-updated', name: $user->name);
}
/**
* Send an email verification notification to the current user.
*/
public function resendVerificationNotification(): void
{
$user = Auth::user();
if ($user->hasVerifiedEmail()) {
$this->redirectIntended(default: route('dashboard', absolute: false));
return;
}
$user->sendEmailVerificationNotification();
Session::flash('status', 'verification-link-sent');
}
}; ?>
<section class="w-full">
@include('partials.settings-heading')
<x-settings.layout :heading="__('Profile')" :subheading="__('Update your name and email address')">
<form wire:submit="updateProfileInformation" class="my-6 w-full space-y-6">
<flux:input wire:model="name" :label="__('Name')" type="text" required autofocus autocomplete="name" />
<div>
<flux:input wire:model="email" :label="__('Email')" type="email" required autocomplete="email" />
@if (auth()->user() instanceof \Illuminate\Contracts\Auth\MustVerifyEmail &&! auth()->user()->hasVerifiedEmail())
<div>
<flux:text class="mt-4">
{{ __('Your email address is unverified.') }}
<flux:link class="text-sm cursor-pointer" wire:click.prevent="resendVerificationNotification">
{{ __('Click here to re-send the verification email.') }}
</flux:link>
</flux:text>
@if (session('status') === 'verification-link-sent')
<flux:text class="mt-2 font-medium !dark:text-green-400 !text-green-600">
{{ __('A new verification link has been sent to your email address.') }}
</flux:text>
@endif
</div>
@endif
</div>
<div class="flex items-center gap-4">
<div class="flex items-center justify-end">
<flux:button variant="primary" type="submit" class="w-full" data-test="update-profile-button">
{{ __('Save') }}
</flux:button>
</div>
<x-action-message class="me-3" on="profile-updated">
{{ __('Saved.') }}
</x-action-message>
</div>
</form>
<livewire:settings.delete-user-form />
</x-settings.layout>
</section>
| Blade | 764 | |
bfd8cec41d188af88d28a63973318cd08022f7af1d548e8941f5032c3ea15345 | Halltec/qr-generator | Blade | Sistema en laravel para generar qr | https://github.com/Halltec/qr-generator | 20 | 10 | 25 | 2025-12-01T17:35:31 | 2026-02-02T17:33:15 | create.blade.php | resources/views/qrcode/create.blade.php | <x-layouts.app :title="__('Create QR Code')">
<div class="flex items-center justify-between mt-8 mb-6">
<h1 class="text-2xl font-bold text-gray-900 dark:text-gray-100">QR Codes</h1>
</div>
<section class="w-full">
<form method="POST" action="{{ route('qrcode.store') }}" class="my-6 w-full space-y-6">
@csrf
<flux:input name="name" :label="__('Nombre')" type="text" required autofocus autocomplete="off" value="{{ old('name') }}" />
<flux:input name="url" :label="__('URL')" type="text" required autocomplete="off" value="{{ old('url') }}" />
<div>
<label for="description" class="block text-sm font-medium text-gray-700 dark:text-gray-200 mb-1">Descripción</label>
<textarea id="description" name="description" rows="3" class="mt-1 block w-full rounded-md border border-gray-300 dark:border-gray-700 bg-gray-700 dark:bg-gray-700 text-gray-100 px-3 py-2 focus:border-gray-400 focus:ring-0" placeholder="Descripción opcional">{{ old('description') }}</textarea>
@error('description')
<p class="text-sm text-red-600 mt-1">{{ $message }}</p>
@enderror
</div>
<div class="flex items-center gap-4">
<div class="flex items-center justify-end">
<flux:button variant="primary" type="submit" class="w-full cursor-pointer ">
{{ __('Generar QR') }}
</flux:button>
</div>
</div>
</form>
</section>
</x-layouts.app>
| Blade | 392 | |
a163dfd1056ed1c1879e36cc2dcaaa1c0cd74937acaa88d5672e8aa882db2be8 | Halltec/qr-generator | Blade | Sistema en laravel para generar qr | https://github.com/Halltec/qr-generator | 20 | 10 | 25 | 2025-12-01T17:35:31 | 2026-02-02T17:33:15 | show.blade.php | resources/views/qrcode/show.blade.php | <x-layouts.app :title="$qrcode->name">
<div class="max-w-xl mx-auto mt-10 bg-white dark:bg-zinc-800 rounded-lg shadow p-8">
<h1 class="text-2xl font-bold mb-6 text-gray-900 dark:text-gray-100">Detalle del QR</h1>
<div class="mb-4">
<label class="block text-md font-bold text-gray-700 dark:text-gray-200">Nombre</label>
<div class="text-lg text-gray-900 dark:text-gray-100">{{ $qrcode->name }}</div>
</div>
<div class="mb-4">
<label class="block text-md font-bold text-gray-700 dark:text-gray-200">URL</label>
<div>
<a href="{{ $qrcode->url }}" target="_blank" class="text-blue-600 dark:text-blue-400 underline">{{ $qrcode->url }}</a>
</div>
</div>
<div class="mb-4">
<label class="block text-md font-bold text-gray-700 dark:text-gray-200">Descripción</label>
<div class="text-gray-900 dark:text-gray-100">{{ $qrcode->description ?? '—' }}</div>
</div>
<div class="mb-6 text-center">
<label class="block text-md font-bold text-gray-700 dark:text-gray-200 mb-2">Código QR</label>
<img src="{{ $qrcode->qr_code }}" alt="QR Code" class="inline-block w-48 h-48 bg-white p-2 rounded shadow" />
</div>
<div class="flex justify-between">
<a href="{{ route('qrcode.index') }}" class="inline-flex items-center px-4 py-2 bg-gray-200 dark:bg-zinc-700 text-gray-800 dark:text-gray-100 rounded hover:bg-gray-300 dark:hover:bg-zinc-600 transition">Volver</a>
<a href="{{ route('qrcode.download', $qrcode) }}" class="inline-flex items-center px-4 py-2 bg-green-500 hover:bg-green-600 text-white rounded transition">
Descargar QR
</a>
</div>
</div>
</x-layouts.app>
| Blade | 504 | |
52f78f52e5b38842e0b5cb9292e0a0399f1e2089b9d5d0e3d979bfa00022ddaf | Lance19Kent/BIRIMS | Blade | The Barangay Integrated Record and Incident Management System in Web-Based | https://github.com/Lance19Kent/BIRIMS | 7 | 1 | 158 | 2025-09-16T01:54:45 | 2025-12-17T12:41:21 | forgot-password.blade.php | web-based/resources/views/auth/forgot-password.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Forgot Password - BIRIMS</title>
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body class="bg-gray-100">
<div class="min-h-screen flex items-center justify-center">
<div class="bg-white p-8 rounded-lg shadow-md w-full max-w-md">
<h2 class="text-3xl font-bold mb-6 text-center" style="color: var(--orange);">Forgot Password</h2>
@if(session('status'))
<div class="bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded mb-4">
{{ session('status') }}
</div>
@endif
@if($errors->any())
<div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded mb-4">
@foreach($errors->all() as $error)
<p>{{ $error }}</p>
@endforeach
</div>
@endif
<p class="text-gray-600 mb-6 text-center">Enter your email address and we'll send you a link to reset your password.</p>
<form method="POST" action="{{ route('password.email') }}">
@csrf
<div class="mb-6">
<label class="block text-sm font-semibold mb-2">Email Address</label>
<input type="email" name="email" value="{{ old('email') }}" required
class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:border-orange-500"
placeholder="example@birims.com">
</div>
<button type="submit"
class="w-full bg-orange-500 text-white py-3 rounded-lg hover:bg-orange-600 transition duration-150 font-semibold">
Send Reset Link
</button>
<div class="mt-6 text-center">
<a href="{{ url('/login') }}" class="text-orange-500 hover:underline font-semibold">
← Back to Login
</a>
</div>
</form>
</div>
</div>
</body>
</html> | Blade | 516 | |
059632eec44a3cb382728204aec205c11186614d7e91254577910707ad95bac3 | Lance19Kent/BIRIMS | Blade | The Barangay Integrated Record and Incident Management System in Web-Based | https://github.com/Lance19Kent/BIRIMS | 7 | 1 | 158 | 2025-09-16T01:54:45 | 2025-12-17T12:41:21 | responsive-nav-link.blade.php | web-based/resources/views/components/responsive-nav-link.blade.php | @props(['active'])
@php
$classes = ($active ?? false)
? 'block w-full ps-3 pe-4 py-2 border-l-4 border-indigo-400 dark:border-indigo-600 text-start text-base font-medium text-indigo-700 dark:text-indigo-300 bg-indigo-50 dark:bg-indigo-900/50 focus:outline-none focus:text-indigo-800 dark:focus:text-indigo-200 focus:bg-indigo-100 dark:focus:bg-indigo-900 focus:border-indigo-700 dark:focus:border-indigo-300 transition duration-150 ease-in-out'
: 'block w-full ps-3 pe-4 py-2 border-l-4 border-transparent text-start text-base font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200 hover:bg-gray-50 dark:hover:bg-gray-700 hover:border-gray-300 dark:hover:border-gray-600 focus:outline-none focus:text-gray-800 dark:focus:text-gray-200 focus:bg-gray-50 dark:focus:bg-gray-700 focus:border-gray-300 dark:focus:border-gray-600 transition duration-150 ease-in-out';
@endphp
<a {{ $attributes->merge(['class' => $classes]) }}>
{{ $slot }}
</a>
| Blade | 266 | |
20282864916744caab73e3dc4a2972512db12c1a13e649b9cb90983563f3f12c | Lance19Kent/BIRIMS | Blade | The Barangay Integrated Record and Incident Management System in Web-Based | https://github.com/Lance19Kent/BIRIMS | 7 | 1 | 158 | 2025-09-16T01:54:45 | 2025-12-17T12:41:21 | navbar.blade.php | web-based/resources/views/partials/navbar.blade.php | <header class="fixed top-0 left-0 w-full z-[100] flex bg-white items-center px-4 h-16 sm:px-10 md:h-20 justify-between">
<!-- Hamburger Button (shows only on mobile) -->
<button id="menu-btn" class="block md:hidden focus:outline-none cursor-pointer">
<!-- 3-line hamburger icon -->
<svg class="w-10" fill="none" stroke="var(--darkgray)" stroke-width="2" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16" />
</svg>
</button>
<div class="md:flex items-center gap-2.5 bg ">
<svg viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg" class="md:w-[50px] w-[35px] md:block hidden">
<circle cx="25" cy="25" r="25" fill="#EA580C"/>
</svg>
<h1 class="font-medium font text-[30px] md:text-[30px] text-[#EA580C] ">BIRIMS</h1>
</div>
<div class="flex items-center">
<!-- Off-canvas left panel on mobile; static/inline on md+ -->
<div id="menu" class="fixed md:static left-0 top-16 md:top-auto md:left-auto z-40 md:flex md:justify-end md:items-center md:pr-10 transform -translate-x-full md:translate-x-0 transition-transform duration-300 ease-in-out w-64 md:w-auto h-[calc(100vh-4rem)] md:h-auto bg-white md:bg-transparent p-4 md:p-0">
<!-- Column on mobile, row on md+ -->
<ul class="flex flex-col md:flex-row gap-6 lg:gap-[40px]">
<!-- The request()->is() function checks if the current URL matches and adds active automatically.
So when you move between pages, the correct menu stays highlighted -->
<li><a href="{{url('/')}}" class="header-nav {{request()-> is('/') ? 'active' : ''}}">Home</a></li>
<li><a href="{{url('about')}}" class="header-nav {{request()-> is('about') ? 'active' : ''}}">About Us</a></li>
<li><a href="{{url('contact')}}" class="header-nav {{request()-> is('contact') ? 'active' : ''}}">Contact</a></li>
<li><a href="{{url('faq')}}" class="header-nav {{request()-> is('faq') ? 'active' : ''}}">FAQs</a></li>
</ul>
</div>
<a href="{{ url('login') }}" class="whitespace-nowrap p-[12px] bg-[var(--orange)] text-white rounded-[4px] border border-white duration-150 ease-in hover:bg-white hover:text-[var(--orange)] hover:border-[var(--orange)] text-[14px] md:text-[16px]">SIGN-IN</a>
</div>
</header> | Blade | 707 | |
2df80bdcdcf0dfe89e0256eac052eec3631b21bc7fbeefc26052ee4a1d9b55c2 | LaravelDaily/flyonui-starter-kit | MIT | Blade | https://github.com/LaravelDaily/flyonui-starter-kit | 15 | 4 | 13 | 2025-12-12T08:31:45 | 2026-01-31T15:39:27 | settings.blade.php | resources/views/components/layouts/settings.blade.php | <!-- Navbar pills -->
<div class="mb-6 flex gap-1 overflow-x-auto">
<a href="{{ route('settings.profile.edit') }}"
class="btn {{ request()->routeIs('settings.profile.*') ? 'btn-primary' : 'btn-text hover:text-bg-soft-primary focus:text-bg-soft-primary focus:outline-primary' }}">
<span class="icon-[tabler--user] size-5 shrink-0"></span> <span class="hidden sm:inline">Account</span> </a>
<a href="{{ route('settings.password.edit') }}"
class="btn {{ request()->routeIs('settings.password.*') ? 'btn-primary' : 'btn-text hover:text-bg-soft-primary focus:text-bg-soft-primary focus:outline-primary' }}">
<span class="icon-[tabler--lock] size-5 shrink-0"></span> <span class="hidden sm:inline">Password</span> </a>
</div>
<!--/ Navbar pills -->
<div class="card">
<div class="card-body gap-6">
{{ $slot }}
</div>
</div>
| Blade | 232 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.