view template/links.jade.mustache @ 7:93d94f327e82

autocomplete in link page box Ignore-this: 9e2c68e81aaac5dcf25ddbbe6c1f25d6
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 06 Mar 2013 23:18:39 -0800
parents f8c4c7ce5f4a
children e054949143e9
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: 
    select#filterTag(multiple='multiple', style='width: 300px', data-bind="selectedOptions: filterTags")
      {{#allTags}}
      option(value="{{label}}") {{label}} ({{count}})
      {{/allTags}}
    
    {{#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}}