WIP
This commit is contained in:
parent
825b5b0d89
commit
f158d7a7f3
10 changed files with 105 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
|
|
||||||
export default Ember.Component.extend({
|
export default Ember.Component.extend({
|
||||||
classNames: ['row'],
|
tagName: 'form',
|
||||||
});
|
});
|
||||||
|
|
|
@ -9,7 +9,9 @@ const Router = Ember.Router.extend({
|
||||||
Router.map(function() {
|
Router.map(function() {
|
||||||
this.route('login');
|
this.route('login');
|
||||||
this.route('logout');
|
this.route('logout');
|
||||||
this.route('collections');
|
this.route('collections', function() {
|
||||||
|
this.route('1');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
export default Router;
|
export default Router;
|
||||||
|
|
4
app/routes/collections/1.js
Normal file
4
app/routes/collections/1.js
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
import Ember from 'ember';
|
||||||
|
|
||||||
|
export default Ember.Route.extend({
|
||||||
|
});
|
|
@ -1,3 +1,14 @@
|
||||||
|
.content {
|
||||||
|
padding-left: 40px;
|
||||||
|
padding-right: 40px;
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-buffer {
|
||||||
|
padding-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.form-signin {
|
.form-signin {
|
||||||
max-width: 330px;
|
max-width: 330px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
|
9
app/templates/collections/1.hbs
Normal file
9
app/templates/collections/1.hbs
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<h2>Collection Detail</h2>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="panel panel-default col-md-4">
|
||||||
|
<div class="panel-body">
|
||||||
|
asf
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -1,10 +1,73 @@
|
||||||
<div class='col-md-12'>
|
<div class="well well-sm">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<select>
|
<label>Project</label>
|
||||||
|
<select class="form-control">
|
||||||
<option selected=selected>Perchlorate</option>
|
<option selected=selected>Perchlorate</option>
|
||||||
<option>Saint Lawrence Island</option>
|
<option>Ship Creek</option>
|
||||||
|
<option>St. Lawrence Island</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-3">
|
||||||
|
<label>Study Location</label>
|
||||||
|
<select class="form-control">
|
||||||
|
<option selected=selected>TL5</option>
|
||||||
|
<option>SQ12</option>
|
||||||
|
<option>CPISBV</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-3">
|
||||||
|
<label>Method</label>
|
||||||
|
<select class="form-control">
|
||||||
|
<option selected=selected>Fyke Net</option>
|
||||||
|
<option>Seine</option>
|
||||||
|
<option>Minnow Trap</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-3">
|
||||||
|
<label>Type</label>
|
||||||
|
<select class="form-control">
|
||||||
|
<option selected=selected>Adults</option>
|
||||||
|
<option>Embryos</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row top-buffer">
|
||||||
|
|
||||||
|
<div class="col-md-4">
|
||||||
|
<label># of Traps</label>
|
||||||
|
<input type="text" class="form-control" placeholder="3">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4">
|
||||||
|
<label>Start</label>
|
||||||
|
<input type="datetime" class="form-control">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4">
|
||||||
|
<label>End</label>
|
||||||
|
<input type="datetime" class="form-control">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row top-buffer">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="btn-group" role="group">
|
||||||
|
<button type="submit" class="btn btn-default">
|
||||||
|
Search
|
||||||
|
</button>
|
||||||
|
<button type="button" class="btn btn-default">
|
||||||
|
Reset
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,7 +11,6 @@ module.exports = function(defaults) {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.import('bower_components/bootstrap/dist/css/bootstrap.min.css');
|
app.import('bower_components/bootstrap/dist/css/bootstrap.min.css');
|
||||||
app.import('bower_components/bootstrap/dist/css/bootstrap-theme.min.css');
|
|
||||||
|
|
||||||
return app.toTree();
|
return app.toTree();
|
||||||
};
|
};
|
||||||
|
|
11
tests/unit/routes/collections/1-test.js
Normal file
11
tests/unit/routes/collections/1-test.js
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
import { moduleFor, test } from 'ember-qunit';
|
||||||
|
|
||||||
|
moduleFor('route:collections/1', 'Unit | Route | collections/1', {
|
||||||
|
// Specify the other units that are required for this test.
|
||||||
|
// needs: ['controller:foo']
|
||||||
|
});
|
||||||
|
|
||||||
|
test('it exists', function(assert) {
|
||||||
|
let route = this.subject();
|
||||||
|
assert.ok(route);
|
||||||
|
});
|
Loading…
Add table
Reference in a new issue