Skip to content
GitLab
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
33c96840
Commit
33c96840
authored
Oct 31, 2016
by
Dominik Hebeler
Browse files
Fehler behoben bei dem der Link für die Settingsseite nicht richtig generiert wurde
parent
61a198bd
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
public/css/themes/default.css
View file @
33c96840
This diff is collapsed.
Click to expand it.
public/js/all.js
View file @
33c96840
...
...
@@ -3587,13 +3587,13 @@ $(document).ready(function() {
function tabs() {
//return;
$("#foki a").each(function() {
$("#foki
> li.tab-selector >
a").each(function() {
$(this).attr("href", "#" + $(this).attr("aria-controls"));
$(this).attr("role", "tab");
$(this).attr("data-toggle", "tab");
});
$("#foki a").off();
$("#foki a").on("show.bs.tab", function(e) {
$("#foki
> li.tab-selector >
a").off();
$("#foki
> li.tab-selector >
a").on("show.bs.tab", function(e) {
var fokus = $(this).attr("aria-controls");
var link = $("#" + fokus + "TabSelector a").attr("data-href");
if ($("#" + fokus + "TabSelector").attr("data-loaded") != "1") {
...
...
public/js/all.js.map
View file @
33c96840
This diff is collapsed.
Click to expand it.
resources/assets/js/scriptResultPage.js
View file @
33c96840
...
...
@@ -7,13 +7,13 @@ $(document).ready(function() {
function
tabs
()
{
//return;
$
(
"
#foki a
"
).
each
(
function
()
{
$
(
"
#foki
> li.tab-selector >
a
"
).
each
(
function
()
{
$
(
this
).
attr
(
"
href
"
,
"
#
"
+
$
(
this
).
attr
(
"
aria-controls
"
));
$
(
this
).
attr
(
"
role
"
,
"
tab
"
);
$
(
this
).
attr
(
"
data-toggle
"
,
"
tab
"
);
});
$
(
"
#foki a
"
).
off
();
$
(
"
#foki a
"
).
on
(
"
show.bs.tab
"
,
function
(
e
)
{
$
(
"
#foki
> li.tab-selector >
a
"
).
off
();
$
(
"
#foki
> li.tab-selector >
a
"
).
on
(
"
show.bs.tab
"
,
function
(
e
)
{
var
fokus
=
$
(
this
).
attr
(
"
aria-controls
"
);
var
link
=
$
(
"
#
"
+
fokus
+
"
TabSelector a
"
).
attr
(
"
data-href
"
);
if
(
$
(
"
#
"
+
fokus
+
"
TabSelector
"
).
attr
(
"
data-loaded
"
)
!=
"
1
"
)
{
...
...
resources/views/layouts/researchandtabs.blade.php
View file @
33c96840
...
...
@@ -43,14 +43,14 @@
@endif
<ul
class=
"nav nav-tabs"
id=
"foki"
role=
"tablist"
>
@if( $metager->getFokus() === "web" )
<li
id=
"webTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active"
>
<li
id=
"webTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active
tab-selector
"
>
<a
aria-controls=
"web"
data-href=
"#web"
href=
"#web"
>
<span
class=
'glyphicon glyphicon-globe'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.web') }}
</span>
</a>
</li>
@else
<li
data-loaded=
"0"
id=
"webTabSelector"
role=
"presentation"
>
<li
data-loaded=
"0"
id=
"webTabSelector"
class=
"tab-selector"
role=
"presentation"
>
<a
aria-controls=
"web"
data-href=
"{{ $metager->generateSearchLink('web') }}"
href=
"{{ $metager->generateSearchLink('web') }}"
>
<span
class=
'glyphicon glyphicon-globe'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.web') }}
</span>
...
...
@@ -59,14 +59,14 @@
@endif
@if( $metager->getFokus() === "bilder" )
<li
id=
"bilderTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active"
>
<li
id=
"bilderTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active
tab-selector
"
>
<a
aria-controls=
"bilder"
data-href=
"#bilder"
href=
"#bilder"
>
<span
class=
'glyphicon glyphicon-picture'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.bilder') }}
</span>
</a>
</li>
@else
<li
data-loaded=
"0"
id=
"bilderTabSelector"
role=
"presentation"
>
<li
data-loaded=
"0"
id=
"bilderTabSelector"
class=
"tab-selector"
role=
"presentation"
>
<a
aria-controls=
"bilder"
data-href=
"{{ $metager->generateSearchLink('bilder') }}"
href=
"{{ $metager->generateSearchLink('bilder') }}"
>
<span
class=
'glyphicon glyphicon-picture'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.bilder') }}
</span>
...
...
@@ -75,14 +75,14 @@
@endif
@if( $metager->getFokus() === "nachrichten" )
<li
id=
"nachrichtenTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active"
>
<li
id=
"nachrichtenTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active
tab-selector
"
>
<a
aria-controls=
"nachrichten"
data-href=
"#nachrichten"
href=
"#nachrichten"
>
<span
class=
'glyphicon glyphicon-bullhorn'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.nachrichten') }}
</span>
</a>
</li>
@else
<li
data-loaded=
"0"
id=
"nachrichtenTabSelector"
role=
"presentation"
>
<li
data-loaded=
"0"
id=
"nachrichtenTabSelector"
class=
"tab-selector"
role=
"presentation"
>
<a
aria-controls=
"nachrichten"
data-href=
"{{ $metager->generateSearchLink('nachrichten') }}"
href=
"{{ $metager->generateSearchLink('nachrichten') }}"
>
<span
class=
'glyphicon glyphicon-bullhorn'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.nachrichten') }}
</span>
...
...
@@ -91,14 +91,14 @@
@endif
@if( $metager->getFokus() === "wissenschaft" )
<li
id=
"wissenschaftTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active"
>
<li
id=
"wissenschaftTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active
tab-selector
"
>
<a
aria-controls=
"wissenschaft"
data-href=
"#wissenschaft"
href=
"#wissenschaft"
>
<span
class=
'glyphicon glyphicon-file'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.wissenschaft') }}
</span>
</a>
</li>
@else
<li
data-loaded=
"0"
id=
"wissenschaftTabSelector"
role=
"presentation"
>
<li
data-loaded=
"0"
id=
"wissenschaftTabSelector"
class=
"tab-selector"
role=
"presentation"
>
<a
aria-controls=
"wissenschaft"
data-href=
"{{ $metager->generateSearchLink('wissenschaft') }}"
href=
"{{ $metager->generateSearchLink('wissenschaft') }}"
>
<span
class=
'glyphicon glyphicon-file'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.wissenschaft') }}
</span>
...
...
@@ -107,14 +107,14 @@
@endif
@if( $metager->getFokus() === "produktsuche" )
<li
id=
"produktsucheTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active"
>
<li
id=
"produktsucheTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active
tab-selector
"
>
<a
aria-controls=
"produktsuche"
data-href=
"#produktsuche"
href=
"#produktsuche"
>
<span
class=
'glyphicon glyphicon-shopping-cart'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.produkte') }}
</span>
</a>
</li>
@else
<li
data-loaded=
"0"
id=
"produktsucheTabSelector"
role=
"presentation"
>
<li
data-loaded=
"0"
id=
"produktsucheTabSelector"
class=
"tab-selector"
role=
"presentation"
>
<a
aria-controls=
"produktsuche"
data-href=
"{{ $metager->generateSearchLink('produktsuche') }}"
href=
"{{ $metager->generateSearchLink('produktsuche') }}"
>
<span
class=
'glyphicon glyphicon-shopping-cart'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.produkte') }}
</span>
...
...
@@ -123,7 +123,7 @@
@endif
@if( $metager->getFokus() === "angepasst" )
<li
id=
"angepasstTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active"
>
<li
id=
"angepasstTabSelector"
role=
"presentation"
data-loaded=
"1"
class=
"active
tab-selector
"
>
<a
aria-controls=
"angepasst"
data-href=
"#angepasst"
href=
"#angepasst"
>
<span
class=
'glyphicon glyphicon-cog'
></span>
<span
class=
"hidden-xs"
>
{{ trans('index.foki.angepasst') }}
</span>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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