change to file
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Dashboard extends Controller
|
class DashboardModule extends Controller
|
||||||
{
|
{
|
||||||
|
|
||||||
// Class properties
|
// Class properties
|
||||||
@@ -120,7 +120,7 @@ if ($RBAC->userCanAccess('PM_SETUP') === 1) {
|
|||||||
}
|
}
|
||||||
if ($RBAC->userCanAccess('PM_SETUP_DASHBOARDS') === 1) {
|
if ($RBAC->userCanAccess('PM_SETUP_DASHBOARDS') === 1) {
|
||||||
$G_TMP_MENU->AddIdRawOption(
|
$G_TMP_MENU->AddIdRawOption(
|
||||||
'DASHBOARD', '../dashboard/dashletsList',
|
'DASHBOARD', '../DashboardModule/dashletsList',
|
||||||
ucfirst(G::LoadTranslation('ID_DASHBOARD')),
|
ucfirst(G::LoadTranslation('ID_DASHBOARD')),
|
||||||
'', '', 'settings'
|
'', '', 'settings'
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ Ext.onReady(function(){
|
|||||||
positionCol2: Ext.encode(orderNow[2]),
|
positionCol2: Ext.encode(orderNow[2]),
|
||||||
columns: 3
|
columns: 3
|
||||||
},
|
},
|
||||||
url: 'dashboard/saveOrderDashlet',
|
url: 'DashboardModule/saveOrderDashlet',
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
var data = Ext.decode(res.responseText);
|
var data = Ext.decode(res.responseText);
|
||||||
if (data.success) {
|
if (data.success) {
|
||||||
@@ -186,7 +186,7 @@ Ext.onReady(function(){
|
|||||||
positionCol2: Ext.encode(orderNow[2]),
|
positionCol2: Ext.encode(orderNow[2]),
|
||||||
columns: 2
|
columns: 2
|
||||||
},
|
},
|
||||||
url: 'dashboard/saveOrderDashlet',
|
url: 'DashboardModule/saveOrderDashlet',
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
var data = Ext.decode(res.responseText);
|
var data = Ext.decode(res.responseText);
|
||||||
if (data.success) {
|
if (data.success) {
|
||||||
@@ -223,7 +223,7 @@ Ext.onReady(function(){
|
|||||||
positionCol2: Ext.encode(orderNow[2]),
|
positionCol2: Ext.encode(orderNow[2]),
|
||||||
columns: 1
|
columns: 1
|
||||||
},
|
},
|
||||||
url: 'dashboard/saveOrderDashlet',
|
url: 'DashboardModule/saveOrderDashlet',
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
var data = Ext.decode(res.responseText);
|
var data = Ext.decode(res.responseText);
|
||||||
if (data.success) {
|
if (data.success) {
|
||||||
@@ -292,7 +292,7 @@ Ext.onReady(function(){
|
|||||||
positionCol2: Ext.encode(orderNow[2]),
|
positionCol2: Ext.encode(orderNow[2]),
|
||||||
columns: colum
|
columns: colum
|
||||||
},
|
},
|
||||||
url: "dashboard/saveOrderDashlet",
|
url: "DashboardModule/saveOrderDashlet",
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
var data = Ext.decode(res.responseText);
|
var data = Ext.decode(res.responseText);
|
||||||
if (data.success) {
|
if (data.success) {
|
||||||
@@ -327,10 +327,10 @@ Ext.onReady(function(){
|
|||||||
'resize': function(p, w, h) {
|
'resize': function(p, w, h) {
|
||||||
var template = new Ext.XTemplate(dashletsInstances[p.indicei][p.indiced].DAS_XTEMPLATE).apply({
|
var template = new Ext.XTemplate(dashletsInstances[p.indicei][p.indiced].DAS_XTEMPLATE).apply({
|
||||||
id: p.dasInsUid,
|
id: p.dasInsUid,
|
||||||
page: 'dashboard/renderDashletInstance',
|
page: 'DashboardModule/renderDashletInstance',
|
||||||
width: w - 12,
|
width: w - 12,
|
||||||
random: Math.floor(Math.random() * 1000000)
|
random: Math.floor(Math.random() * 1000000)
|
||||||
})
|
});
|
||||||
p.update(template);
|
p.update(template);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
|
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
|
||||||
<iframe name="casesFrame" id="casesFrame" src ="../dashboard" width="99%" height="768" frameborder="0">
|
<iframe name="casesFrame" id="casesFrame" src ="../DashboardModule" width="99%" height="768" frameborder="0">
|
||||||
<p>Your browser does not support iframes.</p>
|
<p>Your browser does not support iframes.</p>
|
||||||
</iframe>
|
</iframe>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user