Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
96755c9d
Commit
96755c9d
authored
Jan 31, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless require declarations
parent
3813e7b4
Changes
32
Show whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
17 additions
and
99 deletions
+17
-99
Workspace.js
www/manager/Workspace.js
+0
-8
ResourceStore.js
www/manager/data/ResourceStore.js
+0
-1
UpdateStore.js
www/manager/data/UpdateStore.js
+0
-5
ACLView.js
www/manager/dc/ACLView.js
+1
-0
AuthView.js
www/manager/dc/AuthView.js
+1
-1
UserEdit.js
www/manager/dc/UserEdit.js
+5
-2
UserView.js
www/manager/dc/UserView.js
+6
-3
BridgeSelector.js
www/manager/form/BridgeSelector.js
+0
-4
ComboGrid.js
www/manager/form/ComboGrid.js
+0
-4
FileSelector.js
www/manager/form/FileSelector.js
+0
-4
GroupSelector.js
www/manager/form/GroupSelector.js
+1
-1
NodeSelector.js
www/manager/form/NodeSelector.js
+0
-4
PoolSelector.js
www/manager/form/PoolSelector.js
+1
-1
RRDTypeSelector.js
www/manager/form/RRDTypeSelector.js
+0
-4
RealmComboBox.js
www/manager/form/RealmComboBox.js
+0
-1
StorageSelector.js
www/manager/form/StorageSelector.js
+0
-4
ViewSelector.js
www/manager/form/ViewSelector.js
+0
-1
ObjectGrid.js
www/manager/grid/ObjectGrid.js
+0
-4
PoolMembers.js
www/manager/grid/PoolMembers.js
+2
-0
ResourceGrid.js
www/manager/grid/ResourceGrid.js
+0
-10
index.pl
www/manager/index.pl
+0
-2
DNSEdit.js
www/manager/node/DNSEdit.js
+0
-4
TimeEdit.js
www/manager/node/TimeEdit.js
+0
-1
CreateWizard.js
www/manager/openvz/CreateWizard.js
+0
-4
Network.js
www/manager/openvz/Network.js
+0
-3
InputPanel.js
www/manager/panel/InputPanel.js
+0
-3
StatusPanel.js
www/manager/panel/StatusPanel.js
+0
-5
CreateWizard.js
www/manager/qemu/CreateWizard.js
+0
-4
ResourceTree.js
www/manager/tree/ResourceTree.js
+0
-4
LoginWindow.js
www/manager/window/LoginWindow.js
+0
-1
TaskViewer.js
www/manager/window/TaskViewer.js
+0
-3
Wizard.js
www/manager/window/Wizard.js
+0
-3
No files found.
www/manager/Workspace.js
View file @
96755c9d
...
...
@@ -8,11 +8,6 @@
Ext
.
define
(
'
PVE.Workspace
'
,
{
extend
:
'
Ext.container.Viewport
'
,
requires
:
[
'
Ext.tip.*
'
,
'
PVE.Utils
'
,
'
PVE.window.LoginWindow
'
],
title
:
'
Proxmox Virtual Environment
'
,
...
...
@@ -103,9 +98,6 @@ Ext.define('PVE.Workspace', {
Ext
.
define
(
'
PVE.ConsoleWorkspace
'
,
{
extend
:
'
PVE.Workspace
'
,
requires
:
[
'
PVE.KVMConsole
'
],
alias
:
[
'
widget.pveConsoleWorkspace
'
],
...
...
www/manager/data/ResourceStore.js
View file @
96755c9d
Ext
.
define
(
'
PVE.data.ResourceStore
'
,
{
extend
:
'
PVE.data.UpdateStore
'
,
requires
:
[
'
PVE.Utils
'
],
singleton
:
true
,
findNextVMID
:
function
()
{
...
...
www/manager/data/UpdateStore.js
View file @
96755c9d
Ext
.
define
(
'
PVE.data.UpdateStore
'
,
{
extend
:
'
Ext.data.Store
'
,
requires
:
[
'
PVE.Utils
'
,
'
Ext.util.*
'
,
'
PVE.data.UpdateQueue
'
],
constructor
:
function
(
config
)
{
var
me
=
this
;
...
...
www/manager/dc/ACLView.js
View file @
96755c9d
...
...
@@ -3,6 +3,7 @@ Ext.define('PVE.dc.ACLAdd', {
alias
:
[
'
widget.pveACLAdd
'
],
initComponent
:
function
()
{
/*jslint confusion: true */
var
me
=
this
;
me
.
create
=
true
;
...
...
www/manager/dc/AuthView.js
View file @
96755c9d
www/manager/dc/UserEdit.js
View file @
96755c9d
...
...
@@ -19,6 +19,9 @@ Ext.define('PVE.dc.UserEdit', {
method
=
'
PUT
'
;
}
var
verifypw
;
var
pwfield
;
var
validate_pw
=
function
()
{
if
(
verifypw
.
getValue
()
!==
pwfield
.
getValue
())
{
return
gettext
(
"
Passwords does not match
"
);
...
...
@@ -26,7 +29,7 @@ Ext.define('PVE.dc.UserEdit', {
return
true
;
};
v
ar
v
erifypw
=
Ext
.
createWidget
(
'
textfield
'
,
{
verifypw
=
Ext
.
createWidget
(
'
textfield
'
,
{
inputType
:
'
password
'
,
fieldLabel
:
gettext
(
'
Verify Password
'
),
name
:
'
verifypassword
'
,
...
...
@@ -36,7 +39,7 @@ Ext.define('PVE.dc.UserEdit', {
validator
:
validate_pw
});
var
pwfield
=
Ext
.
createWidget
(
'
textfield
'
,
{
pwfield
=
Ext
.
createWidget
(
'
textfield
'
,
{
inputType
:
'
password
'
,
fieldLabel
:
gettext
(
'
Password
'
),
minLength
:
5
,
...
...
www/manager/dc/UserView.js
View file @
96755c9d
...
...
@@ -8,6 +8,9 @@ Ext.define('PVE.window.PasswordEdit', {
throw
"
no userid specified
"
;
}
var
verifypw
;
var
pwfield
;
var
validate_pw
=
function
()
{
if
(
verifypw
.
getValue
()
!==
pwfield
.
getValue
())
{
return
gettext
(
"
Passwords does not match
"
);
...
...
@@ -15,7 +18,7 @@ Ext.define('PVE.window.PasswordEdit', {
return
true
;
};
v
ar
v
erifypw
=
Ext
.
createWidget
(
'
textfield
'
,
{
verifypw
=
Ext
.
createWidget
(
'
textfield
'
,
{
inputType
:
'
password
'
,
fieldLabel
:
gettext
(
'
Verify Password
'
),
name
:
'
verifypassword
'
,
...
...
@@ -23,7 +26,7 @@ Ext.define('PVE.window.PasswordEdit', {
validator
:
validate_pw
});
var
pwfield
=
Ext
.
createWidget
(
'
textfield
'
,
{
pwfield
=
Ext
.
createWidget
(
'
textfield
'
,
{
inputType
:
'
password
'
,
fieldLabel
:
gettext
(
'
Password
'
),
minLength
:
5
,
...
...
@@ -39,7 +42,7 @@ Ext.define('PVE.window.PasswordEdit', {
{
xtype
:
'
hiddenfield
'
,
name
:
'
userid
'
,
value
:
me
.
userid
,
value
:
me
.
userid
}
]
});
...
...
www/manager/form/BridgeSelector.js
View file @
96755c9d
Ext
.
define
(
'
PVE.form.BridgeSelector
'
,
{
extend
:
'
PVE.form.ComboGrid
'
,
requires
:
[
'
Ext.data.Store
'
,
'
PVE.RestProxy
'
],
alias
:
[
'
widget.PVE.form.BridgeSelector
'
],
setNodename
:
function
(
nodename
)
{
...
...
www/manager/form/ComboGrid.js
View file @
96755c9d
Ext
.
define
(
'
PVE.form.ComboGrid
'
,
{
extend
:
'
Ext.form.field.ComboBox
'
,
requires
:
[
'
Ext.grid.Panel
'
,
'
PVE.Utils
'
],
alias
:
[
'
widget.PVE.form.ComboGrid
'
],
computeHeight
:
function
()
{
...
...
www/manager/form/FileSelector.js
View file @
96755c9d
Ext
.
define
(
'
PVE.form.FileSelector
'
,
{
extend
:
'
PVE.form.ComboGrid
'
,
requires
:
[
'
Ext.data.Store
'
,
'
PVE.RestProxy
'
],
alias
:
[
'
widget.pveFileSelector
'
],
setStorage
:
function
(
storage
,
nodename
)
{
...
...
www/manager/form/GroupSelector.js
View file @
96755c9d
...
...
@@ -47,7 +47,7 @@ Ext.define('PVE.form.GroupSelector', {
fields
:
[
'
groupid
'
,
'
comment
'
],
proxy
:
{
type
:
'
pve
'
,
url
:
"
/api2/json/access/groups
"
,
url
:
"
/api2/json/access/groups
"
},
idProperty
:
'
groupid
'
});
...
...
www/manager/form/NodeSelector.js
View file @
96755c9d
Ext
.
define
(
'
PVE.form.NodeSelector
'
,
{
extend
:
'
PVE.form.ComboGrid
'
,
requires
:
[
'
Ext.data.Store
'
,
'
PVE.RestProxy
'
],
alias
:
[
'
widget.PVE.form.NodeSelector
'
],
// invalidate nodes which are offline
...
...
www/manager/form/PoolSelector.js
View file @
96755c9d
...
...
@@ -47,7 +47,7 @@ Ext.define('PVE.form.PoolSelector', {
fields
:
[
'
poolid
'
,
'
comment
'
],
proxy
:
{
type
:
'
pve
'
,
url
:
"
/api2/json/access/pools
"
,
url
:
"
/api2/json/access/pools
"
},
idProperty
:
'
poolid
'
});
...
...
www/manager/form/RRDTypeSelector.js
View file @
96755c9d
Ext
.
define
(
'
PVE.form.RRDTypeSelector
'
,
{
extend
:
'
Ext.form.field.ComboBox
'
,
requires
:
[
'
Ext.state.Manager
'
],
alias
:
[
'
widget.pveRRDTypeSelector
'
],
initComponent
:
function
()
{
...
...
www/manager/form/RealmComboBox.js
View file @
96755c9d
Ext
.
define
(
'
PVE.form.RealmComboBox
'
,
{
extend
:
'
Ext.form.field.ComboBox
'
,
requires
:
[
'
Ext.data.Store
'
,
'
PVE.RestProxy
'
],
alias
:
[
'
widget.pveRealmComboBox
'
],
initComponent
:
function
()
{
...
...
www/manager/form/StorageSelector.js
View file @
96755c9d
Ext
.
define
(
'
PVE.form.StorageSelector
'
,
{
extend
:
'
PVE.form.ComboGrid
'
,
requires
:
[
'
Ext.data.Store
'
,
'
PVE.RestProxy
'
],
alias
:
[
'
widget.PVE.form.StorageSelector
'
],
setNodename
:
function
(
nodename
)
{
...
...
www/manager/form/ViewSelector.js
View file @
96755c9d
Ext
.
define
(
'
PVE.form.ViewSelector
'
,
{
extend
:
'
Ext.form.field.ComboBox
'
,
requires
:
[
'
Ext.data.Store
'
],
alias
:
[
'
widget.pveViewSelector
'
],
initComponent
:
function
()
{
...
...
www/manager/grid/ObjectGrid.js
View file @
96755c9d
Ext
.
define
(
'
PVE.grid.ObjectGrid
'
,
{
extend
:
'
Ext.grid.GridPanel
'
,
requires
:
[
'
Ext.grid.*
'
,
'
PVE.data.ObjectStore
'
],
alias
:
[
'
widget.pveObjectGrid
'
],
getObjectValue
:
function
(
key
,
defaultValue
)
{
...
...
www/manager/grid/PoolMembers.js
View file @
96755c9d
...
...
@@ -2,6 +2,7 @@ Ext.define('PVE.pool.AddVM', {
extend
:
'
PVE.window.Edit
'
,
initComponent
:
function
()
{
/*jslint confusion: true */
var
me
=
this
;
if
(
!
me
.
pool
)
{
...
...
@@ -35,6 +36,7 @@ Ext.define('PVE.pool.AddStorage', {
extend
:
'
PVE.window.Edit
'
,
initComponent
:
function
()
{
/*jslint confusion: true */
var
me
=
this
;
if
(
!
me
.
pool
)
{
...
...
www/manager/grid/ResourceGrid.js
View file @
96755c9d
...
...
@@ -15,16 +15,6 @@ Ext.override(Ext.grid.feature.Chunking, {
Ext
.
define
(
'
PVE.grid.ResourceGrid
'
,
{
extend
:
'
Ext.grid.GridPanel
'
,
requires
:
[
'
Ext.grid.*
'
,
'
Ext.grid.feature.Chunking
'
,
'
Ext.state.Manager
'
,
'
Ext.data.*
'
,
'
Ext.data.Store
'
,
'
Ext.util.*
'
,
'
PVE.Utils
'
,
'
PVE.data.ResourceStore
'
],
alias
:
[
'
widget.pveResourceGrid
'
],
//fixme: this makes still problems with the scrollbar
...
...
www/manager/index.pl
View file @
96755c9d
...
...
@@ -71,8 +71,6 @@ if (-f $langfile) {
$jssrc
.=
<<_EOJS;
Ext.require(['*', '$workspace']);
// we need this (the java applet ignores the zindex)
Ext.useShims = true;
...
...
www/manager/node/DNSEdit.js
View file @
96755c9d
Ext
.
define
(
'
PVE.node.DNSEdit
'
,
{
extend
:
'
PVE.window.Edit
'
,
requires
:
[
'
PVE.Utils
'
],
alias
:
[
'
widget.pveNodeDNSEdit
'
],
initComponent
:
function
()
{
...
...
www/manager/node/TimeEdit.js
View file @
96755c9d
Ext
.
define
(
'
PVE.node.TimeEdit
'
,
{
extend
:
'
PVE.window.Edit
'
,
requires
:
[
'
PVE.data.TimezoneStore
'
],
alias
:
[
'
widget.pveNodeTimeEdit
'
],
initComponent
:
function
()
{
...
...
www/manager/openvz/CreateWizard.js
View file @
96755c9d
/*jslint confusion: true */
Ext
.
define
(
'
PVE.openvz.CreateWizard
'
,
{
extend
:
'
PVE.window.Wizard
'
,
requires
:
[
'
Ext.form.*
'
,
'
PVE.data.ResourceStore
'
],
initComponent
:
function
()
{
var
me
=
this
;
...
...
www/manager/openvz/Network.js
View file @
96755c9d
...
...
@@ -147,9 +147,6 @@ Ext.define('PVE.OpenVZ.IPAdd', {
Ext
.
define
(
'
PVE.openvz.NetworkView
'
,
{
extend
:
'
Ext.grid.GridPanel
'
,
requires
:
[
'
Ext.grid.*
'
],
alias
:
[
'
widget.pveOpenVZNetworkView
'
],
dataCache
:
{},
// used to store result of last load
...
...
www/manager/panel/InputPanel.js
View file @
96755c9d
Ext
.
define
(
'
PVE.panel.InputPanel
'
,
{
extend
:
'
Ext.panel.Panel
'
,
requires
:
[
'
PVE.Utils
'
],
alias
:
[
'
widget.inputpanel
'
],
border
:
false
,
...
...
www/manager/panel/StatusPanel.js
View file @
96755c9d
Ext
.
define
(
'
PVE.panel.StatusPanel
'
,
{
extend
:
'
Ext.tab.Panel
'
,
requires
:
[
'
Ext.state.Manager
'
,
'
PVE.dc.Log
'
,
'
PVE.dc.Tasks
'
],
alias
:
'
widget.pveStatusPanel
'
,
...
...
www/manager/qemu/CreateWizard.js
View file @
96755c9d
...
...
@@ -2,10 +2,6 @@
/*jslint confusion: true */
Ext
.
define
(
'
PVE.qemu.CreateWizard
'
,
{
extend
:
'
PVE.window.Wizard
'
,
requires
:
[
'
Ext.form.*
'
,
'
PVE.data.ResourceStore
'
],
initComponent
:
function
()
{
var
me
=
this
;
...
...
www/manager/tree/ResourceTree.js
View file @
96755c9d
Ext
.
define
(
'
PVE.tree.ResourceTree
'
,
{
extend
:
'
Ext.tree.TreePanel
'
,
requires
:
[
'
Ext.tree.*
'
,
'
Ext.state.Manager
'
,
'
PVE.Utils
'
,
'
PVE.data.ResourceStore
'
],
alias
:
[
'
widget.pveResourceTree
'
],
statics
:
{
...
...
www/manager/window/LoginWindow.js
View file @
96755c9d
Ext
.
define
(
'
PVE.window.LoginWindow
'
,
{
extend
:
'
Ext.window.Window
'
,
requires
:
[
'
PVE.form.RealmComboBox
'
],
// private
onLogon
:
function
()
{
...
...
www/manager/window/TaskViewer.js
View file @
96755c9d
...
...
@@ -3,9 +3,6 @@
Ext
.
define
(
'
PVE.window.TaskViewer
'
,
{
extend
:
'
Ext.window.Window
'
,
requires
:
[
'
PVE.Utils
'
],
alias
:
'
widget.pveTaskViewer
'
,
initComponent
:
function
()
{
...
...
www/manager/window/Wizard.js
View file @
96755c9d
Ext
.
define
(
'
PVE.window.Wizard
'
,
{
extend
:
'
Ext.window.Window
'
,
requires
:
[
'
PVE.Utils
'
],
getValues
:
function
(
dirtyOnly
)
{
var
me
=
this
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment