view template/links.jade.mustache @ 6:ce779bdd2fb3

links to peers Ignore-this: 31f60d68f279b53eee2f38b1f570c6c9
author Drew Perttula <drewp@bigasterisk.com>
date Fri, 01 Mar 2013 01:24:05 -0800
parents f8c4c7ce5f4a
children 93d94f327e82
line wrap: on
line source

doctype html
html
  head
    title {{desc}}
    {{> head.jade}}
  body
    | {{{loginBar}}}
    h2 Showing {{desc}}

    p
      a(href="{{toRoot}}/addLink") Add link
    
    | Filter to: 
    {{#pageTags}}  
    a.tag(href="{{word}}") {{word}}
    | 
    {{/pageTags}}
    input(type="text", id="filterTag")
    
    {{#links}}
    .link
      h3
        span.favicon(style="background-image: url(//www.google.com/s2/favicons?domain={{domain}})")
        a(href="{{href}}") {{displayDescription}}
      {{#extended}}
      .notes
        | {{extended}}
      {{/extended}}
      .tags
        | Tags:
        {{#tagWords}}
        a.tag(href="{{toRoot}}/tag/{{word}}", title="add/remove this tag from the current filter") {{word}}
        | 
        {{/tagWords}}
      .hrefShown
        a(href="{{href}}") {{href}}
      .modified
        | Modified: {{t}}
      .edit
        a(href="{{toRoot}}/{{editLink}}") Edit
        
    {{/links}}

    p {{stats}}
    script
      var toRoot = "{{toRoot}}";
    {{> tail.jade}}