<?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" lang="en">
<head>
  <title>CompClust - Edit Parameters</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 href="#instructions">Select a clustering algorithm</a></h1>
<p>
<form action="action" method="post">
<input type="hidden" id="subalgorithm_list" name="subalgorithm_list" value=""
       tal:attributes="value subalgorithm_list"/>
<h1>Clustering Run Name</h1>
<p>
  <label for="clusteringname">Clustering Base Name</label>
  <input type="text" id="clusteringname" name="clusteringname"
         value="" tal:attributes="value clusteringname"/>
</p>
<p>
  <label for="appendparameters">Append parameters to base name</label>
  <input id="appendparameters" name="appendparameters" type="checkbox" 
         checked="true"/>
</p>
<h1>Algorithm Parameters</h1>
  <ul>
  <div  tal:repeat="algorithm algorithms_parameters">
    <li>
      <h2 tal:content="algorithm/clusteringname">algorithm name</h2>
      <h3>Required parameters</h3>
      <div id="required_parameters" tal:repeat="param algorithm/required" tal:replace="structure param"></div>
      <h3>Optional parameters</h3>
      <div id="optional_parameters" tal:repeat="param algorithm/optional" tal:replace="structure param"></div>
    </li>
  </div>
  </ul>
<input type="submit"/>
</form>
</p>
<hr/>
<h1><a name="instructions">Instructions</a></h1>
<p>
Set parameters for your clustering run.
</p>
</div>
</body>
</html>
