diff options
author | 2013-06-08 17:37:43 +0200 | |
---|---|---|
committer | 2013-06-08 17:37:44 +0200 | |
commit | 2cf160d497e501bf254bd8be054c0f5880ab90ca (patch) | |
tree | 03a720b6142cc03fe7ef258fa8d17da92b30a462 /module/web/static/js/views/accounts/accountView.js | |
parent | Merge pull request #151 from vuolter/invertedconf (diff) | |
download | pyload-2cf160d497e501bf254bd8be054c0f5880ab90ca.tar.xz |
restructured webui to single-page-app, removed jinja
Diffstat (limited to 'module/web/static/js/views/accounts/accountView.js')
-rw-r--r-- | module/web/static/js/views/accounts/accountView.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/module/web/static/js/views/accounts/accountView.js b/module/web/static/js/views/accounts/accountView.js deleted file mode 100644 index 7c3d492c3..000000000 --- a/module/web/static/js/views/accounts/accountView.js +++ /dev/null @@ -1,24 +0,0 @@ -define(['jquery', 'underscore', 'backbone', 'app', '../abstract/itemView'], - function($, _, Backbone, App, itemView) { - - // Renders settings over view page - return itemView.extend({ - - tagName: "tr", - template: _.compile($('#template-account').html()), - - events: { - 'click .btn-danger': 'deleteItem' - }, - - initialize: function() { - this.listenTo(this.model, 'remove', this.unrender); - this.listenTo(App.vent, 'accounts:destroyContent', this.destroy); - }, - - render: function() { - this.$el.html(this.template(this.model.toJSON())); - return this; - } - }); - });
\ No newline at end of file |