Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bootstrapped
  • Loading branch information
davorg committed Mar 7, 2014
1 parent a935b84 commit b644bb2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
9 changes: 6 additions & 3 deletions grillcd.tt
Expand Up @@ -3,9 +3,9 @@
-%]
<h1>[% cd.title | html %]</h1>

<p><a href="index.html">Return to list</p>
<p><a href="index.html">Return to list</a></p>

<table>
<table class="table table-striped table-condensed table-hover table-bordered">
<tr>
<th>Code</th>
<td>[% cd.code %]</td>
Expand All @@ -15,7 +15,10 @@
<td>[% cd.year %]</td>
</tr>
</table>
<table>
<table class="table table-striped table-condensed table-hover table-bordered">
<tr>
<th>&nbsp;</th><th>Artist</th><th>Title</th>
</tr>
[% FOR track IN cd.tracks -%]
<tr>
<td>[% track.num %]</td>
Expand Down
9 changes: 6 additions & 3 deletions index.tt
@@ -1,10 +1,13 @@
[% WRAPPER page.tt
title = 'Cooking Vinyl Compilation CDs'
title = 'Cooking Vinyl Compilations'
-%]
<h1>Cooking Vinyl Compilation CDs</h1>
<h1>Cooking Vinyl Compilations</h1>
<p>A list of compilations released by
<a href="http://www.cookingvinyl.com/">Cooking Vinyl</a> records.</p>
<table>
<table class="table table-striped table-condensed table-hover table-bordered">
<tr>
<th>Catalogue</th><th>Year</th><th>Title</th>
</tr>
[% FOREACH cd IN cds -%]
<tr>
[% IF cd.title -%]
Expand Down
25 changes: 20 additions & 5 deletions page.tt
@@ -1,20 +1,35 @@
<html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<title>[% title %]</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<head>
<!-- link rel="stylesheet" href="style.css" type="text/css" / -->
</head>
<body>
<div class="container">
<div class="header">
<h3 class="text-muted">Cooking Vinyl Compilations</h3>
</div>

<div class="jumbotron">
[% content %]
<address>
</div>


<div class="footer">
Site created by <a href="mailto:dave@dave.org.uk">Dave Cross</a>
</address>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>

<script type="text/javascript">
_uacct = "UA-56332-2";
urchinTracker();
</script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
</body>
</html>

0 comments on commit b644bb2

Please sign in to comment.