-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
235 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<h1>Hello, world!</h1> | ||
<p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p> | ||
<p><a class="btn btn-primary btn-large">Learn more »</a></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<% expands('pages/index') %> | ||
|
||
<% start('image') %> | ||
<% if(typeof newsitem !== 'undefined') { %> | ||
<h2><%= newsitem.title %></h2> | ||
<p><%= newsitem.text %></p> | ||
<p><a class="btn" href="#">View details »</a></p> | ||
<% } else { %> | ||
<p>This newsitem does not exist! | ||
<% } %> | ||
<% end('image') %> | ||
|
||
<% if (typeof newsitem !== 'undefined' && newsitem.id == 20) { %> | ||
<% start('hero') %> | ||
<h1>Hello again, world!</h1> | ||
<p>This hero unit content is fetched from newsitem id 20, | ||
but the default will not come back unless | ||
<% add_link('/', {title: 'the page with the default value is revisited'}) %> | ||
</p> | ||
<% end('hero') %> | ||
<% } %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="span3"> | ||
<div class="well sidebar-nav"> | ||
<ul class="nav nav-list"> | ||
<li class="nav-header">News</li> | ||
<li><% add_link('/news/:id', {title: "Superboete voor wie niet komt opdagen in 'Het Spiegelpaleis'", match: {class: {parent: {class: 'active'}}}, urlvars: {id: 47}}) %></li> | ||
<li><% add_link('/news/:id', {title: "Steven Van Herreweghe: 'We wisten dat het op de nieuwe zee woelig zou zijn'", match: {class: {parent: {class: 'active'}}}, urlvars: {id: 21}}) %></li> | ||
</ul> | ||
</div><!--/.well --> | ||
</div><!--/span--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<div class="navbar navbar-inverse navbar-fixed-top"> | ||
<div class="navbar-inner"> | ||
<div class="container-fluid"> | ||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</a> | ||
<a class="brand" href="#">Hawkejs</a> | ||
<div class="nav-collapse collapse"> | ||
<p class="navbar-text pull-right"> | ||
Logged in as <a href="#" class="navbar-link"><%= firstname %> <%= lastname %></a> | ||
</p> | ||
<ul class="nav"> | ||
<li><% add_link('/', {title: 'Home', match: {parent: {class: 'active'}}}) %></li> | ||
<li><% add_link('/about', {title: 'About', match: {parent: {class: 'active'}}}) %></li> | ||
<li><% add_link('/contact', {title: 'Contact', match: {parent: {class: 'active'}}}) %></li> | ||
</ul> | ||
</div><!--/.nav-collapse --> | ||
</div> | ||
</div> | ||
</div> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title></title> | ||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | ||
<% style('/css/style.css') -%> | ||
<% script('/hawkejs/vendor/history.js') -%> | ||
|
||
<% script('/js/bootstrap/bootstrap-transition.js') -%> | ||
<% script('/js/bootstrap/bootstrap-alert.js') -%> | ||
<% script('/js/bootstrap/bootstrap-modal.js') -%> | ||
<% script('/js/bootstrap/bootstrap-dropdown.js') -%> | ||
<% script('/js/bootstrap/bootstrap-scrollspy.js') -%> | ||
<% script('/js/bootstrap/bootstrap-tab.js') -%> | ||
<% script('/js/bootstrap/bootstrap-tooltip.js') -%> | ||
<% script('/js/bootstrap/bootstrap-popover.js') -%> | ||
<% script('/js/bootstrap/bootstrap-button.js') -%> | ||
<% script('/js/bootstrap/bootstrap-collapse.js') -%> | ||
<% script('/js/bootstrap/bootstrap-carousel.js') -%> | ||
<% script('/js/bootstrap/bootstrap-typeahead.js') -%> | ||
<style type="text/css"> | ||
body { | ||
padding-top: 60px; | ||
padding-bottom: 40px; | ||
} | ||
.sidebar-nav { | ||
padding: 9px 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<!-- Include all the content of elements/topbar into this template --> | ||
<% implement('elements/topbar') %> | ||
<% assign('main') %> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<% expands('layouts/base') %> | ||
|
||
<% start('main') %> | ||
<div class="container-fluid"> | ||
<div class="row-fluid"> | ||
|
||
<!-- Include all the content of elements/sidebar into this template --> | ||
<% implement('elements/sidebar') %> | ||
|
||
<!-- 'content' blocks will be put in here --> | ||
<% assign('content') %> | ||
|
||
</div><!--/row--> | ||
<hr> | ||
<footer> | ||
<p>© Hawkejs 2013</p> | ||
</footer> | ||
</div> | ||
<% end('main') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<% expands('layouts/body') %> | ||
|
||
<!-- | ||
Start the "content" block: any html (until end('content') is called) will be | ||
captured. If any assign('content') calls are encountered, the html will be | ||
placed there. | ||
--> | ||
<% start('content') %> | ||
<div class="span9"> | ||
<div class="hero-unit"> | ||
<!-- 'hero' blocks go here --> | ||
<% assign('hero') %> | ||
<h1>Hello, world!</h1> | ||
<p>This is the default content for this hero unit</p> | ||
<% assign_end('hero') %> | ||
<!-- | ||
You don't have to use assign_end, but when you do you can put | ||
default html between them | ||
--> | ||
</div> | ||
<div class="row-fluid"> | ||
<div class="span4"> | ||
<% add_link('/news/:id', {class: "btn", title: "Previous", urlvars: {id: 20}}) %> | ||
</div><!--/span--> | ||
<div class="span4"> | ||
<% parse_element('elements/image', {deep: false}) %> | ||
<% assign('image') %> | ||
</div><!--/span--> | ||
<div class="span4"> | ||
<% add_link('/news/:id', {class: "btn", title: "Next", urlvars: {id: 22}}) %> | ||
</div><!--/span--> | ||
</div><!--/row--> | ||
</div><!--/span--> | ||
<% end('content') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
<% expands('pages/index') %> | ||
|
||
<% start('image') %> | ||
<h2><%= newsitem.title %></h2> | ||
<p><%= newsitem.text %></p> | ||
<p><a class="btn" href="#">View details »</a></p> | ||
<% end('image') %> | ||
<% if(typeof newsitem !== 'undefined') { %> | ||
<h2><%= newsitem.title %></h2> | ||
<p><%= newsitem.text %></p> | ||
<p><a class="btn" href="#">View details »</a></p> | ||
<% } else { %> | ||
<p>This newsitem does not exist! | ||
<% } %> | ||
<% end('image') %> | ||
|
||
<% if (typeof newsitem !== 'undefined' && newsitem.id == 20) { %> | ||
<% start('hero') %> | ||
<h1>Hello again, world!</h1> | ||
<p>This hero unit content is fetched from newsitem id 20, | ||
but the default will not come back unless | ||
<% add_link('/', {title: 'the page with the default value is revisited'}) %> | ||
</p> | ||
<% end('hero') %> | ||
<% } %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<% expands('layouts/base') %> | ||
|
||
<% start('main') %> | ||
<div class="container-fluid"> | ||
<div class="row-fluid"> | ||
|
||
<!-- Include all the content of elements/sidebar into this template --> | ||
<% implement('elements/sidebar') %> | ||
|
||
<!-- 'content' blocks will be put in here --> | ||
<% assign('content') %> | ||
|
||
</div><!--/row--> | ||
<hr> | ||
<footer> | ||
<p>© Hawkejs 2013</p> | ||
</footer> | ||
</div> | ||
<% end('main') %> |
Oops, something went wrong.