<!-- BEGIN admin/menu/system.tt -->
  <table class="tree">
    <tr>
      <td>
		[% div_name = 'sysadmin'; INCLUDE site/snippets/toggleview.tt type = 'folder' %]
      </td>
      <td>
        <b>System administration</b>
      </td>
    </tr>
  </table>

    [% INCLUDE site/popup.tt height=520, width=320, top=50 # defines onclick_event %]
    
  <div class='itemhidden' id="[% div_name %]">
    <table style="margin-left: 30px">
      <tr>
        <td><img alt="" src="/images/text.gif" class="text" /></td>
        <td><a class="nav" href="[% app_url %]/config/settings">Application settings</a></td>
      </tr>

      <tr>
        <td><img alt="" src="/images/text.gif" class="text" /></td>
        <td><a class="nav" href="[% app_url %]/resources/process_status">
            Process status</a></td>
      </tr>

      <tr>
        <td><img alt="" src="/images/text.gif" class="text" /></td>
        <td><a class="nav" href="[% app_url %]/resources/system_resources"
            onclick="return popup(this.href);">System resources</a>
        </td>
      </tr>

      <tr>
        <td><img alt="" src="/images/text.gif" class="text" /></td>
        <td><a class="nav" href="[% app_url %]/config/trials">Clinical Trials</a></td>
      </tr>

      <tr>
        <td><img alt="" src="/images/text.gif" class="text" /></td>
        <td><a class="nav" href="[% app_url %]/resources/view_cron_log">View Cron Log</a></td>
      </tr>
	  
	[% IF c.cfg('settings').have_haematology_data00 # more work needed %]
      <tr>
        <td><img alt="" src="/images/text.gif" class="text" /></td>
        <td><a class="nav" href="[% app_url %]/resources/lantronix_log">View Lantronix Log</a></td>
      </tr>
	[% END %]
	
      <tr>
        <td><img alt="" src="/images/text.gif" class="text" /></td>
        <td><a class="nav" href="[% app_url %]/config/specimens">Specimens</a></td>
      </tr>

    </table>
  </div>
<!-- END admin/menu/system.tt -->
