Skip to content

Instantly share code, notes, and snippets.

@kembuco
Created February 22, 2012 17:34
Show Gist options
  • Select an option

  • Save kembuco/1886215 to your computer and use it in GitHub Desktop.

Select an option

Save kembuco/1886215 to your computer and use it in GitHub Desktop.

Revisions

  1. kembuco created this gist Feb 22, 2012.
    16 changes: 16 additions & 0 deletions show.jade
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    script(id='pageTpl', type='text/html')
    | <div class="page">
    | <div class="head"><%=title%> - <%=path%></div>
    | <div class="body">
    | <ul>
    | <% _(actions).each(function(action) { %>
    | <li>
    | <%=action.name%> - <%=Helpers.df(action.time)%>
    | <% if (action.ext) { %>
    | <i class="pop icon-info-sign" data-content="<%=_.template($('#extTpl').html(), action)%>" data-original-title="Extra Information"></i>
    | <% } %>
    | </li>
    | <% }); %>
    | </ul>
    | </div>
    | </div>