-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A lot of code cleanup and slimming down. Being more ember-ish. Made
pages look good.
- Loading branch information
1 parent
204367d
commit 78588ad
Showing
13 changed files
with
92 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,5 +52,7 @@ gem 'genghisapp' | |
|
||
gem 'bson_ext' | ||
|
||
gem 'multi_json', '1.7.8' | ||
|
||
gem 'jquery-ui-rails' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
Mongoman.StartRoute = Ember.Route.extend({ | ||
init: function() { | ||
this._super(); | ||
window.history.pushState("", "",'/#/'); | ||
}, | ||
init: function() { | ||
this._super(); | ||
window.history.pushState("", "",'/#/'); | ||
}, | ||
|
||
model: function() { | ||
return Mongoman.Request.find("/databases?") | ||
}, | ||
model: function() { | ||
return Mongoman.Request.find("/databases?") | ||
}, | ||
|
||
renderTemplate: function() { | ||
this.render('databases'); | ||
}, | ||
renderTemplate: function() { | ||
this.render('databases'); | ||
}, | ||
|
||
setupController: function(controller,model) { | ||
controller.set('content', model.databases) | ||
controller.set('content.count', model.count) | ||
controller.set('content.isLoaded',false) | ||
controller.set('content.isLoaded',true) | ||
} | ||
setupController: function(controller,model) { | ||
controller.set('content', model.databases) | ||
controller.set('content.count', model.count) | ||
} | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.