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
48cc4ef0
Commit
48cc4ef0
authored
Nov 07, 2017
by
Karl Hasselbring
Browse files
Fortschritte mit dem Footer der Startseite
parent
71f6120c
Changes
3
Hide whitespace changes
Inline
Side-by-side
resources/views/index.blade.php
View file @
48cc4ef0
...
...
@@ -3,6 +3,7 @@
@
section
(
'title'
,
$title
)
@
section
(
'content'
)
@
include
(
'modals.plugin-modal'
)
@
include
(
'modals.create-focus-modal'
)
<
h1
id
=
"mglogo"
><
a
class
=
"hidden-xs"
href
=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "
/
") }}"
>
MetaGer
</
a
></
h1
>
<
fieldset
>
...
...
resources/views/layouts/staticPages.blade.php
View file @
48cc4ef0
...
...
@@ -53,10 +53,12 @@
@yield('content')
</main>
@yield('optionalContent')
@if (isset($page)
&&
$page === 'startpage') @include('layouts.footer', ['type' => 'startpage', 'id' => 'startPageFooter'])
@else @include('layouts.footer', ['type' => 'subpage', 'id' => 'subPageFooter'])
@endif
<img
src=
"{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}"
class=
"hidden"
/>
</div>
@if (isset($page)
&&
$page === 'startpage')
@include('layouts.footer', ['type' => 'startpage', 'id' => 'startPageFooter'])
@else
@include('layouts.footer', ['type' => 'subpage', 'id' => 'subPageFooter'])
@endif
</body>
</html>
resources/views/modals/plugin-modal.blade.php
View file @
48cc4ef0
...
...
@@ -6,11 +6,23 @@
<span
aria-hidden=
"true"
>
×
</span>
</button>
<h4>
@if ($browser === 'Firefox' || $browser === 'Mozilla') {{ trans('index.plugin.head.1') }} @elseif ($browser === 'Chrome')
{{ trans('index.plugin.head.2') }} @elseif ($browser === 'Opera') {{ trans('index.plugin.head.3') }} @elseif ($browser
=== 'IE') {{ trans('index.plugin.head.4') }} @elseif ($browser === 'Edge') {{ trans('index.plugin.head.5') }} @elseif
($browser === 'Safari') {{ trans('index.plugin.head.6') }} @elseif ($browser === 'Vivaldi') {{ trans('index.plugin.head.6')
}} @else $(".seperator").addClass("hidden"); @endif
@if ($browser === 'Firefox' || $browser === 'Mozilla')
{{ trans('index.plugin.head.1') }}
@elseif ($browser === 'Chrome')
{{ trans('index.plugin.head.2') }}
@elseif ($browser === 'Opera')
{{ trans('index.plugin.head.3') }}
@elseif ($browser === 'IE')
{{ trans('index.plugin.head.4') }}
@elseif ($browser === 'Edge')
{{ trans('index.plugin.head.5') }}
@elseif ($browser === 'Safari')
{{ trans('index.plugin.head.6') }}
@elseif ($browser === 'Vivaldi')
{{ trans('index.plugin.head.6') }}
@else
$(".seperator").addClass("hidden");
@endif
</h4>
<p
class=
"text-muted"
>
{{ trans('index.plugin.head.info') }}
</p>
</div>
...
...
@@ -120,8 +132,7 @@
@endif
<hr>
<p>
@lang('index.plugin.faq.1')
<a
href=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "
/
faq#mg-plugin
")
}}"
>
@lang('index.plugin.faq.2')
</a>
<a
href=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "
/
faq#mg-plugin
")
}}"
>
@lang('index.plugin.faq.2')
</a>
</p>
</div>
</div>
...
...
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