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
5212563d
Commit
5212563d
authored
Sep 14, 2020
by
Kim Höfer
Browse files
Fix mini search form
parent
76ac85d7
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
resources/less/metager/general/forms.less
View file @
5212563d
//
// Newly defined MetaGer form styles
.search-btn-mini{
border: solid 1px;
height: 34px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-color: #ccc;
vertical-align: middle;
border-left-style: none;
}
.search-input-mini{
border-top-right-radius: 0px!important;
border-bottom-right-radius: 0px!important;
}
// Forms (copied from Bootstrap)
// --------------------------------------------------
...
...
resources/less/metager/general/general.less
View file @
5212563d
@import "./base.less";
@import "./cards.less";
@import "./specific.less";
@import "./forms.less";
resources/views/assoziator/asso.blade.php
View file @
5212563d
...
...
@@ -26,11 +26,8 @@
<
div
class
=
"card-heavy"
>
<
p
>
{{
trans
(
'asso.1.1'
)
}}
<
a
href
=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), '/datenschutz') }}"
target
=
"_blank"
>
{{
trans
(
'asso.1.2'
)
}}
</
a
>
{{
trans
(
'asso.1.3'
)
}}
.
</
p
>
<
form
method
=
"post"
>
<
div
class
=
"input-group"
>
<
input
type
=
"text"
class
=
"form-control"
placeholder
=
"{{ trans('asso.search.placeholder') }}"
@
if
(
isset
(
$keywords
))
value
=
"
{
{$keywords}
}
"
@
endif
name
=
"q"
required
autofocus
/>
<
div
class
=
"input-group-addon"
><
button
type
=
"submit"
><
i
class
=
"fa fa-search"
aria
-
hidden
=
"true"
></
i
></
button
></
div
>
</
div
>
<
form
method
=
"post"
class
=
"form-inline"
>
<
input
type
=
"text"
class
=
"form-control search-input-mini"
placeholder
=
"{{ trans('asso.search.placeholder') }}"
@
if
(
isset
(
$keywords
))
value
=
"
{
{$keywords}
}
"
@
endif
name
=
"q"
required
autofocus
/><
button
type
=
"submit"
class
=
"search-btn-mini"
><
i
class
=
"fa fa-search"
aria
-
hidden
=
"true"
></
i
></
button
>
</
form
>
</
div
>
@
if
(
isset
(
$words
))
...
...
resources/views/zitatsuche.blade.php
View file @
5212563d
...
...
@@ -7,13 +7,7 @@
<
div
class
=
"card-light"
>
<
p
>
{{
trans
(
'zitatsuche.subtitle'
)
}}
</
p
>
<
form
id
=
"searchForm"
class
=
"form-inline"
accept
-
charset
=
"UTF-8"
>
<
div
class
=
"form-group"
>
<
label
class
=
"sr-only"
for
=
"q"
>
{{
trans
(
'zitatsuche.search-label'
)
}}
</
label
>
<
div
class
=
"input-group"
>
<
input
type
=
"text"
class
=
"form-control"
id
=
"q"
name
=
"q"
placeholder
=
"Suchworte"
value
=
"{{
$q
}}"
>
<
div
class
=
"input-group-addon"
><
button
type
=
"submit"
><
i
class
=
"fa fa-search"
aria
-
hidden
=
"true"
></
i
></
button
></
div
>
</
div
>
</
div
>
<
input
type
=
"text"
class
=
"form-control search-input-mini"
id
=
"q"
name
=
"q"
placeholder
=
"Suchworte"
value
=
"{{
$q
}}"
><
button
type
=
"submit"
class
=
"search-btn-mini"
><
i
class
=
"fa fa-search"
aria
-
hidden
=
"true"
></
i
></
button
>
</
form
>
@
if
(
$q
!==
""
)
<
hr
/>
...
...
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