Subtitle y un ícono en el BPMN

This commit is contained in:
rene
2011-02-18 22:15:28 +00:00
parent 629cc697bf
commit 9e79bc69ff
2 changed files with 16 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ new Ext.KeyMap(document, {
key: Ext.EventObject.F5, key: Ext.EventObject.F5,
fn: function(keycode, e) { fn: function(keycode, e) {
//here (in the toolbar) we are disabling the ctrl-f5 //here (in the toolbar) we are disabling the ctrl-f5
e.stopEvent(); e.stopEvent();
//if (! e.ctrlKey) { //if (! e.ctrlKey) {
// if (Ext.isIE) // if (Ext.isIE)
// e.browserEvent.keyCode = 8; // e.browserEvent.keyCode = 8;
@@ -24,7 +24,7 @@ Ext.onReady ( function() {
//For Undo and Redo Options //For Undo and Redo Options
// workflow.getCommandStack().addCommandStackEventListener(new commandListener()); // workflow.getCommandStack().addCommandStackEventListener(new commandListener());
//Getting process id from the URL using getUrlvars function //Getting process id from the URL using getUrlvars function
if(typeof pro_uid !== 'undefined') { if(typeof pro_uid !== 'undefined') {
Ext.Ajax.request({ Ext.Ajax.request({
@@ -39,7 +39,7 @@ Ext.onReady ( function() {
}); });
} }
/********************************************************************************** /**********************************************************************************
* *
@@ -74,7 +74,7 @@ Ext.onReady ( function() {
</div>' </div>'
} }
}; };
var east= { var east= {
id : 'eastPanel', id : 'eastPanel',
title : '', title : '',
@@ -101,7 +101,7 @@ Ext.onReady ( function() {
animate: false, animate: false,
region : "north" region : "north"
}; };
var south= { var south= {
xtype : "panel", xtype : "panel",
initialSize: 120, initialSize: 120,
@@ -125,7 +125,7 @@ Ext.onReady ( function() {
}] }]
} }
}; };
var center= { var center= {
region: 'center', region: 'center',
width:100, width:100,
@@ -148,7 +148,7 @@ Ext.onReady ( function() {
layout : "border", layout : "border",
autoScroll: true, autoScroll: true,
height : 1000, height : 1000,
width : 1300, width : 1300,
items : [north, center], items : [north, center],
tbar: [ tbar: [
{ {
@@ -159,7 +159,8 @@ Ext.onReady ( function() {
document.getElementById('designerFrame').contentWindow.saveProcess(); document.getElementById('designerFrame').contentWindow.saveProcess();
} }
}, { }, {
text:'Save as' text:'Save as',
iconCls: 'button_menu_ext ss_sprite ss_disk_multiple'
}, { }, {
xtype: 'tbseparator' xtype: 'tbseparator'
}, { }, {
@@ -177,7 +178,7 @@ Ext.onReady ( function() {
},{ },{
xtype: 'tbsplit', xtype: 'tbsplit',
text:'Zoom', text:'Zoom',
iconCls: 'button_menu_ext ss_sprite ss_zoom_in', iconCls: 'button_menu_ext ss_sprite ss_zoom',
menu: new Ext.menu.Menu({ menu: new Ext.menu.Menu({
items: [{ items: [{
text : '25%', text : '25%',
@@ -273,7 +274,7 @@ Ext.onReady ( function() {
handler: function(){ handler: function(){
document.getElementById('designerFrame').contentWindow.usersPanel.show() document.getElementById('designerFrame').contentWindow.usersPanel.show()
} }
}, { }, {
xtype: 'tbfill' xtype: 'tbfill'
}, { }, {
@@ -288,12 +289,12 @@ Ext.onReady ( function() {
] ]
}); });
var viewport = new Ext.Viewport({ var viewport = new Ext.Viewport({
id:'viewPort1' id:'viewPort1'
,layout:'border' ,layout:'border'
,border:false, ,border:false,
items:[main] items:[main]
}); });
}); });

View File

@@ -697,12 +697,12 @@ form.formDefault textarea.FormTextPM
} }
form.formDefault .FormTitle,form.formDefault .FormSubTitle{ form.formDefault .FormTitle,form.formDefault .FormSubTitle{
color:#333; color:#333;
text-shadow:0 1px 0px rgba(255,255,255,1);
padding-left:5px; padding-left:5px;
font-weight: 700;
} }
form.formDefault .FormTitle form.formDefault .FormTitle
{ {
text-shadow:0 1px 0px rgba(255,255,255,1);
font-weight: 700;
color:#000; color:#000;
padding-left:5px; padding-left:5px;
font-weight:bold; font-weight:bold;