Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
replaced modal, /end goes to the frontpage.
Browse files Browse the repository at this point in the history
  • Loading branch information
hako committed Aug 29, 2015
1 parent 7afb977 commit 8bbf5da
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 43 deletions.
4 changes: 4 additions & 0 deletions app.js
Expand Up @@ -160,6 +160,10 @@ app.get('/nope', function(req, res, next) {
} }
}); });


app.get('/end', function(req, res) {
res.redirect("/")
})

// App // App
app.get('/app', function(req, res) { app.get('/app', function(req, res) {
if(isMobile(req) == true){ if(isMobile(req) == true){
Expand Down
3 changes: 2 additions & 1 deletion bower.json
Expand Up @@ -21,6 +21,7 @@
"icomoon": "~0.0.3", "icomoon": "~0.0.3",
"bootstrap": "~3.3.5", "bootstrap": "~3.3.5",
"howler": "~1.1.26", "howler": "~1.1.26",
"normalize.css": "~3.0.3" "normalize.css": "~3.0.3",
"sweetalert": "~1.1.0"
} }
} }
48 changes: 7 additions & 41 deletions public/css/app/1.css
Expand Up @@ -18,41 +18,6 @@ a:hover {
color: #E34C26; color: #E34C26;
} }


html,
body {
/* The html and body elements cannot have any padding or margin. */
}
/* Wrapper for page content to push down footer */

#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
/* Negative indent footer by it's height */

margin: 0 auto -60px;
}
/* Set the fixed height of the footer here */

#push,
#footer {
height: 60px;
}

#footer {
background-color: #f5f5f5;
}
/* Lastly, apply responsive CSS fixes as necessary */

@media (max-width: 767px) {
#footer {
margin-left: -20px;
margin-right: -20px;
padding-left: 20px;
padding-right: 20px;
}
}

.Googol { .Googol {
font-family: 'Conv_Catull'; font-family: 'Conv_Catull';
text-align: center; text-align: center;
Expand Down Expand Up @@ -121,13 +86,14 @@ h1 {


h3 { h3 {
font-family: 'Averia Sans Libre', cursive; font-family: 'Averia Sans Libre', cursive;
font-size: 60px; font-size: 40px;
color: #2e3436; color: #2e3436;
-webkit-transform: translate(0px, -66px) rotate(12deg) rotateX(12deg) skew(0deg, 0deg) scale(0.7, 0.7);
-moz-transform: translate(0px, -66px) rotate(12deg) rotateX(12deg) skew(0deg, 0deg) scale(0.7, 0.7); -webkit-transform: translate(0px, -66px) rotate(5.8deg) rotateX(12deg) skew(0deg, 0deg) scale(0.7, 0.7);
-o-transform: translate(0px, -66px) rotate(12deg) rotateX(12deg) skew(0deg, 0deg) scale(0.7, 0.7); -moz-transform: translate(0px, -66px) rotate(5.8deg) rotateX(12deg) skew(0deg, 0deg) scale(0.7, 0.7);
-ms-transform: translate(0px, -66px) rotate(12deg) rotateX(12deg) skew(0deg, 0deg) scale(0.7, 0.7); -o-transform: translate(0px, -66px) rotate(5.8deg) rotateX(12deg) skew(0deg, 0deg) scale(0.7, 0.7);
transform: translate(0px, -66px) rotate(12deg) rotateX(12deg) skew(0deg, 0deg) scale(0.7, 0.7); -ms-transform: translate(0px, -66px) rotate(5.8deg) rotateX(12deg) skew(0deg, 0deg) scale(0.7, 0.7);
transform: translate(0px, -66px) rotate(5.8deg) rotateX(12deg) skew(0deg, 0deg) scale(0.7, 0.7);
} }


.Download { .Download {
Expand Down
2 changes: 1 addition & 1 deletion public/js/app/1.js
Expand Up @@ -27,7 +27,7 @@ function next() {
} }
}) })
} else { } else {
alert('Please agree with the terms & conditions to continue.') sweetAlert({title:"Error", text:"Please agree with the terms & conditions to continue.", confirmButtonColor:"#FC2D1E"});
} }
} }


Expand Down
2 changes: 2 additions & 0 deletions views/1.html
@@ -1,11 +1,13 @@
{% extends 'app_layout.html' %} {% extends 'app_layout.html' %}
{% block custom_css %} {% block custom_css %}
<link href="css/app/1.css" rel="stylesheet"> <link href="css/app/1.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="components/sweetalert/dist/sweetalert.css">
{% endblock %} {% endblock %}
{% block custom_js %} {% block custom_js %}
<script src="js/app/1.js" type="text/javascript" charset="utf-8"></script> <script src="js/app/1.js" type="text/javascript" charset="utf-8"></script>
<script src="components/jquery/dist/jquery.min.js" type="text/javascript" charset="utf-8"></script> <script src="components/jquery/dist/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="components/bootstrap/dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script> <script src="components/bootstrap/dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
<script src="components/sweetalert/dist/sweetalert.min.js"></script>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<center> <center>
Expand Down

0 comments on commit 8bbf5da

Please sign in to comment.