my changes
This commit is contained in:
parent
28301e4312
commit
8dc1f1b048
263 changed files with 36882 additions and 4453 deletions
27
resources/assets/js/bootstrap.js
vendored
Normal file
27
resources/assets/js/bootstrap.js
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
/**
|
||||
* We'll load the axios HTTP library which allows us to easily issue requests
|
||||
* to our Laravel back-end. This library automatically handles sending the
|
||||
* CSRF token as a header based on the value of the "XSRF" token cookie.
|
||||
*/
|
||||
try {
|
||||
window.$ = window.jQuery = require('jquery');
|
||||
// require('bootstrap-sass');
|
||||
} catch (e) {}
|
||||
|
||||
window.axios = require('axios');
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
|
||||
/**
|
||||
* Next we will register the CSRF Token as a common header with Axios so that
|
||||
* all outgoing HTTP requests automatically have it attached. This is just
|
||||
* a simple convenience so we don't have to attach every token manually.
|
||||
*/
|
||||
|
||||
let token = document.head.querySelector('meta[name="csrf-token"]');
|
||||
|
||||
if (token) {
|
||||
window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;
|
||||
}
|
||||
else {
|
||||
console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
|
||||
}
|
22
resources/assets/js/lib.js
Normal file
22
resources/assets/js/lib.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* First we will load all of this project's JavaScript dependencies which
|
||||
* includes Vue and other libraries. It is a great starting point when
|
||||
* building robust, powerful web applications using Vue and Laravel.
|
||||
*/
|
||||
require('./bootstrap');
|
||||
window.Vue = require('vue');
|
||||
|
||||
Vue.prototype.$http = axios;
|
||||
|
||||
// Vue.component('example', require('./components/Example.vue'));
|
||||
|
||||
// const app = new Vue({
|
||||
// el: '#app',
|
||||
|
||||
// data: {
|
||||
// loading: false,
|
||||
// downloading: false,
|
||||
// items: [],
|
||||
// message: "Just a test",
|
||||
// }
|
||||
// });
|
10
resources/assets/sass/app1.scss
Normal file
10
resources/assets/sass/app1.scss
Normal file
|
@ -0,0 +1,10 @@
|
|||
// Fonts
|
||||
@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600");
|
||||
|
||||
// Variables
|
||||
// @import "style";
|
||||
|
||||
// Bootstrap
|
||||
// $icon-font-path: "../fonts/bootstrap/";
|
||||
// @import "~bootstrap-sass/assets/stylesheets/bootstrap";
|
||||
|
35
resources/assets/sass/style.scss
Normal file
35
resources/assets/sass/style.scss
Normal file
|
@ -0,0 +1,35 @@
|
|||
html, body
|
||||
{
|
||||
font-family:"Raleway", sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.42857143;
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
margin:0;
|
||||
padding:0;
|
||||
height:100%;
|
||||
width:100%;
|
||||
}
|
||||
.fontface1
|
||||
{
|
||||
font-family: "Raleway", sans-serif;
|
||||
font-size: 26px;
|
||||
color: #99cc00;
|
||||
}
|
||||
|
||||
.title{
|
||||
margin-top: 1em;
|
||||
margin-bottom: 50px;
|
||||
padding-bottom: 1em;
|
||||
text-align: center;
|
||||
line-height: 1;
|
||||
border-bottom: 1px solid red;
|
||||
font-family: "Marvel", sans-serif;
|
||||
}
|
||||
|
||||
.marvel{
|
||||
color: #E41030;
|
||||
font-family: "Raleway", sans-serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
33
resources/lang/en/doctypes.php
Normal file
33
resources/lang/en/doctypes.php
Normal file
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pagination Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used by the paginator library to build
|
||||
| the simple pagination links. You are free to change them to anything
|
||||
| you want to customize your views to better match your application.
|
||||
|
|
||||
*/
|
||||
|
||||
'analysisdata' => 'Analysis Data',
|
||||
'interpreteddata' => 'Interpreted Data',
|
||||
'measurementdata' => 'Measurement Data',
|
||||
'models' => 'Models',
|
||||
'rawdata' => 'Raw Data',
|
||||
'supplementarydata' => 'Supplementary Data'
|
||||
//'diplom' => 'Diploma Thesis',
|
||||
//'doctoralthesis' => 'Doctoral Thesis',
|
||||
//'coursematerial' => 'Course Material',
|
||||
//'bachelorthesis' => 'Bachelor Thesis',
|
||||
//'image' => 'Image',
|
||||
//'preprint' => 'Preprint',
|
||||
//'lecture' => 'Lecture',
|
||||
//'report' => 'Report',
|
||||
//'workingpaper' => 'Working Paper',
|
||||
//'conferenceobject' => 'Conference Proceeding',
|
||||
//'other' => 'Other'
|
||||
];
|
15
resources/lang/en/imprint.en.txt
Normal file
15
resources/lang/en/imprint.en.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
<p>
|
||||
<i>Geologische Bundesanstalt</i>
|
||||
<br /><i>Neulinggasse 38</i>
|
||||
<br /><i>1030 Vienna</i>
|
||||
</p>
|
||||
|
||||
<p>Telephone: +43-1-7125674</p>
|
||||
<p>Fax: +43-1-7125674-56</p>
|
||||
<p>E-Mail: repository@geologie.ac.at</p>
|
||||
|
||||
<p>USt-Id-Nr.: </p>
|
||||
|
||||
<p><i>GBA</i> is a corporation under public law.</p>
|
||||
|
||||
<p>The care of the hardware and software of this server is up to <i>GBA</i>.</p>
|
47
resources/lang/en/resources.php
Normal file
47
resources/lang/en/resources.php
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'msg' => 'Laravel Internationalization example.',
|
||||
|
||||
'home_index_label' => 'Home',
|
||||
'home_index_pagetitle' => 'Home',
|
||||
'home_index_title' => 'Publication Server of XYZ University',
|
||||
'home_index_welcome' => 'The library offers to publish electronically generated and
|
||||
qualified documents on its online publication system. This service is
|
||||
for university members only and free of charge. After publication, the
|
||||
texts are available worldwide on the Internet and will be archived
|
||||
permanently by the library. The documents are indexed and made
|
||||
accessible in library catalogues and Web search engines.',
|
||||
'home_index_instructions' => 'If you want to search for documents of the university, please
|
||||
choose the menu "Search" where you will find several search options. If
|
||||
you want to publish a document, please select the menu "Publish"; here
|
||||
you can submit your document to the publication server in just a few
|
||||
steps.',
|
||||
|
||||
'home_index_imprint_pagetitle' => 'Imprint',
|
||||
'home_index_imprint_title' => 'Legal notice according to § 5 E-Commerce-Gesetz (Austria)',
|
||||
'help_content_imprint' => Illuminate\Support\Facades\File::get(resource_path() . '/lang/en/imprint.en.txt'),
|
||||
|
||||
'home_index_contact_pagetitle' => 'Contact',
|
||||
'home_index_contact_title' => 'Contact us...',
|
||||
|
||||
'home_about_pagetitle' => 'About Us',
|
||||
'home_about_title' => 'About us...',
|
||||
'home_about_content' => 'RDR (Research Data Repository) is an interdisciplinary digital data repository for the archival and publication of research data resulting from completed scientific studies and projects. RDR focuses on disciplines who do not have a tradition of data sharing thus ensuring better availability, sustainable preservation and (independent) publication capacity of their research data.',
|
||||
|
||||
'home_news_pagetitle' => 'News',
|
||||
|
||||
|
||||
'solrsearch_title_simple' => 'Search',
|
||||
'solrsearch_title_advanced' => 'Advanced Search',
|
||||
'solrsearch_title_alldocs' => 'All datasets',
|
||||
'solrsearch_searchaction' => 'Search',
|
||||
'solrsearch_title_latest' => 'Latest Documents',
|
||||
|
||||
'rss_icon' =>'subscribe to RSS feed',
|
||||
'rss_title' => 'subscribe to RSS feed',
|
||||
|
||||
'default_auth_index' => 'Login',
|
||||
'auth_pagetitle' => 'User Login',
|
||||
];
|
||||
?>
|
|
@ -1,48 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Library Management System</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('css/bootstrap.min.css') }}">
|
||||
<link href="{{ asset('/css/app.css') }}" rel="stylesheet">
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href='http://fonts.googleapis.com/css?family=Marvel' rel='stylesheet' type='text/css'>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@include('partials.nav')
|
||||
|
||||
<div class="container">
|
||||
|
||||
@include('partials.flash')
|
||||
|
||||
@yield('content')
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Scripts -->
|
||||
|
||||
<script type="text/javascript" src="{{ asset('js/jquery-2.1.1.min.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ asset('js/bootstrap.min.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
$('div.alert').not('alert-important').delay(3000).slideUp(300);
|
||||
</script>
|
||||
|
||||
|
||||
@yield('footer')
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,64 +1,55 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
|
||||
<h1 class="judul">LMS by Pramesti Hatta K.</h1>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Login</div>
|
||||
<div class="panel-body">
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
<div class="pure-g">
|
||||
|
||||
<form class="form-horizontal" role="form" method="POST" action="{{ url('/auth/login') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">E-Mail Address</label>
|
||||
<div class="col-md-6">
|
||||
<input type="email" class="form-control" name="email" value="{{ old('email') }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">Password</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" class="form-control" name="password">
|
||||
</div>
|
||||
</div>
|
||||
<h1>Login</h1>
|
||||
<div class="panel-body">
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-6 col-md-offset-4">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="remember"> Remember Me
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-6 col-md-offset-4">
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
<form class="pure-form pure-form-stacked" role="form" method="POST" action="{{ url('/login') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label for="email">E-Mail Address</label>
|
||||
<input type="email" class="pure-input-1" name="email" id="email" placeholder="Email" value="{{ old('email') }}">
|
||||
<span class="pure-form-message-inline">This is a required field.</span>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label for="password">Password</label>
|
||||
<input type="password" class="pure-input-1" name="password" id="password" placeholder="Password">
|
||||
</div>
|
||||
|
||||
<div class="pure-controls">
|
||||
<label for="remember" class="pure-checkbox">
|
||||
<input name="remember" id="remember" type="checkbox"> Remember me
|
||||
</label>
|
||||
<button type="submit" class="pure-button pure-button-primary">Login</button>
|
||||
<a class="btn btn-link" href="{{ url('/password/email') }}">Forgot Your Password?</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a class="btn btn-link" href="{{ url('/password/email') }}">Forgot Your Password?</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Reset Password</div>
|
||||
<div class="panel-body">
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form class="form-horizontal" role="form" method="POST" action="{{ url('/password/email') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">E-Mail Address</label>
|
||||
<div class="col-md-6">
|
||||
<input type="email" class="form-control" name="email" value="{{ old('email') }}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-6 col-md-offset-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
Send Password Reset Link
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
47
resources/views/auth/passwords/email.blade.php
Normal file
47
resources/views/auth/passwords/email.blade.php
Normal file
|
@ -0,0 +1,47 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Reset Password</div>
|
||||
|
||||
<div class="panel-body">
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form class="form-horizontal" method="POST" action="{{ route('password.email') }}">
|
||||
{{ csrf_field() }}
|
||||
|
||||
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
|
||||
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required>
|
||||
|
||||
@if ($errors->has('email'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('email') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-6 col-md-offset-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
Send Password Reset Link
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
70
resources/views/auth/passwords/reset.blade.php
Normal file
70
resources/views/auth/passwords/reset.blade.php
Normal file
|
@ -0,0 +1,70 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Reset Password</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" method="POST" action="{{ route('password.request') }}">
|
||||
{{ csrf_field() }}
|
||||
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
|
||||
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
|
||||
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="email" type="email" class="form-control" name="email" value="{{ $email or old('email') }}" required autofocus>
|
||||
|
||||
@if ($errors->has('email'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('email') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
|
||||
<label for="password" class="col-md-4 control-label">Password</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password" type="password" class="form-control" name="password" required>
|
||||
|
||||
@if ($errors->has('password'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('password') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
|
||||
<label for="password-confirm" class="col-md-4 control-label">Confirm Password</label>
|
||||
<div class="col-md-6">
|
||||
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required>
|
||||
|
||||
@if ($errors->has('password_confirmation'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('password_confirmation') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-6 col-md-offset-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
Reset Password
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
|
@ -1,4 +1,4 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
<form class="form-horizontal" role="form" method="POST" action="{{ url('/auth/register') }}">
|
||||
<form class="form-horizontal" role="form" method="POST" action="{{ url('/register') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
||||
<div class="form-group">
|
||||
|
|
|
@ -1,59 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Reset Password</div>
|
||||
<div class="panel-body">
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form class="form-horizontal" role="form" method="POST" action="{{ url('/password/reset') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">E-Mail Address</label>
|
||||
<div class="col-md-6">
|
||||
<input type="email" class="form-control" name="email" value="{{ old('email') }}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">Password</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" class="form-control" name="password">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">Confirm Password</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" class="form-control" name="password_confirmation">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-6 col-md-offset-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
Reset Password
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
14
resources/views/errors/401.blade.php
Normal file
14
resources/views/errors/401.blade.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{-- \resources\views\errors\401.blade.php --}}
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class='col-lg-4 col-lg-offset-4'>
|
||||
<h1><center>401<br>
|
||||
ACCESS DENIED</center></h1>
|
||||
<h2>{{ $exception->getMessage() }}</h2>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
|
||||
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
|
||||
@if($errors->any())
|
||||
|
||||
<ul class="alert alert-danger">
|
||||
<ul class="alert validation-summary-errors">
|
||||
|
||||
@foreach($errors->all() as $error)
|
||||
|
||||
|
|
23
resources/views/home.blade.php
Normal file
23
resources/views/home.blade.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Dashboard</div>
|
||||
|
||||
<div class="panel-body">
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
You are logged in!
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
123
resources/views/layouts/app.blade.php
Normal file
123
resources/views/layouts/app.blade.php
Normal file
|
@ -0,0 +1,123 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ app()->getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Language" content="de">
|
||||
|
||||
<!--<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">-->
|
||||
<meta charset="utf-8">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>@yield('title') RDR</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||
{{-- <link rel="stylesheet" type="text/css" href="{{ asset('css/bootstrap.min.css') }}"> --}}
|
||||
|
||||
<link rel='stylesheet' href="{{ asset('css/pure.css') }}" />
|
||||
<link rel='stylesheet' href="{{ asset('css/grids-responsive.css') }}" />
|
||||
<!--<link href="{{ asset('css/app1.css') }}" rel="stylesheet" />-->
|
||||
<!--<link rel='stylesheet' href="{{ asset('css/page.css') }}" />-->
|
||||
<link rel='stylesheet' href="{{ asset('css/styles.css') }}" />
|
||||
<!-- Fonts -->
|
||||
<link rel='stylesheet' href="{{ asset('css/font-awesome.css') }}" />
|
||||
<link href="http://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C700italic%2C400%2C300%2C700%2C800&ver=3.8.1" type="text/css" rel="stylesheet">
|
||||
|
||||
@yield('head')
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="layout-home-html">
|
||||
|
||||
@include('partials.nav')
|
||||
<div id="mobile-menu" class="pure-hidden-phone pure-hidden-tablet pure-hidden-desktop">
|
||||
<ul></ul>
|
||||
</div>
|
||||
@yield('slider')
|
||||
|
||||
<div class="content-container">
|
||||
<div class="container">
|
||||
@include('partials.flash')
|
||||
@yield('content')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--@yield('footer')-->
|
||||
<div class="footer">
|
||||
<div class="container">
|
||||
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1 pure-u-md-1-4 footer-about">
|
||||
<div class="block">
|
||||
<h3 class="block-title">About RDR</h3>
|
||||
<ul>
|
||||
<li><a href="{{ URL::route('home.about') }}">About Us</a></li>
|
||||
<li><a href="{{ URL::route('home.news') }}">News</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-4">
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-4 footer-links">
|
||||
<div class="block">
|
||||
<h3 class="block-title">TOOLS & SUPPORT</h3>
|
||||
<ul id="secondary-nav" class="nav">
|
||||
{{-- <li>{{ Request::ip() }}</li> --}}
|
||||
<li class="first"><a href="{{ URL::route('home.contact') }}">Contact</a></li>
|
||||
<li><a href="{{ URL::route('home.imprint') }}">Impressum</a></li>
|
||||
<li class="last"><a href="{{ URL::route('sitelinks.index') }}">Sitelinks</a></li>
|
||||
<li><a target="_blank" href="https://github.com/geolba"><i class="fa fa-github"></i> rdr bei GitHub</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-4 block">
|
||||
<div class="block">
|
||||
<h3 class="block-title">CONNECT WITH US</h3>
|
||||
<ul>
|
||||
<li><a target="_blank" href="https://www.geologie.ac.at/"><i class="fa fa-home"></i> GBA</a></li>
|
||||
<li><span><i class="fa fa-mobile-phone"></i> +43-1-7125674</span></li>
|
||||
<li><a href="mailto:repository@geologie.ac.at?Subject= RDR &body=How can I help you?"><i class="fa fa-envelope-o"></i> repository@geologie.ac.at</a> </li>
|
||||
<li></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1 pure-u-md-1-4 footer-copyright">
|
||||
Geologische Bundesanstalt © {{ date('Y') }}
|
||||
<!--<p id="logo-wrapper">
|
||||
<a href="http://www.kobv.de/opus4/" title="Opus4 Website">
|
||||
</a>
|
||||
</p>-->
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-4 footer-funded">
|
||||
@hasrole('administrator')
|
||||
I'm an administrator!
|
||||
@else
|
||||
I'm not an administrator...
|
||||
@endhasrole
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-4 footer-funded">
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-4 footer-funded">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Scripts -->
|
||||
{{-- <script type="text/javascript" src="{{ asset('js/jquery-2.1.1.min.js') }}"></script> --}}
|
||||
<script type="text/javascript" src="{{ asset('js/lib.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
$('div.alert').not('alert-important').delay(3000).slideUp(300);
|
||||
</script>
|
||||
@yield('scripts')
|
||||
|
||||
</body>
|
||||
</html>
|
80
resources/views/layouts/old_app.blade.php
Normal file
80
resources/views/layouts/old_app.blade.php
Normal file
|
@ -0,0 +1,80 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ app()->getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- CSRF Token -->
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
|
||||
<!-- Styles -->
|
||||
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<nav class="navbar navbar-default navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
|
||||
<!-- Collapsed Hamburger -->
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse" aria-expanded="false">
|
||||
<span class="sr-only">Toggle Navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
|
||||
<!-- Branding Image -->
|
||||
<a class="navbar-brand" href="{{ url('/') }}">
|
||||
{{ config('app.name', 'Laravel') }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="app-navbar-collapse">
|
||||
<!-- Left Side Of Navbar -->
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
</ul>
|
||||
|
||||
<!-- Right Side Of Navbar -->
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<!-- Authentication Links -->
|
||||
@guest
|
||||
<li><a href="{{ route('login') }}">Login</a></li>
|
||||
<li><a href="{{ route('register') }}">Register</a></li>
|
||||
@else
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true">
|
||||
{{ Auth::user()->name }} <span class="caret"></span>
|
||||
</a>
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="{{ route('logout') }}"
|
||||
onclick="event.preventDefault();
|
||||
document.getElementById('logout-form').submit();">
|
||||
Logout
|
||||
</a>
|
||||
|
||||
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
||||
{{ csrf_field() }}
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@endguest
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@yield('content')
|
||||
</div>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="{{ asset('js/app.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,54 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Books</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Title</th>
|
||||
<th>Author</th>
|
||||
<th>Year</th>
|
||||
<th>Stock</th>
|
||||
<th>Category</th>
|
||||
<th>Shelf</th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($books as $book)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $book->title }}</td>
|
||||
<td>{{ $book->author }}</td>
|
||||
<td>{{ $book->year }}</td>
|
||||
<td>
|
||||
@if($book->stock > 0)
|
||||
Available
|
||||
@elseif($book->stock == 0)
|
||||
-
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $book->category->category }}</td>
|
||||
<td>{{ $book->shelf->shelf }}</td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
|
@ -1,7 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">MOTHERFUCKING LMS</h1>
|
||||
|
||||
@stop
|
|
@ -1,43 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Laporan</h1>
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Student</th>
|
||||
<th>Book</th>
|
||||
<th>Borrowed At</th>
|
||||
<th>Fines</th>
|
||||
<th colspan="2"><center>What You Gonna Do</center></th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($transactions as $transaction)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $transaction->student->name }}</td>
|
||||
<td>{{ $transaction->book->title }}</td>
|
||||
<td>{{ date('d-M-y', $transaction->borrowed_at) }}</td>
|
||||
<td>Rp. {{ $transaction->fines }}</td>
|
||||
<td><a href="{{ route('peminjaman.pengembalian', $transaction->id) }}"><span class="glyphicon glyphicon-resize-small" aria-hidden="true"></span> Pengembalian</a></td>
|
||||
<td><a href="{{ route('peminjaman.perpanjang', $transaction->id) }}"><span class="glyphicon glyphicon-resize-full" aria-hidden="true"></span> Perpanjang Masa Peminjaman</a></td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
@stop
|
|
@ -1,73 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Peminjaman</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
{!! Form::open(['route' => 'peminjaman.post']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('student_id', 'Student..') !!}
|
||||
{!! Form::select('student_id', $students, null, ['id' => 'student_id', 'class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<!--{!! Form::label('category', 'Category..') !!}
|
||||
{!! Form::select('category', $categories, null, ['id' => 'category', 'class' => 'form-control']) !!} -->
|
||||
<select id="category" name="category" class="form-control" >
|
||||
|
||||
@foreach($categories as $category)
|
||||
<option value="{{ $category->id }}" >{{ $category->category }}</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('Pinjam', ['class' => 'btn btn-primary form-control']) !!}
|
||||
</div>
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('footer')
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#category').on('change', function(e){
|
||||
console.log(e);
|
||||
|
||||
var category_id = e.target.value;
|
||||
|
||||
//ajax
|
||||
$.get('/api/dropdown/peminjaman/' + category_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
|
|
@ -1,10 +0,0 @@
|
|||
<div class="form-group">
|
||||
{!! Form::label('category', $categoryLabel) !!}
|
||||
{!! Form::text('category', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::submit($submitButtonText, ['class' => 'btn btn-primary form-control']) !!}
|
||||
</div>
|
||||
|
||||
@include('errors._errors')
|
|
@ -1,28 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Add Your Fucking Category</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::open(['route' => 'settings.category.post']) !!}
|
||||
|
||||
@include('lms/settings/category/_form', ['submitButtonText' => 'Add Category', 'categoryLabel' => 'Add new Category.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
|
@ -1,45 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Category</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<a href="{{ route('settings.category.add') }}" class="btn btn-danger">
|
||||
ADD NEW MOTHERFUCKING CATEGORY
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Category</th>
|
||||
<th>Options</th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($categories as $category)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $category->category }}</td>
|
||||
<td><a href="{{ route('settings.category.edit', $category->id) }}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a>
|
||||
<a href="{{ route('settings.category.delete', $category->id) }}"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a></td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
|
@ -1,28 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Edit Your Fucking Category</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($category, ['method' => 'PATCH', 'route' => ['settings.category.update', $category->id]]) !!}
|
||||
|
||||
@include('lms/settings/category/_form', ['submitButtonText' => 'Edit Category', 'categoryLabel' => 'Edit Category.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
|
@ -1,15 +0,0 @@
|
|||
<div class="form-group">
|
||||
{!! Form::label('days', $daysLabel) !!}
|
||||
{!! Form::text('days', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('fines', $finesLabel) !!}
|
||||
{!! Form::text('fines', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::submit($submitButtonText, ['class' => 'btn btn-primary form-control']) !!}
|
||||
</div>
|
||||
|
||||
@include('errors._errors')
|
|
@ -1,28 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Edit Your Fucking Fines</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($fine, ['method' => 'PATCH', 'route' => ['settings.fines.update', $fine->id]]) !!}
|
||||
|
||||
@include('lms/settings/fine/_form', ['submitButtonText' => 'Edit Fines', 'daysLabel' => 'Days..', 'finesLabel' => 'Fines..'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
|
@ -1,44 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">FINES</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Days</th>
|
||||
<th>Fines</th>
|
||||
<th>Options</th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($fines as $fine)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $fine->days }}</td>
|
||||
<td>{{ $fine->fines }}</td>
|
||||
<td><a href="{{ route('settings.fines.edit', $fine->id) }}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a></td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
|
@ -1,10 +0,0 @@
|
|||
<div class="form-group">
|
||||
{!! Form::label('name', 'Name..') !!}
|
||||
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::submit($submitButtonText, ['class' => 'btn btn-primary form-control']) !!}
|
||||
</div>
|
||||
|
||||
@include('errors._errors')
|
|
@ -1,28 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Add Your Fucking Student</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
<a href="{{ route('settings.student') }}" class="btn btn-danger">
|
||||
<span class="glyphicon glyphicon-chevron-left" ></span> BACK
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-4" >
|
||||
|
||||
{!! Form::open(['route' => 'settings.student.post']) !!}
|
||||
|
||||
@include('lms/settings/student/_form', ['submitButtonText' => 'Add Student'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
|
@ -1,28 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Edit Your Fucking Student</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
<a href="{{ route('settings.student') }}" class="btn btn-danger">
|
||||
<span class="glyphicon glyphicon-chevron-left" ></span> BACK
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-4" >
|
||||
|
||||
{!! Form::model($student, ['method' => 'PATCH', 'route' => ['settings.student.update', $student->id]]) !!}
|
||||
|
||||
@include('lms/settings/student/_form', ['submitButtonText' => 'Edit Student'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
|
@ -1,64 +0,0 @@
|
|||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Student</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<a href="{{ route('settings.student.add') }}" class="btn btn-danger">
|
||||
ADD NEW MOTHERFUCKING STUDENT
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Name</th>
|
||||
<th>Registered At</th>
|
||||
<th>Borrow</th>
|
||||
<th>Status</th>
|
||||
<th colspan="2"><center>Options</center></th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($students as $student)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $student->name }}</td>
|
||||
<td>{{ date('d-M-y', $student->registered_at) }}</td>
|
||||
<td>{{ $student->borrow }}</td>
|
||||
<td>
|
||||
@if($student->status == 1)
|
||||
Active
|
||||
@else
|
||||
-
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@if($student->status == 1)
|
||||
<a href="{{ route('settings.student.down', $student->id) }}" class="btn btn-danger">Matikan Masa Aktif</a>
|
||||
@else
|
||||
<a href="{{ route('settings.student.up', $student->id) }}" class="btn btn-primary">Perpanjang Masa Aktif</a>
|
||||
@endif
|
||||
</td>
|
||||
<td><a href="{{ route('settings.student.edit', $student->id) }}"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a>
|
||||
<a href="{{ route('settings.student.delete', $student->id) }}"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a></td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
3
resources/views/oai/oai.blade.php
Normal file
3
resources/views/oai/oai.blade.php
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
|
||||
?>
|
|
@ -1,9 +1,7 @@
|
|||
@if(Session::has('flash_message'))
|
||||
|
||||
<div class="alert alert-success">
|
||||
|
||||
<div class="alert summary-success">
|
||||
{{ session('flash_message') }}
|
||||
|
||||
</div>
|
||||
|
||||
@endif
|
|
@ -1,61 +1,134 @@
|
|||
<nav class="navbar navbar-default">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle Navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand marvel" href="#">LIBRARY MANAGEMENT SYSTEM</a>
|
||||
</div>
|
||||
<div class="header" id="menu" itemprop="hasPart" itemscope itemtype="http://schema.org/WPHeader">
|
||||
<div class="container">
|
||||
<div class="inner-container">
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
|
||||
@if(Auth::user())
|
||||
<div class="pure-hidden-tablet pure-hidden-desktop">
|
||||
<a href="#menu" id="menuLink" class="menu-link">
|
||||
<!-- Hamburger icon -->
|
||||
<span></span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a class="marvel" href="{{ url('/') }}">HOME</a></li>
|
||||
<li><a class="marvel" href="{{ url('books') }}">BOOKS</a></li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle marvel" data-toggle="dropdown" role="button" aria-expanded="false"> PEMINJAMAN <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="{{ route('peminjaman.peminjaman') }}" class="marvel">PEMINJAMAN</a></li>
|
||||
<li><a href="{{ route('peminjaman.laporan') }}" class="marvel">LAPORAN PEMINJAMAN</a></li>
|
||||
<li><a href="{{ route('peminjaman.histori') }}" class="marvel">HISTORI</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<div class="pure-g">
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle marvel" data-toggle="dropdown" role="button" aria-expanded="false"> SETTINGS <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="{{ route('settings.book') }}" class="marvel">BOOK</a></li>
|
||||
<li><a href="{{ route('settings.category') }}" class="marvel">CATEGORY</a></li>
|
||||
<li><a href="{{ route('settings.shelf') }}" class="marvel">SHELF</a></li>
|
||||
<li><a href="{{ route('settings.fines') }}" class="marvel">FINES</a></li>
|
||||
<li><a href="{{ route('settings.student') }}" class="marvel">STUDENT</a></li>
|
||||
<li><a href="{{ route('settings.periode') }}" class="marvel">PERIODE</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="headerArea" class="pure-u-2-5 pure-u-md-10-24">
|
||||
<h1 class="brand-title">
|
||||
<a href="/" class="pure-menu-heading pure-menu-link">
|
||||
<span class="e">Research Data Repository</span>
|
||||
</a>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-2-5 pure-u-md-11-24 pure-hidden-phone">
|
||||
<div class="topmenu" id="topmenu">
|
||||
<div id="topmenu-inner">
|
||||
<nav class="pure-menu pure-menu-open pure-menu-horizontal">
|
||||
<ul class="pure-menu-list">
|
||||
<li class="pure-menu-item {{ Route::currentRouteName() == 'home.index' ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ url('/') }}">HOME</a>
|
||||
</li>
|
||||
|
||||
<!-- <li><a class="marvel" href="{{ url('books') }}">BOOKS</a></li> -->
|
||||
@if(Auth::user())
|
||||
|
||||
<li class="pure-menu-item pure-menu-allow-hover custom-can-transform">
|
||||
<a href="#" class="pure-menu-link"> SETTINGS <span class="fa fa-angle-down"></span></a>
|
||||
<ul class="pure-menu-children" role="menu">
|
||||
<!--<li class="pure-menu-item"><a href="{{ route('settings.book') }}" class="pure-menu-link">BOOK</a></li>-->
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{ route('settings.document') }}" >DATASET</a></li>
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{ route('settings.collection') }}">COLLECTION</a></li>
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{ route('settings.project') }}">PROJECT</a></li>
|
||||
|
||||
<!-- <li><a href="{{ route('settings.shelf') }}" class="marvel">SHELF</a></li>-->
|
||||
|
||||
|
||||
<li class="pure-menu-item"><a href="{{ route('settings.license') }}" class="pure-menu-link">LICENSES</a></li>
|
||||
<li class="pure-menu-item"><a href="{{ route('settings.person') }}" class="pure-menu-link">PERSON</a></li>
|
||||
|
||||
<!-- <li><a href="{{ route('settings.periode') }}" class="marvel">PERIODE</a></li> -->
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@else
|
||||
|
||||
<li class="pure-menu-item {{ Route::currentRouteName() == 'search.index' ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ route('search.index') }}">
|
||||
<i class="fa fa-search" aria-hidden="true"></i>
|
||||
SEARCH
|
||||
</a>
|
||||
</li>
|
||||
<li class="pure-menu-item pure-menu-allow-hover">
|
||||
<a href="#" class="pure-menu-link">
|
||||
<i class="fa fa-bars"></i>
|
||||
MENU
|
||||
<span class="fa fa-angle-down"></span>
|
||||
</a>
|
||||
<ul class="pure-menu-children" role="menu">
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{ URL::route('oai') }}" target="_blank"> OAI-PMH 2.0</a></li>
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{ URL::route('dataset.create1') }}">PUBLISH</a></li>
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{ URL::route('home.news') }}">NEWS</a></li>
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{ route('documents') }}">DATASETS</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1-5 pure-u-md-3-24 pure-hidden-phone">
|
||||
<nav class="pure-menu pure-menu-horizontal custom-menu-right">
|
||||
<ul class="pure-menu-list">
|
||||
@if (Auth::guest())
|
||||
<li class="pure-menu-item {{ Route::currentRouteName() == 'login' ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ route('login') }}">LOGIN</a>
|
||||
</li>
|
||||
<!--<li class="pure-menu-item"><a class="pure-menu-link" href="{{ url('register') }}">REGISTER</a></li>-->
|
||||
@else
|
||||
<li class="pure-menu-item pure-menu-allow-hover custom-can-transform">
|
||||
<a href="#" class="pure-menu-link">{{ Auth::user()->login }} <span class="fa fa-angle-down"></span></a>
|
||||
<ul class="pure-menu-children" role="menu">
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{route('user.edit',['id'=>Auth::user()->id]) }}"><i class="fa fa-user"></i> EDIT</a> </li>
|
||||
@hasrole('administrator')
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{route('user.index') }}"><i class="fa fa-users"></i> EDIT USERS</a></li>
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{route('role.index') }}"><i class="fa fa-key"></i> EDIT ROLES</a></li>
|
||||
@endhasrole
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{ route('logout') }}"><i class="fa fa-sign-out"></i> LOG OUT</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function toggleClass(element, className) {
|
||||
if (!element || !className) {
|
||||
return;
|
||||
}
|
||||
|
||||
var classString = element.className, nameIndex = classString.indexOf(className);
|
||||
if (nameIndex == -1) {
|
||||
classString += ' ' + className;
|
||||
}
|
||||
else {
|
||||
classString = classString.substr(0, nameIndex) + classString.substr(nameIndex + className.length);
|
||||
}
|
||||
element.className = classString;
|
||||
}
|
||||
|
||||
document.getElementById('menuLink').addEventListener('click', function () {
|
||||
toggleClass(document.getElementById('mobile-menu'), 'pure-hidden-phone');
|
||||
});
|
||||
</script>
|
||||
|
||||
@endif
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
@if (Auth::guest())
|
||||
<li><a href="{{ url('/auth/login') }}">LOGIN</a></li>
|
||||
<li><a href="{{ url('/auth/register') }}">REGISTER</a></li>
|
||||
@else
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ Auth::user()->name }} <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="{{ url('/auth/logout') }}">LOG OUT</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
50
resources/views/publish/create-step1.blade.php
Normal file
50
resources/views/publish/create-step1.blade.php
Normal file
|
@ -0,0 +1,50 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'Publish')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-upload"></i> Publish New Dataset - Step 1</h2>
|
||||
</div>
|
||||
|
||||
{{-- <h3 class="document-type">Dokumenttyp und Datei wählen</h3> --}}
|
||||
{{-- <form action="/dataset/store-step1" method="post" class="pure-form" enctype="multipart/form-data"> --}}
|
||||
{!! Form::model($dataset, ['method' => 'POST', 'route' => ['dataset.store1'], 'class' => 'pure-form']) !!}
|
||||
|
||||
{{ csrf_field() }}
|
||||
<fieldset class="left-labels">
|
||||
|
||||
<legend>Datensatztyp</legend>
|
||||
<div class="description hint">
|
||||
<p>Bitte wählen Sie einen Datensatztyp aus der Liste aus.</p></div><p></p><div class="form-item">
|
||||
<label for="documentType">Datensatztyp<span class="required" title="Dieses Feld muss ausgefüllt werden."> *</span></label>
|
||||
<div class="select" style="width:300px" title="Bitte wählen Sie einen Datensatztyp aus der Liste aus.">
|
||||
{!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="left-labels">
|
||||
<legend>Einräumung eines einfachen Nutzungsrechts</legend>
|
||||
<div class="class="pure-u-1 pure-u-md-1-2 pure-div"">
|
||||
<small for="rights" class="pure-form-message-inline">Ich habe diese rechtlichen Hinweise gelesen und bin damit einverstanden.
|
||||
<span class="required" title="Dieses Feld muss ausgefüllt werden.">*</span>
|
||||
</small>
|
||||
<input name="rights" value="0" type="hidden">
|
||||
<input class="form-checkbox" name="rights" id="rights" value="1" type="checkbox">
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<br />
|
||||
<div class="pure-controls">
|
||||
<button type="submit" class="pure-button button-small">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
<span>Weiter zum nächsten Schritt</span>
|
||||
</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
@include('errors._errors')
|
||||
|
||||
@stop
|
106
resources/views/publish/create-step2.blade.php
Normal file
106
resources/views/publish/create-step2.blade.php
Normal file
|
@ -0,0 +1,106 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'Publish')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-upload"></i> Publish New Dataset - Step 2</h2>
|
||||
</div>
|
||||
|
||||
<h3 class="document-type">Attribute eingeben</h3>
|
||||
{{-- <div method="post" enctype="multipart/from-data" class="pure-form"> --}}
|
||||
{!! Form::model($dataset, ['method' => 'post', 'files' => true , 'route' => ['dataset.store2'], 'class' => 'pure-form']) !!}
|
||||
|
||||
<fieldset id="fieldset-general">
|
||||
<legend>General</legend>
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('Type', 'Type..') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('CreatingCorporation', 'Creating Corporation') !!}
|
||||
{!! Form::text('CreatingCorporation', null, ['class' => 'pure-u-23-24']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('EmbargoDate', 'Embargo Date') !!}
|
||||
{!! Form::date('EmbargoDate', null, ['placeholder' => date('y-m-d'), 'class' => 'pure-u-23-24']) !!}
|
||||
<small id="projectHelp" class="pure-form-message-inline">EmbargoDate is optional</small>
|
||||
</div>
|
||||
|
||||
<!-- checkboxes -->
|
||||
<label for="BelongsToBibliography" class="pure-checkbox">
|
||||
<input type="hidden" name="BelongsToBibliography" value="0">
|
||||
<input name="BelongsToBibliography" value="1" type="checkbox" class="form-check-input">
|
||||
Belongs To Bibliography?
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="fieldset-titles">
|
||||
<legend>Main Title & Abstract</legend>
|
||||
<div class="pure-g">
|
||||
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('TitleMain', 'Main Title ') !!}
|
||||
{!! Form::text('TitleMain[Value]', null, ['class' => 'pure-u-23-24']) !!}
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('language', 'Title Language..') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('TitleMain[Language]', $languages, null, ['placeholder' => '--no language--']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('TitleAbstract', 'Main Abstract ') !!}
|
||||
{!! Form::text('TitleAbstract[Value]', null, ['class' => 'pure-u-23-24']) !!}
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('language', 'Abstract Language..') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('TitleAbstract[Language]', $languages, null, ['placeholder' => '--no language--']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="fieldset-files">
|
||||
<legend>Files</legend>
|
||||
<div class="pure-g">
|
||||
<div class="fpure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('dataset_file', 'Dataset File') !!}
|
||||
<input type="file" {{ (!empty($dataset['DatasetFile'])) ? "disabled" : "" }} class="pure-u-23-24" name="dataset_file">
|
||||
<small id="fileHelp" class="pure-form-message-inline">Please upload a valid image file. Size of image should not be more than 2MB.</small>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
<br />
|
||||
<div class="pure-controls">
|
||||
<button type="submit" class="pure-button button-small">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
<span>Review Dataset Details</span>
|
||||
</button>
|
||||
</div>
|
||||
@include('errors._errors')
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
@if(isset($dataset['DatasetFile']))
|
||||
<form action="" method="post">
|
||||
{{ csrf_field() }}
|
||||
<button type="submit" class="btn btn-danger">Remove Image</button>
|
||||
</form>
|
||||
@endif
|
||||
|
||||
@stop
|
67
resources/views/publish/create-step3.blade.php
Normal file
67
resources/views/publish/create-step3.blade.php
Normal file
|
@ -0,0 +1,67 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'Publish')
|
||||
|
||||
@section('content')
|
||||
<h1>Add New Dataset - Step 3</h1>
|
||||
<hr>
|
||||
<h3>Review Dataset Details</h3>
|
||||
<form action={{ route('dataset.store') }}} method="post" class="pure-form" >
|
||||
{{ csrf_field() }}
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td>Dataset Type:</td>
|
||||
<td><strong>{{ $dataset['Type'] }}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Creating Corporation:</td>
|
||||
<td><strong>{{ $dataset['CreatingCorporation'] or '' }}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Embargo Date:</td>
|
||||
<td><strong>{{ $dataset['EmbargoDate'] or '' }}</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Main Title:</td>
|
||||
@if(isset($dataset['TitleMain']))
|
||||
<td><strong>{{ $dataset['TitleMain']['Value'] }} </strong></td>
|
||||
@endif
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Main Abstract:</td>
|
||||
@if(isset($dataset['TitleAbstract']))
|
||||
<td><strong>{{ $dataset['TitleAbstract']['Value'] }} </strong></td>
|
||||
@endif
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Belongs To Bibliography:</td>
|
||||
<td><strong>{{ isset($dataset['BelongsToBibliography']) ? 'Yes' : 'No' }}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Product Image:</td>
|
||||
<td><strong><img alt="Product Image" src="/storage/files/{{$dataset['DatasetFile']}}"/></strong></td>
|
||||
</tr>
|
||||
|
||||
{{-- <tr>
|
||||
<td>Product Image:</td>
|
||||
<td><strong><img alt="Product Image" src="/storage/productimg/{{$product->productImg}}"/></strong></td>
|
||||
</tr> --}}
|
||||
</table>
|
||||
<div class="pure-controls">
|
||||
<a type="button" href="{{ route('dataset.create1') }}" class="pure-button button-small is-warning">Back to Step 1</a>
|
||||
<a type="button" href={{ route('dataset.create2') }} class="pure-button button-small is-warning">Back to Step 2</a>
|
||||
<button type="submit" class="pure-button button-small">
|
||||
<i class="fa fa-save"></i>
|
||||
<span>Create Product</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
@include('errors._errors')
|
||||
|
||||
@stop
|
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
|
10
resources/views/lms/peminjaman/histori.blade.php → resources/views/rdr/borrow/histori.blade.php
Executable file → Normal file
10
resources/views/lms/peminjaman/histori.blade.php → resources/views/rdr/borrow/histori.blade.php
Executable file → Normal file
|
@ -1,8 +1,8 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Histori</h1>
|
||||
<h1 class="title">Histori</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
|
@ -22,14 +22,12 @@
|
|||
|
||||
@foreach($transactions as $transaction)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $transaction->student->name }}</td>
|
||||
<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
|
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
|
10
resources/views/lms/settings/book/_form.blade.php → resources/views/rdr/settings/book/_form.blade.php
Executable file → Normal file
10
resources/views/lms/settings/book/_form.blade.php → resources/views/rdr/settings/book/_form.blade.php
Executable file → Normal file
|
@ -10,7 +10,7 @@
|
|||
|
||||
<div class="form-group">
|
||||
{!! Form::label('year', 'Year..') !!}
|
||||
{!! Form::select('year', $years, null, ['class' => 'form-control']) !!}
|
||||
{!! Form::select('year', $years, null, ['id' => 'year', 'class' => 'form-control', 'placeholder' => 'None']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
|
@ -19,14 +19,14 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('category_id', 'Category..') !!}
|
||||
{!! Form::select('category_id', $categories, null, ['id' => 'category_id', 'class' => 'form-control']) !!}
|
||||
{!! Form::label('project_id', 'Project..') !!}
|
||||
{!! Form::select('project_id', $categories, null, ['id' => 'project_id', 'class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{{-- <div class="form-group">
|
||||
{!! Form::label('shelf_id', 'Shelf..') !!}
|
||||
{!! Form::select('shelf_id', $shelves, null, ['id' => 'shelf_id', 'class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::submit($submitButtonText, ['class' => 'btn btn-primary form-control']) !!}
|
6
resources/views/lms/settings/book/add.blade.php → resources/views/rdr/settings/book/add.blade.php
Executable file → Normal file
6
resources/views/lms/settings/book/add.blade.php → resources/views/rdr/settings/book/add.blade.php
Executable file → Normal file
|
@ -1,8 +1,8 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Add Your Book</h1>
|
||||
<h1 class="title">Add Your Book</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
|
||||
{!! Form::open(['route' => 'settings.book.post']) !!}
|
||||
|
||||
@include('lms/settings/book/_form', ['submitButtonText' => 'Add Book'])
|
||||
@include('rdr/settings/book/_form', ['submitButtonText' => 'Add Book'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
24
resources/views/lms/settings/book/book.blade.php → resources/views/rdr/settings/book/book.blade.php
Executable file → Normal file
24
resources/views/lms/settings/book/book.blade.php → resources/views/rdr/settings/book/book.blade.php
Executable file → Normal file
|
@ -1,8 +1,8 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Book</h1>
|
||||
<h1 class="title">Book</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
|
@ -20,8 +20,7 @@
|
|||
<th>Author</th>
|
||||
<th>Year</th>
|
||||
<th>Stock</th>
|
||||
<th>Category</th>
|
||||
<th>Shelf</th>
|
||||
<th>Project</th>
|
||||
<th>Options</th>
|
||||
|
||||
</thead>
|
||||
|
@ -30,17 +29,20 @@
|
|||
|
||||
@foreach($books as $book)
|
||||
|
||||
<tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ $book->title }}</td>
|
||||
<td>{{ $book->author }}</td>
|
||||
<td>{{ $book->year }}</td>
|
||||
<td>{{ $book->stock }}</td>
|
||||
<td>{{ $book->category->category }}</td>
|
||||
<td>{{ $book->shelf->shelf }}</td>
|
||||
<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>
|
||||
|
||||
@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
|
10
resources/views/lms/settings/book/edit.blade.php → resources/views/rdr/settings/book/edit.blade.php
Executable file → Normal file
10
resources/views/lms/settings/book/edit.blade.php → resources/views/rdr/settings/book/edit.blade.php
Executable file → Normal file
|
@ -1,12 +1,12 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Edit Your Fucking Book</h1>
|
||||
<h1 class="title">Edit Your Book</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
<a href="" class="btn btn-danger">
|
||||
|
||||
<a href="{{ route('settings.book') }}" class="btn btn-danger">
|
||||
<span class="glyphicon glyphicon-chevron-left" ></span> BACK
|
||||
</a>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
|
||||
{!! Form::model($book, ['method' => 'PATCH', 'route' => ['settings.book.update', $book->id]]) !!}
|
||||
|
||||
@include('lms/settings/book/_form', ['submitButtonText' => 'Edit Book'])
|
||||
@include('rdr/settings/book/_form', ['submitButtonText' => 'Edit Book', 'bookLabel' => 'Edit Book.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
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
|
0
resources/views/lms/settings/periode/_form.blade.php → resources/views/rdr/settings/periode/_form.blade.php
Executable file → Normal file
0
resources/views/lms/settings/periode/_form.blade.php → resources/views/rdr/settings/periode/_form.blade.php
Executable file → Normal file
6
resources/views/lms/settings/periode/edit.blade.php → resources/views/rdr/settings/periode/edit.blade.php
Executable file → Normal file
6
resources/views/lms/settings/periode/edit.blade.php → resources/views/rdr/settings/periode/edit.blade.php
Executable file → Normal file
|
@ -1,8 +1,8 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Edit Your Fucking Fines</h1>
|
||||
<h1 class="title">Edit Your Periode</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
|
||||
{!! Form::model($periode, ['method' => 'PATCH', 'route' => ['settings.periode.update', $periode->id]]) !!}
|
||||
|
||||
@include('lms/settings/periode/_form', ['submitButtonText' => 'Edit Periode', 'daysLabel' => 'Days..'])
|
||||
@include('rdr/settings/periode/_form', ['submitButtonText' => 'Edit Periode', 'daysLabel' => 'Days..'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
8
resources/views/lms/settings/periode/periode.blade.php → resources/views/rdr/settings/periode/periode.blade.php
Executable file → Normal file
8
resources/views/lms/settings/periode/periode.blade.php → resources/views/rdr/settings/periode/periode.blade.php
Executable file → Normal file
|
@ -1,8 +1,8 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">PERIODE</h1>
|
||||
<h1 class="title">PERIODE</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
|
@ -22,11 +22,9 @@
|
|||
|
||||
@foreach($periodes as $periode)
|
||||
|
||||
<tr>
|
||||
|
||||
<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
|
0
resources/views/lms/settings/shelf/_form.blade.php → resources/views/rdr/settings/shelf/_form.blade.php
Executable file → Normal file
0
resources/views/lms/settings/shelf/_form.blade.php → resources/views/rdr/settings/shelf/_form.blade.php
Executable file → Normal file
6
resources/views/lms/settings/shelf/add.blade.php → resources/views/rdr/settings/shelf/add.blade.php
Executable file → Normal file
6
resources/views/lms/settings/shelf/add.blade.php → resources/views/rdr/settings/shelf/add.blade.php
Executable file → Normal file
|
@ -1,8 +1,8 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Add Your Fucking Category</h1>
|
||||
<h1 class="title">Add Your Shelf</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
|
||||
{!! Form::open(['route' => 'settings.shelf.post']) !!}
|
||||
|
||||
@include('lms/settings/shelf/_form', ['submitButtonText' => 'Add Shelf', 'shelfLabel' => 'Add new Shelf.'])
|
||||
@include('rdr/settings/shelf/_form', ['submitButtonText' => 'Add Shelf', 'shelfLabel' => 'Add new Shelf.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
6
resources/views/lms/settings/shelf/edit.blade.php → resources/views/rdr/settings/shelf/edit.blade.php
Executable file → Normal file
6
resources/views/lms/settings/shelf/edit.blade.php → resources/views/rdr/settings/shelf/edit.blade.php
Executable file → Normal file
|
@ -1,8 +1,8 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Edit Your Fucking Shelf</h1>
|
||||
<h1 class="title">Edit Your Shelf</h1>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
|
||||
{!! Form::model($shelf, ['method' => 'PATCH', 'route' => ['settings.shelf.update', $shelf->id]]) !!}
|
||||
|
||||
@include('lms/settings/shelf/_form', ['submitButtonText' => 'Edit Shelf', 'shelfLabel' => 'Edit Shelf.'])
|
||||
@include('rdr/settings/shelf/_form', ['submitButtonText' => 'Edit Shelf', 'shelfLabel' => 'Edit Shelf.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
20
resources/views/lms/settings/shelf/shelf.blade.php → resources/views/rdr/settings/shelf/shelf.blade.php
Executable file → Normal file
20
resources/views/lms/settings/shelf/shelf.blade.php → resources/views/rdr/settings/shelf/shelf.blade.php
Executable file → Normal file
|
@ -1,36 +1,34 @@
|
|||
@extends('app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="judul">Shelf</h1>
|
||||
<h1 class="title">Shelf</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<a href="{{ route('settings.shelf.add') }}" class="btn btn-danger">
|
||||
ADD NEW MOTHERFUCKING SHELF
|
||||
ADD NEW SHELF
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<thead>
|
||||
<th>Shelf</th>
|
||||
<th>Options</th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($shelves as $shelf)
|
||||
|
||||
<tr>
|
||||
|
||||
<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>
|
||||
|
||||
<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
|
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>
|
123
resources/views/settings/document/_form.blade.php
Normal file
123
resources/views/settings/document/_form.blade.php
Normal file
|
@ -0,0 +1,123 @@
|
|||
<fieldset id="fieldset-General">
|
||||
<legend>General</legend>
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('type', 'Type..') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --']) !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('server_state', 'Status..') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('server_state', Config::get('enums.server_states'), null, ['id' => 'server_state']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('thesis_year_accepted', 'Jahr der Erstveröffentlichung') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('thesis_year_accepted', $years, null, ['id' => 'thesis_year_accepted', 'placeholder' => '-- None --']) !!}
|
||||
</div>
|
||||
<small id="thesisYearHelp" class="pure-form-message-inline">thesis_year_accepted is optional</small>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('project_id', 'Project..') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('project_id', $projects, null, ['id' => 'project_id', 'placeholder' => '--no project--']) !!}
|
||||
</div>
|
||||
<small id="projectHelp" class="pure-form-message-inline">project is optional</small>
|
||||
</div>
|
||||
|
||||
{{-- <div class="pure-control-group">
|
||||
{!! Form::label('shelf_id', 'Shelf..') !!}
|
||||
{!! Form::select('shelf_id', $shelves, null, ['id' => 'shelf_id']) !!}
|
||||
</div> --}}
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('embargo_date', 'Embargo Date') !!}
|
||||
{!! Form::date('embargo_date', null, ['placeholder' => date('y-m-d'), 'class' => 'pure-u-23-24']) !!}
|
||||
<small id="projectHelp" class="pure-form-message-inline">embargo_date is optional</small>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="fieldset-titles">
|
||||
<legend>Title</legend>
|
||||
<div class="pure-g">
|
||||
|
||||
@foreach($document->titles as $key => $title)
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{{ Form::label('title', 'Title ' .($key+1).':') }}
|
||||
<!-- Notice this is an array now: -->
|
||||
{{ Form::text('titles['.$title->id.'][value]', $title->value, ['class' => 'pure-u-23-24']) }}
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{{ Form::label('language', 'Language..') }}
|
||||
<div class="select pure-u-23-24">
|
||||
{{ Form::select('titles['.$title->id.'][language]', $languages, $title->language, ['placeholder' => '--no language--']) }}
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="fieldset-abstracts">
|
||||
<legend>Abstract</legend>
|
||||
<div class="pure-g">
|
||||
|
||||
@foreach($document->abstracts as $key => $abstract)
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{{ Form::label('abstract', 'Abstract ' .($key+1).':') }}
|
||||
<!-- Notice this is an array now: -->
|
||||
{{ Form::textarea('abstracts['.$abstract->id.'][value]', $abstract->value, ['class' => 'pure-u-23-24', 'size' => '70x6']) }}
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{{ Form::label('language', 'Language..') }}
|
||||
<div class="select pure-u-23-24">
|
||||
{{ Form::select('abstracts['.$abstract->id.'][language]', $languages, $abstract->language, ['placeholder' => '--no language--']) }}
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset id="fieldset-licenses">
|
||||
<legend>Licenses</legend>
|
||||
|
||||
{{-- <div class="form-group">
|
||||
{!! Form::label('licenses[]', 'Licenses..') !!}
|
||||
{!! Form::select('licenses[]', $options, array_pluck($document->licenses, 'id'), ['multiple' ]) !!}
|
||||
</div> --}}
|
||||
|
||||
<div class="pure-control-group checkboxlist">
|
||||
@foreach ($options as $license)
|
||||
|
||||
<label for={{"license". $license->id }} class="pure-checkbox">
|
||||
<input name="licenses[]" value={{ $license->id }} {{ (in_array($license->id, $checkeds)) ? 'checked=checked' : '' }} type="checkbox" class="form-check-input">
|
||||
{{ $license->name_long }}
|
||||
</label>
|
||||
|
||||
<!--{!! Form::checkbox('licenses[]', $license->id, in_array($license->id, $checkeds) ? true : false) !!}
|
||||
{!! Form::label('license' . $license->id, $license->name_long) !!}-->
|
||||
@endforeach
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
||||
<br />
|
||||
<div class="pure-controls">
|
||||
<button type="submit" class="pure-button button-small">
|
||||
<i class="fa fa-save"></i>
|
||||
<span>{!! $submitButtonText !!}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
@include('errors._errors')
|
96
resources/views/settings/document/document.blade.php
Normal file
96
resources/views/settings/document/document.blade.php
Normal file
|
@ -0,0 +1,96 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-archive"></i> Datasets</h2>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="sidebar-simplesearch pure-u-1">
|
||||
{!! Form::open(array('route' => 'settings.document','method' => 'GET', 'class'=>'pure-form')) !!}
|
||||
<p>
|
||||
{!! Form::text('search', null, array('class'=>'pure-u-1 pure-u-md-1-2', 'placeholder'=>'filter for the title...')) !!}
|
||||
|
||||
<div class="select pure-u-1 pure-u-md-1-2">
|
||||
{!! Form::select('state', Config::get('enums.server_states'), 'published', ['class' => 'pure-u-1']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2">
|
||||
<button type="submit">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
</div>
|
||||
</p>
|
||||
<input type="hidden" name="searchtype" id="searchtype" value="simple" />
|
||||
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1">
|
||||
<div class="panel-heading">Page {{ $documents->currentPage() }} of {{ $documents->lastPage() }}</div>
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>id</th>
|
||||
<th>Document Type</th>
|
||||
<th>Project</th>
|
||||
<th>Titles</th>
|
||||
<th>Options</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($documents as $document)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $document->id }}</td>
|
||||
<td>{{ $document->type }}</td>
|
||||
@if($document->hasProject())
|
||||
<td>{{ $document->project->name }}</td>
|
||||
@else
|
||||
<td>--</td>
|
||||
@endif
|
||||
|
||||
<td>
|
||||
@foreach ($document->titles as $title)
|
||||
<p>title: {{ $title->value }}</p>
|
||||
@endforeach
|
||||
|
||||
</td>
|
||||
|
||||
{{-- <td>
|
||||
@foreach ($document->collections as $collection)
|
||||
<p>in collection: {{ $collection->name }}</p>
|
||||
@endforeach --}}
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<a class="view" href="{{ route('settings.document.show', $document->id) }}"><span> </span></a>
|
||||
<a class="edit" href="{{ route('settings.document.edit', $document->id) }}"><span> </span></a>
|
||||
<!--<a class="delete" href="{{ route('settings.book.delete', $document->id) }}"><span> </span></a>-->
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="pure-u-1">
|
||||
{{ $documents
|
||||
->appends(Input::except('page'))
|
||||
->links('vendor.pagination.default') }}
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
31
resources/views/settings/document/edit.blade.php
Normal file
31
resources/views/settings/document/edit.blade.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-3-3">
|
||||
<div class="content">
|
||||
<h1 class="title">Edit Your Dataset</h1>
|
||||
<div>
|
||||
<a href="{{ route('settings.document') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
{!! Form::model($document, ['method' => 'PATCH', 'route' => ['settings.document.update', $document->id], 'class' => 'pure-form', 'enctype' => 'multipart/form-data' ]) !!}
|
||||
|
||||
@include('settings/document/_form', ['submitButtonText' => 'Edit Dataset', 'bookLabel' => 'Edit Dataset.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@stop
|
31
resources/views/settings/document/show.blade.php
Normal file
31
resources/views/settings/document/show.blade.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div>
|
||||
<div id="titlemain-wrapper">
|
||||
<div class="frontdoor_pagination">
|
||||
<a href="{{ route('settings.document') }}" class="pure-button">
|
||||
<i class="fa fa-arrow-left"></i> 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 }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
77
resources/views/settings/license/_form.blade.php
Normal file
77
resources/views/settings/license/_form.blade.php
Normal file
|
@ -0,0 +1,77 @@
|
|||
<fieldset>
|
||||
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('name', 'Lizenzname') !!}
|
||||
{!! Form::text('name_long', null, ['class' => 'pure-u-23-24']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('language', 'Sprache') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('language', $languages, null, ['id' => 'language', 'placeholder' => '--no language--']) !!}
|
||||
</div>
|
||||
<small id="languageHelp" class="pure-form-message-inline">language is optional</small>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('link_licence', 'URI zur Lizenz') !!}
|
||||
{!! Form::text('link_licence', null, ['class' => 'pure-u-23-24']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('link_logo', 'URI zum Logo') !!}
|
||||
{!! Form::text('link_logo', null, ['class' => 'pure-u-23-24']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('desc_text', 'Beschreibungstext') !!}
|
||||
{!! Form::textarea('desc_text', null, ['class' => 'pure-u-23-24', 'size' => '70x6']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('desc_markup', 'Beschreibung als Markup') !!}
|
||||
{!! Form::textarea('desc_markup', null, ['class' => 'pure-u-23-24', 'size' => '70x6']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('comment_internal', 'Interne Bermerkung') !!}
|
||||
{!! Form::textarea('comment_internal', null, ['class' => 'pure-u-23-24', 'size' => '70x6']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('mime_type', 'Internet Media Typ') !!}
|
||||
{!! Form::text('mime_type', null, ['class' => 'pure-u-23-24']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('sort_order', 'Sortierreihenfolge') !!}
|
||||
{!! Form::text('sort_order', null, ['class' => 'pure-u-23-24']) !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- checkboxes -->
|
||||
<label for="active" class="pure-checkbox">
|
||||
<input type="hidden" name="active" value="0">
|
||||
<input name="active" value="1" {{ ($license->active == 1) ? 'checked="checked" ' : '' }} type="checkbox" class="form-check-input">
|
||||
Active?
|
||||
</label>
|
||||
|
||||
<label for="pod_allowed" class="pure-checkbox">
|
||||
<input type="hidden" name="pod_allowed" value="0">
|
||||
<input name="pod_allowed" value="1" {{ ($license->pod_allowed == 1) ? 'checked="checked" ' : '' }} type="checkbox" class="form-check-input">
|
||||
Print on Demand
|
||||
</label>
|
||||
|
||||
|
||||
<br />
|
||||
<div class="pure-controls">
|
||||
{!! Form::submit($submitButtonText, ['class' => 'pure-button button-small']) !!}
|
||||
</div>
|
||||
|
||||
|
||||
</fieldset>
|
||||
|
||||
@include('errors._errors')
|
28
resources/views/settings/license/edit.blade.php
Normal file
28
resources/views/settings/license/edit.blade.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1">
|
||||
<div class="content">
|
||||
<h1 class="title">Edit Your License</h1>
|
||||
|
||||
<div>
|
||||
<a href="{{ route('settings.license') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{!! Form::model($license, ['method' => 'PATCH', 'route' => ['settings.license.update', $license->id], 'class' => 'pure-form']) !!}
|
||||
|
||||
@include('settings/license/_form', ['submitButtonText' => 'Edit License', 'daysLabel' => 'Days..', 'finesLabel' => 'Licenses..'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
43
resources/views/settings/license/license.blade.php
Normal file
43
resources/views/settings/license/license.blade.php
Normal file
|
@ -0,0 +1,43 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-file"></i> LICENSES</h2>
|
||||
</div>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
|
||||
<thead>
|
||||
<th>Licence</th>
|
||||
<th></th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($licenses as $license)
|
||||
|
||||
<tr>
|
||||
<td>{{ $license->name_long }}</td>
|
||||
|
||||
<td>
|
||||
<a class="edit" href="{{ route('settings.license.edit', $license->id) }}">
|
||||
<span>edit</span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
47
resources/views/settings/person/_form.blade.php
Normal file
47
resources/views/settings/person/_form.blade.php
Normal file
|
@ -0,0 +1,47 @@
|
|||
<fieldset>
|
||||
<div class="pure-control-group">
|
||||
{!! Form::label('academic_title', 'Title..') !!}
|
||||
{!! Form::text('academic_title', null, ['class' => 'form-control']) !!}
|
||||
<aside id="titleHelp" class="pure-form-message-inline">title is optional.</aside>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
{!! Form::label('last_name', 'Name..') !!}
|
||||
{!! Form::text('last_name', null, ['class' => 'form-control']) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group" ">
|
||||
{!! Form::label('first_name', 'First Name..') !!}
|
||||
{!! Form::text('first_name', null, ['class' => 'form-control']) !!}
|
||||
<aside id="firstNameHelp" class="pure-form-message-inline">first name is optional.</aside>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="pure-control-group">
|
||||
{!! Form::label('email', 'Email..') !!}
|
||||
{!! Form::text('email', null, ['class' => 'form-control']) !!}
|
||||
<small id="emailHelp" class="pure-form-message-inline">email is optional.</small>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
{!! Form::label('identifier_orcid', 'ORCID..') !!}
|
||||
{!! Form::text('identifier_orcid', null, ['class' => 'form-control']) !!}
|
||||
<small id="orcidHelp" class="pure-form-message-inline">orcid is optional.</small>
|
||||
</div>
|
||||
|
||||
<h5><b>Status of person</b></h5>
|
||||
<div class="pure-control-group checkboxlist">
|
||||
<label for="status" class="pure-checkbox">
|
||||
<input type="hidden" name="status" value="0">
|
||||
<input name="status" value="1" {{ (isset($person) && $person->status == 1) ? 'checked="checked" ' : '' }} type="checkbox" class="form-check-input">
|
||||
Active?
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<!-- <div class="pure-controls">-->
|
||||
{!! Form::submit($submitButtonText, ['class' => 'pure-button button-small']) !!}
|
||||
<!-- </div>-->
|
||||
</fieldset>
|
||||
|
||||
@include('errors._errors')
|
27
resources/views/settings/person/add.blade.php
Normal file
27
resources/views/settings/person/add.blade.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Add Your Person</h1>
|
||||
<div>
|
||||
<a href="{{ route('settings.person') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
{!! Form::open(['route' => 'settings.person.post', 'class' => 'pure-form pure-form-stacked']) !!}
|
||||
|
||||
@include('settings/person/_form', ['submitButtonText' => 'Add Person', 'projectLabel' => 'Save Person.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
38
resources/views/settings/person/edit.blade.php
Normal file
38
resources/views/settings/person/edit.blade.php
Normal file
|
@ -0,0 +1,38 @@
|
|||
@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">Edit {{ $person->getFullName() }}</h1>
|
||||
|
||||
<div>
|
||||
<a href="{{ route('settings.person') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
{!! Form::model($person, ['method' => 'PATCH', 'route' => ['settings.person.update', $person->id],'class' => 'pure-form pure-form-aligned']) !!}
|
||||
|
||||
@include('settings/person/_form', ['submitButtonText' => 'Save Person'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-3">
|
||||
<div class="sidebar">
|
||||
@foreach ($person->documents as $document)
|
||||
<p>document role: {{ $document->pivot->role }}</p>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
75
resources/views/settings/person/person.blade.php
Normal file
75
resources/views/settings/person/person.blade.php
Normal file
|
@ -0,0 +1,75 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-pencil"></i> Persons Management</h2>
|
||||
</div>
|
||||
|
||||
<a class="pure-button button-small is-primary" href="{{ route('settings.person.add') }}">
|
||||
<i class="fa fa-plus-circle"></i>
|
||||
<span>ADD NEW Person</span>
|
||||
</a>
|
||||
<br><br>
|
||||
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>ORCID</th>
|
||||
<!-- <th>Borrow</th> -->
|
||||
<th>Status</th>
|
||||
<th></th>
|
||||
<th>Document Count</th>
|
||||
<th colspan="2"><center>Options</center></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($persons as $person)
|
||||
|
||||
<tr>
|
||||
|
||||
<td>{{ $person->last_name }}</td>
|
||||
<!-- <td>{{ date('d-M-y', $person->registered_at) }}</td>-->
|
||||
<td>{{ $person->identifier_orcid }}</td>
|
||||
<!-- <td>{{ $person->borrow }}</td> -->
|
||||
<td>
|
||||
@if($person->status == 1)
|
||||
Active
|
||||
@else
|
||||
Inactive
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@if($person->status == 1)
|
||||
<a href="{{ route('settings.person.down', $person->id) }}" class="pure-button button-small is-warning">Deactivate</a>
|
||||
@else
|
||||
<a href="{{ route('settings.person.up', $person->id) }}" class="pure-button button-small is-success">Activate</a>
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $person->documents->count() }}</td>
|
||||
<td>
|
||||
<a class="edit" href="{{ route('settings.person.edit', $person->id) }}"><span> </span></a>
|
||||
<a class="delete" href="{{ route('settings.person.delete', $person->id) }}"><span> </span></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
18
resources/views/settings/project/_form.blade.php
Normal file
18
resources/views/settings/project/_form.blade.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<fieldset>
|
||||
<div class="pure-control-group">
|
||||
{{ Form::label('name', 'project name') }}
|
||||
{{ Form::text('name', null, ['class' => 'form-control']) }}
|
||||
<em>*</em>
|
||||
</div>
|
||||
<div class="pure-control-group">
|
||||
{{ Form::label('label', 'project label') }}
|
||||
{{ Form::text('label', null, ['class' => 'form-control']) }}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<!-- <div class="pure-controls">-->
|
||||
{{ Form::submit($submitButtonText, ['class' => 'pure-button button-small']) }}
|
||||
<!--</div>-->
|
||||
</fieldset>
|
||||
|
||||
@include('errors._errors')
|
27
resources/views/settings/project/add.blade.php
Normal file
27
resources/views/settings/project/add.blade.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
<h1 class="title">Add Your Project</h1>
|
||||
<div>
|
||||
<a href="{{ route('settings.project') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
{!! Form::open(['route' => 'settings.project.post', 'class' => 'pure-form pure-form-stacked']) !!}
|
||||
|
||||
@include('settings/project/_form', ['submitButtonText' => 'Save Project', 'projectLabel' => 'Save Project.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
44
resources/views/settings/project/category.blade.php
Normal file
44
resources/views/settings/project/category.blade.php
Normal file
|
@ -0,0 +1,44 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
<div class="title">
|
||||
<h1>Project</h1>
|
||||
</div>
|
||||
<a href="{{ route('settings.project.add') }}" class="pure-button button-small is-primary">
|
||||
<i class="fa fa-plus-circle"></i>
|
||||
<span>ADD NEW Project</span>
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Project</th>
|
||||
<th>Options</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach($projects as $project)
|
||||
<tr>
|
||||
<td>{{ $project->name }}</td>
|
||||
<td>
|
||||
<a class="edit" href="{{ route('settings.project.edit', $project->id) }}"><span></span></a>
|
||||
<a class="delete" href="{{ route('settings.project.delete', $project->id) }}"><span></span></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
31
resources/views/settings/project/edit.blade.php
Normal file
31
resources/views/settings/project/edit.blade.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
@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">Edit Your Project</h1>
|
||||
<div>
|
||||
<a href="{{ route('settings.project') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
{!! Form::model($project, ['method' => 'PATCH', 'route' => ['settings.project.update', $project->id], 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
|
||||
@include('settings/project/_form', ['submitButtonText' => 'Save Project', 'projectLabel' => 'Edit Project.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
57
resources/views/settings/role/create.blade.php
Normal file
57
resources/views/settings/role/create.blade.php
Normal file
|
@ -0,0 +1,57 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
<h2 class="title">Create New Role</h2>
|
||||
<div>
|
||||
<a href="{{ route('role.index') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{!! Form::open(['route' => 'user.store', 'method'=>'POST', 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="pure-control-group">
|
||||
{!! Form::label('name', 'Name:', ['class' => 'control-label']) !!}
|
||||
{!! Form::text('name', null, array('placeholder' => 'Name','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
@if($errors->has('name'))
|
||||
<p class="field-validation-error">
|
||||
{{ $errors->first('name') }}
|
||||
</p>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
<h5><b>Assign Permissions</b></h5>
|
||||
<div class="pure-control-group checkboxlist @if ($errors->has('roles')) field-validation-error @endif">
|
||||
<!-- <label for="Roles">Assign Roles</label>-->
|
||||
|
||||
|
||||
@foreach ($permissions as $permission)
|
||||
|
||||
<label for={{"permission". $permission->id }} class="pure-checkbox">
|
||||
<input name="permissions[]" value={{ $permission->id }} type="checkbox" class="form-check-input">
|
||||
{{ $permission->name }}
|
||||
</label>
|
||||
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 text-center">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
@endsection
|
76
resources/views/settings/role/edit.blade.php
Normal file
76
resources/views/settings/role/edit.blade.php
Normal file
|
@ -0,0 +1,76 @@
|
|||
@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">Edit {{ $role->login }}</h1>
|
||||
|
||||
<div>
|
||||
<a href="{{ route('role.index') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div>
|
||||
|
||||
{!! Form::model($role, ['method' => 'PATCH','route' => ['role.update', $role->id], 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
|
||||
<fieldset>
|
||||
<div class="pure-control-group @if ($errors->has('login')) field-validation-error @endif">
|
||||
{!! Form::label('name', 'Name:', ['class' => 'control-label']) !!}
|
||||
{!! Form::text('name', null, array('placeholder' => 'Name','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
|
||||
<h5><b>Assign Permissions</b></h5>
|
||||
<div class="pure-control-group checkboxlist @if ($errors->has('roles')) field-validation-error @endif">
|
||||
<!-- <label for="Roles">Assign Permissions</label>-->
|
||||
|
||||
|
||||
@foreach ($permissions as $permission)
|
||||
|
||||
<label for={{"permission". $permission->id }} class="pure-checkbox">
|
||||
<input name="permissions[]" value={{ $permission->id }} {{ (in_array($permission->id, $checkeds)) ? 'checked=checked' : '' }} type="checkbox" class="form-check-input">
|
||||
{{ $permission->name }}
|
||||
</label>
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
|
||||
<button type="submit" class="pure-button pure-button-primary">Save</button>
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-3">
|
||||
<div class="sidebar">
|
||||
@foreach ($role->permissions as $permission)
|
||||
<p>permission: {{ $permission->name }}</p>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
51
resources/views/settings/role/role.blade.php
Normal file
51
resources/views/settings/role/role.blade.php
Normal file
|
@ -0,0 +1,51 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
|
||||
<div class="content">
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-key"></i> Roles Management
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<a class="pure-button button-small is-primary" href="{{ route('role.create') }}">
|
||||
<i class="fa fa-plus-circle"></i>
|
||||
<span>Create New Role</span>
|
||||
</a>
|
||||
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="pure-table roles">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Role</th>
|
||||
<th>Permissions</th>
|
||||
<th width="280px">Action</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($roles as $role)
|
||||
<tr>
|
||||
<td>{{ $role->name }}</td>
|
||||
<td>
|
||||
@foreach ($role->permissions()->pluck('name') as $permission)
|
||||
<label class="badge badge-success">{{ $permission }}</label>
|
||||
@endforeach
|
||||
</td>
|
||||
<td>
|
||||
<a class="edit" href="{{ route('role.edit', $role->id) }}"> Edit Role</a>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
93
resources/views/settings/user/create.blade.php
Normal file
93
resources/views/settings/user/create.blade.php
Normal file
|
@ -0,0 +1,93 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
<h2 class="title">Create New User</h2>
|
||||
<div>
|
||||
<a href="{{ route('user.index') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
@if (count($errors) > 0)
|
||||
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
{!! Form::open(['route' => 'user.store', 'method'=>'POST', 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
|
||||
<div class="row">
|
||||
|
||||
|
||||
|
||||
<div class="pure-control-group @if ($errors->has('login')) field-validation-error @endif">
|
||||
<label>Login:</label>
|
||||
{!! Form::text('login', null, array('placeholder' => 'Name','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group @if ($errors->has('email')) field-validation-error @endif">
|
||||
<label>Email:</label>
|
||||
{!! Form::text('email', null, array('placeholder' => 'Email','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group @if ($errors->has('password')) field-validation-error @endif">
|
||||
<label>Password:</label>
|
||||
{!! Form::password('password', array('placeholder' => 'Password','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group @if ($errors->has('password')) field-validation-error @endif">
|
||||
<label>Confirm Password:</label>
|
||||
{!! Form::password('password_confirmation', array('placeholder' => 'Confirm Password','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<h5><b>Assign Roles</b></h5>
|
||||
<div class="pure-control-group checkboxlist @if ($errors->has('roles')) field-validation-error @endif">
|
||||
<!-- <label for="Roles">Assign Roles</label>-->
|
||||
|
||||
|
||||
@foreach ($roles as $role)
|
||||
|
||||
<label for={{"role". $role->id }} class="pure-checkbox">
|
||||
<input name="roles[]" value={{ $role->id }} type="checkbox" class="form-check-input">
|
||||
{{ $role->name }}
|
||||
</label>
|
||||
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div class="col-xs-12 col-sm-12 col-md-12">
|
||||
<div class="form-group">
|
||||
<strong>Role:</strong>
|
||||
{!! Form::select('roles[]', $roles,[], array('class' => 'form-control','multiple')) !!}
|
||||
</div>
|
||||
</div>-->
|
||||
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 text-center">
|
||||
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
@endsection
|
93
resources/views/settings/user/edit.blade.php
Normal file
93
resources/views/settings/user/edit.blade.php
Normal file
|
@ -0,0 +1,93 @@
|
|||
@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">Edit {{ $user->login }}</h1>
|
||||
|
||||
<div>
|
||||
<a href="{{ route('user.index') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div>
|
||||
|
||||
{!! Form::model($user, ['method' => 'PATCH','route' => ['user.update', $user->id], 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
|
||||
<fieldset>
|
||||
<div class="pure-control-group @if ($errors->has('login')) field-validation-error @endif">
|
||||
<label>Login:</label>
|
||||
{!! Form::text('login', null, array('placeholder' => 'Name','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group @if ($errors->has('email')) field-validation-error @endif">
|
||||
<label>Email:</label>
|
||||
{!! Form::text('email', null, array('placeholder' => 'Email','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group @if ($errors->has('password')) field-validation-error @endif">
|
||||
<label>Password:</label>
|
||||
{!! Form::password('password', array('placeholder' => 'Password','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group @if ($errors->has('password')) field-validation-error @endif">
|
||||
<label>Confirm Password:</label>
|
||||
{!! Form::password('password_confirmation', array('placeholder' => 'Confirm Password','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<h5><b>Assign Roles</b></h5>
|
||||
<div class="pure-control-group checkboxlist @if ($errors->has('roles')) field-validation-error @endif">
|
||||
<!-- <label for="Roles">Assign Roles</label>-->
|
||||
|
||||
|
||||
@foreach ($roles as $role)
|
||||
|
||||
<label for={{"role". $role->id }} class="pure-checkbox">
|
||||
<input name="roles[]" value={{ $role->id }} {{ (in_array($role->id, $checkeds)) ? 'checked=checked' : '' }} type="checkbox" class="form-check-input">
|
||||
{{ $role->name }}
|
||||
</label>
|
||||
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<button type="submit" class="pure-button pure-button-primary">Save</button>
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-3">
|
||||
<div class="sidebar">
|
||||
@foreach ($user->roles as $role)
|
||||
<p>role: {{ $role->name }}</p>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
67
resources/views/settings/user/user.blade.php
Normal file
67
resources/views/settings/user/user.blade.php
Normal file
|
@ -0,0 +1,67 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-users"></i> Users Management</h2>
|
||||
</div>
|
||||
|
||||
<a class="pure-button button-small is-primary" href="{{ route('user.create') }}">
|
||||
<i class="fa fa-plus-circle"></i>
|
||||
<span>Create New User</span>
|
||||
</a>
|
||||
<br><br>
|
||||
|
||||
@if ($message = Session::get('success'))
|
||||
<div class="alert alert-success">
|
||||
<p>{{ $message }}</p>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<table class="pure-table users">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Roles</th>
|
||||
<th width="280px">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($users as $key => $user)
|
||||
<tr>
|
||||
<td>{{ ++$i }}</td>
|
||||
<td>{{ $user->login }}</td>
|
||||
<td>{{ $user->email }}</td>
|
||||
<td>
|
||||
|
||||
@if(!empty($user->getRoleNames()))
|
||||
@foreach($user->getRoleNames() as $roleName)
|
||||
<label class="badge badge-success">{{ $roleName }}</label>
|
||||
@endforeach
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
<a class="edit" href="{{ route('user.edit',$user->id) }}"> Edit</a>
|
||||
<span> </span>
|
||||
<a class="delete" href="{{ route('user.destroy', $user->id) }}"><span> Delete</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
{!! $users->render() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
36
resources/views/vendor/pagination/bootstrap-4.blade.php
vendored
Normal file
36
resources/views/vendor/pagination/bootstrap-4.blade.php
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
@if ($paginator->hasPages())
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled"><span class="page-link">«</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">«</a></li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="page-item disabled"><span class="page-link">{{ $element }}</span></li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="page-item active"><span class="page-link">{{ $page }}</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item"><a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">»</a></li>
|
||||
@else
|
||||
<li class="page-item disabled"><span class="page-link">»</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
34
resources/views/vendor/pagination/default.blade.php
vendored
Normal file
34
resources/views/vendor/pagination/default.blade.php
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
@if ($paginator->hasPages())
|
||||
<nav class="pagination is-rounded is-small" role="navigation" aria-label="pagination">
|
||||
<ul class="pagination-list">
|
||||
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li><a class="pagination-previous disabled" disabled href="#" rel="prev">«</a></li>
|
||||
@else
|
||||
<li><a class="pagination-previous" href="{{ $paginator->previousPageUrl() }}" rel="prev">«</a></li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li><a class="pagination-link is-current">{{ $page }}</a></li>
|
||||
@else
|
||||
<li><a class="pagination-link" href="{{ $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li><a class="pagination-next" href="{{ $paginator->nextPageUrl() }}" rel="next">»</a></li>
|
||||
@else
|
||||
<li><a class="pagination-next disabled" disabled href="#" rel="next">»</a></li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
36
resources/views/vendor/pagination/semantic-ui.blade.php
vendored
Normal file
36
resources/views/vendor/pagination/semantic-ui.blade.php
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
@if ($paginator->hasPages())
|
||||
<div class="ui pagination menu">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<a class="icon item disabled"> <i class="left chevron icon"></i> </a>
|
||||
@else
|
||||
<a class="icon item" href="{{ $paginator->previousPageUrl() }}" rel="prev"> <i class="left chevron icon"></i> </a>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<a class="icon item disabled">{{ $element }}</a>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<a class="item active" href="{{ $url }}">{{ $page }}</a>
|
||||
@else
|
||||
<a class="item" href="{{ $url }}">{{ $page }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<a class="icon item" href="{{ $paginator->nextPageUrl() }}" rel="next"> <i class="right chevron icon"></i> </a>
|
||||
@else
|
||||
<a class="icon item disabled"> <i class="right chevron icon"></i> </a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
17
resources/views/vendor/pagination/simple-bootstrap-4.blade.php
vendored
Normal file
17
resources/views/vendor/pagination/simple-bootstrap-4.blade.php
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
@if ($paginator->hasPages())
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled"><span class="page-link">@lang('pagination.previous')</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a></li>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item"><a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a></li>
|
||||
@else
|
||||
<li class="page-item disabled"><span class="page-link">@lang('pagination.next')</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
17
resources/views/vendor/pagination/simple-default.blade.php
vendored
Normal file
17
resources/views/vendor/pagination/simple-default.blade.php
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
@if ($paginator->hasPages())
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="disabled"><span>@lang('pagination.previous')</span></li>
|
||||
@else
|
||||
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a></li>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li><a href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a></li>
|
||||
@else
|
||||
<li class="disabled"><span>@lang('pagination.next')</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue