<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <title>CompClust - Labelings</title>
  <link rel="stylesheet" href="/compclust_css" type="text/css"
  	tal:attributes="href compclust_css" />
</head>
<body>
<span id="compclustMenu" tal:replace="structure menu"/>
<div id="compclustBody">
<h1><a tal:content="editlabeling_title" href="#instructions">Labeling properties</a></h1>
<form action="" method="post" enctype="multipart/form-data">
  <hr/>
  <h2>Required parameters</h2>
  <p>
  <label for="name">Name </label>
  <input id="name" name="name" type="text" size="60%"
         value="name" tal:attributes="value labelingsource/name"/>
  </p>
  <p>
  <div tal:condition="editlabeling">
    Source <span tal:replace="labelingsource/source"/>
  </div>
  <div tal:condition="not:editlabeling">
    <label for="source">Source </label>
    <input id="source" name="source" type="file" size="60%"
           value="name" 
           tal:attributes="value labelingsource/source"/>
  </div>
  </p>
  <p>
  <input id="isrow" name="isrow" type="radio"
         value="row" tal:attributes="checked isrow"/>Row
  <input id="isrow" name="isrow" type="radio"
         value="column" tal:attributes="checked iscolumn"/>Column
  </p>
  <hr/>
  <h2>Optional parameters</h2>
  <p>
  <label for="description">Description </label>
  <input id="description" name="description" type="text" size="60%"
         value="name" tal:attributes="value labelingsource/description"/>
  </p>
  <!-- p>
  <label for="url">Lookup URL </label>
  <input id="url" name="url" type="text" size="60%"
         value="name" tal:attributes="value labelingsource/lookup_url"/>
  </p -->
  <p>
  <input type="submit"/>
  </p>
</form>
<hr/>
<h1><a name="instructions">Instructions</a></h1>
<div tal:condition="editlabeling">
<p>
Set properties of either an annotation or clustering labeling. 
</p>
</div>
<div tal:condition="not:editlabeling">
<p>
To upload a new annotation or clustering labeling, you need to: set the
name; choose a file using the source control; and select if this is
intended to describe the rows or columns of the data vectors. (For
bioinformatics rows are usually genes and columns are usually conditions.)
</p>
</div>
</div>
</body>
</html>
