my changes
This commit is contained in:
parent
28301e4312
commit
8dc1f1b048
263 changed files with 36882 additions and 4453 deletions
35
resources/views/rdr/settings/book/_form.blade.php
Normal file
35
resources/views/rdr/settings/book/_form.blade.php
Normal file
|
@ -0,0 +1,35 @@
|
|||
<div class="form-group">
|
||||
{!! Form::label('title', 'Title..') !!}
|
||||
{!! Form::text('title', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('author', 'Author..') !!}
|
||||
{!! Form::text('author', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('year', 'Year..') !!}
|
||||
{!! Form::select('year', $years, null, ['id' => 'year', 'class' => 'form-control', 'placeholder' => 'None']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('stock', 'Stock..') !!}
|
||||
{!! Form::text('stock', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('project_id', 'Project..') !!}
|
||||
{!! Form::select('project_id', $categories, null, ['id' => 'project_id', 'class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
{{-- <div class="form-group">
|
||||
{!! Form::label('shelf_id', 'Shelf..') !!}
|
||||
{!! Form::select('shelf_id', $shelves, null, ['id' => 'shelf_id', 'class' => 'form-control']) !!}
|
||||
</div> --}}
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::submit($submitButtonText, ['class' => 'btn btn-primary form-control']) !!}
|
||||
</div>
|
||||
|
||||
@include('errors._errors')
|
28
resources/views/rdr/settings/book/add.blade.php
Normal file
28
resources/views/rdr/settings/book/add.blade.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Add Your Book</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
<a href="{{ route('settings.book') }}" class="btn btn-danger">
|
||||
<span class="glyphicon glyphicon-chevron-left" ></span> BACK
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-4" >
|
||||
|
||||
{!! Form::open(['route' => 'settings.book.post']) !!}
|
||||
|
||||
@include('rdr/settings/book/_form', ['submitButtonText' => 'Add Book'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
57
resources/views/rdr/settings/book/book.blade.php
Normal file
57
resources/views/rdr/settings/book/book.blade.php
Normal file
|
@ -0,0 +1,57 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Book</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<a href="{{ route('settings.book.add') }}" class="btn btn-danger">
|
||||
ADD NEW BOOK
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Title</th>
|
||||
<th>Author</th>
|
||||
<th>Year</th>
|
||||
<th>Stock</th>
|
||||
<th>Project</th>
|
||||
<th>Options</th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($books as $book)
|
||||
|
||||
<tr>
|
||||
<td>{{ $book->title }}</td>
|
||||
<td>{{ $book->author }}</td>
|
||||
<td>{{ $book->year }}</td>
|
||||
<td>{{ $book->stock }}</td>
|
||||
@if($book->hasProject())
|
||||
<td>{{ $book->project->name }}</td>
|
||||
@else
|
||||
<td>--</td>
|
||||
@endif
|
||||
<td>
|
||||
<a href="{{ route('settings.book.edit', $book->id) }}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a>
|
||||
<a href="{{ route('settings.book.delete', $book->id) }}"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
28
resources/views/rdr/settings/book/edit.blade.php
Normal file
28
resources/views/rdr/settings/book/edit.blade.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Edit Your Book</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
<a href="{{ route('settings.book') }}" class="btn btn-danger">
|
||||
<span class="glyphicon glyphicon-chevron-left" ></span> BACK
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-4" >
|
||||
|
||||
{!! Form::model($book, ['method' => 'PATCH', 'route' => ['settings.book.update', $book->id]]) !!}
|
||||
|
||||
@include('rdr/settings/book/_form', ['submitButtonText' => 'Edit Book', 'bookLabel' => 'Edit Book.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
60
resources/views/rdr/settings/collection/collection.blade.php
Normal file
60
resources/views/rdr/settings/collection/collection.blade.php
Normal file
|
@ -0,0 +1,60 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Collections</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<a href="{{ route('settings.project.add') }}" class="pure-button button-small is-primary">
|
||||
<i class="fa fa-plus-circle"></i>ADD NEW COLLECTION
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
|
||||
<thead>
|
||||
<th>Collection</th>
|
||||
<th>id</th>
|
||||
<th>Document id's</th>
|
||||
<th>Options</th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($collections as $collection)
|
||||
|
||||
<tr>
|
||||
<td>{{ $collection->name }}</td>
|
||||
<td>{{ $collection->id }}</td>
|
||||
<td>
|
||||
@foreach ($collection->documents as $document)
|
||||
<p>document id: {{ $document->id }}</p>
|
||||
@endforeach
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<a class="edit" href="{{ route('settings.collection.edit', $collection->id) }}"><span aria-hidden="true"></span></a>
|
||||
<a class="delete" href="{{ route('settings.collection.delete', $collection->id) }}"><span aria-hidden="true"></span></a>
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
<div class="pure-u-1">
|
||||
{{ $collections->links('vendor.pagination.default') }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
10
resources/views/rdr/settings/periode/_form.blade.php
Normal file
10
resources/views/rdr/settings/periode/_form.blade.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<div class="form-group">
|
||||
{!! Form::label('days', $daysLabel) !!}
|
||||
{!! Form::text('days', 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/rdr/settings/periode/edit.blade.php
Normal file
28
resources/views/rdr/settings/periode/edit.blade.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Edit Your Periode</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
<a href="{{ route('settings.category') }}" class="btn btn-danger">
|
||||
<span class="glyphicon glyphicon-chevron-left" ></span> BACK
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-4" >
|
||||
|
||||
{!! Form::model($periode, ['method' => 'PATCH', 'route' => ['settings.periode.update', $periode->id]]) !!}
|
||||
|
||||
@include('rdr/settings/periode/_form', ['submitButtonText' => 'Edit Periode', 'daysLabel' => 'Days..'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
40
resources/views/rdr/settings/periode/periode.blade.php
Normal file
40
resources/views/rdr/settings/periode/periode.blade.php
Normal file
|
@ -0,0 +1,40 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">PERIODE</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Days</th>
|
||||
<th>Options</th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($periodes as $periode)
|
||||
|
||||
<tr>
|
||||
<td>{{ $periode->days }}</td>
|
||||
<td><a href="{{ route('settings.periode.edit', $periode->id) }}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a></td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
10
resources/views/rdr/settings/shelf/_form.blade.php
Normal file
10
resources/views/rdr/settings/shelf/_form.blade.php
Normal 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/rdr/settings/shelf/add.blade.php
Normal file
28
resources/views/rdr/settings/shelf/add.blade.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Add Your 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::open(['route' => 'settings.shelf.post']) !!}
|
||||
|
||||
@include('rdr/settings/shelf/_form', ['submitButtonText' => 'Add Shelf', 'shelfLabel' => 'Add new Shelf.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
28
resources/views/rdr/settings/shelf/edit.blade.php
Normal file
28
resources/views/rdr/settings/shelf/edit.blade.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Edit Your 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('rdr/settings/shelf/_form', ['submitButtonText' => 'Edit Shelf', 'shelfLabel' => 'Edit Shelf.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
45
resources/views/rdr/settings/shelf/shelf.blade.php
Normal file
45
resources/views/rdr/settings/shelf/shelf.blade.php
Normal file
|
@ -0,0 +1,45 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Shelf</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<a href="{{ route('settings.shelf.add') }}" class="btn btn-danger">
|
||||
ADD NEW 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