Files @ 5127d31bb103
Branch filter:

Location: light9/light9/subserver/effects.jade

Drew Perttula
knockout and querystring are fetched by bower
Ignore-this: 24c028e34cdce8c693d95a0b53a75b18
doctype html
html
  head
    title effects
    link(rel='stylesheet', href='/style.css')
  body
    #status starting...
    h1 Effects
    p: a(href='.') Go to Submasters


    div(data-bind="foreach: moreExprs")
      div.resource.chase
        span(data-bind="text: label")
        | 
        a.resource(data-bind="attr: {href: $root.subtermLink(label, expr)}, text: expr")
    
    div(data-bind="foreach: chases")
      div.resource.chase
        | Chase
        a(data-bind="attr: {href: uri}, text: label")
        ul(data-bind="foreach: $parent.subtermExprs($data)")
          li: a.resource(data-bind="attr: {href: $root.subtermLink($parent.label, $data)}, text: $data")


    div(data-bind="foreach: classes")
      div.resource.effectClass
        h2
          | Effect class
          | 
          a(data-bind="attr: {href: uri}, text: label")
          button(data-bind="click: $root.addToCurrentSong") Add to current song
        div
          code(data-bind="text: code")
        
    #status
      
    script(src="/lib/jquery/dist/jquery.min.js")
    script(src="/lib/knockout/dist/knockout.js")
    script(src="/websocket.js")
    script(src="effects.js")