adopt PVEAPI.js for PBS, rename to PBSAPI.js
This commit is contained in:
parent
3dbc35b5c1
commit
9d28974c27
@ -32,7 +32,7 @@ Ext.onReady(function() {
|
|||||||
}),
|
}),
|
||||||
proxy: {
|
proxy: {
|
||||||
type: 'memory',
|
type: 'memory',
|
||||||
data: pveapi
|
data: pbsapi
|
||||||
},
|
},
|
||||||
sorters: [{
|
sorters: [{
|
||||||
property: 'leaf',
|
property: 'leaf',
|
||||||
@ -127,7 +127,8 @@ Ext.onReady(function() {
|
|||||||
var usage = "";
|
var usage = "";
|
||||||
|
|
||||||
usage += "<table><tr><td>HTTP: </td><td>" + method + " /api2/json" + data.path + "</td></tr><tr><td> </td></tr>";
|
usage += "<table><tr><td>HTTP: </td><td>" + method + " /api2/json" + data.path + "</td></tr><tr><td> </td></tr>";
|
||||||
usage += "<tr><td>CLI:</td><td>pvesh " + clicmdhash[method] + " " + data.path + "</td></tr></table>";
|
|
||||||
|
//usage += "<tr><td>CLI:</td><td>pvesh " + clicmdhash[method] + " " + data.path + "</td></tr></table>";
|
||||||
|
|
||||||
var sections = [
|
var sections = [
|
||||||
{
|
{
|
Loading…
x
Reference in New Issue
Block a user