WIP
This commit is contained in:
parent
8309486a8a
commit
825b5b0d89
8 changed files with 110 additions and 0 deletions
5
app/components/ccdb-pagination.js
Normal file
5
app/components/ccdb-pagination.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
import Ember from 'ember';
|
||||
|
||||
export default Ember.Component.extend({
|
||||
classNames: ['row'],
|
||||
});
|
|
@ -8,6 +8,8 @@ export default Component.extend({
|
|||
columns: null,
|
||||
table: null,
|
||||
|
||||
classNames: ['row'],
|
||||
|
||||
init() {
|
||||
this._super(...arguments);
|
||||
const table = new Table(this.get('columns'), this.get('model'));
|
||||
|
|
5
app/components/filter-collections.js
Normal file
5
app/components/filter-collections.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
import Ember from 'ember';
|
||||
|
||||
export default Ember.Component.extend({
|
||||
classNames: ['row'],
|
||||
});
|
36
app/templates/components/ccdb-pagination.hbs
Normal file
36
app/templates/components/ccdb-pagination.hbs
Normal file
|
@ -0,0 +1,36 @@
|
|||
<div class="col-md-12">
|
||||
<div class="pull-left" style="padding-top: 26px;">
|
||||
Showing 1-100 of 102 entries
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<nav aria-label="Page navigation">
|
||||
<ul class="pagination">
|
||||
<li>
|
||||
<a href="#">
|
||||
<span aria-hidden="true">First</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<span aria-hidden="true">Previous</span>
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="#">1</a></li>
|
||||
<li><a href="#">2</a></li>
|
||||
<li><a href="#">3</a></li>
|
||||
<li><a href="#">4</a></li>
|
||||
<li><a href="#">5</a></li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<span aria-hidden="true">Next</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<span aria-hidden="true">Last</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
|
@ -1 +1,3 @@
|
|||
{{filter-collections}}
|
||||
{{ccdb-pagination}}
|
||||
{{ccdb-table model=model columns=columns}}
|
||||
|
|
10
app/templates/components/filter-collections.hbs
Normal file
10
app/templates/components/filter-collections.hbs
Normal file
|
@ -0,0 +1,10 @@
|
|||
<div class='col-md-12'>
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<select>
|
||||
<option selected=selected>Perchlorate</option>
|
||||
<option>Saint Lawrence Island</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue