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
cdd20812
Commit
cdd20812
authored
Nov 30, 2016
by
Phil Höfer
Browse files
Maps tab eingefügt
parent
e040129e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
public/js/all.js
View file @
cdd20812
This source diff could not be displayed because it is too large. You can
view the blob
instead.
public/js/all.js.map
View file @
cdd20812
This diff is collapsed.
Click to expand it.
resources/assets/js/scriptResultPage.js
View file @
cdd20812
...
...
@@ -10,9 +10,11 @@ $(document).ready(function() {
function
tabs
()
{
//return;
$
(
"
#foki > li.tab-selector > a
"
).
each
(
function
()
{
$
(
this
).
attr
(
"
href
"
,
"
#
"
+
$
(
this
).
attr
(
"
aria-controls
"
));
$
(
this
).
attr
(
"
role
"
,
"
tab
"
);
$
(
this
).
attr
(
"
data-toggle
"
,
"
tab
"
);
if
(
$
(
this
).
attr
(
"
target
"
)
!=
"
_blank
"
)
{
$
(
this
).
attr
(
"
href
"
,
"
#
"
+
$
(
this
).
attr
(
"
aria-controls
"
));
$
(
this
).
attr
(
"
role
"
,
"
tab
"
);
$
(
this
).
attr
(
"
data-toggle
"
,
"
tab
"
);
}
});
$
(
"
#foki > li.tab-selector > a
"
).
off
();
$
(
"
#foki > li.tab-selector > a
"
).
on
(
"
show.bs.tab
"
,
function
(
e
)
{
...
...
resources/views/layouts/researchandtabs.blade.php
View file @
cdd20812
...
...
@@ -126,6 +126,13 @@
</
a
>
</
li
>
@
endif
<
li
id
=
"mapsTabSelector"
role
=
"presentation"
class
=
"tab-selector"
>
<
a
href
=
"https://maps.metager.de/map/{{
$metager->getQ
() }}/-6.781309835595698/44.85855550132342/33.9779675081543/58.25372144666716"
target
=
"_blank"
>
<
span
class
=
'glyphicon glyphicon-tree-conifer'
></
span
>
<
span
class
=
"hidden-xs"
>
{{
trans
(
'index.foki.maps'
)
}}
</
span
>
</
a
>
</
li
>
</
ul
>
</
header
>
<
main
class
=
"tab-content row"
>
...
...
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