# HG changeset patch
# User Jeff Hammel <jhammel@mozilla.com>
# Date 1344899579 25200
# Node ID 6ccef7749b49547fb4c676004fa6b567b50fec75
# Parent  bfea9feb5179310da3fbe1729f9919e74aee4c32
begin to hook up all the things

diff -r bfea9feb5179 -r 6ccef7749b49 talosnames/templates/tbpl.html
--- a/talosnames/templates/tbpl.html	Mon Aug 13 15:50:18 2012 -0700
+++ b/talosnames/templates/tbpl.html	Mon Aug 13 16:12:59 2012 -0700
@@ -1,8 +1,35 @@
 <html>
 <head>
 <title>Talos names: TBPL</title>
+<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
+
+<script>
+// In order to get anything working with Config.js
+// We have to stub a bunch of stuff for no reason
+BuildbotDBUser = null;
+PushlogJSONParser = null;
+</script>
+<script src="http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/raw-file/tip/js/Config.js"></script>
+
 <script>
 var data = {{json | html}};
+$(document).ready(function() {
+
+var reverse_mapping = {};
+
+for (var i in Config.testNames) {
+reverse_mapping[Config.testNames[i]] = i;
+}
+
+$(".letter").each(function() {
+var text = $(this).text()
+if (text.length && reverse_mapping[text]) {
+$(this).attr('title', reverse_mapping[text]);
+}
+
+});
+
+});
 </script>
 
 <style>
@@ -21,7 +48,6 @@
 .letter {
 color: green;
 }
-
 </style>
 
 </head>