ENH: Collection List (#20)
This commit is contained in:
parent
77071dfa35
commit
55a1c4fca6
26 changed files with 284 additions and 3 deletions
|
@ -3,15 +3,19 @@
|
|||
<div class="row">
|
||||
<div class="col-md-2 sidebar">
|
||||
<ul class="nav nav-sidebar">
|
||||
<li class="active"><a href="#">Overview</a></li>
|
||||
{{#link-to 'index' tagName='li' href=false}}
|
||||
{{link-to 'Overview' 'index'}}
|
||||
{{/link-to}}
|
||||
<li><a href="#">Experiments</a></li>
|
||||
<li><a href="#">Collections</a></li>
|
||||
{{#link-to 'collections' tagName='li' href=false}}
|
||||
{{link-to 'Collections' 'collections'}}
|
||||
{{/link-to}}
|
||||
</ul>
|
||||
<ul class="nav nav-sidebar">
|
||||
<li>{{#link-to 'logout'}}Logout{{/link-to}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-10 content">
|
||||
<div class="col-md-offset-2 col-md-10 content">
|
||||
{{outlet}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
1
app/templates/collections.hbs
Normal file
1
app/templates/collections.hbs
Normal file
|
@ -0,0 +1 @@
|
|||
{{collections-container model=model}}
|
10
app/templates/components/ccdb-table.hbs
Normal file
10
app/templates/components/ccdb-table.hbs
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{#if hasBlock}}
|
||||
{{yield (hash
|
||||
table=(component 'light-table' table=table)
|
||||
)}}
|
||||
{{else}}
|
||||
{{#light-table table tableClassNames="table table-striped" as |t|}}
|
||||
{{t.head}}
|
||||
{{t.body}}
|
||||
{{/light-table}}
|
||||
{{/if}}
|
1
app/templates/components/collections-container.hbs
Normal file
1
app/templates/components/collections-container.hbs
Normal file
|
@ -0,0 +1 @@
|
|||
{{ccdb-table model=model columns=columns}}
|
3
app/templates/components/loading-spinner.hbs
Normal file
3
app/templates/components/loading-spinner.hbs
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div class="bounce1"></div>
|
||||
<div class="bounce2"></div>
|
||||
<div class="bounce3"></div>
|
1
app/templates/loading.hbs
Normal file
1
app/templates/loading.hbs
Normal file
|
@ -0,0 +1 @@
|
|||
{{loading-spinner}}
|
Loading…
Add table
Add a link
Reference in a new issue