﻿<?xml version="1.0" encoding="utf-8" ?>
<Template Title ="Log Viewer">
  <import-xml src = "Templates/TemplateTools.xml" id = "TemplateTools" />
  <div rid ="viewer" module="console.output"></div>
    <embedded-script>
                <![CDATA[
        template_init : function(){
            /// this.GetElementByRID("viewer").style.height = this.getContainer().clientHeight + "px";
            this.local_handle_resize();
        },
        local_handle_resize : function(){
           /// If in a window control
           ///
           
           if(this.getBody) this.GetElementByRID("viewer").style.height = (this.getBody().clientHeight-30) + "px";
        }
    ]]></embedded-script>
</Template>
