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
aa68a50b
Commit
aa68a50b
authored
Jun 22, 2017
by
Aria Givi
Browse files
Theme wird in Skript scriptSubPages gesetzt und im Template staticPages eingebunden.
parent
a5ae52e8
Changes
4
Hide whitespace changes
Inline
Side-by-side
gulpfile.js
View file @
aa68a50b
...
...
@@ -26,6 +26,7 @@ elixir(function (mix) {
mix
.
scripts
([
'
lib/jquery.js
'
,
'
lib/iframeResizer.contentWindow.min.js
'
],
'
public/js/quicktips.js
'
)
mix
.
scripts
([
'
scriptStartPage.js
'
,
'
results.js
'
],
'
public/js/scriptStartPage.js
'
);
mix
.
scripts
([
'
scriptResultPage.js
'
,
'
results.js
'
],
'
public/js/scriptResultPage.js
'
);
mix
.
scripts
([
'
scriptSubpages.js
'
],
'
public/js/scriptSubpages.js
'
);
mix
.
version
([
'
css/themes/default.css
'
,
'
js/lib.js
'
,
'
js/quicktips.js
'
]);
mix
.
less
(
'
metager/beitritt.less
'
,
'
public/css/beitritt.css
'
)
mix
.
version
([
'
css/beitritt.css
'
])
...
...
public/js/scriptSubPages.js
0 → 100644
View file @
aa68a50b
$
(
document
).
ready
(
function
()
{
if
(
localStorage
)
{
var
theme
=
localStorage
.
getItem
(
'
theme
'
);
if
(
theme
!=
null
)
{
if
((
theme
.
match
(
/,/g
)
||
[]).
length
!=
3
)
{
localStorage
.
removeItem
(
'
theme
'
);
}
else
{
theme
=
theme
.
split
(
'
,
'
);
$
(
'
#theme
'
).
attr
(
'
href
'
,
'
/css/theme.css.php?r=
'
+
theme
[
0
]
+
'
&g=
'
+
theme
[
1
]
+
'
&b=
'
+
theme
[
2
]
+
'
&a=
'
+
theme
[
3
]);
}
}
}
});
\ No newline at end of file
resources/views/datenschutz.blade.php
View file @
aa68a50b
...
...
@@ -21,20 +21,21 @@
<
li
>
{
!!
trans
(
'datenschutz.policy.18'
)
!!
}
</
li
>
<
li
>
{
!!
trans
(
'datenschutz.policy.19'
)
!!
}
</
li
>
</
ul
>
<
h2
>
{
!!
trans
(
'datenschutz.twitter'
)
!!
}
</
h2
>
<
pre
><
p
>&
gt
;
7.4.2014
C
.
Schulzki
-
Haddouti
@
kooptech
&
gt
;
MetaGer
dürfte
im
Moment
die
sicherste
Suchmaschine
weltweit
sein
</
p
>
<
p
>&
gt
;
8.4.2014
Stiftung
Datenschutz
@
DS_Stiftung
&
gt
;
Wenn
das
Suchergebnis
anonym
bleiben
soll
:
@
MetaGer
,
die
gemeinnützige
&
gt
;
Suchmaschine
aus
#Hannover</p>
<
p
>&
gt
;
8.4.2014
Markus
Käkenmeister
@
markus2009
&
gt
;
Suchmaschine
ohne
Tracking
</
p
>
<
p
>&
gt
;
8.4.2014
Marko
[
~
sHaKaL
~
]
@
mobilef0rensics
&
gt
;
Nice
;
anonymous
Search
and
find
with
MetaGer
</
p
>
<
p
>&
gt
;
7.4.2014
Anfahrer
@
anfahrer
&
gt
;
Websuche
mit
#Datenschutz dank #MetaGer : Anonyme Suche und
&
gt
;
Ergebnisse
via
Proxy
</
p
>
<
p
>&
gt
;
8.4.2014
stupidit
&
eacute
;
pue
@
dummheitstinkt
&
gt
;
wow
,
is
this
the
MetaGer
I
used
in
the
end
90
s
in
internet
cafes
???
&
gt
;
"Anonymes Suchen und Finden mit MetaGer | heise"
</
p
></
pre
>
@
endsection
<
h2
>
{
!!
trans
(
'datenschutz.twitter'
)
!!
}
</
h2
>
<
pre
><
p
>&
gt
;
7.4.2014
C
.
Schulzki
-
Haddouti
@
kooptech
&
gt
;
MetaGer
dürfte
im
Moment
die
sicherste
Suchmaschine
weltweit
sein
</
p
>
<
p
>&
gt
;
8.4.2014
Stiftung
Datenschutz
@
DS_Stiftung
&
gt
;
Wenn
das
Suchergebnis
anonym
bleiben
soll
:
@
MetaGer
,
die
gemeinnützige
&
gt
;
Suchmaschine
aus
#Hannover</p>
<
p
>&
gt
;
8.4.2014
Markus
Käkenmeister
@
markus2009
&
gt
;
Suchmaschine
ohne
Tracking
</
p
>
<
p
>&
gt
;
8.4.2014
Marko
[
~
sHaKaL
~
]
@
mobilef0rensics
&
gt
;
Nice
;
anonymous
Search
and
find
with
MetaGer
</
p
>
<
p
>&
gt
;
7.4.2014
Anfahrer
@
anfahrer
&
gt
;
Websuche
mit
#Datenschutz dank #MetaGer : Anonyme Suche und
&
gt
;
Ergebnisse
via
Proxy
</
p
>
<
p
>&
gt
;
8.4.2014
stupidit
&
eacute
;
pue
@
dummheitstinkt
&
gt
;
wow
,
is
this
the
MetaGer
I
used
in
the
end
90
s
in
internet
cafes
???
&
gt
;
"Anonymes Suchen und Finden mit MetaGer | heise"
</
p
></
pre
>
@
endsection
\ No newline at end of file
resources/views/layouts/staticPages.blade.php
View file @
aa68a50b
...
...
@@ -222,4 +222,6 @@
<img
src=
"{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}"
class=
"hidden"
/>
</div>
</body>
<script
src=
"{{ elixir('js/lib.js') }}"
></script>
<script
src=
"{{ elixir('js/scriptSubPages.js') }}"
></script>
</html>
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