Files @ a4632a7b2e17
Branch filter:

Location: light9/light9/subserver/index.jade

Drew Perttula
upgrade knockout and jquery, simplify the static/ dirs for all web services
Ignore-this: 8637b7b61cc5d38e8cf15bb1afd7466c
doctype html
html
  head
    title subs
    link(rel='stylesheet', href='style.css')
  body
    h1 Submasters

    div
      input(type='checkbox', data-bind='checked: showLocal', id='showLocal')
      label(for='showLocal') show local
    
    div(data-bind="foreach: subs")
      // ko if: $parent.showLocal() || !isLocal
      a.resource.sub(data-bind="css: {local: isLocal}, attr: {href: uri}")
        div(data-bind="if: isLocal") (local)
        div
          | Label
          input(type="text", data-bind="value: label")
        div
          img(data-bind="attr: {src: img}")
        div
          button(data-bind="click: $root.snapshot")
            New snapshot
            
      // /ko

    #status
      
    script(src="static/jquery-2.1.1.min.js")
    script(src="static/knockout-3.1.0.js")
    script(src="static/websocket.js")
    script(src="gui.js")