PageRenderTime 20ms CodeModel.GetById 18ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/templates/mobile/dataset/detail.mako

https://bitbucket.org/cistrome/cistrome-harvard/
Mako | 29 lines | 27 code | 2 blank | 0 comment | 0 complexity | 701b26af75ba05f53ab6bf2898a607dd MD5 | raw file
 1<div id="dataset_${dataset.id}" title="Dataset" class="panel">
 2    <div class="toolbar">
 3        <h1>${dataset.display_name()}</h1>
 4        <a class="back button" href="#">Back</a>
 5    </div>
 6
 7    <div class="pad">
 8      <fieldset>
 9      <div class="row">
10	<label>State</label> <span>${dataset.state}</span>
11      </div>
12      <div class="row">
13	<label>Content</label> <span>${dataset.blurb}</span>
14      </div>
15      <div class="row">
16        <label>Format</label> <span>${dataset.ext}</span>
17      </div>
18      <div class="row">
19	<label>Info</label> <span>${dataset.display_info()}</span>
20      </div>
21      %if dataset.state == "ok":
22      <div class="row">
23	        <a href="${h.url_for( action='dataset_peek', id=dataset.id )}">Peek</a>
24      </div>
25      %endif
26      </fieldset>
27    </div>
28 
29</body>