Liste 2 Ausbesserungen
This commit is contained in:
parent
3b005f4555
commit
0e88d76bdc
11 changed files with 246 additions and 139 deletions
|
@ -35,24 +35,23 @@
|
|||
</div>
|
||||
|
||||
<div :class="{'form-group':true, 'has-error':errors.has('rights')}">
|
||||
<legend>Einräumung eines einfachen Nutzungsrechts</legend>
|
||||
{{-- <div class="pure-u-1 pure-u-md-1-2 pure-div"> --}}
|
||||
<p>
|
||||
<legend>Einräumung eines einfachen Nutzungsrechts</legend>
|
||||
|
||||
<label for="rights" class="pure-checkbox">
|
||||
<input class="form-checkbox" name="rights" id="rights" type="checkbox" v-model="dataset.rights" v-validate="'required'" data-vv-scope="step-1">
|
||||
I accept
|
||||
<a target="_blank" href="{{ route("frontend.pages.show", ['page_slug'=>'terms-and-conditions']) }}">
|
||||
{!! trans('validation.attributes.backend.create-dataset.terms_and_conditions').'*' !!}
|
||||
</a>
|
||||
</p>
|
||||
<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"> --}}
|
||||
<label>
|
||||
<input class="form-checkbox" name="rights" id="rights" type="checkbox" v-model="dataset.rights" v-validate="'required'" data-vv-scope="step-1">
|
||||
</label>
|
||||
|
||||
|
||||
|
||||
<br />
|
||||
<i v-show="errors.has('step-1.rights')" class="fa fa-warning"></i>
|
||||
<span v-show="errors.has('step-1.rights')" class="text-danger">@{{ errors.first('step-1.rights') }}</span>
|
||||
|
||||
</label>
|
||||
|
||||
<span class="help-block">You must agree to continue</span> {{-- </div> --}}
|
||||
</div>
|
||||
|
||||
|
@ -129,15 +128,14 @@
|
|||
<small id="projectHelp" class="pure-form-message-inline">EmbargoDate is optional</small>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1 checkboxlist">
|
||||
{{-- <div class="pure-u-1 pure-u-md-1 checkboxlist">
|
||||
<!-- checkboxes -->
|
||||
<label for="BelongsToBibliography" class="pure-checkbox">
|
||||
{{-- <input type="hidden" name="BelongsToBibliography" value="0"> --}}
|
||||
<label for="BelongsToBibliography" class="pure-checkbox">
|
||||
<input name="BelongsToBibliography" v-model="dataset.belongs_to_bibliography" data-vv-scope="step-2" true-value="1"
|
||||
false-value="0" type="checkbox" class="form-check-input">
|
||||
Belongs To Bibliography?
|
||||
</label>
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
|
@ -1,56 +1,52 @@
|
|||
@extends('settings.layouts.app')
|
||||
|
||||
@extends('settings.layouts.app')
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
<i class="fa fa-file"></i> Datasets to be processed
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-g box-content">
|
||||
|
||||
<div class="pure-u-1">
|
||||
<table class="pure-table pure-table-horizontal">
|
||||
|
||||
<thead>
|
||||
<thead>
|
||||
<th>Dataset Title</th>
|
||||
<th>ID</th>
|
||||
<th>Server State</th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($datasets as $dataset)
|
||||
<tr>
|
||||
<td>
|
||||
@if ($dataset->titles()->first())
|
||||
{{ $dataset->titles()->first()->value }}
|
||||
@else
|
||||
no title
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
{{ $dataset->id }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $dataset->server_state }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
@if ($dataset->server_state == "unpublished")
|
||||
<a href="" class="pure-button button-small is-success">Publish</a>
|
||||
<a href="" class="pure-button button-small is-success">Restrict</a>
|
||||
@else
|
||||
<a href="" class="pure-button button-small is-warning">Finish</a>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@foreach($datasets as $dataset)
|
||||
<tr>
|
||||
<td>
|
||||
@if ($dataset->titles()->first())
|
||||
{{ $dataset->titles()->first()->value }}
|
||||
@else
|
||||
no title
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
{{ $dataset->id }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $dataset->server_state }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
@if ($dataset->server_state == "unpublished")
|
||||
<a href="" class="pure-button button-small is-success">Publish</a>
|
||||
<a href="" class="pure-button button-small is-success">Restrict</a>
|
||||
@else
|
||||
<a href="" class="pure-button button-small is-warning">Finish</a>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
|
@ -22,13 +22,13 @@
|
|||
<div class="pure-control-group">
|
||||
{!! Form::label('email', 'Email..') !!}
|
||||
{!! Form::text('email', null, ['class' => 'form-control']) !!}
|
||||
<small id="emailHelp" class="pure-form-message-inline">email is optional.</small>
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
{!! Form::label('date_of_birth', 'Date Of Birth..') !!}
|
||||
{!! Form::date('date_of_birth', null, ['placeholder' => date('y-m-d'), 'class' => 'form-control']) !!}
|
||||
<small id="emailHelp" class="pure-form-message-inline">date of birth is optional.</small>
|
||||
<em>*</em>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>ORCID</th>
|
||||
<!-- <th>Borrow</th> -->
|
||||
<th>Email</th>
|
||||
<th>ORCID</th>
|
||||
<th>Status</th>
|
||||
<th></th>
|
||||
<th>Document Count</th>
|
||||
|
@ -34,9 +34,8 @@
|
|||
<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>{{ $person->email }}</td>
|
||||
<td>{{ $person->identifier_orcid }}</td>
|
||||
<td>
|
||||
@if($person->status == 1)
|
||||
Active
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue