Sha256: 2399cfaf6241de0112b6ce9ef7b9b4c97d4a19a81814e9362cc03be56a8d1a9e
Contents?: true
Size: 1.44 KB
Versions: 23
Compression:
Stored size: 1.44 KB
Contents
<html> <head> <title>Vanity Report: <%= Time.now.strftime("%b %d %Y, %I:%M:%P") %></title> <style> .vanity { margin: 2em auto; width: 40em; font-family: "Helvetica Neue", "Helvetica", "Verdana", sans-serif } .vanity h1 { margin: 1em 0; border-bottom: 3px solid #ccc } <%= vanity_html_safe(File.read(Vanity.template("vanity.css"))) %> </style> <script type="text/javascript"><%= vanity_html_safe(File.read(Vanity.template("jquery.min.js"))) %></script> <script type="text/javascript"><%= vanity_html_safe(File.read(Vanity.template("flot.min.js"))) %></script> <script type="text/javascript"><%= vanity_html_safe(File.read(Vanity.template("vanity.js"))) %></script> <% if respond_to?(:form_authenticity_token) %><script type="text/javascript">document.auth_token = "<%= form_authenticity_token %>"</script><% end %> </head> <body> <div class="vanity"> <% experiments = Vanity.playground.experiments ; unless experiments.empty? %> <h2>Experiments</h2> <%= render :file=>Vanity.template("_experiments"), :locals=>{:experiments=>experiments} %> <% end %> <% metrics = Vanity.playground.metrics ; unless metrics.empty? %> <h2>Metrics</h2> <%= render :file=>Vanity.template("_metrics"), :locals=>{:metrics=>metrics, :experiments=>experiments} %> <% end %> <p class="footer">Generated by <a href="http://vanity.labnotes.org">Vanity</a></p> </div> </body> </html>
Version data entries
23 entries across 23 versions & 6 rubygems