Rough in strains.
This commit is contained in:
parent
008d093520
commit
1a59456ae9
7 changed files with 91 additions and 1 deletions
|
@ -7,6 +7,9 @@
|
|||
{{#link-to 'species' tagName='li' href=false}}
|
||||
{{#link-to 'species'}}Species{{/link-to}}
|
||||
{{/link-to}}
|
||||
{{#link-to 'strains' tagName='li' href=false}}
|
||||
{{#link-to 'strains'}}Strains{{/link-to}}
|
||||
{{/link-to}}
|
||||
{{#link-to 'about' tagName='li' href=false}}
|
||||
{{#link-to 'about'}}About{{/link-to}}
|
||||
{{/link-to}}
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
<div class="span-1">
|
||||
<fieldset class="read-only-information">
|
||||
<legend>{{speciesName}}</legend>
|
||||
<dl>
|
||||
<dt>Id</dt>
|
||||
<dd>{{id}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Genus</dt>
|
||||
<dd>{{genus.genusName}}</dd>
|
||||
|
@ -11,6 +15,14 @@
|
|||
<dt>Species</dt>
|
||||
<dd>{{speciesName}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Strains</dt>
|
||||
<dd>
|
||||
{{#each strains}}
|
||||
{{strainName}}
|
||||
{{/each}}
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Created</dt>
|
||||
<dd>{{createdAt}}</dd>
|
||||
|
|
53
app/templates/strains.hbs
Normal file
53
app/templates/strains.hbs
Normal file
|
@ -0,0 +1,53 @@
|
|||
<div class="grid-1">
|
||||
{{#each}}
|
||||
<div class="span-1">
|
||||
<fieldset class="read-only-information">
|
||||
<legend>{{strainName}}</legend>
|
||||
<dl>
|
||||
<dt>Id</dt>
|
||||
<dd>{{id}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Species</dt>
|
||||
<dd>{{species.speciesName}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Strain</dt>
|
||||
<dd>{{strainName}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Type</dt>
|
||||
<dd>{{strainType}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Etymology</dt>
|
||||
<dd>{{etymology}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Accession Banks</dt>
|
||||
<dd>{{accessionBanks}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Genbank EMBL DDB</dt>
|
||||
<dd>{{genbankEmblDdb}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Isolated From</dt>
|
||||
<dd>{{isolatedFrom}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Created</dt>
|
||||
<dd>{{createdAt}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Updated</dt>
|
||||
<dd>{{updatedAt}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Deleted</dt>
|
||||
<dd>{{deletedAt}}</dd>
|
||||
</dl>
|
||||
</fieldset>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
Reference in a new issue