This commit is contained in:
Sampanna Rimal
2024-09-11 12:32:15 +05:45
parent 82fab174dc
commit afb2c202d6
170 changed files with 3352 additions and 363 deletions

View File

View File

@ -0,0 +1,23 @@
@extends('layouts.app')
@section('content')
<div class="page-content">
<div class="container-fluid">
<!-- start page title -->
@include('layouts.partials.breadcrumb', ['title' => $title])
<!-- end page title -->
{{ html()->modelForm($setting, 'PUT')->route('setting.update', $setting->id)->class(['needs-validation'])->attributes(['novalidate', 'enctype' => 'multipart/form-data'])->open() }}
@include('setting::setting.partials.action')
{{ html()->closeModelForm() }}
</div>
<!-- container-fluid -->
</div>
@endsection
@push('js')
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
@endpush

View File

@ -0,0 +1,164 @@
<div class="row">
<div class="col-lg-9">
<div class="card">
<div class="card-body">
<div class="row gy-1">
<div class="col-md-12">
{{ html()->label('Title')->class('form-label') }}
{{ html()->text('title')->class('form-control')->placeholder('Enter Title')->required() }}
</div>
<div class="col-md-12">
{{ html()->label('Description')->class('form-label') }}
{{ html()->textarea('description')->class('form-control')->placeholder('Enter Description')->required() }}
</div>
<div class="col-md-6">
{{ html()->label('url1')->class('form-label') }}
{{ html()->text('url1')->class('form-control')->placeholder('Enter url1') }}
</div>
<div class="col-md-6">
{{ html()->label('url2')->class('form-label') }}
{{ html()->text('url2')->class('form-control')->placeholder('Enter url2') }}
</div>
<div class="col-md-6">
{{ html()->label('email')->class('form-label') }}
{{ html()->text('email')->class('form-control')->placeholder('Enter email') }}
</div>
<div class="col-md-6">
{{ html()->label('phone')->class('form-label') }}
{{ html()->text('phone')->class('form-control')->placeholder('Enter phone') }}
</div>
<div class="col-md-6">
{{ html()->label('secondary_phone')->class('form-label') }}
{{ html()->text('secondary_phone')->class('form-control')->placeholder('Enter secondary_phone') }}
</div>
<div class="col-md-12">
{{ html()->label('google_map')->class('form-label') }}
{{ html()->text('google_map')->class('form-control')->placeholder('Enter google_map') }}
</div>
<div class="col-md-6">
{{ html()->label('fb')->class('form-label') }}
{{ html()->text('fb')->class('form-control')->placeholder('Enter fb') }}
</div>
<div class="col-md-6">
{{ html()->label('insta')->class('form-label') }}
{{ html()->text('insta')->class('form-control')->placeholder('Enter insta') }}
</div>
<div class="col-md-6">
{{ html()->label('twitter')->class('form-label') }}
{{ html()->text('twitter')->class('form-control')->placeholder('Enter twitter') }}
</div>
<div class="col-md-6">
{{ html()->label('tiktok')->class('form-label') }}
{{ html()->text('tiktok')->class('form-control')->placeholder('Enter tiktok') }}
</div>
<div class="col-md-6">
{{ html()->label('copyright_text')->class('form-label') }}
{{ html()->text('copyright_text')->class('form-control')->placeholder('Enter copyright_text') }}
</div>
<div class="col-md-6">
{{ html()->label('content1')->class('form-label') }}
{{ html()->text('content1')->class('form-control')->placeholder('Enter content1') }}
</div>
<div class="col-md-6">
{{ html()->label('content2')->class('form-label') }}
{{ html()->text('content2')->class('form-control')->placeholder('Enter content2') }}
</div>
<div class="col-md-6">
{{ html()->label('content3')->class('form-label') }}
{{ html()->text('content3')->class('form-control')->placeholder('Enter content3') }}
</div>
<div class="col-md-6">
{{ html()->label('seo_title')->class('form-label') }}
{{ html()->text('seo_title')->class('form-control')->placeholder('Enter seo_title') }}
</div>
<div class="col-md-12">
{{ html()->label('seo_description')->class('form-label') }}
{{ html()->textarea('seo_description')->class('form-control')->placeholder('Enter seo_description')->required() }}
</div>
<div class="col-md-12">
{{ html()->label('seo_keywords')->class('form-label') }}
{{ html()->textarea('seo_keywords')->class('form-control')->placeholder('Enter seo_keywords')->required() }}
</div>
<div class="col-md-12">
{{ html()->label('og_tags')->class('form-label') }}
{{ html()->textarea('og_tags')->class('form-control')->placeholder('Enter og_tags')->required() }}
</div>
</div>
<!-- end card -->
</div>
<!-- end card -->
</div>
<div class="mb-3 text-end">
<a href="{{ route('stock.index') }}" class="btn btn-danger w-sm">Cancel</a>
<button type="submit" class="btn btn-success w-sm">Save</button>
</div>
</div>
<!-- end col -->
<div class="col-lg-3">
<div class="card">
<div class="card-body">
<div class="row gy-2">
<div class="card-header mb-0">
<div class="page-title-box d-sm-flex align-items-center justify-content-center">
<h4 class="mb-sm-0">Images</h4>
</div>
</div>
<div class="col-md-12">
{{ html()->label('primary_logo')->class('form-label') }}
{{ html()->file('primary_logo')->class('form-control') }}
</div>
<div class="col-md-12">
{{ html()->label('secondary_logo')->class('form-label') }}
{{ html()->file('secondary_logo')->class('form-control') }}
</div>
<div class="col-md-12">
{{ html()->label('thumb')->class('form-label') }}
{{ html()->file('thumb')->class('form-control') }}
</div>
<div class="col-md-12">
{{ html()->label('icon')->class('form-label') }}
{{ html()->file('icon')->class('form-control') }}
</div>
<div class="col-md-12">
{{ html()->label('og_image')->class('form-label') }}
{{ html()->file('og_image')->class('form-control') }}
</div>
<div class="col-md-12">
{{ html()->label('no_image')->class('form-label') }}
{{ html()->file('no_image')->class('form-control') }}
</div>
<div class="mb-3 text-end">
<a href="{{ route('stock.index') }}" class="btn btn-danger w-sm">Cancel</a>
<button type="submit" class="btn btn-success w-sm">Save</button>
</div>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,7 @@
@extends('setting::layouts.master')
@section('content')
<h1>Hello World</h1>
<p>Module: {!! config('setting.name') !!}</p>
@endsection

View File

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Setting Module - {{ config('app.name', 'Laravel') }}</title>
<meta name="description" content="{{ $description ?? '' }}">
<meta name="keywords" content="{{ $keywords ?? '' }}">
<meta name="author" content="{{ $author ?? '' }}">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
{{-- Vite CSS --}}
{{-- {{ module_vite('build-setting', 'resources/assets/sass/app.scss') }} --}}
</head>
<body>
@yield('content')
{{-- Vite JS --}}
{{-- {{ module_vite('build-setting', 'resources/assets/js/app.js') }} --}}
</body>