Skip to content
Browse files

Added first release without functionality but rules

  • Loading branch information...
1 parent d480eab commit 7b7d997b87ec24c63615923386c8664f34ec0c9f @jbalde jbalde committed Mar 8, 2012
Showing with 121 additions and 137 deletions.
  1. +2 −0 .gitignore
  2. +26 −44 AltairStudios.Core.userprefs
  3. +2 −2 AltairStudios.Core/Resources/Javascript/Desktop/AccordionWindow.js
  4. +9 −9 AltairStudios.Core/Resources/Javascript/Desktop/App.js
  5. +4 −4 AltairStudios.Core/Resources/Javascript/Desktop/BogusMenuModule.js
  6. +2 −2 AltairStudios.Core/Resources/Javascript/Desktop/BogusModule.js
  7. +2 −2 AltairStudios.Core/Resources/Javascript/Desktop/GridWindow.js
  8. +2 −2 AltairStudios.Core/Resources/Javascript/Desktop/Notepad.js
  9. +6 −6 AltairStudios.Core/Resources/Javascript/Desktop/Settings.js
  10. +2 −2 AltairStudios.Core/Resources/Javascript/Desktop/TabWindow.js
  11. +2 −2 AltairStudios.Core/Resources/Javascript/Desktop/VideoWindow.js
  12. BIN AltairStudios.Core/bin/AltairStudios.Core.dll
  13. +2 −2 AltairStudios.Core/bin/Resources/Javascript/Desktop/AccordionWindow.js
  14. +9 −9 AltairStudios.Core/bin/Resources/Javascript/Desktop/App.js
  15. +4 −4 AltairStudios.Core/bin/Resources/Javascript/Desktop/BogusMenuModule.js
  16. +2 −2 AltairStudios.Core/bin/Resources/Javascript/Desktop/BogusModule.js
  17. +2 −2 AltairStudios.Core/bin/Resources/Javascript/Desktop/GridWindow.js
  18. +2 −2 AltairStudios.Core/bin/Resources/Javascript/Desktop/Notepad.js
  19. +6 −6 AltairStudios.Core/bin/Resources/Javascript/Desktop/Settings.js
  20. +2 −2 AltairStudios.Core/bin/Resources/Javascript/Desktop/TabWindow.js
  21. +2 −2 AltairStudios.Core/bin/Resources/Javascript/Desktop/VideoWindow.js
  22. BIN Tests/Bin/AltairStudios.Core.dll
  23. BIN Tests/Bin/Tests.dll
  24. +2 −2 Tests/Bin/resources/javascript/Desktop/AccordionWindow.js
  25. +9 −9 Tests/Bin/resources/javascript/Desktop/App.js
  26. +4 −4 Tests/Bin/resources/javascript/Desktop/BogusMenuModule.js
  27. +2 −2 Tests/Bin/resources/javascript/Desktop/BogusModule.js
  28. +2 −2 Tests/Bin/resources/javascript/Desktop/GridWindow.js
  29. +2 −2 Tests/Bin/resources/javascript/Desktop/Notepad.js
  30. +6 −6 Tests/Bin/resources/javascript/Desktop/Settings.js
  31. +2 −2 Tests/Bin/resources/javascript/Desktop/TabWindow.js
  32. +2 −2 Tests/Bin/resources/javascript/Desktop/VideoWindow.js
View
2 .gitignore
@@ -0,0 +1,2 @@
+
+AltairStudios.Core.userprefs
View
70 AltairStudios.Core.userprefs
@@ -1,63 +1,45 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
- <MonoDevelop.Ide.Workbench ActiveDocument="AltairStudios.Core/Mvc/Controllers/AdminController.cs">
+ <MonoDevelop.Ide.Workbench ActiveDocument="Tests/Web.config">
<Files>
- <File FileName="tests/.htaccess" Line="16" Column="28" />
- <File FileName="tests/Controllers/HomeController.cs" Line="1" Column="1" />
- <File FileName="tests/Controllers/SerializerController.cs" Line="1" Column="1" />
- <File FileName="tests/Global.asax" Line="1" Column="1" />
- <File FileName="tests/Global.asax.cs" Line="1" Column="1" />
- <File FileName="AltairStudios.Core/Mvc/MvcApplication.cs" Line="1" Column="1" />
- <File FileName="AltairStudios.Core/Mvc/Controllers/AdminController.cs" Line="25" Column="39" />
+ <File FileName="Tests/Web.config" Line="53" Column="55" />
+ <File FileName="AltairStudios.Core/Orm/ConnectionFactory.cs" Line="1" Column="1" />
+ <File FileName="AltairStudios.Core/Mvc/MvcApplication.cs" Line="55" Column="70" />
+ <File FileName="AltairStudios.Core/Mvc/Controllers/AdminController.cs" Line="152" Column="30" />
+ <File FileName="AltairStudios.Core/resources/javascript/Desktop/App.js" Line="34" Column="41" />
+ <File FileName="AltairStudios.Core/resources/javascript/Ux/App.js" Line="90" Column="40" />
+ <File FileName="AltairStudios.Core/resources/javascript/Ux/StartMenu.js" Line="22" Column="37" />
</Files>
<Pads>
<Pad Id="ProjectPad">
<State expanded="True">
<Node name="AltairStudios.Core" expanded="True">
+ <Node name="References" expanded="True" />
<Node name="Mvc" expanded="True">
<Node name="Controllers" expanded="True" />
</Node>
+ <Node name="Orm" expanded="True">
+ <Node name="Models" expanded="True" />
+ </Node>
<Node name="resources" expanded="True">
- <Node name="themes" expanded="True">
- <Node name="images" expanded="True">
- <Node name="default" expanded="True">
- <Node name="boundlist" expanded="True" />
- <Node name="box" expanded="True" />
- <Node name="btn" expanded="True" />
- <Node name="btn-group" expanded="True" />
- <Node name="button" expanded="True" />
- <Node name="datepicker" expanded="True" />
- <Node name="dd" expanded="True" />
- <Node name="editor" expanded="True" />
- <Node name="form" expanded="True" />
- <Node name="form-invalid-tip" expanded="True" />
- <Node name="grid" expanded="True" />
- <Node name="layout" expanded="True" />
- <Node name="menu" expanded="True" />
- <Node name="panel" expanded="True" />
- <Node name="panel-header" expanded="True" />
- <Node name="progress" expanded="True" />
- <Node name="shared" expanded="True" />
- <Node name="sizer" expanded="True" />
- <Node name="slider" expanded="True" />
- <Node name="tab" expanded="True" />
- <Node name="tab-bar" expanded="True" />
- <Node name="tip" expanded="True" />
- <Node name="toolbar" expanded="True" />
- <Node name="tools" expanded="True" />
- <Node name="tree" expanded="True" />
- <Node name="util" expanded="True">
- <Node name="splitter" expanded="True" />
- </Node>
- <Node name="window" expanded="True" />
- <Node name="window-header" expanded="True" />
- </Node>
- </Node>
+ <Node name="javascript" expanded="True">
+ <Node name="Desktop" expanded="True" />
+ <Node name="Login" expanded="True" />
+ <Node name="Ux" expanded="True" />
+ </Node>
+ </Node>
+ <Node name="shared" expanded="True">
+ <Node name="icons" expanded="True">
+ <Node name="fam" expanded="True" />
</Node>
</Node>
<Node name="Util" expanded="True" />
+ <Node name="wallpapers" expanded="True" />
+ </Node>
+ <Node name="Tests" expanded="True">
+ <Node name="Controllers" expanded="True" />
+ <Node name="Web.config" selected="True" />
</Node>
- <Node name="Tests" expanded="True" />
</State>
</Pad>
</Pads>
View
4 AltairStudios.Core/Resources/Javascript/Desktop/AccordionWindow.js
@@ -32,12 +32,12 @@ Ext.define('AdminDesktop.AccordionWindow', {
id:'acc-win',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Accordion Window',
iconCls:'accordion',
handler : this.createWindow,
scope: this
- };
+ };*/
},
createTree : function(){
View
18 AltairStudios.Core/Resources/Javascript/Desktop/App.js
@@ -68,10 +68,10 @@ Ext.define('AdminDesktop.App', {
shortcuts: Ext.create('Ext.data.Store', {
model: 'Ext.ux.desktop.ShortcutModel',
data: [
- { name: 'Grid Window', iconCls: 'grid-shortcut', module: 'grid-win' },
+ /* { name: 'Grid Window', iconCls: 'grid-shortcut', module: 'grid-win' },
{ name: 'Accordion Window', iconCls: 'accordion-shortcut', module: 'acc-win' },
{ name: 'Notepad', iconCls: 'notepad-shortcut', module: 'notepad' },
- { name: 'System Status', iconCls: 'cpu-shortcut', module: 'systemstatus'}
+ { name: 'System Status', iconCls: 'cpu-shortcut', module: 'systemstatus'}*/
]
}),
@@ -85,21 +85,21 @@ Ext.define('AdminDesktop.App', {
var me = this, ret = me.callParent();
return Ext.apply(ret, {
- title: 'Don Griffin 2',
+ title: 'Name',
iconCls: 'user',
height: 300,
toolConfig: {
- width: 100,
+ width: 150,
items: [
{
- text:'Settings',
+ text:'Configuración',
iconCls:'settings',
handler: me.onSettings,
scope: me
},
'-',
{
- text:'Logout',
+ text:'Salir',
iconCls:'logout',
handler: me.onLogout,
scope: me
@@ -114,8 +114,8 @@ Ext.define('AdminDesktop.App', {
return Ext.apply(ret, {
quickStart: [
- { name: 'Accordion Window', iconCls: 'accordion', module: 'acc-win' },
- { name: 'Grid Window', iconCls: 'icon-grid', module: 'grid-win' }
+ //{ name: 'Accordion Window', iconCls: 'accordion', module: 'acc-win' },
+ //{ name: 'Grid Window', iconCls: 'icon-grid', module: 'grid-win' }
],
trayItems: [
{ xtype: 'trayclock', flex: 1 }
@@ -124,7 +124,7 @@ Ext.define('AdminDesktop.App', {
},
onLogout: function () {
- Ext.Msg.confirm('Logout', 'Are you sure you want to logout?');
+ Ext.Msg.confirm('Salir', '¿Está seguro que desea salir de la aplicación?');
},
onSettings: function () {
View
8 AltairStudios.Core/Resources/Javascript/Desktop/BogusMenuModule.js
@@ -24,7 +24,7 @@ Ext.define('AdminDesktop.BogusMenuModule', {
init : function() {
- this.launcher = {
+ /*this.launcher = {
text: 'More items',
iconCls: 'bogus',
handler: function() {
@@ -34,15 +34,15 @@ Ext.define('AdminDesktop.BogusMenuModule', {
items: []
}
};
-
- for (var i = 0; i < 5; ++i) {
+*/
+ /*for (var i = 0; i < 5; ++i) {
this.launcher.menu.items.push({
text: 'Window '+(++windowIndex),
iconCls:'bogus',
handler : this.createWindow,
scope: this,
windowId: windowIndex
});
- }
+ }*/
}
});
View
4 AltairStudios.Core/Resources/Javascript/Desktop/BogusModule.js
@@ -25,13 +25,13 @@ Ext.define('AdminDesktop.BogusModule', {
extend: 'Ext.ux.desktop.Module',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Window '+(++windowIndex),
iconCls:'bogus',
handler : this.createWindow,
scope: this,
windowId:windowIndex
- }
+ }*/
},
createWindow : function(src){
View
4 AltairStudios.Core/Resources/Javascript/Desktop/GridWindow.js
@@ -32,12 +32,12 @@ Ext.define('AdminDesktop.GridWindow', {
id:'grid-win',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Grid Window',
iconCls:'icon-grid',
handler : this.createWindow,
scope: this
- };
+ };*/
},
createWindow : function(){
View
4 AltairStudios.Core/Resources/Javascript/Desktop/Notepad.js
@@ -30,12 +30,12 @@ Ext.define('AdminDesktop.Notepad', {
id:'notepad',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Notepad',
iconCls:'notepad',
handler : this.createWindow,
scope: this
- }
+ }*/
},
createWindow : function(){
View
12 AltairStudios.Core/Resources/Javascript/Desktop/Settings.js
@@ -35,7 +35,7 @@ Ext.define('AdminDesktop.Settings', {
],
layout: 'anchor',
- title: 'Change Settings',
+ title: 'Cambiar configuración',
modal: true,
width: 640,
height: 480,
@@ -52,8 +52,8 @@ Ext.define('AdminDesktop.Settings', {
me.tree = me.createTree();
me.buttons = [
- { text: 'OK', handler: me.onOK, scope: me },
- { text: 'Cancel', handler: me.close, scope: me }
+ { text: 'Guardar', handler: me.onOK, scope: me },
+ { text: 'Cancelar', handler: me.close, scope: me }
];
me.items = [
@@ -74,7 +74,7 @@ Ext.define('AdminDesktop.Settings', {
},
{
xtype: 'checkbox',
- boxLabel: 'Stretch to fit',
+ boxLabel: 'Ajustar a la pantalla',
checked: me.stretch,
listeners: {
change: function (comp) {
@@ -95,7 +95,7 @@ Ext.define('AdminDesktop.Settings', {
}
var tree = new Ext.tree.Panel({
- title: 'Desktop Background',
+ title: 'Fondo de escritorio',
rootVisible: false,
lines: false,
autoScroll: true,
@@ -111,7 +111,7 @@ Ext.define('AdminDesktop.Settings', {
store: new Ext.data.TreeStore({
model: 'AdminDesktop.WallpaperModel',
root: {
- text:'Wallpaper',
+ text:'Fondo de escritorio',
expanded: true,
children:[
{ text: "None", iconCls: '', leaf: true },
View
4 AltairStudios.Core/Resources/Javascript/Desktop/TabWindow.js
@@ -29,12 +29,12 @@ Ext.define('AdminDesktop.TabWindow', {
id:'tab-win',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Tab Window',
iconCls:'tabs',
handler : this.createWindow,
scope: this
- }
+ }*/
},
createWindow : function(){
View
4 AltairStudios.Core/Resources/Javascript/Desktop/VideoWindow.js
@@ -35,12 +35,12 @@ Ext.define('AdminDesktop.VideoWindow', {
tipHeight: 96,
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'About Ext JS',
iconCls:'video',
handler : this.createWindow,
scope: this
- }
+ }*/
},
createWindow : function(){
View
BIN AltairStudios.Core/bin/AltairStudios.Core.dll
Binary file not shown.
View
4 AltairStudios.Core/bin/Resources/Javascript/Desktop/AccordionWindow.js
@@ -32,12 +32,12 @@ Ext.define('AdminDesktop.AccordionWindow', {
id:'acc-win',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Accordion Window',
iconCls:'accordion',
handler : this.createWindow,
scope: this
- };
+ };*/
},
createTree : function(){
View
18 AltairStudios.Core/bin/Resources/Javascript/Desktop/App.js
@@ -68,10 +68,10 @@ Ext.define('AdminDesktop.App', {
shortcuts: Ext.create('Ext.data.Store', {
model: 'Ext.ux.desktop.ShortcutModel',
data: [
- { name: 'Grid Window', iconCls: 'grid-shortcut', module: 'grid-win' },
+ /* { name: 'Grid Window', iconCls: 'grid-shortcut', module: 'grid-win' },
{ name: 'Accordion Window', iconCls: 'accordion-shortcut', module: 'acc-win' },
{ name: 'Notepad', iconCls: 'notepad-shortcut', module: 'notepad' },
- { name: 'System Status', iconCls: 'cpu-shortcut', module: 'systemstatus'}
+ { name: 'System Status', iconCls: 'cpu-shortcut', module: 'systemstatus'}*/
]
}),
@@ -85,21 +85,21 @@ Ext.define('AdminDesktop.App', {
var me = this, ret = me.callParent();
return Ext.apply(ret, {
- title: 'Don Griffin 2',
+ title: 'Name',
iconCls: 'user',
height: 300,
toolConfig: {
- width: 100,
+ width: 150,
items: [
{
- text:'Settings',
+ text:'Configuración',
iconCls:'settings',
handler: me.onSettings,
scope: me
},
'-',
{
- text:'Logout',
+ text:'Salir',
iconCls:'logout',
handler: me.onLogout,
scope: me
@@ -114,8 +114,8 @@ Ext.define('AdminDesktop.App', {
return Ext.apply(ret, {
quickStart: [
- { name: 'Accordion Window', iconCls: 'accordion', module: 'acc-win' },
- { name: 'Grid Window', iconCls: 'icon-grid', module: 'grid-win' }
+ //{ name: 'Accordion Window', iconCls: 'accordion', module: 'acc-win' },
+ //{ name: 'Grid Window', iconCls: 'icon-grid', module: 'grid-win' }
],
trayItems: [
{ xtype: 'trayclock', flex: 1 }
@@ -124,7 +124,7 @@ Ext.define('AdminDesktop.App', {
},
onLogout: function () {
- Ext.Msg.confirm('Logout', 'Are you sure you want to logout?');
+ Ext.Msg.confirm('Salir', '¿Está seguro que desea salir de la aplicación?');
},
onSettings: function () {
View
8 AltairStudios.Core/bin/Resources/Javascript/Desktop/BogusMenuModule.js
@@ -24,7 +24,7 @@ Ext.define('AdminDesktop.BogusMenuModule', {
init : function() {
- this.launcher = {
+ /*this.launcher = {
text: 'More items',
iconCls: 'bogus',
handler: function() {
@@ -34,15 +34,15 @@ Ext.define('AdminDesktop.BogusMenuModule', {
items: []
}
};
-
- for (var i = 0; i < 5; ++i) {
+*/
+ /*for (var i = 0; i < 5; ++i) {
this.launcher.menu.items.push({
text: 'Window '+(++windowIndex),
iconCls:'bogus',
handler : this.createWindow,
scope: this,
windowId: windowIndex
});
- }
+ }*/
}
});
View
4 AltairStudios.Core/bin/Resources/Javascript/Desktop/BogusModule.js
@@ -25,13 +25,13 @@ Ext.define('AdminDesktop.BogusModule', {
extend: 'Ext.ux.desktop.Module',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Window '+(++windowIndex),
iconCls:'bogus',
handler : this.createWindow,
scope: this,
windowId:windowIndex
- }
+ }*/
},
createWindow : function(src){
View
4 AltairStudios.Core/bin/Resources/Javascript/Desktop/GridWindow.js
@@ -32,12 +32,12 @@ Ext.define('AdminDesktop.GridWindow', {
id:'grid-win',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Grid Window',
iconCls:'icon-grid',
handler : this.createWindow,
scope: this
- };
+ };*/
},
createWindow : function(){
View
4 AltairStudios.Core/bin/Resources/Javascript/Desktop/Notepad.js
@@ -30,12 +30,12 @@ Ext.define('AdminDesktop.Notepad', {
id:'notepad',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Notepad',
iconCls:'notepad',
handler : this.createWindow,
scope: this
- }
+ }*/
},
createWindow : function(){
View
12 AltairStudios.Core/bin/Resources/Javascript/Desktop/Settings.js
@@ -35,7 +35,7 @@ Ext.define('AdminDesktop.Settings', {
],
layout: 'anchor',
- title: 'Change Settings',
+ title: 'Cambiar configuración',
modal: true,
width: 640,
height: 480,
@@ -52,8 +52,8 @@ Ext.define('AdminDesktop.Settings', {
me.tree = me.createTree();
me.buttons = [
- { text: 'OK', handler: me.onOK, scope: me },
- { text: 'Cancel', handler: me.close, scope: me }
+ { text: 'Guardar', handler: me.onOK, scope: me },
+ { text: 'Cancelar', handler: me.close, scope: me }
];
me.items = [
@@ -74,7 +74,7 @@ Ext.define('AdminDesktop.Settings', {
},
{
xtype: 'checkbox',
- boxLabel: 'Stretch to fit',
+ boxLabel: 'Ajustar a la pantalla',
checked: me.stretch,
listeners: {
change: function (comp) {
@@ -95,7 +95,7 @@ Ext.define('AdminDesktop.Settings', {
}
var tree = new Ext.tree.Panel({
- title: 'Desktop Background',
+ title: 'Fondo de escritorio',
rootVisible: false,
lines: false,
autoScroll: true,
@@ -111,7 +111,7 @@ Ext.define('AdminDesktop.Settings', {
store: new Ext.data.TreeStore({
model: 'AdminDesktop.WallpaperModel',
root: {
- text:'Wallpaper',
+ text:'Fondo de escritorio',
expanded: true,
children:[
{ text: "None", iconCls: '', leaf: true },
View
4 AltairStudios.Core/bin/Resources/Javascript/Desktop/TabWindow.js
@@ -29,12 +29,12 @@ Ext.define('AdminDesktop.TabWindow', {
id:'tab-win',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Tab Window',
iconCls:'tabs',
handler : this.createWindow,
scope: this
- }
+ }*/
},
createWindow : function(){
View
4 AltairStudios.Core/bin/Resources/Javascript/Desktop/VideoWindow.js
@@ -35,12 +35,12 @@ Ext.define('AdminDesktop.VideoWindow', {
tipHeight: 96,
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'About Ext JS',
iconCls:'video',
handler : this.createWindow,
scope: this
- }
+ }*/
},
createWindow : function(){
View
BIN Tests/Bin/AltairStudios.Core.dll
Binary file not shown.
View
BIN Tests/Bin/Tests.dll
Binary file not shown.
View
4 Tests/Bin/resources/javascript/Desktop/AccordionWindow.js
@@ -32,12 +32,12 @@ Ext.define('AdminDesktop.AccordionWindow', {
id:'acc-win',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Accordion Window',
iconCls:'accordion',
handler : this.createWindow,
scope: this
- };
+ };*/
},
createTree : function(){
View
18 Tests/Bin/resources/javascript/Desktop/App.js
@@ -68,10 +68,10 @@ Ext.define('AdminDesktop.App', {
shortcuts: Ext.create('Ext.data.Store', {
model: 'Ext.ux.desktop.ShortcutModel',
data: [
- { name: 'Grid Window', iconCls: 'grid-shortcut', module: 'grid-win' },
+ /* { name: 'Grid Window', iconCls: 'grid-shortcut', module: 'grid-win' },
{ name: 'Accordion Window', iconCls: 'accordion-shortcut', module: 'acc-win' },
{ name: 'Notepad', iconCls: 'notepad-shortcut', module: 'notepad' },
- { name: 'System Status', iconCls: 'cpu-shortcut', module: 'systemstatus'}
+ { name: 'System Status', iconCls: 'cpu-shortcut', module: 'systemstatus'}*/
]
}),
@@ -85,21 +85,21 @@ Ext.define('AdminDesktop.App', {
var me = this, ret = me.callParent();
return Ext.apply(ret, {
- title: 'Don Griffin 2',
+ title: 'Name',
iconCls: 'user',
height: 300,
toolConfig: {
- width: 100,
+ width: 150,
items: [
{
- text:'Settings',
+ text:'Configuración',
iconCls:'settings',
handler: me.onSettings,
scope: me
},
'-',
{
- text:'Logout',
+ text:'Salir',
iconCls:'logout',
handler: me.onLogout,
scope: me
@@ -114,8 +114,8 @@ Ext.define('AdminDesktop.App', {
return Ext.apply(ret, {
quickStart: [
- { name: 'Accordion Window', iconCls: 'accordion', module: 'acc-win' },
- { name: 'Grid Window', iconCls: 'icon-grid', module: 'grid-win' }
+ //{ name: 'Accordion Window', iconCls: 'accordion', module: 'acc-win' },
+ //{ name: 'Grid Window', iconCls: 'icon-grid', module: 'grid-win' }
],
trayItems: [
{ xtype: 'trayclock', flex: 1 }
@@ -124,7 +124,7 @@ Ext.define('AdminDesktop.App', {
},
onLogout: function () {
- Ext.Msg.confirm('Logout', 'Are you sure you want to logout?');
+ Ext.Msg.confirm('Salir', '¿Está seguro que desea salir de la aplicación?');
},
onSettings: function () {
View
8 Tests/Bin/resources/javascript/Desktop/BogusMenuModule.js
@@ -24,7 +24,7 @@ Ext.define('AdminDesktop.BogusMenuModule', {
init : function() {
- this.launcher = {
+ /*this.launcher = {
text: 'More items',
iconCls: 'bogus',
handler: function() {
@@ -34,15 +34,15 @@ Ext.define('AdminDesktop.BogusMenuModule', {
items: []
}
};
-
- for (var i = 0; i < 5; ++i) {
+*/
+ /*for (var i = 0; i < 5; ++i) {
this.launcher.menu.items.push({
text: 'Window '+(++windowIndex),
iconCls:'bogus',
handler : this.createWindow,
scope: this,
windowId: windowIndex
});
- }
+ }*/
}
});
View
4 Tests/Bin/resources/javascript/Desktop/BogusModule.js
@@ -25,13 +25,13 @@ Ext.define('AdminDesktop.BogusModule', {
extend: 'Ext.ux.desktop.Module',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Window '+(++windowIndex),
iconCls:'bogus',
handler : this.createWindow,
scope: this,
windowId:windowIndex
- }
+ }*/
},
createWindow : function(src){
View
4 Tests/Bin/resources/javascript/Desktop/GridWindow.js
@@ -32,12 +32,12 @@ Ext.define('AdminDesktop.GridWindow', {
id:'grid-win',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Grid Window',
iconCls:'icon-grid',
handler : this.createWindow,
scope: this
- };
+ };*/
},
createWindow : function(){
View
4 Tests/Bin/resources/javascript/Desktop/Notepad.js
@@ -30,12 +30,12 @@ Ext.define('AdminDesktop.Notepad', {
id:'notepad',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Notepad',
iconCls:'notepad',
handler : this.createWindow,
scope: this
- }
+ }*/
},
createWindow : function(){
View
12 Tests/Bin/resources/javascript/Desktop/Settings.js
@@ -35,7 +35,7 @@ Ext.define('AdminDesktop.Settings', {
],
layout: 'anchor',
- title: 'Change Settings',
+ title: 'Cambiar configuración',
modal: true,
width: 640,
height: 480,
@@ -52,8 +52,8 @@ Ext.define('AdminDesktop.Settings', {
me.tree = me.createTree();
me.buttons = [
- { text: 'OK', handler: me.onOK, scope: me },
- { text: 'Cancel', handler: me.close, scope: me }
+ { text: 'Guardar', handler: me.onOK, scope: me },
+ { text: 'Cancelar', handler: me.close, scope: me }
];
me.items = [
@@ -74,7 +74,7 @@ Ext.define('AdminDesktop.Settings', {
},
{
xtype: 'checkbox',
- boxLabel: 'Stretch to fit',
+ boxLabel: 'Ajustar a la pantalla',
checked: me.stretch,
listeners: {
change: function (comp) {
@@ -95,7 +95,7 @@ Ext.define('AdminDesktop.Settings', {
}
var tree = new Ext.tree.Panel({
- title: 'Desktop Background',
+ title: 'Fondo de escritorio',
rootVisible: false,
lines: false,
autoScroll: true,
@@ -111,7 +111,7 @@ Ext.define('AdminDesktop.Settings', {
store: new Ext.data.TreeStore({
model: 'AdminDesktop.WallpaperModel',
root: {
- text:'Wallpaper',
+ text:'Fondo de escritorio',
expanded: true,
children:[
{ text: "None", iconCls: '', leaf: true },
View
4 Tests/Bin/resources/javascript/Desktop/TabWindow.js
@@ -29,12 +29,12 @@ Ext.define('AdminDesktop.TabWindow', {
id:'tab-win',
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'Tab Window',
iconCls:'tabs',
handler : this.createWindow,
scope: this
- }
+ }*/
},
createWindow : function(){
View
4 Tests/Bin/resources/javascript/Desktop/VideoWindow.js
@@ -35,12 +35,12 @@ Ext.define('AdminDesktop.VideoWindow', {
tipHeight: 96,
init : function(){
- this.launcher = {
+ /*this.launcher = {
text: 'About Ext JS',
iconCls:'video',
handler : this.createWindow,
scope: this
- }
+ }*/
},
createWindow : function(){

0 comments on commit 7b7d997

Please sign in to comment.
Something went wrong with that request. Please try again.