[2] | 1 | ## index.html
|
---|
| 2 | <%inherit file="base.html"/>
|
---|
| 3 | <%def name="title()">
|
---|
| 4 | Index
|
---|
| 5 | </%def>
|
---|
| 6 |
|
---|
| 7 | <h1 align="center">${conf.TITLE}</h1>
|
---|
| 8 |
|
---|
| 9 | <form action="" method="get">
|
---|
| 10 |
|
---|
| 11 | <table align="center" cellpadding="2" cellspacing="1" width="100%">
|
---|
| 12 |
|
---|
| 13 |
|
---|
| 14 | % if form.errors():
|
---|
| 15 | <tr class="error"><td align="center">
|
---|
| 16 | % for ekey, evalue in form.errors().items():
|
---|
| 17 | <b>ERROR:</b> ${ekey}: ${evalue}<br>
|
---|
| 18 | % endfor
|
---|
| 19 | </td></tr>
|
---|
| 20 | % endif
|
---|
| 21 |
|
---|
| 22 | <tr class="grey">
|
---|
| 23 | <td colspan="4" align="center">
|
---|
| 24 | <a href="javascript:toggle('options')">More</a><img src="/static/images/thumbtack_icon.png" align="absmiddle" border="0">
|
---|
| 25 |
|
---|
| 26 | Chromosome: ${form.chrom.tag()}
|
---|
| 27 | Feature: ${form.feature.tag()}
|
---|
| 28 | Width: ${form.zoom.tag()}
|
---|
| 29 | Plot: ${form.plot.tag()}
|
---|
| 30 | <input type="submit" name="submit" value="Display!">
|
---|
| 31 | <div id="options" style="display:none" class="selected">
|
---|
| 32 | <table cellpadding="3">
|
---|
| 33 | <tr>
|
---|
| 34 | <td>
|
---|
| 35 | <!-- Nucleosome:${form.nuc_track.tag()}
|
---|
| 36 | ORF:${form.orf_track.tag()}
|
---|
| 37 | -->
|
---|
| 38 | Fit threshold: ${form.min_fit.tag()}
|
---|
| 39 | Image width: ${form.img_size.tag()}
|
---|
| 40 | </td>
|
---|
| 41 | </tr>
|
---|
| 42 | </table>
|
---|
| 43 | </div>
|
---|
| 44 |
|
---|
| 45 | </td>
|
---|
| 46 | </tr>
|
---|
| 47 |
|
---|
| 48 | <tr>
|
---|
| 49 | <td align="center">
|
---|
| 50 | <input type="submit" name="move_left" value="<< Move Left">
|
---|
| 51 |
|
---|
| 52 | <input type="submit" name="zoom_out" value="Shrink -">
|
---|
| 53 |
|
---|
| 54 | <input type="submit" name="zoom_in" value="Magnify +">
|
---|
| 55 |
|
---|
| 56 | <input type="submit" name="move_right" value="Move Right >>">
|
---|
| 57 | </td>
|
---|
| 58 | </tr>
|
---|
| 59 |
|
---|
| 60 | <tr>
|
---|
| 61 | <td align="center">
|
---|
| 62 | <img src="${h.url_for('/static/genetrack/plots/' + param.fname)}" align="center" border="0">
|
---|
| 63 | </td>
|
---|
| 64 | </tr>
|
---|
| 65 |
|
---|
| 66 | <tr>
|
---|
| 67 | <td align="center">
|
---|
| 68 | <!-- <a href='/search'>Search</a> -->
|
---|
| 69 | </td>
|
---|
| 70 | </tr>
|
---|
| 71 |
|
---|
| 72 | </table>
|
---|
| 73 | |
---|
| 74 | <input type="hidden" id="dataset_id" name="dataset_id" value="${dataset_id}" />
|
---|
| 75 | </form>
|
---|