add publish module
This commit is contained in:
parent
100f6db9a6
commit
ffbbc04206
93 changed files with 8150 additions and 10228 deletions
|
@ -1,53 +1,49 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
<div class="pure-g">
|
||||
<div class="pure-g box-content">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
|
||||
<div class="content">
|
||||
|
||||
<h1>Login</h1>
|
||||
<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="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>
|
||||
<h1>Login</h1>
|
||||
|
||||
<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="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>
|
||||
|
|
|
@ -2,64 +2,64 @@
|
|||
|
||||
@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">Register</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="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Register</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('/register') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<form class="form-horizontal" role="form" method="POST" action="{{ url('/register') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">Name</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" class="form-control" name="name" value="{{ old('name') }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">Name</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" class="form-control" name="name" value="{{ old('name') }}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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">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">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">
|
||||
<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">
|
||||
Register
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-6 col-md-offset-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
Register
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{{-- \resources\views\errors\401.blade.php --}}
|
||||
{{-- \resources\views\errors\403.blade.php --}}
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class='col-lg-4 col-lg-offset-4'>
|
||||
<h1><center>401<br>
|
||||
<h1><center>403<br>
|
||||
ACCESS DENIED</center></h1>
|
||||
<h2>{{ $exception->getMessage() }}</h2>
|
||||
</div>
|
|
@ -1,41 +1,41 @@
|
|||
<html>
|
||||
<head>
|
||||
<link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
|
||||
<head>
|
||||
<link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
|
||||
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #B0BEC5;
|
||||
display: table;
|
||||
font-weight: 100;
|
||||
font-family: 'Lato';
|
||||
}
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #B0BEC5;
|
||||
display: table;
|
||||
font-weight: 100;
|
||||
font-family: 'Lato';
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: center;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.container {
|
||||
text-align: center;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
.content {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 72px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="title">Be right back.</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
.title {
|
||||
font-size: 72px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="title">Be right back.</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
|
||||
@if($errors->any())
|
||||
|
||||
<ul class="alert validation-summary-errors">
|
||||
|
||||
@foreach($errors->all() as $error)
|
||||
@if($errors->any())
|
||||
|
||||
<ul class="alert validation-summary-errors">
|
||||
|
||||
@foreach($errors->all() as $error)
|
||||
|
||||
<li style="margin-left:5px;">{{ $error }}</li>
|
||||
<li style="margin-left:5px;">{{ $error }}</li>
|
||||
|
||||
@endforeach
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
@endif
|
||||
@endif
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ app()->getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Language" content="de">
|
||||
|
||||
<!--<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">-->
|
||||
|
@ -13,8 +13,8 @@
|
|||
<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 rel='stylesheet' href="{{ asset('css/pure-min.css') }}" />
|
||||
<link rel='stylesheet' href="{{ asset('css/grids-responsive-min.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') }}" />
|
||||
|
|
|
@ -1,80 +0,0 @@
|
|||
<!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>
|
217
resources/views/layouts/settings/layout.blade.php
Normal file
217
resources/views/layouts/settings/layout.blade.php
Normal file
|
@ -0,0 +1,217 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ app()->getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>Admin PureRDR</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||
|
||||
<link rel='stylesheet' href="{{ asset('css/pure-min.css') }}" />
|
||||
<link rel='stylesheet' href="{{ asset('css/grids-responsive-min.css') }}" />
|
||||
|
||||
<!-- <script src="bower_components/chart.js/dist/Chart.min.js"></script> -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.2.1/Chart.min.js"></script>
|
||||
<!--<link rel="stylesheet" type="text/css" href="bower_components/font-awesome/css/font-awesome.min.css">-->
|
||||
<link rel='stylesheet' href="{{ asset('css/font-awesome.css') }}" />
|
||||
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('/assets/style.css') }}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('/assets/pagination.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="layout">
|
||||
|
||||
<a href="#menu" id="menuLink" class="menu-link">
|
||||
<!-- Hamburger icon -->
|
||||
<span></span>
|
||||
</a>
|
||||
|
||||
<div id="menu">
|
||||
<nav class="pure-menu">
|
||||
<h1 class="site-logo">Admin<strong>Rdr</strong></h1>
|
||||
<div class="menu-item-divided"></div>
|
||||
|
||||
<h2 class="pure-menu-heading">Home</h2>
|
||||
<ul class="pure-menu-list">
|
||||
<li class="pure-menu-item {{ Route::is('settings.home.index') ? 'active' : '' }}">
|
||||
<a href="{{ route('settings.home.index') }}" class="pure-menu-link">Reports</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@permission('settings')
|
||||
<h2 class="pure-menu-heading">Settings</h2>
|
||||
<ul class="pure-menu-list">
|
||||
<li class="pure-menu-item {{ Route::is('settings.document*') ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ route('settings.document') }}"><i class="fa fa-database"></i> Datasets</a>
|
||||
</li>
|
||||
<li class="pure-menu-item {{ Route::is('settings.collection*') ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ route('settings.collection') }}"><i class="fa fa-archive"></i> Collections</a>
|
||||
</li>
|
||||
<li class="pure-menu-item {{ Route::is('settings.license*') ? 'active' : '' }}">
|
||||
<a href="{{ route('settings.license') }}" class="pure-menu-link"><i class="fa fa-file"></i> Licenses</a>
|
||||
</li>
|
||||
<li class="pure-menu-item {{ Route::is('settings.person*') ? 'active' : '' }}">
|
||||
<a href="{{ route('settings.person') }}" class="pure-menu-link"><i class="fa fa-edit"></i> Persons</a>
|
||||
</li>
|
||||
<li class="pure-menu-item {{ Route::is('settings.project*') ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ route('settings.project') }}"><i class="fa fa-tasks"></i> Projects</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@endpermission
|
||||
|
||||
@permission('review')
|
||||
<h2 class="pure-menu-heading">Publish</h2>
|
||||
<ul class="pure-menu-list">
|
||||
<li class="pure-menu-item {{ Route::is('dataset.*') ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ URL::route('dataset.create1') }}"><i class="fa fa-upload"></i> Publish</a>
|
||||
</li>
|
||||
</ul>
|
||||
@endpermission
|
||||
|
||||
<h2 class="pure-menu-heading">User</h2>
|
||||
<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>
|
||||
@else
|
||||
@permission('settings')
|
||||
<li class="pure-menu-item {{ Route::is('user.*') ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{route('user.index') }}"><i class="fa fa-users"></i> Edit Users</a>
|
||||
</li>
|
||||
<li class="pure-menu-item {{ Route::is('role.*') ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{route('role.index') }}"><i class="fa fa-key"></i> Edit Roles</a>
|
||||
</li>
|
||||
<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>
|
||||
@endpermission
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{ route('logout') }}"><i class="fa fa-sign-out"></i>Logout</a></li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div class="header">
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1-2"><h1>Dashboard</h1></div>
|
||||
<div class="pure-u-1-2 text-right">
|
||||
<section class="user-info">
|
||||
@if(Auth::user())
|
||||
<i class="fa fa-user"></i> <a href="#" rel="User">{{ Auth::user()->login }}</a>
|
||||
<span class="divider"></span>
|
||||
@endif
|
||||
<i class="fa fa-cog"></i> <a href="#" rel="User">Settings</a>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="breadcrumb">
|
||||
<i class="fa fa-home"></i><a href="#" rel="Dashboard">Dashboard</a>
|
||||
<i class="fa fa-angle-right"></i><a href="#" rel="Dashboard">Sales</a>
|
||||
</div>
|
||||
{{-- <div class="pure-g"> --}}
|
||||
<div class="box">
|
||||
<div class="l-box">
|
||||
@include('partials.flash')
|
||||
@yield('content')
|
||||
</div>
|
||||
</div>
|
||||
{{-- <div class="pure-u-1-2 box">
|
||||
<div class="l-box">
|
||||
<div class="header">
|
||||
<h3 class="header-title">Message</h3>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
|
||||
<form class="pure-form pure-form-stacked">
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1-1">
|
||||
<label for="title">Title</label>
|
||||
<input id="title" type="text" class="pure-u-1-1">
|
||||
|
||||
<label for="post">Post Content</label>
|
||||
<textarea id="post" rows="10" class="pure-u-1-1"></textarea>
|
||||
|
||||
<hr>
|
||||
|
||||
<button class="pure-button pure-button-primary">Save</button>
|
||||
<button class="pure-button">Save in Draft</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
{{-- </div> --}}
|
||||
|
||||
{{-- <div class="pure-g">
|
||||
<div class="pure-u-1-2 box">
|
||||
<div class="l-box">
|
||||
<div class="header">
|
||||
<h3 class="header-title">Messages</h3>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<span class="msg success"><i class="fa fa-check"></i>Message sending success!</span>
|
||||
<span class="msg error"><i class="fa fa-ban"></i>Message NOT sending verify errors!</span>
|
||||
<span class="msg alert"><i class="fa fa-exclamation-triangle"></i>Your permit geolocalization?</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-2 box">
|
||||
<div class="l-box">
|
||||
<div class="header">
|
||||
<h3 class="header-title">Lists Content</h3>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<p>adfas</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
{{-- <div class="pure-g">
|
||||
<div class="pure-u-4-5">
|
||||
<div class="l-box">
|
||||
<div class="header">
|
||||
<h3 class="header-title">Edit Item</h3>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<p>Content</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pure-u-1-5">
|
||||
<div class="l-box">
|
||||
<div class="header">
|
||||
<h3 class="header-title">Sidebar</h3>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<p>Sidebar content</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript" src="{{ asset('js/lib.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
$('div.alert').not('alert-important');//.delay(3000).slideUp(300);
|
||||
</script>
|
||||
<script type="text/javascript" src="{{ asset('assets/functions.js') }}"></script>
|
||||
@yield('scripts')
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,7 +1,8 @@
|
|||
@if(Session::has('flash_message'))
|
||||
|
||||
|
||||
<div class="alert summary-success">
|
||||
{{ session('flash_message') }}
|
||||
</div>
|
||||
|
||||
|
||||
@endif
|
|
@ -65,7 +65,7 @@
|
|||
</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('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>
|
||||
|
|
|
@ -1,50 +1,245 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('title', 'Publish')
|
||||
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-upload"></i> Publish New Dataset
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-upload"></i> Publish New Dataset - Step 1</h2>
|
||||
</div>
|
||||
<div id="app" class="box-content">
|
||||
<form action={{ route('dataset.store1') }} method="post" class="pure-form" enctype="multipart/form-data">
|
||||
{{ csrf_field() }}
|
||||
|
||||
{{-- <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']) !!}
|
||||
<div v-if="step === 1">
|
||||
<h1>Step One</h1>
|
||||
<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 --', 'v-model' => 'dataset.type']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
{{ csrf_field() }}
|
||||
<fieldset class="left-labels">
|
||||
<fieldset class="left-labels">
|
||||
<legend>Einräumung eines einfachen Nutzungsrechts</legend>
|
||||
<div 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" type="checkbox" v-model="dataset.rights" true-value="1" false-value="0">
|
||||
</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> --}}
|
||||
<button @click.prevent="next()" class="pure-button button-small">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
<span>Weiter zum nächsten Schritt</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-if="step === 2">
|
||||
<h1>Step Two</h1>
|
||||
<fieldset id="fieldset-general">
|
||||
<legend>General</legend>
|
||||
<div class="pure-g">
|
||||
|
||||
<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 class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('Person', 'Person..') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('Person', $persons, null, ['id' => 'type', 'placeholder' => '-- select person --']) !!}
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
<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 --', 'v-model' => 'dataset.type']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('State', 'State..') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select(
|
||||
'State',
|
||||
array_except(Config::get('enums.server_states'),['published', 'deleted', 'temporary']),
|
||||
'',
|
||||
['placeholder' => '-- select server state --', 'v-model' => 'dataset.state']
|
||||
) !!}
|
||||
</div>
|
||||
</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', 'v-model' => 'dataset.creating_corporation']) !!}
|
||||
</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', 'v-model' => 'dataset.embargo_date']) !!}
|
||||
<small id="projectHelp" class="pure-form-message-inline">EmbargoDate is optional</small>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1 checkboxlist">
|
||||
<!-- checkboxes -->
|
||||
<label for="BelongsToBibliography" class="pure-checkbox">
|
||||
{{-- <input type="hidden" name="BelongsToBibliography" value="0"> --}}
|
||||
<input name="BelongsToBibliography" v-model="dataset.belongs_to_bibliography" true-value="1"
|
||||
false-value="0" type="checkbox" class="form-check-input">
|
||||
Belongs To Bibliography?
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</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', 'v-model' => 'dataset.title_main.value']) !!}
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('TitleLanguage', 'Title Language..') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('TitleMain[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.title_main.language']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('TitleAbstract', 'Main Abstract ') !!}
|
||||
{{ Form::textarea('TitleAbstract[Value]', null, ['class' => 'pure-u-23-24', 'size' => '70x6', 'v-model' => 'dataset.abstract_main.value']) }}
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('AbstractLanguage', 'Abstract Language..') !!}
|
||||
<div class="select pure-u-23-24">
|
||||
{!! Form::select('TitleAbstract[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.abstract_main.language']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset id="fieldset-licenses">
|
||||
<legend>Licenses</legend>
|
||||
|
||||
<div class="pure-control-group checkboxlist">
|
||||
@foreach ($licenses as $license)
|
||||
<label for={{"license". $license->id }} class="pure-checkbox">
|
||||
<input name="licenses[]" value={{ $license->id }} v-model="dataset.checkedLicenses" type="checkbox" class="form-check-input">
|
||||
{{ $license->name_long }}
|
||||
</label>
|
||||
@endforeach
|
||||
<br>
|
||||
<span>Checked licenses: @{{ dataset.checkedLicenses }}</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<br />
|
||||
<div class="pure-controls">
|
||||
<button @click.prevent="prev()" class="pure-button button-small">
|
||||
<i class="fa fa-arrow-left"></i>
|
||||
<span>Zurück</span>
|
||||
</button>
|
||||
|
||||
<button @click.prevent="next()" class="pure-button button-small">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
<span>Review Dataset</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div v-if="step === 3">
|
||||
<h1>File Upload</h1>
|
||||
|
||||
<div class="dropbox">
|
||||
<input type="file" multiple name="files" :disabled="isSaving" @change="filesChange($event.target.name, $event.target.files)" class="input-file">
|
||||
<p v-if="isInitial">
|
||||
Drag your file(s) here to begin<br> or click to browse
|
||||
</p>
|
||||
<p v-if="isSaving">
|
||||
Uploading @{{ fileCount }} files...
|
||||
</p>
|
||||
</div>
|
||||
{{-- <button @click.prevent="resetDropbox()" v-bind:disabled="isInitial" class="pure-button is-warning">Reset Dropbox</button> --}}
|
||||
{{-- <ul class="list-unstyled">
|
||||
<li v-for="(item, index) in dataset.files">
|
||||
@{{ item.name }} <i class="fa fa-remove"></i><span class="remove-file" v-on:click="removeFile(index)"> Remove</span>
|
||||
</li>
|
||||
</ul> --}}
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 20px;">Sorting</th>
|
||||
<th>File</th>
|
||||
<th>Label</th>
|
||||
<th style="width: 130px;"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="(item, index) in dataset.files">
|
||||
<td>
|
||||
@{{ index +1 }}
|
||||
</td>
|
||||
<td>
|
||||
<input class="form-control" v-model="item.file.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<input class="form-control" v-model="item.label"/>
|
||||
</td>
|
||||
<td>
|
||||
<button class="pure-button button-small is-warning" @click.prevent="removeFile(index)">Remove</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<button @click.prevent="prev()" class="pure-button button-small">
|
||||
<i class="fa fa-arrow-left"></i>
|
||||
<span>Zurück</span>
|
||||
</button>
|
||||
<button @click.prevent="submit()" class="pure-button button-small">
|
||||
<i class="fa fa-save"></i>
|
||||
<span>Create Dataset</span>
|
||||
</button>
|
||||
|
||||
</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 v-if="errors.length > 0">
|
||||
<b>Please correct the following error(s):</b>
|
||||
<ul class="alert validation-summary-errors">
|
||||
<li style="margin-left:5px;" v-for="error in errors">@{{ error }}</li>
|
||||
</ul>
|
||||
</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() !!}
|
||||
</form>
|
||||
{{-- <br/><br/>Debug:@{{ dataset }} --}}
|
||||
</div>
|
||||
|
||||
@include('errors._errors')
|
||||
@stop
|
||||
|
||||
@section('scripts')
|
||||
{{-- <script type="text/javascript" src="{{ asset('js/lib.js') }}"></script> --}}
|
||||
|
||||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
||||
<!-- production version, optimized for size and speed -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
|
||||
<script type="text/javascript" src="{{ asset('js/app.js') }}"></script>
|
||||
{{-- <script type="text/javascript" src="{{ resource_path('assets\js\app.js') }}"></script> --}}
|
||||
@stop
|
||||
|
||||
@stop
|
57
resources/views/publish/create-step1Old.blade.php
Normal file
57
resources/views/publish/create-step1Old.blade.php
Normal file
|
@ -0,0 +1,57 @@
|
|||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('title', 'Publish')
|
||||
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-upload"></i> Publish New Dataset - Step 1
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div id="app" class="box-content">
|
||||
{{-- <form action={{ route('dataset.store1') }} 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> --}}
|
||||
<button @click.prevent="next()">Next</button>
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
||||
@include('errors._errors')
|
||||
@stop
|
||||
|
||||
@section('scripts')
|
||||
{{-- <script type="text/javascript" src="{{ asset('js/lib.js') }}"></script> --}}
|
||||
<script type="text/javascript" src="{{ asset('js/app.js') }}"></script>
|
||||
@stop
|
|
@ -1,14 +1,15 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@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 class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-upload"></i> Publish New Dataset - Step 2
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="box-content">
|
||||
{{-- <div method="post" enctype="multipart/from-data" class="pure-form"> --}}
|
||||
{!! Form::model($dataset, ['method' => 'post', 'files' => true , 'route' => ['dataset.store2'], 'class' => 'pure-form']) !!}
|
||||
|
||||
|
@ -20,6 +21,7 @@
|
|||
{!! 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">
|
||||
|
@ -33,12 +35,14 @@
|
|||
<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 class="pure-u-1 pure-u-md-1 checkboxlist">
|
||||
<!-- 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>
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -60,8 +64,8 @@
|
|||
</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']) !!}
|
||||
{!! Form::label('TitleAbstract', 'Main Abstract ') !!}
|
||||
{{ Form::textarea('TitleAbstract[Value]', null, ['class' => 'pure-u-23-24', 'size' => '70x6']) }}
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('language', 'Abstract Language..') !!}
|
||||
|
@ -82,9 +86,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
|
||||
<br />
|
||||
<div class="pure-controls">
|
||||
<button type="submit" class="pure-button button-small">
|
||||
|
@ -102,5 +104,6 @@
|
|||
<button type="submit" class="btn btn-danger">Remove Image</button>
|
||||
</form>
|
||||
@endif
|
||||
<div class="box-content">
|
||||
|
||||
@stop
|
|
@ -1,66 +1,71 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@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>
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-upload"></i> add New Dataset - Step 32
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Main Title:</td>
|
||||
@if(isset($dataset['TitleMain']))
|
||||
<td><strong>{{ $dataset['TitleMain']['Value'] }} </strong></td>
|
||||
@endif
|
||||
</tr>
|
||||
<div class="box-content">
|
||||
|
||||
<form action={{ route('dataset.store') }} method="post" class="pure-form" >
|
||||
{{ csrf_field() }}
|
||||
<table class="table">
|
||||
<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>
|
||||
<td>Dataset Type:</td>
|
||||
<td><strong>{{ $dataset['Type'] }}</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>
|
||||
<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 Dataset</span>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
@include('errors._errors')
|
||||
|
||||
|
|
|
@ -2,43 +2,43 @@
|
|||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Documents</h1>
|
||||
<h1 class="title">Documents</h1>
|
||||
|
||||
<br><br>
|
||||
<br><br>
|
||||
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
|
||||
<thead>
|
||||
<th>id</th>
|
||||
<th>document type</th>
|
||||
<!-- <th>Category</th>
|
||||
<th>Shelf</th> -->
|
||||
<thead>
|
||||
<th>id</th>
|
||||
<th>document type</th>
|
||||
<!-- <th>Category</th>
|
||||
<th>Shelf</th> -->
|
||||
|
||||
</thead>
|
||||
</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>
|
||||
<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
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@stop
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
<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">
|
||||
<input name="data[de][key][home_index_imprint_title]" id="data-de-key-home_index_imprint_title" value="Impressum nach <EFBFBD>5 Telemediengesetz" class="pure-input-1" type="text">
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
|
|
@ -1,15 +1,19 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Collections</h1>
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-archive"></i> Collections
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-8">
|
||||
<div class="pure-g box-content">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-3-3">
|
||||
<a href="{{ route('settings.project.add') }}" class="pure-button button-small is-primary">
|
||||
<i class="fa fa-plus-circle"></i>ADD NEW COLLECTION
|
||||
</a>
|
||||
|
||||
</a>
|
||||
<br><br>
|
||||
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
|
@ -39,7 +43,7 @@
|
|||
<a class="delete" href="{{ route('settings.collection.delete', $collection->id) }}"><span aria-hidden="true"></span></a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</td>
|
||||
|
@ -50,11 +54,11 @@
|
|||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
<div class="pure-u-1">
|
||||
{{ $collections->links('vendor.pagination.default') }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-3-3">
|
||||
{{ $collections->links('vendor.pagination.default') }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@stop
|
|
@ -118,6 +118,3 @@
|
|||
<span>{!! $submitButtonText !!}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
@include('errors._errors')
|
||||
|
|
|
@ -1,96 +1,95 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-archive"></i> Datasets</h2>
|
||||
</div>
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa fa-database"></i> Datasets
|
||||
</h3>
|
||||
</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-g box-content">
|
||||
|
||||
|
||||
<div class="pure-u-1">
|
||||
{{ $documents
|
||||
->appends(Input::except('page'))
|
||||
->links('vendor.pagination.default') }}
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
<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
|
|
@ -1,30 +1,27 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<span>Edit Your Dataset</span>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="pure-g box-content">
|
||||
|
||||
<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 class="pure-u-1 pure-u-md-3-3">
|
||||
<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.'])
|
||||
@include('errors._errors')
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,11 +1,16 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-archive"></i> Detail
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div id="titlemain-wrapper">
|
||||
<div class="pure-g box-content">
|
||||
<div id="titlemain-wrapper" class="pure-u-1 pure-u-md-1-2">
|
||||
<div class="frontdoor_pagination">
|
||||
<a href="{{ route('settings.document') }}" class="pure-button">
|
||||
<a href="{{ route('settings.document') }}" class="pure-button button-small">
|
||||
<i class="fa fa-arrow-left"></i> BACK
|
||||
</a>
|
||||
</div>
|
||||
|
@ -14,7 +19,7 @@
|
|||
@endforeach
|
||||
</div>
|
||||
|
||||
<div id="result-data">
|
||||
<div id="result-data" class="pure-u-1 pure-u-md-1-2">
|
||||
<div id="abstract">
|
||||
<ul>
|
||||
@foreach ($document->abstracts as $abstract)
|
||||
|
@ -25,7 +30,5 @@
|
|||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
83
resources/views/settings/home/index.blade.php
Normal file
83
resources/views/settings/home/index.blade.php
Normal file
|
@ -0,0 +1,83 @@
|
|||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">Reports</h3>
|
||||
</div>
|
||||
<div class="pure-g box-content">
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<canvas id="myChart" width="400" height="260"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- <div class="pure-u-1-2 box">
|
||||
<div class="l-box">
|
||||
<div class="header">
|
||||
<h3 class="header-title">Message</h3>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<div class="box-content">
|
||||
<form class="pure-form pure-form-stacked">
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1-1">
|
||||
<label for="title">Title</label>
|
||||
<input id="title" type="text" class="pure-u-1-1">
|
||||
|
||||
<label for="post">Post Content</label>
|
||||
<textarea id="post" rows="10" class="pure-u-1-1"></textarea>
|
||||
|
||||
<hr>
|
||||
|
||||
<button class="pure-button pure-button-primary">Save</button>
|
||||
<button class="pure-button">Save in Draft</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
@endsection
|
||||
|
||||
@section('scripts')
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.2.1/Chart.min.js"></script>
|
||||
<script>
|
||||
var ctx = document.getElementById("myChart");
|
||||
var myChart = new Chart(ctx, {
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],
|
||||
datasets: [{
|
||||
label: '# of Votes',
|
||||
data: [12, 14, 8, 2, 5, 1],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.2)',
|
||||
'rgba(54, 162, 235, 0.2)',
|
||||
'rgba(255, 206, 86, 0.2)',
|
||||
'rgba(75, 192, 192, 0.2)',
|
||||
'rgba(153, 102, 255, 0.2)',
|
||||
'rgba(255, 159, 64, 0.2)'
|
||||
],
|
||||
borderColor: [
|
||||
'rgba(255,99,132,1)',
|
||||
'rgba(54, 162, 235, 1)',
|
||||
'rgba(255, 206, 86, 1)',
|
||||
'rgba(75, 192, 192, 1)',
|
||||
'rgba(153, 102, 255, 1)',
|
||||
'rgba(255, 159, 64, 1)'
|
||||
],
|
||||
borderWidth: 1
|
||||
}]
|
||||
},
|
||||
options: {
|
||||
scales: {
|
||||
yAxes: [{
|
||||
ticks: {
|
||||
beginAtZero:true
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@endsection
|
|
@ -1,10 +1,10 @@
|
|||
<fieldset>
|
||||
|
||||
<legend>General</legend>
|
||||
<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']) !!}
|
||||
{!! Form::label('name_long', 'Lizenzname') !!}
|
||||
{!! Form::text('name_long', null, ['class' => 'pure-u-23-24', 'placeholder' => '--no language--']) !!}
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
|
@ -64,14 +64,10 @@
|
|||
<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')
|
||||
<br />
|
||||
<div class="pure-controls">
|
||||
{!! Form::submit($submitButtonText, ['class' => 'pure-button button-small']) !!}
|
||||
</div>
|
||||
@include('errors._errors')
|
||||
|
|
|
@ -1,28 +1,27 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
Edit Your License
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="pure-g box-content">
|
||||
|
||||
<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>
|
||||
<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', 'enctype' => 'multipart/form-data']) !!}
|
||||
@include('settings/license/_form', ['submitButtonText' => 'Edit License', 'daysLabel' => 'Days..', 'finesLabel' => 'Licenses..'])
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@stop
|
|
@ -1,43 +1,40 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-file"></i> LICENSES</h2>
|
||||
</div>
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-file"></i> Licenses
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<div class="pure-g box-content">
|
||||
|
||||
<div class="pure-u-1">
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
<thead>
|
||||
<th>Licence</th>
|
||||
<th></th>
|
||||
</thead>
|
||||
|
||||
<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>
|
||||
|
||||
@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>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@stop
|
|
@ -39,9 +39,8 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
<!-- <div class="pure-controls">-->
|
||||
|
||||
{!! Form::submit($submitButtonText, ['class' => 'pure-button button-small']) !!}
|
||||
<!-- </div>-->
|
||||
</fieldset>
|
||||
|
||||
@include('errors._errors')
|
|
@ -1,27 +1,26 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Add Your Person</h1>
|
||||
<div>
|
||||
<a href="{{ route('settings.person') }}" class="pure-button button-small">
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
Add Your Person
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="box-content">
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
<div>
|
||||
{!! Form::open(['route' => 'settings.person.post', 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
@include('settings/person/_form', ['submitButtonText' => 'Add Person', 'projectLabel' => 'Save Person.'])
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@stop
|
|
@ -1,28 +1,28 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
Edit {{ $person->getFullName() }}
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
<h1 class="title">Edit {{ $person->getFullName() }}</h1>
|
||||
<div class="pure-g box-content">
|
||||
|
||||
<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 class="pure-u-1 pure-u-md-2-3">
|
||||
<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 class="pure-u-1 pure-u-md-1-3">
|
||||
|
|
|
@ -1,75 +1,68 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa fa-edit"></i> Persons Management
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="pure-g box-content">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
<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>
|
||||
|
||||
<div class="title">
|
||||
<h2><i class="fa fa-pencil"></i> Persons Management</h2>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
<tbody>
|
||||
@foreach($persons as $person)
|
||||
<tr>
|
||||
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
<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>
|
||||
|
||||
<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>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
|
@ -9,10 +9,7 @@
|
|||
{{ Form::text('label', null, ['class' => 'form-control']) }}
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<!-- <div class="pure-controls">-->
|
||||
{{ Form::submit($submitButtonText, ['class' => 'pure-button button-small']) }}
|
||||
<!--</div>-->
|
||||
{{ Form::submit($submitButtonText, ['class' => 'pure-button button-small']) }}
|
||||
</fieldset>
|
||||
|
||||
@include('errors._errors')
|
|
@ -1,27 +1,21 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
Add Your Project
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
|
||||
<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']) !!}
|
||||
|
||||
<div class="box-content">
|
||||
<a href="{{ route('settings.project') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
<div>
|
||||
{!! Form::open(['route' => 'settings.project.post', 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
@include('settings/project/_form', ['submitButtonText' => 'Save Project', 'projectLabel' => 'Save Project.'])
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
@stop
|
|
@ -1,44 +1,41 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-tasks"></i>
|
||||
<span>Projects<span>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
<div class="pure-g box-content">
|
||||
|
||||
<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 class="pure-u-1 pure-u-md-2-3">
|
||||
<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
|
|
@ -1,30 +1,25 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<span>Edit Your Project</span>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<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 class="pure-g box-content">
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<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>
|
||||
|
||||
|
|
|
@ -1,57 +1,54 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
|
||||
<h2 class="title">Create New Role</h2>
|
||||
<div>
|
||||
<a href="{{ route('role.index') }}" class="pure-button button-small">
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
Create New Role
|
||||
</h3>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<div>
|
||||
<a href="{{ route('role.index') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
</div>
|
||||
</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'))
|
||||
{!! Form::open(['route' => 'role.store', 'method'=>'POST', 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
|
||||
<div class="pure-control-group @if ($errors->has('name')) field-validation-error @endif">
|
||||
{!! 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>
|
||||
|
||||
@endif --}}
|
||||
</div>
|
||||
<div class="pure-control-group @if ($errors->has('display_name')) field-validation-error @endif">
|
||||
{!! Form::label('display_name', 'Display Label:', ['class' => 'control-label']) !!}
|
||||
{!! Form::text('display_name', null, array('placeholder' => 'Display Label','class' => 'form-control')) !!}
|
||||
</div>
|
||||
<div class="pure-control-group @if ($errors->has('description')) field-validation-error @endif">
|
||||
{!! Form::label('description', 'Description:', ['class' => 'control-label']) !!}
|
||||
{!! Form::text('description', null, array('placeholder' => 'Description for the role','class' => 'form-control')) !!}
|
||||
</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>-->
|
||||
|
||||
<h5><b>Assign Permissions</b></h5>
|
||||
<div class="pure-control-group checkboxlist @if ($errors->has('roles')) field-validation-error @endif">
|
||||
@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>
|
||||
|
||||
@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>
|
||||
<button type="submit" class="pure-button button-small">Submit</button>
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
@endsection
|
|
@ -1,71 +1,70 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<span>Edit role {{ $role->name }}</span>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<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 class="pure-g box-content">
|
||||
|
||||
<div>
|
||||
<a href="{{ route('role.index') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<span>BACK</span>
|
||||
</a>
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<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
|
||||
|
||||
@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('name')) field-validation-error @endif">
|
||||
{!! Form::label('name', 'Name:', ['class' => 'control-label']) !!}
|
||||
{!! Form::text('name', null, array('placeholder' => 'Name','class' => 'form-control')) !!}
|
||||
<em>*</em>
|
||||
</div>
|
||||
<div class="pure-control-group @if ($errors->has('display_name')) field-validation-error @endif">
|
||||
{!! Form::label('display_name', 'Display Label:', ['class' => 'control-label']) !!}
|
||||
{!! Form::text('display_name', null, array('placeholder' => 'Display Label','class' => 'form-control')) !!}
|
||||
</div>
|
||||
<div class="pure-control-group @if ($errors->has('description')) field-validation-error @endif">
|
||||
{!! Form::label('description', 'Description:', ['class' => 'control-label']) !!}
|
||||
{!! Form::text('description', null, array('placeholder' => 'Description for the role','class' => 'form-control')) !!}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
{!! Form::model($role, ['method' => 'PATCH','route' => ['role.update', $role->id], 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
<h5><b>Assign Permissions</b></h5>
|
||||
<div class="pure-control-group checkboxlist @if ($errors->has('roles')) field-validation-error @endif">
|
||||
@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>
|
||||
|
||||
<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>
|
||||
<button type="submit" class="pure-button button-small">Save</button>
|
||||
</fieldset>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-3">
|
||||
<div class="sidebar">
|
||||
@foreach ($role->permissions as $permission)
|
||||
@foreach ($role->perms as $permission)
|
||||
<p>permission: {{ $permission->name }}</p>
|
||||
@endforeach
|
||||
</div>
|
||||
|
|
|
@ -1,29 +1,27 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-key"></i>
|
||||
<span>Roles Management <span>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<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">
|
||||
<div class="pure-g box-content">
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<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>
|
||||
<br>
|
||||
<table class="pure-table pure-table-horizontal roles">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Role</th>
|
||||
<th>Permissions</th>
|
||||
<th width="280px">Action</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -31,21 +29,20 @@
|
|||
<tr>
|
||||
<td>{{ $role->name }}</td>
|
||||
<td>
|
||||
@foreach ($role->permissions()->pluck('name') as $permission)
|
||||
@foreach ($role->perms()->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>
|
||||
<a class="edit" href="{{ route('role.edit', $role->id) }}"> Edit Role</a>
|
||||
</td>
|
||||
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
|
@ -1,20 +1,13 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@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>
|
||||
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
Create New User
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
@if (count($errors) > 0)
|
||||
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
|
@ -25,69 +18,50 @@
|
|||
</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 class="box-content">
|
||||
<div>
|
||||
<a href="{{ route('user.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="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('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 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>-->
|
||||
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 text-center">
|
||||
<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>
|
||||
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
<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>
|
||||
|
||||
</div>
|
||||
<h5><b>Assign Roles</b></h5>
|
||||
<div class="pure-control-group checkboxlist @if ($errors->has('roles')) field-validation-error @endif">
|
||||
@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>
|
||||
|
||||
<button type="submit" class="pure-button button-small">Submit</button>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
@endsection
|
|
@ -1,12 +1,15 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<span>Edit {{ $user->login }}</span>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
|
||||
<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 class="pure-g box-content">
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div>
|
||||
<a href="{{ route('user.index') }}" class="pure-button button-small">
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
|
@ -26,58 +29,55 @@
|
|||
@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>
|
||||
{!! Form::model($user, ['method' => 'PATCH','route' => ['user.update', $user->id], 'class' => 'pure-form pure-form-aligned']) !!}
|
||||
|
||||
<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>
|
||||
<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>
|
||||
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<button type="submit" class="pure-button pure-button-primary">Save</button>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<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>
|
||||
|
||||
{!! Form::close() !!}
|
||||
<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>
|
||||
|
||||
</div>
|
||||
</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 button-small">Save</button>
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-3">
|
||||
|
|
|
@ -1,67 +1,63 @@
|
|||
@extends('layouts.app')
|
||||
@extends('layouts.settings.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="pure-g">
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-users"></i>
|
||||
<span> Users Management</span>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<div class="content">
|
||||
<div class="pure-g box-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 class="pure-u-1 pure-u-md-2-3">
|
||||
<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 summary-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->roles))
|
||||
@foreach($user->roles as $role)
|
||||
<label class="badge badge-success">{{ $role->name }}</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>
|
||||
|
||||
@stop
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue