dasantonym/wdt

View on GitHub
src/jade/views/space.jade

Summary

Maintainability
Test Coverage
#video-container
    #canvas-container
        canvas#canvas(width='320', height='240')
#OSD.osd
    div(ng-switch='exercise.type')
        div(ng-switch-when='StandAtAngle')
            | Stand at an Angle of {{ exercise.angle }}° (Delta: {{ delta | number: 2 }})
        div(ng-switch-when='MoveTo')
            | Move to {{exercise.x}}, {{ exercise.y }} (Delta {{ delta | number:1 }})
        div(ng-switch-when='Inertia')
            | Observe Inertia
        div(ng-switch-when='Cage')
            | Stay in the Cage
#osd-settings.osd(style='opacity:{{ OSDOpacity }}')
        | Threshold: {{ threshold | number:0 }}