Initial import
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
@extends("layout.main")
|
||||
@section("content")
|
||||
|
||||
@if (Auth::can_moderate())
|
||||
<jobdisplay source="revision:{{ $rev->id }}"></jobdisplay>
|
||||
@endif
|
||||
|
||||
|
||||
<pdf rev="{{ $rev->id }}" pages="{{ $rev->info->Pages }}">></pdf>
|
||||
<div class="row">
|
||||
@component("thumbnail", ["rev" => $rev])
|
||||
@endcomponent
|
||||
|
||||
<div class="col-lg-9 col-12">
|
||||
@if (Auth::can_moderate())
|
||||
<div class="text-end btn-group">
|
||||
<a class="btn btn-primary" title="Split to new document" href='/extract/revision/{{ $rev->id }}'><i class='fa fa-unlink'></i></a>
|
||||
<a class="btn btn-primary" title="OCR" href='/ocr/revision/{{ $rev->id }}'><i class='fa-brands fa-searchengin'></i></a>
|
||||
<a class="btn btn-primary" title="Recompress" href='/recompress/revision/{{ $rev->id }}'><i class='fa fa-file-zipper'></i></a>
|
||||
<a class="btn btn-primary" title="Refresh images" href='/purge/revision/{{ $rev->id }}'><i class='fa fa-images'></i></a>
|
||||
<a class="btn btn-primary" title="Redownload from source" href='/redownload/revision/{{ $rev->id }}'><i class='fa fa-recycle'></i></a>
|
||||
<a class="btn btn-danger" title="Delete" href='/delete/revision/{{ $rev->id }}'><i class='fa fa-trash'></i></a>
|
||||
</div>
|
||||
@endif
|
||||
<table class="table">
|
||||
@if ($rev->document)
|
||||
<tr>
|
||||
<td>
|
||||
<b>Document:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href='/document/{{ $rev->document->id }}'>
|
||||
<strong>{{ $rev->document->title }}</strong>
|
||||
{{ $rev->document->subtitle }}
|
||||
<small>{{ $rev->document->subsubtitle }}</small>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<b>Order Number:</b>
|
||||
</td>
|
||||
<td>
|
||||
{{ $rev->document->internal_id }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<span class="my-auto align-middle"><b>Revision:</b></span>
|
||||
</td>
|
||||
<td>
|
||||
@if (Auth::can_moderate())
|
||||
<inlineedit value="{{ $rev->revno }}" url="/api/revision/{{ $rev->id }}" field="revno"/>
|
||||
@else
|
||||
{{ $rev->revno }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<b>Pages:</b>
|
||||
</td>
|
||||
<td>
|
||||
@isset ($rev->info->Pages)
|
||||
{{ $rev->info->Pages }}
|
||||
@else
|
||||
Unknown
|
||||
@endisset
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<b>Original Filename:</b>
|
||||
</td>
|
||||
<td>
|
||||
{{ $rev->origtitle }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user