Remove old manager code

This commit is contained in:
Jamie Curnow
2018-06-18 15:42:44 +10:00
parent 184a1cc6f8
commit 458f9daf4e
124 changed files with 0 additions and 9513 deletions
-22
View File
@@ -1,22 +0,0 @@
'use strict';
import Backbone from 'backbone';
const model = Backbone.Model.extend({
idAttribute: '_id',
defaults: function () {
return {
name: '',
items: [],
hosts: []
};
}
});
module.exports = {
Model: model,
Collection: Backbone.Collection.extend({
model: model
})
};
@@ -1,22 +0,0 @@
'use strict';
import Backbone from 'backbone';
const model = Backbone.Model.extend({
idAttribute: 'username',
defaults: function () {
return {
username: '',
password: '',
hint: ''
};
}
});
module.exports = {
Model: model,
Collection: Backbone.Collection.extend({
model: model
})
};
-35
View File
@@ -1,35 +0,0 @@
'use strict';
import Backbone from 'backbone';
const model = Backbone.Model.extend({
idAttribute: '_id',
defaults: function () {
return {
type: 'proxy',
hostname: '',
forward_server: '',
forward_host: '',
forward_port: 80,
asset_caching: false,
block_exploits: true,
ssl: false,
ssl_expires: 0,
force_ssl: false,
letsencrypt_email: '',
accept_tos: false,
access_list_id: '',
advanced: '',
incoming_port: 0,
protocols: []
};
}
});
module.exports = {
Model: model,
Collection: Backbone.Collection.extend({
model: model
})
};