@ -29,7 +29,7 @@ class AppServiceProvider extends ServiceProvider
Schema::defaultStringLength(191);
$pengaturan = DB::table('pengaturan')->first();
if($pengaturan == null){
$nama = 'Sistem Informasi';
$nama = 'PAUD TERPADU MUSTIKA ILMU';
}else{
$nama = $pengaturan->nama;
}
@ -15,8 +15,8 @@ class CreatePengaturan extends Migration
{
Schema::create('pengaturan', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('nama')->default('Sistem Informasi SPP');
$table->string('logo')->default('tabler.svg');
$table->string('nama')->default('PAUD TERPADU MUSTIKA ILMU');
$table->string('logo')->default('logo.png');
$table->timestamps();
});
@ -53,7 +53,7 @@
<div class="card">
<div class="card-body p-3 text-center">
<div class="h1 m-0">{{ $siswa }}</div>
<div class="text-muted mb-4">Siswa/Siswi</div>
<div class="text-muted mb-4">Siswa</div>
</div>
@ -45,8 +45,9 @@
<div class="header py-4">
<div class="container">
<div class="d-flex">
<a class="header-brand" href="#!">
<img src="{{ asset('img/logo.jpg')}}" class="header-brand-img" alt="tabler logo">
<a class="header-brand" href="{{ route('web.index') }}">
<h3 class="mt-2" style="margin-bottom: 10px !important">{{ $sitename }}</h3>
{{-- <img src="{{ asset('img/logo.jpg')}}" class="header-brand-img" alt="tabler logo"> --}}
</a>
<div class="d-flex order-lg-2 ml-auto">
<div class="dropdown">
@ -25,13 +25,13 @@
<label class="form-label">Nama</label>
<input type="text" class="form-control" name="nama" placeholder="Nama" value="{{ $pengaturan->nama }}" required>
<div class="form-group">
{{-- <div class="form-group">
<div class="form-label">Logo</div>
<div class="custom-file">
<input type="file" class="custom-file-input" name="logo" accept="*.jpeg, *.jpg, *.png">
<label class="custom-file-label">Choose file</label>
</div> --}}
@ -29,9 +29,9 @@
@endif
<div class="card-body">
<p>Nama Aplikasi : <b>{{ $pengaturan->nama }}</b></p>
<p>Logo : </p>
{{-- <p>Logo : </p>
<img src="{{ asset("img/logo.jpg") }}" alt="Logo Sistem" height="250px">
<div class="mt-8">
<div class="mt-8"> --}}
{{-- <button class="btn btn-primary btn-sm">Backup Data</button>
<button class="btn btn-danger btn-sm">Reset Data</button> --}}