Permalink
Browse files

Added help and hithub link to output template

  • Loading branch information...
Munter committed Jan 26, 2013
1 parent 4540ee5 commit 960a4b443764eb07ae677b796216821e7455f086
Showing with 28 additions and 1 deletion.
  1. +23 −0 tpl/graph.css
  2. +5 −1 tpl/index.html
View
@@ -60,3 +60,26 @@ circle.stylus {
circle.html {
fill: dodgerblue;
}
+
+
+p {
+ position: absolute;
+ top: 0;
+ left: 0;
+ padding: 10px;
+ margin: 0;
+ color: #999;
+}
+
+#generator {
+ left: auto;
+ right: 0;
+}
+
+#generator a {
+ color: #99c;
+}
+
+#generator a:hover {
+ color: #669;
+}
View
@@ -1,12 +1,16 @@
<html>
<head>
- <title>assetGraph</title>
+ <title>AssetViz</title>
<link rel="stylesheet" type="text/css" href="graph.css">
</head>
<body>
<svg class="graph"></svg>
+ <p id="help">Zoom: Mousewheel<br>Pan: Click-drag</p>
+
+ <p id="generator">Generated by <a href="https://github.com/Munter/assetviz">AssetViz</a></p>
+
<script src="vendor/d3.v3.min.js"></script>
<script src="graph.js"></script>
<script src="data.js"></script>

0 comments on commit 960a4b4

Please sign in to comment.