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
01de517a
Commit
01de517a
authored
Nov 05, 2020
by
Davide Aprea
Browse files
modified search bar
parent
e350567e
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/parts/searchbar.blade.php
View file @
01de517a
...
...
@@ -3,8 +3,8 @@
<div
class=
"searchbar {{$class ?? ''}}"
>
<div
class=
"search-input-submit"
>
<div
id=
"search-key"
>
<a
id=
"key-link"
@
if
(
isset
($
apiAuthorized
)
&&
$
apiAuthorized
)class=
"authorized"
@
else
class=
"unauthorized"
@
endif
href=
"{{ action('KeyController@index', ['redirUrl' => !empty($metager) ? $metager->generateSearchLink($metager->getFokus()) : url()->full() ]) }}"
@
if
(!
empty
($
metager
)
&&
$
metager-
>
isFramed())target="_top" @endif data-tooltip="{{ trans ('index.key.tooltip') }}" tabindex="0">
<img
@
if
(
isset
($
apiAuthorized
)
&&
$
apiAuthorized
)src=
"/img/key-verified.svg"
@
else
src=
"/img/key-icon.svg"
@
endif
alt=
""
aria-hidden=
"true"
id=
"searchbar-img-key"
>
<a
id=
"key-link"
@
if
(
app
('
App
\
Models
\
Key
')
-
>
getStatus()
)class="authorized" @else class="unauthorized"@endif href="{{ action('KeyController@index', ['redirUrl' => !empty($metager) ? $metager->generateSearchLink($metager->getFokus()) : url()->full() ]) }}" @if(!empty($metager)
&&
$metager->isFramed())target="_top" @endif data-tooltip="{{ trans ('index.key.tooltip') }}" tabindex="0">
<img
@
if
(
app
('
App
\
Models
\
Key
')
-
>
getStatus()
)src="/img/key-verified.svg" @else src="/img/key-icon.svg"@endif alt="" aria-hidden="true" id="searchbar-img-key">
</a>
</div>
<div
class=
"search-input"
>
...
...
Write
Preview
Supports
Markdown
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