Worked on icons in the main options and Task Properties in ExtJs

This commit is contained in:
safan
2011-01-27 13:28:03 +00:00
parent 8440a01cdd
commit 30de5ac916
4 changed files with 93 additions and 64 deletions

View File

@@ -4,10 +4,10 @@ Workflow.call(this,id);
ProcessMapContext.prototype=new Workflow;
ProcessMapContext.prototype.type="ProcessMap";
ProcessMapContext.prototype.editProcess= function(_5678)
ProcessMapContext.prototype.editProcess= function()
{
var editProcessData = _5678.scope.workflow.processEdit;
var processCategoryData = _5678.scope.workflow.processCategory;
var editProcessData = workflow.processEdit;
var processCategoryData = workflow.processCategory;
var debug = editProcessData.PRO_DEBUG;
var pro_category = editProcessData.PRO_CATEGORY;
var pro_category_label = editProcessData.PRO_CATEGORY_LABEL;
@@ -99,7 +99,7 @@ ProcessMapContext.prototype.editProcess= function(_5678)
});
editProcess.render(document.body);
_5678.scope.workflow.editProcessForm = editProcess;
workflow.editProcessForm = editProcess;
var window = new Ext.Window({
title: 'Edit Process',
@@ -130,7 +130,7 @@ ProcessMapContext.prototype.editProcess= function(_5678)
else
pro_debug = '0';
var pro_uid = _5678.scope.workflow.getUrlVars();
var pro_uid = workflow.getUrlVars();
var urlparams = '?action=saveProcess&data={"PRO_UID":"'+ pro_uid +'","PRO_CALENDAR":"'+ pro_calendar +'","PRO_CATEGORY":"'+ pro_category +'","PRO_DEBUG":"'+ pro_debug +'","PRO_DESCRIPTION":"'+ pro_description +'","PRO_TITLE":"'+ pro_title +'",}';
Ext.Ajax.request({

File diff suppressed because it is too large Load Diff

View File

@@ -112,6 +112,7 @@ Ext.onReady ( function() {
{
text: 'Save',
cls: 'x-btn-text-icon',
iconCls: 'button_menu_ext ss_sprite ss_disk',
handler: function() {
saveProcess();
}
@@ -122,6 +123,7 @@ Ext.onReady ( function() {
{
text:'Undo',
iconCls: 'button_menu_ext ss_sprite ss_arrow_undo',
handler: function() {
workflow.getCommandStack().undo();
}
@@ -130,6 +132,7 @@ Ext.onReady ( function() {
{
text:'Redo',
iconCls: 'button_menu_ext ss_sprite ss_arrow_redo',
handler: function() {
workflow.getCommandStack().redo();
}
@@ -137,6 +140,7 @@ Ext.onReady ( function() {
{
xtype: 'tbsplit',
iconCls: 'button_menu_ext ss_sprite ss_application',
text: 'Process',
menu: new Ext.menu.Menu({
items: [{
@@ -172,12 +176,14 @@ Ext.onReady ( function() {
},
{
text:'Zoom In',
iconCls: 'button_menu_ext ss_sprite ss_zoom_in',
handler: function() {
workflow.zoom('in');
}
},
{
text:'Zoom Out',
iconCls: 'button_menu_ext ss_sprite ss_zoom_out',
handler: function() {
workflow.zoom('out');
}

View File

@@ -33,8 +33,8 @@ ul#pm_menu li.SelectedMenu a,ul#pm_menu li:hover a{
*/
/*Edicion de botones copiar de default.css (Final)*/
input::-moz-focus-inner{border:0;}
button::-moz-focus-inner{border:0;}
input:-moz-focus-inner{border:0;}
button:-moz-focus-inner{border:0;}
.module_app_input___gray{max-width: 400px;}
/*