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
d58abed9
Commit
d58abed9
authored
Jul 03, 2017
by
Aria Givi
Browse files
Feedback-Notification mit Link aufs Kontaktformular hinzugefügt
parent
ccbe6992
Changes
3
Hide whitespace changes
Inline
Side-by-side
resources/views/kontakt/kontakt.blade.php
View file @
d58abed9
...
...
@@ -16,7 +16,8 @@
<
div
class
=
"form-group kontakt-form-group"
>
<
input
class
=
"form-control"
name
=
"email"
placeholder
=
"{!! trans('kontakt.form.5') !!}"
type
=
"text"
></
div
>
<
div
class
=
"form-group kontakt-form-group"
>
<
textarea
class
=
"form-control"
id
=
"message"
name
=
"message"
placeholder
=
"{!! trans('kontakt.form.6') !!}"
></
textarea
>
<
textarea
class
=
"form-control"
id
=
"message"
name
=
"message"
placeholder
=
"{!! trans('kontakt.form.6') !!}"
>@
if
(
$url
!==
""
)
Die
Suche
unter
"{{ base64_decode(
$url
) }}"
mit
dem
Suchbegriff
"
{
{base64_decode($query)}
}
"
war
unvollständig
.
@
endif
</
textarea
>
</
div
>
<
div
class
=
"form-group kontakt-form-group"
>
<
p
>
{
!!
trans
(
'kontakt.form.7'
)
!!
}
</
p
>
...
...
resources/views/layouts/resultPage.blade.php
View file @
d58abed9
...
...
@@ -9,13 +9,13 @@
<meta
content=
"{{ $eingabe }}"
name=
"q"
/>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<META
HTTP-EQUIV=
"CACHE-CONTROL"
CONTENT=
"NO-CACHE"
/>
<meta
http-equiv=
"language"
content=
"{!! trans('staticPages.meta.language') !!}"
/
>
<meta
HTTP-EQUIV=
"PRAGMA"
CONTENT=
"NO-CACHE"
/>
<meta
http-equiv=
"language"
content=
"{!! trans('staticPages.meta.language') !!}"
/
>
<meta
HTTP-EQUIV=
"PRAGMA"
CONTENT=
"NO-CACHE"
/>
<link
rel=
"search"
type=
"application/opensearchdescription+xml"
title=
"{!! trans('resultPage.opensearch') !!}"
href=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), action('StartpageController@loadPlugin', ['params' => base64_encode(serialize(Request::all()))])) }}"
>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"{{ elixir('css/themes/default.css') }}"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"/css/lightslider.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"/font-awesome/css/font-awesome.min.css"
/
>
<link
id=
"theme"
type=
"text/css"
rel=
"stylesheet"
href=
"/css/theme.css.php"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"/font-awesome/css/font-awesome.min.css"
/
>
<link
id=
"theme"
type=
"text/css"
rel=
"stylesheet"
href=
"/css/theme.css.php"
/>
</head>
<body
id=
"resultBody"
>
@if( !isset($suspendheader) )
...
...
@@ -43,5 +43,9 @@
<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>
<div
id=
"feedback"
style=
"width:50%;margin-left:25%;position: relative; bottom:10px;"
class=
"alert alert-danger alert-dismissable"
>
<a
href=
"#"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
>
×
</a>
<strong>
Nichts passendes auf dabei? Geben Sie uns Feedback über das
<a
href=
"localhost:8000/kontakt/{{base64_encode(Request::fullUrl())}}/{{base64_encode($eingabe)}}"
target=
"_blank"
>
Kontaktformular
</a>
!
</strong>
</div>
</body>
</html>
routes/web.php
View file @
d58abed9
...
...
@@ -48,10 +48,12 @@ Route::group(
->
with
(
'navbarFocus'
,
'kontakt'
);
});
Route
::
get
(
'kontakt
'
,
function
(
)
{
Route
::
get
(
'kontakt
/{url?}/{query?}'
,
function
(
$url
=
""
,
$query
=
""
)
{
return
view
(
'kontakt.kontakt'
)
->
with
(
'title'
,
trans
(
'titles.kontakt'
))
->
with
(
'navbarFocus'
,
'kontakt'
);
->
with
(
'navbarFocus'
,
'kontakt'
)
->
with
(
'url'
,
$url
)
->
with
(
'query'
,
$query
);
});
Route
::
post
(
'kontakt'
,
'MailController@contactMail'
);
...
...
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