add publish module
This commit is contained in:
parent
100f6db9a6
commit
ffbbc04206
93 changed files with 8150 additions and 10228 deletions
|
@ -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
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue