/*
 * .control -- CanopyProperty object to display
 */
function CanoControlSmallNode(params) {
    var self=this,
        $me,
        $left,
        $right,
        control = params.control,
        propNodes = []
    ;

    $.extend(this, new CanoNode());

    this.get$ = function() {
        return $me;
    }

    this.onLive = function() {
    }

    if (control.name() == "speed") {
        $me = $("\
            <div class=cano-sensor_small-outer>\
                <div class=cano-sensor_small-top>\
                    <div class=bottom_aligner></div><div style='display:inline-block;' class=btn-small-not_selected>OFF</div><div style='display:inline-block;' class=btn-small>SLOW</div><div style='display:inline-block;' class=btn-small-not_selected>MED</div><div style='display:inline-block;' class=btn-small-not_selected>FAST</div>\
                </div>\
                <div class=cano-sensor_small-bottom>" + control.name() + "</div>\
            </div>\
        ");
    }
    else {
        var value = (control.value() !== null) ? control.value().v : '-';

        $me = $("<div class=cano-sensor_small-outer>\
            <div class=cano-sensor_small-top>\
                <div class=bottom_aligner></div><div style='display: inline-block'>\
                    " + value + "\
                </div>\
            <div class=cano-sensor_small-bottom>" + control.name() + "</div>\
        </div>");
    }
}

@@ -981,16 +981,476 @@
 ;%0A    %7D%0A
+    else if (control.controlType() == %22trigger%22 && control.datatype() == %22void%22) %7B%0A        $me = $(%22%5C%0A            %3Cdiv class=cano-sensor_small-outer%3E%5C%0A                %3Cdiv class=cano-sensor_small-top%3E%5C%0A                    %3Cdiv class=bottom_aligner%3E%3C/div%3E%3Cdiv style='display:inline-block;' class=btn-small-not_selected%3EREBOOT%3C/div%3E%5C%0A                %3C/div%3E%5C%0A                %3Cdiv class=cano-sensor_small-bottom%3E&nbsp;%3C/div%3E%5C%0A            %3C/div%3E%5C%0A        %22);%0A    %7D%0A
     else

Implement trigger controls