Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 47 additions & 22 deletions install-script.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,55 @@ inputs:
touch /var/www/example.com/logs/access.log /var/www/example.com/logs/error.log
cat <<EOF > /var/www/example.com/public_html/index.html
<html>
<header>
<title>Cloudify Hello World</title>
</header>
<style>
html, body {
height: 100%;
}
<header>
<title>Cloudify Hello World</title>
</header>
<style>
html {
background: url(https://blastmkt.com/wp-content/uploads/2018/08/seo-2-slide-1-background-4.jpg) center top;
background-size: auto contain;
-webkit-animation: velocity 0.5s linear 0s infinite normal forwards; /* Safari 4.0 - 8.0 */
animation: velocity 0.5s linear 0s infinite normal forwards;
height: 100%;
}
body {
background: url(https://blastmkt.com/wp-content/uploads/2018/08/home-2-slide-rocket-shape-4.png) no-repeat center bottom;
-webkit-animation: flying 1s ease-in-out 0s infinite normal; /* Safari 4.0 - 8.0 */
animation: flying 1s ease-in-out 0s infinite normal;
height: 100%;
margin: 0;
}

html {
display: table;
margin: auto;
}
body {
display: table-cell;
vertical-align: middle;
background-color: black;
}
h1 {
color:white;
}
</style>
/* Safari 4.0 - 8.0 */
@-webkit-keyframes flying {
0% {background-position: center 200%}
50% {background-position: center 150%}
100% {background-position: center 200%}
}

/* Standard syntax */
@keyframes flying {
0% {background-position: center 200%}
50% {background-position: center 150%}
100% {background-position: center 200%}
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes velocity {
0% {background-position: center bottom}
50% {background-position: center center}
100% {background-position: center top}
}

@keyframes velocity {
0% {background-position: center bottom}
50% {background-position: center center}
100% {background-position: center top}
}
</style>
<body>
<h1>Hello, World!</h1>
<img src="image.png">
<div style="text-align: center; color: white;"><h1>Hello World!</h1><br>You deployed your first Cloudify blueprint. Well done!
<br><br><img src="Cloudify-Logo-White.png" width="300px"></div>
</body>
</html>
EOF
Expand Down