Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
morpheus.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daria Zenkova
morpheus.js
Commits
a7aab923
Commit
a7aab923
authored
Jul 20, 2016
by
jgould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hash
parent
d68fcff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
58 deletions
+62
-58
index.html
index.html
+62
-58
No files found.
index.html
View file @
a7aab923
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html;charset=utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"
>
<meta
name=
"google-site-verification"
content=
"7UY7VcXR28Tpmw6m6fc6wtJJQvar71GKqGojp3HPb4Q"
/>
<title>
Morpheus
</title>
<link
rel=
"stylesheet"
href=
"css/morpheus-latest.min.css"
>
<script
type=
"text/javascript"
src=
"js/morpheus-external-latest.min.js"
></script>
<script
src=
"js/morpheus-latest.min.js"
></script>
<script
src=
"js/jsme/jsme.nocache.js"
></script>
<link
href=
"https://fonts.googleapis.com/css?family=Roboto"
rel=
"stylesheet"
type=
"text/css"
>
<link
rel=
"shortcut icon"
href=
"favicon.ico"
type=
"image/x-icon"
>
<script
type=
"text/javascript"
src=
"https://www.dropbox.com/static/api/2/dropins.js"
id=
"dropboxjs"
data-app-key=
"6xq3zgeoago5fhw"
></script>
<meta
http-equiv=
"Content-Type"
content=
"text/html;charset=utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"
>
<meta
name=
"google-site-verification"
content=
"7UY7VcXR28Tpmw6m6fc6wtJJQvar71GKqGojp3HPb4Q"
/>
<title>
Morpheus
</title>
<link
rel=
"stylesheet"
href=
"css/morpheus-latest.min.css"
>
<script
type=
"text/javascript"
src=
"js/morpheus-external-latest.min.js"
></script>
<script
src=
"js/morpheus-latest.min.js"
></script>
<script
src=
"js/jsme/jsme.nocache.js"
></script>
<link
href=
"https://fonts.googleapis.com/css?family=Roboto"
rel=
"stylesheet"
type=
"text/css"
>
<link
rel=
"shortcut icon"
href=
"favicon.ico"
type=
"image/x-icon"
>
<script
type=
"text/javascript"
src=
"https://www.dropbox.com/static/api/2/dropins.js"
id=
"dropboxjs"
data-app-key=
"6xq3zgeoago5fhw"
></script>
</head>
<body>
<noscript>
<p>
Please enable JavaScript
</p>
</noscript>
<div
style=
"overflow-x: hidden; width: 100%; height: auto;"
id=
"vis"
></div>
<noscript>
<p>
Please enable JavaScript
</p>
</noscript>
<div
style=
"overflow-x: hidden; width: 100%; height: auto;"
id=
"vis"
></div>
<script
type=
"text/javascript"
>
morpheus
.
Util
.
loadTrackingCode
();
window
.
onerror
=
function
()
{
morpheus
.
FormBuilder
.
showInModal
({
title
:
'
Error
'
,
html
:
'
Oops, soomething went wrong. Please try again.
'
});
};
<script
type=
"text/javascript"
>
morpheus
.
Util
.
loadTrackingCode
();
window
.
onerror
=
function
()
{
morpheus
.
FormBuilder
.
showInModal
({
title
:
'
Error
'
,
html
:
'
Oops, soomething went wrong. Please try again.
'
});
};
var
landingPage
=
new
morpheus
.
LandingPage
();
landingPage
.
$el
.
prependTo
(
$
(
document
.
body
));
if
(
window
.
location
.
search
.
length
===
0
)
{
landingPage
.
show
();
}
else
{
var
search
=
window
.
location
.
search
.
substring
(
1
);
var
keyValuePairs
=
search
.
split
(
'
&
'
);
var
params
=
{};
for
(
var
i
=
0
;
i
<
keyValuePairs
.
length
;
i
++
)
{
var
pair
=
keyValuePairs
[
i
].
split
(
'
=
'
);
params
[
pair
[
0
]]
=
decodeURIComponent
(
pair
[
1
]);
}
if
(
params
.
json
)
{
var
options
=
JSON
.
parse
(
params
.
json
);
landingPage
.
open
(
options
);
}
else
if
(
params
.
url
)
{
// url to config
$
.
ajax
({
url
:
params
.
url
}).
done
(
function
(
json
)
{
landingPage
.
open
(
json
);
}).
fail
(
function
()
{
console
.
log
(
'
Unable to get config file
'
);
landingPage
.
show
();
});
}
else
{
landingPage
.
show
();
}
}
</script>
var
search
=
window
.
location
.
search
;
if
(
search
.
length
===
0
)
{
search
=
window
.
location
.
hash
;
}
var
landingPage
=
new
morpheus
.
LandingPage
();
landingPage
.
$el
.
prependTo
(
$
(
document
.
body
));
if
(
search
.
length
===
0
)
{
landingPage
.
show
();
}
else
{
var
search
=
search
.
substring
(
1
);
var
keyValuePairs
=
search
.
split
(
'
&
'
);
var
params
=
{};
for
(
var
i
=
0
;
i
<
keyValuePairs
.
length
;
i
++
)
{
var
pair
=
keyValuePairs
[
i
].
split
(
'
=
'
);
params
[
pair
[
0
]]
=
decodeURIComponent
(
pair
[
1
]);
}
if
(
params
.
json
)
{
var
options
=
JSON
.
parse
(
params
.
json
);
landingPage
.
open
(
options
);
}
else
if
(
params
.
url
)
{
// url to config
$
.
ajax
({
url
:
params
.
url
}).
done
(
function
(
json
)
{
landingPage
.
open
(
json
);
}).
fail
(
function
()
{
console
.
log
(
'
Unable to get config file
'
);
landingPage
.
show
();
});
}
else
{
landingPage
.
show
();
}
}
</script>
</body>
</html>
...
...
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