Permalink
Browse files

added home button

  • Loading branch information...
1 parent aa50e42 commit 6b289f29bf6ce7397c4b7ebec835e0ee58e96771 @pilks pilks committed May 17, 2012
@@ -33,6 +33,19 @@ h3 {
text-overflow: ellipsis;
}
+aside#homeButton {
+ position: fixed;
+ left: 5px;
+ top: 5px;
+ z-index: 100;
+}
+
+aside#homeButton img {
+ -webkit-border-radius: 25px;
+ -moz-border-radius: 25px;
+ border-radius: 25px;
+}
+
div#bodyWrapper {
padding: 0px 20px 35px 20px;
margin: auto;
View
@@ -28,6 +28,7 @@ function writeSource(outputDir, data, callback) {
data.pathToCSS = path.resolve(path.join(outputDir, 'css'));
data.pathToScripts = path.resolve(path.join(outputDir, 'scripts'));
+ data.pathToRoot = path.resolve(outputDir);
data.green = getColoredLines(data, function (c) {return c >= 1; });
data.red = getColoredLines(data, function (c) {return c === 0; });
data.generated = new Date().toString();
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -14,6 +14,9 @@
<link href="<%= pathToCSS %>/shThemeDefault.css" rel="stylesheet" type="text/css" />
</head>
<body>
+ <aside id="homeButton">
+ <a href="<%= pathToRoot %>/index.html"> <img src="<%= pathToRoot %>/resources/pancakes.jpg" alt="home" width="45" height="45"> </a>
+ </aside>
<div id="bodyWrapper">
<header>
<h1><%= filename %></h1>

0 comments on commit 6b289f2

Please sign in to comment.