-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nisheeth Kashyap
committed
Jun 20, 2013
1 parent
ae3e952
commit 16919ec
Showing
21 changed files
with
380 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,4 @@ | |||
/.idea | /.idea | ||
/console.io.iml | /console.io.iml | ||
/node_modules | /node_modules | ||
/iisnode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,99 @@ | |||
/** | |||
* Created with JetBrains WebStorm. | |||
* User: nisheeth | |||
* Date: 18/06/13 | |||
* Time: 12:31 | |||
* To change this template use File | Settings | File Templates. | |||
*/ | |||
|
|||
ConsoleIO.namespace("ConsoleIO.Constant.THEMES"); | |||
ConsoleIO.namespace("ConsoleIO.Constant.IMAGE_URL"); | |||
ConsoleIO.namespace("ConsoleIO.Constant.ICONS"); | |||
|
|||
ConsoleIO.Constant.THEMES = { | |||
'web': { | |||
layout: 'dhx_skyblue', | |||
grid: 'dhx_skyblue', | |||
win: 'dhx_skyblue' | |||
}, | |||
'terrace': { | |||
layout: 'dhx_terrace', | |||
grid: 'dhx_terrace', | |||
win: 'dhx_terrace' | |||
}, | |||
get: function get(type) { | |||
return ConsoleIO.Constant.THEMES[ConsoleIO.Settings.theme][type]; | |||
} | |||
}; | |||
|
|||
ConsoleIO.Constant.IMAGE_URL = { | |||
'web': { | |||
tree: "lib/dhtmlx/web/imgs/csh_vista/", | |||
tab: "lib/dhtmlx/web/imgs/", | |||
win: "lib/dhtmlx/web/imgs/", | |||
grid: "lib/dhtmlx/web/imgs/" | |||
}, | |||
'terrace': { | |||
tree: "lib/dhtmlx/terrace/imgs/csh_dhx_terrace/", | |||
tab: "lib/dhtmlx/terrace/imgs/", | |||
win: "lib/dhtmlx/terrace/imgs/", | |||
grid: "lib/dhtmlx/terrace/imgs/" | |||
}, | |||
get: function get(type) { | |||
return ConsoleIO.Constant.IMAGE_URL[ConsoleIO.Settings.theme][type]; | |||
} | |||
}; | |||
|
|||
ConsoleIO.Constant.ICONS = { | |||
ONLINE: 'online.png', | |||
OFFLINE: 'offline.png', | |||
SUBSCRIBE: 'subscribe.gif', | |||
VERSION: 'version.gif', | |||
|
|||
//Platform icons | |||
PC: 'pc.png', | |||
TV: 'tv.jpg', | |||
STB: 'stb.png', | |||
MOBILE: 'mobile.png', | |||
TABLET: 'tablet.png', | |||
MEDIA: 'media.png', | |||
BLUERAY: 'blueray.png', | |||
CONSOLE: 'playstation.png', | |||
|
|||
//Manufacturers icons | |||
LG: 'lg.png', | |||
PHILIPS: 'philips.jpg', | |||
SAMSUNG: 'samsung.jpg', | |||
TOSHIBA: 'toshiba.png', | |||
TESCO: 'tesco.jpg', | |||
SONY: 'sony.jpg', | |||
MICROSOFT: 'microsoft.png', | |||
MOZILLA: 'mozilla.png', | |||
GOOGLE: 'google.png', | |||
APPLE: 'apple.png', | |||
ANDROID: 'android.png', | |||
"OPERA SOFTWARE": 'opera.png', | |||
|
|||
//Browser icons | |||
GINGERBREAD: 'gingerbread.jpg', | |||
CHROME: 'chrome.png', | |||
IE: 'explorer.png', | |||
FIREFOX: 'firefox.png', | |||
OPERA: 'opera.png', | |||
SAFARI: 'safari.png', | |||
MAPLE: 'maple.gif', | |||
NETTV: 'nettv.png', | |||
NETCAST: 'netcast.gif', | |||
TOSHIBATP: 'toshibatp.png', | |||
ESPIAL: 'espial.png', | |||
MSTAR: 'mstar.png', | |||
//"OREGAN MEDIA": '', | |||
PLAYSTATION: 'playstation.png', | |||
|
|||
JAVASCRIPT: 'javascript.gif', | |||
STYLESHEET: 'stylesheet.gif', | |||
WEB: 'web.png', | |||
FILE: '', | |||
UNKNOWN: 'unknown.png', | |||
FOLDEROPEN: '../../' + ConsoleIO.Constant.IMAGE_URL.get('tree') + '/folderOpen.gif' | |||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.