”2016-04-01”

This commit is contained in:
Martin Donnelly 2016-04-01 09:38:00 +01:00
parent 8d0c35759b
commit 98dc4e49ab
2 changed files with 20 additions and 6 deletions

View File

@ -1,9 +1,22 @@
<div class="container-fluid main-container">
<div class="col-md-12 content">
<div class="card">
<div class="card-block">
<div class="row">
<div class="col-md-4 content">
<button class="btn btn-primary-outline">Create a new page</button>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header">
New Page
</div>
<div class="card-block">
<div class="row">
<div class="col-md-4 content">
@ -50,7 +63,8 @@
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Save</button>
<button type="submit" class="btn btn-primary">Save</button>
<button class="btn btn-danger">Cancel</button>
</div>
</div>

View File

@ -3,7 +3,7 @@
// To use it create some files under `mocks/`
// e.g. `server/mocks/ember-hamsters.js`
//
// module.exports = function(app) {
// Module.exports = function(app) {
// app.get('/ember-hamsters', function(req, res) {
// res.send('hello');
// });
@ -20,9 +20,9 @@ module.exports = function(app) {
app.use(morgan('dev'));
function usingProxy() {
return !!process.argv.filter(function (arg) {
return arg.indexOf('--proxy') === 0;
}).length;
return !!process.argv.filter(function(arg) {
return arg.indexOf('--proxy') === 0;
}).length;
}
/* ... */
@ -30,7 +30,7 @@ module.exports = function(app) {
if (usingProxy()) { return; }
mocks.forEach(function(route) { route(app); });
proxies.forEach(function(route) { route(app); });