Skip to content

Commit

Permalink
Added view capabilities.
Browse files Browse the repository at this point in the history
Routes now have access to a viewhandler which enables loading and parametrizing views.
ConfigManager sets Viewhandler on Route when loading it.

Modified HelloWorldRoute for showcasing ViewHandler mechanics.
  • Loading branch information
TomasLongo committed Jan 11, 2015
1 parent 350e0b9 commit 0b75446
Show file tree
Hide file tree
Showing 25 changed files with 9,794 additions and 2 deletions.
470 changes: 470 additions & 0 deletions assets/twitter-bootstrap/css/bootstrap-theme.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/twitter-bootstrap/css/bootstrap-theme.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions assets/twitter-bootstrap/css/bootstrap-theme.min.css

Large diffs are not rendered by default.

6,332 changes: 6,332 additions & 0 deletions assets/twitter-bootstrap/css/bootstrap.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/twitter-bootstrap/css/bootstrap.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions assets/twitter-bootstrap/css/bootstrap.min.css

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions assets/twitter-bootstrap/custom/parallax-login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/**
* parallax.css
* @Author Original @msurguy -> http://bootsnipp.com/snippets/featured/parallax-login-form
* @Reworked By @kaptenn_com
* @package PARALLAX LOGIN.
*/

body {
background-color: #444;
background: url(http://s18.postimg.org/l7yq0ir3t/pick8_1.jpg);

}
.form-signin input[type="text"] {
margin-bottom: 5px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.form-signin .form-control {
position: relative;
font-size: 16px;
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
height: auto;
padding: 10px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.vertical-offset-100 {
padding-top: 100px;
}
.img-responsive {
display: block;
max-width: 100%;
height: auto;
margin: auto;
}
.panel {
margin-bottom: 20px;
background-color: rgba(255, 255, 255, 0.75);
border: 1px solid transparent;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
19 changes: 19 additions & 0 deletions assets/twitter-bootstrap/custom/parallax-login.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* parallax.js
* @Author original @msurguy (tw) -> http://bootsnipp.com/snippets/featured/parallax-login-form
* @Tested on FF && CH
* @Reworked by @kaptenn_com (tw)
* @package PARALLAX LOGIN.
*/

$(document).ready(function() {
$(document).mousemove(function(event) {
TweenLite.to($("body"),
.5, {
css: {
backgroundPosition: "" + parseInt(event.pageX / 8) + "px " + parseInt(event.pageY / '12') + "px, " + parseInt(event.pageX / '15') + "px " + parseInt(event.pageY / '15') + "px, " + parseInt(event.pageX / '30') + "px " + parseInt(event.pageY / '30') + "px",
"background-position": parseInt(event.pageX / 8) + "px " + parseInt(event.pageY / 12) + "px, " + parseInt(event.pageX / 15) + "px " + parseInt(event.pageY / 15) + "px, " + parseInt(event.pageX / 30) + "px " + parseInt(event.pageY / 30) + "px"
}
})
})
})
Binary file not shown.
229 changes: 229 additions & 0 deletions assets/twitter-bootstrap/fonts/glyphicons-halflings-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 0b75446

Please sign in to comment.