tethys/resources/views/workflow/editor/publish.blade.php

81 lines
2.8 KiB
PHP
Raw Normal View History

@extends('settings.layouts.app')
2019-04-17 17:02:00 +00:00
@section('content')
<div class="header">
<h3 class="header-title">
2019-05-28 17:02:21 +00:00
<i class="fa fa-share"></i> Publish reviewed dataset
2019-04-17 17:02:00 +00:00
</h3>
</div>
<div class="pure-g box-content">
<div class="pure-u-1 pure-u-md-1">
<div>
<a href="{{ route('publish.workflow.editor.index') }}" class="pure-button button-small">
<i class="fa fa-chevron-left"></i>
<span>BACK</span>
</a>
</div>
<div id="app1">
{!! Form::model($dataset, [ 'method' => 'POST', 'route' => ['publish.workflow.editor.publishUpdate',
$dataset->id],
'id' => 'publishForm', 'class' => 'pure-form', 'enctype' => 'multipart/form-data', 'v-on:submit.prevent' =>
'checkForm'])
2019-04-17 17:02:00 +00:00
!!}
<fieldset id="fieldset-General">
2019-04-17 17:02:00 +00:00
<h3>Selected Dataset</h3>
<table style="margin-left: 2em">
<tbody>
<tr>
<td style="vertical-align: top; padding-right: 1em">{{ $dataset->id }}</td>
<td>
@foreach($dataset->titles as $title)
<div class="title" style="font-weight: bold">
{{ $title->value }}
</div>
@endforeach
<div class="authors">
@foreach($dataset->persons as $author)
{{ $author->full_name }}
@endforeach
2019-04-17 17:02:00 +00:00
</div>
<input type="hidden" name="selected[]" value="49">
</td>
</tr>
</tbody>
</table>
<div class="pure-u-1 pure-u-md-1-2 pure-div">
{!! Form::label('publisher_name', 'Publisher Name') !!}
{!! Form::text('publisher_name', 'Geologische Bundesanstalt Österreich', ['readonly', 'class' =>
'pure-u-23-24', ]) !!}
</div>
<div class="pure-controls instruction ">
<p>
Are you sure you want to publish the selected dataset?
</p>
<button type="submit" class="pure-button">
<i class="fa fa-share"></i>
<span>Set published</span>
</button>
{{-- <input type="submit" name="sureno" value="No"> --}}
</div>
2019-04-17 17:02:00 +00:00
</fieldset>
<br />
2019-04-17 17:02:00 +00:00
{!! Form::close() !!}
</div>
</div>
</div>
@stop
@section('after-scripts')
2019-04-17 17:02:00 +00:00
@stop