initial commit
This commit is contained in:
commit
28301e4312
219 changed files with 23035 additions and 0 deletions
10
resources/views/lms/settings/shelf/_form.blade.php
Executable file
10
resources/views/lms/settings/shelf/_form.blade.php
Executable file
|
@ -0,0 +1,10 @@
|
|||
<div class="form-group">
|
||||
{!! Form::label('shelf', $shelfLabel) !!}
|
||||
{!! Form::text('shelf', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::submit($submitButtonText, ['class' => 'btn btn-primary form-control']) !!}
|
||||
</div>
|
||||
|
||||
@include('errors._errors')
|
28
resources/views/lms/settings/shelf/add.blade.php
Executable file
28
resources/views/lms/settings/shelf/add.blade.php
Executable file
|
@ -0,0 +1,28 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Add Your Fucking Category</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
<a href="{{ route('settings.shelf') }}" class="btn btn-danger">
|
||||
<span class="glyphicon glyphicon-chevron-left" ></span> BACK
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-4" >
|
||||
|
||||
{!! Form::open(['route' => 'settings.shelf.post']) !!}
|
||||
|
||||
@include('lms/settings/shelf/_form', ['submitButtonText' => 'Add Shelf', 'shelfLabel' => 'Add new Shelf.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
28
resources/views/lms/settings/shelf/edit.blade.php
Executable file
28
resources/views/lms/settings/shelf/edit.blade.php
Executable file
|
@ -0,0 +1,28 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Edit Your Fucking Shelf</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
<a href="{{ route('settings.shelf') }}" class="btn btn-danger">
|
||||
<span class="glyphicon glyphicon-chevron-left" ></span> BACK
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-4" >
|
||||
|
||||
{!! Form::model($shelf, ['method' => 'PATCH', 'route' => ['settings.shelf.update', $shelf->id]]) !!}
|
||||
|
||||
@include('lms/settings/shelf/_form', ['submitButtonText' => 'Edit Shelf', 'shelfLabel' => 'Edit Shelf.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
47
resources/views/lms/settings/shelf/shelf.blade.php
Executable file
47
resources/views/lms/settings/shelf/shelf.blade.php
Executable file
|
@ -0,0 +1,47 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Shelf</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<a href="{{ route('settings.shelf.add') }}" class="btn btn-danger">
|
||||
ADD NEW MOTHERFUCKING SHELF
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Shelf</th>
|
||||
<th>Options</th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($shelves as $shelf)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $shelf->shelf }}</td>
|
||||
<td><a href="{{ route('settings.shelf.edit', $shelf->id) }}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a>
|
||||
<a href="{{ route('settings.shelf.delete', $shelf->id) }}"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a></td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue