var app = app || {}; var WatcherView = Backbone.View.extend({ model: app.Watcher, el: '#canvas', stage: {}, serverLayers: {}, initialize: function(){ this.listenTo(app.Watcher, 'change', function(){ logText('Server data updated...'); // // LOG all data to window // for(server in this.model.attributes){ // logText(server + ':'); // // for(attr in this.model.attributes[server].attr){ // logText(attr + ' : ' + this.model.attributes[server].attr[attr]); // } // } this.stage = newStage(); addNodes(); addLines(); // for(server in this.serverLayers){ // app.WatcherView.stage.add(app.WatcherView.serverLayers[server]); // } this.stage.draw(); }); } }); app.WatcherView = new WatcherView();
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 8378 | Joe Robinson |
- Server modal working. - Simplified backbone data fetching. - Log out of perforce now and not just empty session. - TODO: - Prettier/different icons for each server type. - Modal image and parent/child list. |
||
#4 | 8373 | Joe Robinson |
- Moved to d3 to handle image drawing (SVG). - Proper sessions (logging in/out) implemented. - TODO: Fix server modal style/formatting & populate with data. |
||
#3 | 8371 | Joe Robinson |
Implemented cookies/sessions (still need logout functionality). Cleaned up logging window; delete older messages so new ones do not break the page. |
||
#2 | 8367 | Joe Robinson |
Improve backbone data retrieval functionality (for building canvas nodes). Connect/login modal working almost as desired. Draw basic things on canvas. Preliminary implementation of Redis DB/cookie saving. |
||
#1 | 8362 | Joe Robinson |
Basic backbone functionality. Removed user routes. |