my changes
This commit is contained in:
parent
28301e4312
commit
8dc1f1b048
263 changed files with 36882 additions and 4453 deletions
74
resources/views/rdr/borrow/borrow.blade.php
Normal file
74
resources/views/rdr/borrow/borrow.blade.php
Normal file
|
@ -0,0 +1,74 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Borrow</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
{!! Form::open(['route' => 'borrow.post']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('student_id', 'Student..') !!}
|
||||
|
||||
<!--third parameter is default option
|
||||
name of select is 'student_id'
|
||||
second parameter is the associative array -->
|
||||
{!! Form::select('person_id', $persons, null, ['id' => 'person_id', 'class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('project', 'Project..') !!}
|
||||
<!--{!! Form::select('project', $categories, null, ['id' => 'project', 'class' => 'form-control']) !!} -->
|
||||
<select id="project" name="project" class="form-control" >
|
||||
|
||||
@foreach($categories as $project)
|
||||
<option value="{{ $project->id }}" >{{ $project->name }}</option>
|
||||
@endforeach
|
||||
|
||||
</select>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('book_id', 'Book..') !!}
|
||||
<!--{!! Form::select('book_id', [], null, ['id' => 'book_id', 'class' => 'form-control']) !!} -->
|
||||
<select id="book_id" name="book_id" class="form-control">
|
||||
<option>-- Choice The Book --</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::submit('Borrow', ['class' => 'btn btn-primary form-control']) !!}
|
||||
</div>
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('scripts')
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#project').on('change', function(e){
|
||||
console.log(e);
|
||||
var project_id = e.target.value;
|
||||
//ajax
|
||||
$.get('api/dropdown/borrow/' + project_id, function(data){
|
||||
|
||||
//if success data
|
||||
$('#book_id').empty();
|
||||
$.each(data, function(index, booksObj){
|
||||
|
||||
$('#book_id').append('<option value="' +booksObj.id+ '">' +booksObj.title+ '</option>');
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
@stop
|
40
resources/views/rdr/borrow/histori.blade.php
Normal file
40
resources/views/rdr/borrow/histori.blade.php
Normal file
|
@ -0,0 +1,40 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Histori</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Student</th>
|
||||
<th>Book</th>
|
||||
<th>Borrowed At</th>
|
||||
<th>Returned At</th>
|
||||
<th>Fines</th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($transactions as $transaction)
|
||||
|
||||
<tr>
|
||||
<td>{{ $transaction->student->last_name }}</td>
|
||||
<td>{{ $transaction->book->title }}</td>
|
||||
<td>{{ date('d-M-y', $transaction->borrowed_at) }}</td>
|
||||
<td>{{ date('d-M-y', $transaction->returned_at) }}</td>
|
||||
<td>{{ $transaction->fines }}</td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
@stop
|
41
resources/views/rdr/borrow/report.blade.php
Normal file
41
resources/views/rdr/borrow/report.blade.php
Normal file
|
@ -0,0 +1,41 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Bericht</h1>
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Person</th>
|
||||
<th>Book</th>
|
||||
<th>Borrowed At</th>
|
||||
<th colspan="2"><center>What You Gonna Do</center></th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($transactions as $transaction)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $transaction->student->last_name }}</td>
|
||||
<td>{{ $transaction->book->title }}</td>
|
||||
<td>{{ date('d-M-y', $transaction->borrowed_at) }}</td>
|
||||
<td><a href="{{ route('borrow.pengembalian', $transaction->id) }}"><span class="glyphicon glyphicon-resize-small" aria-hidden="true"></span> return</a></td>
|
||||
<td><a href="{{ route('borrow.perpanjang', $transaction->id) }}"><span class="glyphicon glyphicon-resize-full" aria-hidden="true"></span> extend borrow time</a></td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
@stop
|
44
resources/views/rdr/document/documents.blade.php
Normal file
44
resources/views/rdr/document/documents.blade.php
Normal file
|
@ -0,0 +1,44 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Documents</h1>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
|
||||
<thead>
|
||||
<th>id</th>
|
||||
<th>document type</th>
|
||||
<!-- <th>Category</th>
|
||||
<th>Shelf</th> -->
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($documents as $document)
|
||||
|
||||
<tr>
|
||||
<td>{{ $document->id }}</td>
|
||||
<td>{{ $document->type }}</td>
|
||||
<!-- <td>
|
||||
if($book->stock > 0)
|
||||
Available
|
||||
elseif($book->stock == 0)
|
||||
-
|
||||
endif
|
||||
</td> -->
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
33
resources/views/rdr/document/show.blade.php
Normal file
33
resources/views/rdr/document/show.blade.php
Normal file
|
@ -0,0 +1,33 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div>
|
||||
<div id="titlemain-wrapper">
|
||||
<div class="frontdoor_pagination">
|
||||
{{-- <a id="pagination-link-hitlist" href="{{ route('settings.document') }}">BACK</a> --}}
|
||||
<a href="{{ route('documents') }}" class="pure-button">
|
||||
<span class="glyphicon glyphicon-chevron-left" ></span> BACK
|
||||
</a>
|
||||
|
||||
</div>
|
||||
@foreach ($document->titles as $title)
|
||||
<h2 class="titlemain"> {{ $title->value }}</h2>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div id="result-data">
|
||||
<div id="abstract">
|
||||
<ul>
|
||||
@foreach ($document->abstracts as $abstract)
|
||||
<li class="abstract preserve-spaces"> {{ $abstract->value }}</p>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
24
resources/views/rdr/home/about.blade.php
Normal file
24
resources/views/rdr/home/about.blade.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('title', Lang::get('resources.home_about_pagetitle'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
<h1>
|
||||
@lang('resources.home_about_title')
|
||||
</h1>
|
||||
|
||||
<div>
|
||||
<p>
|
||||
@lang('resources.home_about_content')
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@endsection
|
55
resources/views/rdr/home/contact.blade.php
Normal file
55
resources/views/rdr/home/contact.blade.php
Normal file
|
@ -0,0 +1,55 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('title', Lang::get('resources.home_index_contact_pagetitle'))
|
||||
|
||||
@section('content')
|
||||
<!--<div class="pure-g content">
|
||||
<div class="pure-u-1 content lead">
|
||||
<h1 class="title"> @lang('resources.home_index_contact_title')</h1>
|
||||
</div>
|
||||
</div>-->
|
||||
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
<h1>Kontakt</h1>
|
||||
<div id="simplecontact">
|
||||
{!! Form::open(array('class' => 'pure-form pure-form-stacked')) !!}
|
||||
|
||||
<fieldset>
|
||||
<div class="pure-control-group">
|
||||
{!! Form::label('name', 'Your Name') !!}
|
||||
{!! Form::text('name', null, ['class' => 'pure-input-1']) !!}
|
||||
<span class="pure-form-message-inline">This is a required field.</span>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
{!! Form::label('email', 'E-mail Address') !!}
|
||||
{!! Form::text('email', null, ['class' => 'pure-input-1']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
{!! Form::label('msg', 'Message') !!}
|
||||
{!! Form::textarea('msg', null, ['class' => 'pure-input-1', 'placeholder' => "Enter something here..."]) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-controls">
|
||||
{!! Form::submit('Send', ['class' => 'pure-button pure-button-primary']) !!}
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-3">
|
||||
<div class="sidebar">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
20
resources/views/rdr/home/imprint.blade.php
Normal file
20
resources/views/rdr/home/imprint.blade.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('title', Lang::get('resources.home_index_imprint_pagetitle'))
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
<h1>
|
||||
|
||||
@lang('resources.home_index_imprint_title')
|
||||
|
||||
</h1>
|
||||
|
||||
<div>
|
||||
<p>
|
||||
@lang('resources.help_content_imprint')
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@endsection
|
42
resources/views/rdr/home/index.blade.php
Normal file
42
resources/views/rdr/home/index.blade.php
Normal file
|
@ -0,0 +1,42 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('slider')
|
||||
<div class="pure-g slider">
|
||||
<div class="container">
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1">
|
||||
<h2 class="brand-tagline">
|
||||
<strong>RDR is a data repository</strong> for the research community with secure preservation and data publication.
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1 lead">
|
||||
<div class="content">
|
||||
<h1 class="title">DATA RESEARCH REPOSITORY</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-g content two-col">
|
||||
<div class="pure-u-1-2">
|
||||
<div class="box box-l">
|
||||
<!--<h2>Title</h2>-->
|
||||
<p> @lang('resources.home_index_welcome')</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-2">
|
||||
<div class="box box-r">
|
||||
<p> @lang('resources.home_index_instructions')</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
36
resources/views/rdr/home/news.blade.php
Normal file
36
resources/views/rdr/home/news.blade.php
Normal file
|
@ -0,0 +1,36 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('title', Lang::get('resources.home_news_pagetitle'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-3-3">
|
||||
<div class="content">
|
||||
<!--<h1>
|
||||
@lang('resources.home_news_title')
|
||||
</h1>-->
|
||||
<h2>
|
||||
<strong>RDR included in re3data.org list of research data repositories </strong>
|
||||
</h2>
|
||||
<h4>Published: 27.07.2019</h4>
|
||||
<p>
|
||||
re3data.org is a global registry of research data repositories. The registry covers research data repositories from
|
||||
different academic disciplines. re3data.org presents repositories for the permanent storage and access to datasets
|
||||
for researchers, funding bodies, publishers and academic institutions. re3data.org aims to promote a culture of
|
||||
sharing and increased access to research data.
|
||||
</p>
|
||||
<p>
|
||||
re3data.org helps researchers to find appropriate repositories for the storage and access of research data.
|
||||
Further, it can be used by funding organisations to promote permanent access to research data from their research projects.
|
||||
In addition re3data.org offers publishers and academic institutions a tool for the identification of research data repositories
|
||||
where scientists can deposit their data.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
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
|
29
resources/views/rdr/setup/imprint/edit.blade.php
Normal file
29
resources/views/rdr/setup/imprint/edit.blade.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
{!! Form::open(array('class' => 'pure-form pure-form-stacked')) !!}
|
||||
|
||||
<fieldset>
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label for="data-en-key-home_index_imprint_pagetitle" class="optional">Titel der Seite bzw. des Reiters im Web-Browser</label>
|
||||
<input name="data[en][key][home_index_imprint_pagetitle]" id="data-en-key-home_index_imprint_pagetitle" class="pure-input-1" type="text">
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label for="data-en-key-home_index_imprint_title" class="optional">Titel auf der Seite</label>
|
||||
<input name="data[de][key][home_index_imprint_title]" id="data-de-key-home_index_imprint_title" value="Impressum nach §5 Telemediengesetz" class="pure-input-1" type="text">
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
50
resources/views/rdr/sitelink/index.blade.php
Normal file
50
resources/views/rdr/sitelink/index.blade.php
Normal file
|
@ -0,0 +1,50 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
<h1 class="title">Sitelinks for Web Crawlers</h1>
|
||||
|
||||
<span>
|
||||
<?php foreach ($years as $year) : ?>
|
||||
<a title="documents published in year <?= $year ?>" href="{{ URL::route('sitelinks.list',['year' => $year]) }}"><?= $year ?>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</span>
|
||||
|
||||
|
||||
<div class="posts">
|
||||
<ol><?php foreach ($documents as $document) : ?>
|
||||
<li>
|
||||
<section class="post">
|
||||
<header class="post-header">
|
||||
<h2 class="post-title">
|
||||
<a href="{{ URL::route('document.show',['id' =>$document->id]) }}"><?= $document->type; $document->id; ?>
|
||||
</a>
|
||||
</h2>
|
||||
</header>
|
||||
<div class="blog-meta"><?= $document->server_date_published->toDayDateTimeString() ?>
|
||||
</div>
|
||||
<div class="post-description">
|
||||
@foreach ($document->authors as $author)
|
||||
<em>Author: {{ $author->getFullName() }}</em>
|
||||
<br />
|
||||
@endforeach
|
||||
|
||||
@foreach ($document->titles as $title)
|
||||
<em>Main Title: {{ $title->value }}</em>
|
||||
<br />
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</li><?php endforeach; ?>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
75
resources/views/rdr/solrsearch/index.blade.php
Normal file
75
resources/views/rdr/solrsearch/index.blade.php
Normal file
|
@ -0,0 +1,75 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('title', Lang::get('resources.solrsearch_title_simple'))
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
<h1>Suche</h1>
|
||||
@include('rdr.solrsearch.simpleSearchForm')
|
||||
|
||||
<div id="searchbar">
|
||||
@if (isset($results))
|
||||
<div id="search_results" class="plugin-simplesearch-result search_results">
|
||||
@foreach($results as $result)
|
||||
<div class="result">
|
||||
<dt class="results_title">
|
||||
@if (!is_null($result->getAsset( 'abstract_output' )))
|
||||
<img src="../img/theme/icon-on-off.png" alt="results_hideabstract_alt" onclick="$(function(){$('#abstractText_{{ $result->getId() }}').toggle();});" />
|
||||
@endif
|
||||
|
||||
@if (!is_null($result->getAsset('title_output')))
|
||||
<a href="{{ route('document.show', $result->getId()) }}">
|
||||
{{ $result->getAsset('title_output') }}
|
||||
</a>
|
||||
@else
|
||||
<a>results_missingtitle</a>
|
||||
@endif
|
||||
|
||||
@if ($result->getAsset('year'))
|
||||
<span>( {{ $result->getAsset('year') }} )</span>
|
||||
@endif
|
||||
</dt>
|
||||
|
||||
|
||||
@if (!is_null($result->getAsset( 'author' )))
|
||||
<dt class="results_author">
|
||||
@foreach($result->getAsset( 'author' ) as $authorIndex => $author)
|
||||
<a>{{ htmlspecialchars($author)}}</a>
|
||||
@endforeach
|
||||
</dt>
|
||||
@endif
|
||||
|
||||
<dt class="abstractText" id="abstractText_{{ $result->getId() }}">
|
||||
{{ htmlspecialchars($result->getAsset('abstract_output')) }}
|
||||
</dt>
|
||||
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@include('rdr.solrsearch.pagination')
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
|
||||
@section('scripts')
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$('.abstractText').hide();
|
||||
});
|
||||
</script>
|
||||
@endsection
|
22
resources/views/rdr/solrsearch/pagination.blade.php
Normal file
22
resources/views/rdr/solrsearch/pagination.blade.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* pagnination short summary.
|
||||
*
|
||||
* pagnination description.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author kaiarn
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="results_pagination">
|
||||
<?php if(isset($numOfHits)): ?>
|
||||
<p class="info_small">
|
||||
<strong>
|
||||
<?php echo($numOfHits) ?>
|
||||
</strong>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
63
resources/views/rdr/solrsearch/simpleSearchForm.blade.php
Normal file
63
resources/views/rdr/solrsearch/simpleSearchForm.blade.php
Normal file
|
@ -0,0 +1,63 @@
|
|||
<div class="sidebar-simplesearch">
|
||||
{!! Form::open(array('route' => 'queries','method' => 'POST', 'class'=>'pure-form')) !!}
|
||||
|
||||
|
||||
|
||||
{!! Form::text('query', null, array('class'=>'pure-input-1', 'placeholder'=>'Search for a dataset...')) !!}
|
||||
|
||||
<!--<div id="edit-submit-search-wrapper" class="form-item">
|
||||
<span class="form-submit-wrapper">
|
||||
<input type="submit" id="edit-submit-search" class="form-submit" value="Search" />
|
||||
</span>
|
||||
</div>-->
|
||||
<button type="submit">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
|
||||
<p class="footer-link">
|
||||
<?php
|
||||
$searchAllDocsText = Illuminate\Support\Facades\Lang::get('resources.solrsearch_title_alldocs');
|
||||
if (isset($totalNumOfDocs))
|
||||
{
|
||||
$searchAllDocsText = $searchAllDocsText . ' (<span id="solrsearch-totalnumofdocs">' . $totalNumOfDocs . '</span>)';
|
||||
}
|
||||
?>
|
||||
|
||||
<a id="link-solrsearch-all-documents" class="link" href="{{ URL::route('queries1',['searchtype' => 'all']) }}"><?= $searchAllDocsText; ?>
|
||||
</a>
|
||||
<!--<a class="link" href="">'resources.solrsearch_title_latest'</a>-->
|
||||
|
||||
<a href="" class="rss" type="application/rss+xml">
|
||||
<img src="{{ URL::asset('/img/feed_small.png' )}}" width="12" height="12" alt="{{ Lang::get('resources.rss_icon')}}" title="@lang('resources.rss_title')" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<input type="hidden" name="searchtype" id="searchtype" value="simple" />
|
||||
<input type="hidden" name="start" id="start" value="0" />
|
||||
<input type="hidden" name="sortfield" id="sortfield" value="score" />
|
||||
<input type="hidden" name="sordorder" id="sortorder" value="desc" />
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.sidebar-simplesearch {
|
||||
position: relative;
|
||||
margin-bottom: 2.5em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sidebar-simplesearch input[type=text] {
|
||||
padding: 0.25em 0.3em;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.sidebar-simplesearch button {
|
||||
padding: 0.25em 0.3em;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
right: 0.25em;
|
||||
color: #666;
|
||||
}
|
||||
</style>
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue