Commit c147a4c8 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Revert "Merge branch...

Revert "Merge branch '449-einmalige-eigene-suche-ohne-ausgewahlte-suchmaschinen' into 'development'"

This reverts merge request !806
parent e8933105
......@@ -46,7 +46,7 @@
</li>
@else
<li data-loaded="0" id="webTabSelector" class="tab-selector" role="presentation">
<a aria-controls="web" data-href="{!! $metager->generateSearchLink('web') !!}" href="{!! $metager->generateSearchLink('web', false) !!}">
<a aria-controls="web" data-href="{!! $metager->generateSearchLink('web') !!}" href="{!! $metager->generateSearchLink('web') !!}">
<span class='glyphicon glyphicon-globe'></span>
<span class="hidden-xs">{{ trans('index.foki.web') }}</span>
</a>
......@@ -62,7 +62,7 @@
</li>
@else
<li data-loaded="0" id="bilderTabSelector" class="tab-selector" role="presentation">
<a aria-controls="bilder" data-href="{!! $metager->generateSearchLink('bilder') !!}" href="{!! $metager->generateSearchLink('bilder', false) !!}">
<a aria-controls="bilder" data-href="{!! $metager->generateSearchLink('bilder') !!}" href="{!! $metager->generateSearchLink('bilder') !!}">
<span class='glyphicon glyphicon-picture'></span>
<span class="hidden-xs">{{ trans('index.foki.bilder') }}</span>
</a>
......@@ -78,7 +78,7 @@
</li>
@else
<li data-loaded="0" id="nachrichtenTabSelector" class="tab-selector" role="presentation" >
<a aria-controls="nachrichten" data-href="{!! $metager->generateSearchLink('nachrichten') !!}" href="{!! $metager->generateSearchLink('nachrichten', false) !!}">
<a aria-controls="nachrichten" data-href="{!! $metager->generateSearchLink('nachrichten') !!}" href="{!! $metager->generateSearchLink('nachrichten') !!}">
<span class='glyphicon glyphicon-bullhorn'></span>
<span class="hidden-xs">{{ trans('index.foki.nachrichten') }}</span>
</a>
......@@ -94,7 +94,7 @@
</li>
@else
<li data-loaded="0" id="wissenschaftTabSelector" class="tab-selector" role="presentation">
<a aria-controls="wissenschaft" data-href="{!! $metager->generateSearchLink('wissenschaft') !!}" href="{!! $metager->generateSearchLink('wissenschaft', false) !!}">
<a aria-controls="wissenschaft" data-href="{!! $metager->generateSearchLink('wissenschaft') !!}" href="{!! $metager->generateSearchLink('wissenschaft') !!}">
<span class='glyphicon glyphicon-file'></span>
<span class="hidden-xs">{{ trans('index.foki.wissenschaft') }}</span>
</a>
......@@ -110,14 +110,13 @@
</li>
@else
<li data-loaded="0" id="produktsucheTabSelector" class="tab-selector" role="presentation" >
<a aria-controls="produktsuche" data-href="{!! $metager->generateSearchLink('produktsuche') !!}" href="{!! $metager->generateSearchLink('produktsuche', false) !!}">
<a aria-controls="produktsuche" data-href="{!! $metager->generateSearchLink('produktsuche') !!}" href="{!! $metager->generateSearchLink('produktsuche') !!}">
<span class='glyphicon glyphicon-shopping-cart'></span>
<span class="hidden-xs">{{ trans('index.foki.produkte') }}</span>
</a>
</li>
@endif
{{-- Fix for older Versions --}}
@if( $metager->getFokus() === "angepasst" )
<li id="angepasstTabSelector" role="presentation" data-loaded="1" class="active tab-selector">
<a aria-controls="angepasst" data-href="#angepasst" href="#angepasst">
......@@ -135,7 +134,7 @@
</li>
</ul>
</header>
<main id="main-content-tabs" class="tab-content row">
<main class="tab-content row">
@if( $metager->getFokus() === "web" )
<div role="tabpanel" class="tab-pane active" id="web">
......
......@@ -40,7 +40,6 @@
</div>
</footer>
<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" />
<script type="text/javascript" src="{{ elixir('js/lib.js') }}"></script>
<script type="text/javascript" src="{{ elixir('js/scriptResultPage.js') }}"></script>
<script type="text/javascript" src="{{ elixir('js/all.js') }}"></script>
</body>
</html>
......@@ -192,12 +192,6 @@
@if (isset($success))
<div class="alert alert-success" role="alert">{{ $success }}</div>
@endif
@if (isset($info))
<div class="alert alert-info" role="alert">{{ $info }}</div>
@endif
@if (isset($warning))
<div class="alert alert-warning" role="alert">{{ $warning }}</div>
@endif
@if (isset($error))
<div class="alert alert-danger" role="alert">{{ $error }}</div>
@endif
......@@ -212,7 +206,7 @@
</li>
<li id="info">
<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "kontakt") }}">{{ trans('staticPages.nav5') }}</a> - <a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "impressum") }}">{{ trans('staticPages.nav8') }}</a>
{{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/">{{ trans('staticPages.sumaev.2') }}</a>
{{ trans('staticPages.sumaev.1') }}<a href="https://www.suma-ev.de/" >{{ trans('staticPages.sumaev.2') }}</a>
</li>
<li>
<a href="https://www.uni-hannover.de/" >
......@@ -221,6 +215,7 @@
</ul>
</footer>
<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" />
<script type="text/javascript" src="{{ elixir('js/all.js') }}"></script>
</div>
</body>
</html>
......@@ -7,6 +7,7 @@
<h1>{!! trans('settings.head.1') !!}</h1>
<p id="lead">{!! trans('settings.head.2') !!}</p>
<h2>{!! trans('settings.allgemein.1') !!}</h2>
<input type="hidden" name="focus" value="angepasst">
<container>
<div class="row">
<div class="col-sm-6 col-md-4 col-lg-3">
......@@ -54,13 +55,32 @@
</div>
</div>
</container>
<div id="settingsButtons">
<a id="settings-abort-btn" class="btn btn-danger mutelink" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}">@lang('settings.abort') <span class="glyphicon glyphicon-remove"></span></a>
<input id="unten" class="btn btn-primary settings-btn" type="submit" value="{!! trans('settings.speichern.1') !!}">
<input id="save" class="btn btn-primary settings-btn hidden" type="button" data-href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" value="{!! trans('settings.speichern.2') !!}">
<input id="plugin" class="btn btn-primary settings-btn" type="submit" value="{!! trans('settings.speichern.3') !!}">
<h2>{!! trans('settings.suchmaschinen.1') !!} <small><button type="button" class="btn btn-link allUnchecker">{!! trans('settings.suchmaschinen.2') !!}</button></small></h2>
@foreach( $foki as $fokus => $sumas )
<div class="headingGroup {{ $fokus }}">
<h3 class="fokus-category">
@lang("settings.foki." . $fokus)
<small>
<button type="button" class="checker btn btn-link" data-type="{{ $fokus }}">{!! trans('settings.suchmaschinen.3') !!}</button>
</small>
</h3>
<div class="row">
@foreach( $sumas as $name => $data )
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="checkbox settings-checkbox">
<label>
<input name="param_{{ $name }}" class="focusCheckbox" type="checkbox" />{{ $data['displayName'] }}
</label>
<a class="glyphicon settings-glyphicon glyphicon-link" target="_blank" rel="noopener" href="{{ $data['url'] }}"></a>
</div>
</div>
@endforeach
</div>
</div>
@endforeach
<input id="unten" type="submit" class="btn btn-primary settings-btn" value="{!! trans('settings.speichern.1') !!}">
<input type="button" class="btn btn-primary settings-btn hidden" id="save" data-href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/") }}" value="{!! trans('settings.speichern.2') !!}">
<input id="plugin" type="submit" class="btn btn-primary settings-btn" value="{!! trans('settings.speichern.3') !!}">
<input type="button" class="btn btn-danger settings-btn hidden" id="reset" value="{!! trans('settings.speichern.4') !!}">
</form>
<script src="{{ elixir('js/lib.js') }}"></script>
<script src="{{ elixir('js/settings.js') }}"></script>
@endsection
......@@ -77,6 +77,4 @@
</form>;
</textarea>
@endif
<script src="{{ elixir('js/lib.js') }}"></script>
<script src="{{ elixir('js/widgets.js') }}"></script>
@endsection
......@@ -65,6 +65,4 @@
<input type="hidden" name="lang" value="{{ trans('websearch.head.6') }}">
</form>
</textarea>
<script src="{{ elixir('js/lib.js') }}"></script>
<script src="{{ elixir('js/widgets.js') }}"></script>
@endsection
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment