Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bootstrapped

  • Loading branch information...
commit b644bb2dc08314b642caa76b171c26574420035d 1 parent a935b84
Dave Cross authored
Showing with 32 additions and 11 deletions.
  1. +6 −3 grillcd.tt
  2. +6 −3 index.tt
  3. +20 −5 page.tt
9 grillcd.tt
View
@@ -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>
@@ -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>
9 index.tt
View
@@ -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 -%]
25 page.tt
View
@@ -1,13 +1,27 @@
-<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>
@@ -15,6 +29,7 @@
_uacct = "UA-56332-2";
urchinTracker();
</script>
+ <script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.