Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
0f169c87
Commit
0f169c87
authored
Feb 12, 2019
by
Dominik Hebeler
Browse files
Fixed a bug
parent
81e200a1
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
resources/less/metager/parts/modals.less
View file @
0f169c87
/* Rund ums Fokus Modal */
#show-create-focus:checked {
&+#create-focus-modal {
position: fixed;
display: flex;
}
}
#plugin-modal ol>li {
margin-bottom: 5px;
}
...
...
resources/views/layouts/researchandtabs.blade.php
View file @
0f169c87
...
...
@@ -61,26 +61,6 @@
@yield('results')
</div>
<div
id=
"additions-container"
>
<div
id=
"search-settings"
>
<h1>
Eigene Suche
</h1>
@foreach( App\Http\Controllers\FokiLoader::loadFoki() as $fokus => $sumas )
<h2
class=
"focus-category"
>
@lang("settings.foki." . $fokus)
</h2>
<div
class=
"fokus-engines"
>
@foreach( $sumas as $name => $data )
<div
class=
"checkbox settings-checkbox"
>
<label>
<input
type=
"checkbox"
name=
"engine_{{ strtolower($name) }}"
class=
"focusCheckbox"
@
if
($
fokus=
='web'
)
checked
@
endif
>
{{ $data['displayName'] }}
<a
class=
"settings-icon"
target=
"_blank"
rel=
"noopener"
href=
"{{ $data['url'] }}"
>
<i
class=
"fa fa-info-circle"
aria-hidden=
"true"
></i>
</a>
</label>
</div>
@endforeach
</div>
@endforeach
</div>
@if( $metager->showQuicktips() )
<div
id=
"quicktips"
>
@include('quicktips', ['quicktips', $quicktips])
...
...
resources/views/layouts/resultPage.blade.php
View file @
0f169c87
...
...
@@ -30,7 +30,6 @@
@include('parts.sidebar', ['id' => 'resultPageSideBar'])
@include('parts.sidebar-opener', ['class' => 'fixed'])
@if( !isset($suspendheader) )
@include('modals.create-focus-modal')
@include('layouts.researchandtabs')
@else
<div
id=
"resultpage-container-noheader"
>
...
...
resources/views/modals/create-focus-modal.blade.php
deleted
100644 → 0
View file @
81e200a1
<input
type=
"checkbox"
id=
"show-create-focus"
class=
"hidden"
>
<div
class=
"metager-modal"
id=
"create-focus-modal"
role=
"dialog"
>
<div
class=
"metager-modal-dialog"
>
<div
class=
"metager-modal-content"
>
<div
class=
"metager-modal-header"
>
<label
class=
"close-metager-modal navigation-element"
for=
"show-create-focus"
></label>
<h4>
@lang("index.focus-creator.head")
</h4>
<p
class=
"text-muted"
>
@lang("index.focus-creator.description")
</p>
<div
class=
"clearfix"
>
<div
class=
"settings-modal-buttons pull-right"
>
<button
type=
"submit"
form=
"customSearchForm"
class=
"save-focus-btn btn btn-primary"
>
@lang('index.focus-creator.save')
</button>
</div>
</div>
</div>
<div
class=
"modal-body"
>
<input
type=
"checkbox"
class=
"hidden"
id=
"toggle-dropdowns"
checked
>
<label
id=
"toggle-dropdowns-label"
for=
"toggle-dropdowns"
class=
"js-only"
></label>
<form
id=
"customSearchForm"
method=
"GET"
action=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "
/
meta
/
meta.ger3
")
}}"
accept-charset=
"UTF-8"
>
<input
type=
"hidden"
name=
"eingabe"
value=
"@if(isset($eingabe)){{$eingabe}}@endif"
>
<input
type=
"hidden"
name=
"encoding"
value=
"utf8"
>
<input
type=
"hidden"
name=
"focus"
value=
"focus_custom"
>
@foreach( App\Http\Controllers\FokiLoader::loadFoki() as $fokus => $sumas )
<div
class=
"headingGroup {{ $fokus }}"
>
<input
type=
"checkbox"
id=
"toggle-{{ $fokus }}-dropdown"
class=
"focus-dropdown-toggle"
checked
>
<label
for=
"toggle-{{ $fokus }}-dropdown"
class=
"focus-category focus-dropdown-label h3"
>
@lang("settings.foki." . $fokus)
</label>
<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
type=
"checkbox"
name=
"engine_{{ strtolower($name) }}"
class=
"focusCheckbox"
@
if
(
isset
($
focusPages
)
&&
in_array
(
strtolower
($
name
),
$
focusPages
))
checked
@
endif
>
{{ $data['displayName'] }}
<a
class=
"settings-icon"
target=
"_blank"
rel=
"noopener"
href=
"{{ $data['url'] }}"
>
<i
class=
"fa fa-link"
aria-hidden=
"true"
></i>
</a>
</label>
</div>
</div>
@endforeach
</div>
</div>
@endforeach
<div
class=
"clearfix"
>
<div
class=
"settings-modal-buttons pull-right"
>
<button
type=
"submit"
class=
"save-focus-btn btn btn-primary"
>
@lang('index.focus-creator.save')
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
\ No newline at end of file
resources/views/parts/searchbar.blade.php
View file @
0f169c87
{{
--
Don
't forget @include('
modals
.
create
-
focus
-
modal
') --}}
{{
--
Don
't forget <script src="{{ mix('
js
/
searchbar
.
js
') }}"></script> --}}
<fieldset>
<form id="searchForm" method={{ $request }} action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/meta/meta.ger3 ") }}" accept-charset="UTF-8">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment