doctype html
html
head
title Toadie report
meta name='keywords' content='template language'
meta name='author' content='Toadwart'
link href="./assets/#{Toadie.version}/bootstrap.min.css" rel='stylesheet'
link href="./assets/#{Toadie.version}/toadie.css" rel='stylesheet'
script src="./assets/#{Toadie.version}/jquery-1.8.2.min.js"
script src="./assets/#{Toadie.version}/bootstrap.min.js"
body
.navbar.navbar-fixed-top
.navbar-inner
.container
a class="brand" href="#" Toadie
.container
h1 Report
p
' Toadie searched in
code= Toadie.root
' and found #{size}
span.label TODO
' tags, broken down by author email as follows:
.progress
- grouped.each_with_index do |group, index|
- author, todos = group
- percent = ((todos.size / size.to_f) * 100).round(2)
a.bar href="##{author.identifier}_tab" data-toggle='tab' style="width: #{percent}%;" rel='tooltip' title="#{author}, #{todos.size} hits, #{percent}%" data-placement='bottom' class=%w(bar-danger bar-success bar-info bar-warning)[index%5]
= author if percent > 5
.tabbable.tabs-left
ul.nav.nav-tabs
- grouped.each do |author, todos|
li
a href="##{author.identifier}_tab" data-toggle='tab'
span.badge=' todos.size
=' author
.tab-content
.tab-pane.active
- grouped.each do |author, todos|
.tab-pane id="#{author.identifier}_tab"
.alert.alert-info
p.lead=' author.name
dl.dl-horizontal
- if !author.emails.empty?
dt Email adresses
dd= author.emails * ', '
- if !author.nicknames.empty?
dt Nicknames
dd= author.nicknames * ', '
- todos.each do |todo|
blockquote
p= todo
- if todo.reassigned?
span.muted
' assigned by
span.label.label-warning
=' todo.author
small
= todo.file
|:
= todo.line
javascript:
$('[rel=tooltip]').tooltip()