open-consul/ui/javascripts/app/views.js

82 lines
1.1 KiB
JavaScript
Raw Normal View History

2014-04-25 17:49:36 +00:00
//
// DC
//
App.DcView = Ember.View.extend({
templateName: 'dc',
2014-04-25 20:24:36 +00:00
classNames: 'dropdowns',
click: function(e){
if ($(e.target).is('.dropdowns')){
$('ul.dropdown-menu').hide();
}
}
2014-08-21 19:31:39 +00:00
});
2014-04-25 17:49:36 +00:00
App.ItemView = Ember.View.extend({
templateName: 'item'
2014-08-21 19:31:39 +00:00
});
2014-04-25 17:49:36 +00:00
//
// Services
//
App.ServicesView = Ember.View.extend({
templateName: 'services',
2014-08-21 19:31:39 +00:00
});
2014-04-25 17:49:36 +00:00
App.ServicesShowView = Ember.View.extend({
templateName: 'service'
2014-08-21 19:31:39 +00:00
});
2014-04-25 17:49:36 +00:00
2014-05-01 16:00:29 +00:00
App.ServicesLoadingView = Ember.View.extend({
templateName: 'item/loading'
2014-08-21 19:31:39 +00:00
});
2014-04-25 17:49:36 +00:00
//
// Nodes
//
App.NodesView = Ember.View.extend({
templateName: 'nodes'
2014-08-21 19:31:39 +00:00
});
2014-04-25 17:49:36 +00:00
App.NodesShowView = Ember.View.extend({
templateName: 'node'
2014-08-21 19:31:39 +00:00
});
2014-04-29 17:06:26 +00:00
2014-05-01 16:00:29 +00:00
App.NodesLoadingView = Ember.View.extend({
templateName: 'item/loading'
2014-08-21 19:31:39 +00:00
});
2014-04-29 17:06:26 +00:00
// KV
2014-04-29 17:06:26 +00:00
App.KvListView = Ember.View.extend({
templateName: 'kv'
2014-08-21 19:31:39 +00:00
});
// Actions
App.ActionBarView = Ember.View.extend({
templateName: 'actionbar'
2014-08-21 19:31:39 +00:00
});
2014-08-21 21:44:17 +00:00
// ACLS
App.AclView = Ember.View.extend({
templateName: 'acls',
});
App.AclsShowView = Ember.View.extend({
templateName: 'acl'
});
2014-08-22 23:03:46 +00:00
// Settings
App.SettingsView = Ember.View.extend({
templateName: 'settings',
});