- new SearchController
- new subtitle in hero section - MimetypeTableSeeder with geo-Package
This commit is contained in:
parent
54d6c5d434
commit
7bf0337faf
11 changed files with 277 additions and 11 deletions
|
@ -8,7 +8,7 @@
|
|||
<div class="twelve columns">
|
||||
<h1 class="separator">Research Data Repository</h1>
|
||||
<h2>
|
||||
Data Publisher for Geo and Atmospheric Science Austria
|
||||
Data Publisher for Geo- and Atmospheric Science Austria
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -53,6 +53,7 @@
|
|||
<!-- <img src="images/portfolio/work_1.svg"> -->
|
||||
<div class="work-front">
|
||||
<div class="vertical-centered">
|
||||
<i class="fa fa-hdd icon" aria-hidden="true"></i>
|
||||
<h3>Data Archival</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -69,6 +70,7 @@
|
|||
<!-- <img src="images/portfolio/work_2.svg"> -->
|
||||
<div class="work-front">
|
||||
<div class="vertical-centered">
|
||||
<i class="fas fa-share-alt icon"></i>
|
||||
<h3>Data Publication</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -86,6 +88,7 @@
|
|||
<!-- <img src="images/portfolio/work_3.svg"> -->
|
||||
<div class="work-front">
|
||||
<div class="vertical-centered">
|
||||
<i class="fas fa-user-edit icon"></i>
|
||||
<h3>Peer Review</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -19,11 +19,12 @@
|
|||
<!-- <img src="images/portfolio/work_1.svg"> -->
|
||||
<div class="work-front">
|
||||
<div class="vertical-centered">
|
||||
<i class="fa fa-hdd icon" aria-hidden="true"></i>
|
||||
<h3>Data Archival</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="work-detail">
|
||||
<div class="vertical-centered">
|
||||
<div class="vertical-centered">
|
||||
<p class="separator orange">Data Archival</p>
|
||||
<p>
|
||||
RDR provides format-independent archiving services for data protection.
|
||||
|
@ -35,6 +36,7 @@
|
|||
<!-- <img src="images/portfolio/work_2.svg"> -->
|
||||
<div class="work-front">
|
||||
<div class="vertical-centered">
|
||||
<i class="fas fa-share-alt icon"></i>
|
||||
<h3>Data Publication</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -50,8 +52,9 @@
|
|||
</li>
|
||||
<li class="four columns isotope-item mobile ui branding">
|
||||
<!-- <img src="images/portfolio/work_3.svg"> -->
|
||||
<div class="work-front">
|
||||
<div class="work-front">
|
||||
<div class="vertical-centered">
|
||||
<i class="fas fa-user-edit icon"></i>
|
||||
<h3>Peer Review</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
|
109
resources/views/frontend/search/index.blade.php
Normal file
109
resources/views/frontend/search/index.blade.php
Normal file
|
@ -0,0 +1,109 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('title', Lang::get('resources.solrsearch_title_simple'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<section data-sr id="search" class="search normal u-full-width">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
<h3 class="separator">SEARCH</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
<div class="twelve columns">
|
||||
<div class="content">
|
||||
<div class="sidebar-simplesearch">
|
||||
{{ Form::open(array('method' => 'GET')) }}
|
||||
|
||||
{!! Form::text('q', Input::get('q'), array('class'=>'u-full-width',
|
||||
'placeholder'=>'Enter your search term')) !!}
|
||||
<span class="input-group-btn">
|
||||
{{-- {{ Form::submit('Search', array('class' => 'btn btn-primary btn-lg')) }} --}}
|
||||
<button type="submit">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
</span>
|
||||
|
||||
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (isset($resultset))
|
||||
<header>
|
||||
<p>Your search yielded <strong>{{ $resultset->getNumFound() }}</strong> results:</p>
|
||||
<hr />
|
||||
</header>
|
||||
|
||||
<div class="row">
|
||||
<ul class="search-items isotope js-isotope u-cf">
|
||||
|
||||
@foreach ($resultset as $document)
|
||||
|
||||
<li>
|
||||
<div class="post">
|
||||
<header class="post-header">
|
||||
<h3 class="post-title">
|
||||
<a href="{{ URL::route('frontend.dataset.show',['id' =>$document->id]) }}">
|
||||
{{ $document->title_output }}
|
||||
</a>
|
||||
</h3>
|
||||
</header>
|
||||
<div class="blog-meta">
|
||||
{{ date('D, m M, Y', $document->server_date_modified) }}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="post-description">
|
||||
|
||||
@if (is_array($document->author))
|
||||
<em>Author: {{ implode(', ', $document->author) }}</em>
|
||||
@endif
|
||||
|
||||
<p>
|
||||
<em>Abstract: {{ $document->abstract_output }}</em>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@endsection
|
||||
|
||||
|
||||
<style>
|
||||
.sidebar-simplesearch {
|
||||
position: relative;
|
||||
margin-bottom: 2.5em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sidebar-simplesearch input[type=text] {
|
||||
padding: 0.25em 0.3em;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.sidebar-simplesearch button {
|
||||
padding: 0.25em 0.3em;
|
||||
border: none;
|
||||
background: none;
|
||||
position: absolute;
|
||||
right: 0.25em;
|
||||
color: #666;
|
||||
}
|
||||
</style>
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue