kopia lustrzana https://github.com/c9/core
Simplified support menu in IDE
rodzic
a94e20c526
commit
c338f002c0
|
@ -55,7 +55,7 @@
|
|||
"c9"
|
||||
],
|
||||
"c9plugins": {
|
||||
"c9.ide.language": "#c2740d0254",
|
||||
"c9.ide.language": "#842f2035be",
|
||||
"c9.ide.language.css": "#a649f2a710",
|
||||
"c9.ide.language.generic": "#77d43cfaf0",
|
||||
"c9.ide.language.html": "#0f4078c187",
|
||||
|
@ -86,11 +86,12 @@
|
|||
"c9.ide.dialog.wizard": "#7667ec79a8",
|
||||
"c9.ide.fontawesome": "#781602c5d8",
|
||||
"c9.ide.format": "#5ec97fb083",
|
||||
"c9.ide.help.support": "#0c311f7165",
|
||||
"c9.ide.help.support": "#870494064f",
|
||||
"c9.ide.imgeditor": "#612e75ef4f",
|
||||
"c9.ide.immediate": "#a962119bec",
|
||||
"c9.ide.installer": "#0fde9f0067",
|
||||
"c9.ide.mount": "#b9a5a2d45c",
|
||||
"c9.ide.language.python": "#undefined",
|
||||
"c9.ide.mount": "#8fb263e308",
|
||||
"c9.ide.navigate": "#38ae100ea1",
|
||||
"c9.ide.newresource": "#981a408a7b",
|
||||
"c9.ide.openfiles": "#7fa4a97fed",
|
||||
|
@ -114,6 +115,6 @@
|
|||
"c9.ide.threewaymerge": "#229382aa0b",
|
||||
"c9.ide.undo": "#b028bcb4d5",
|
||||
"c9.ide.upload": "#0bd010d3dc",
|
||||
"c9.ide.welcome": "#4a53636aea"
|
||||
"c9.ide.welcome": "#f42e833148"
|
||||
}
|
||||
}
|
|
@ -40,50 +40,38 @@ define(function(require, exports, module) {
|
|||
}), 100, plugin);
|
||||
|
||||
var c = 0;
|
||||
menus.addItemByPath("Support/Status Page", new ui.item({
|
||||
menus.addItemByPath("Support/Check Cloud9 Status", new ui.item({
|
||||
onclick: function(){window.open('http://status.c9.io'); }
|
||||
}), c += 100, plugin);
|
||||
|
||||
// menus.addItemByPath("Support/~", new ui.divider(), c += 100, plugin);
|
||||
// ide.addEventListener("hook.ext/keybindings_default/keybindings_default", function(c, e) {
|
||||
// menus.addItemByPath("Support/Keyboard Shortcuts", new ui.item({ onclick : function(){ e.ext.keybindings(); }}), c);
|
||||
// }.bind(this, c += 100), plugin);
|
||||
menus.addItemByPath("Support/~", new ui.divider(), c += 100, plugin);
|
||||
|
||||
menus.addItemByPath("Support/Cloud9 Community", new ui.item({
|
||||
menus.addItemByPath("Support/Get Help (Community)", new ui.item({
|
||||
onclick: function(){
|
||||
window.open("https://community.c9.io");
|
||||
}
|
||||
}), c += 100, plugin);
|
||||
menus.addItemByPath("Support/Learning/", null, c += 100, plugin);
|
||||
menus.addItemByPath("Support/Get Help/", null, c += 100, plugin);
|
||||
menus.addItemByPath("Support/Get in Touch/", null, c += 100, plugin);
|
||||
|
||||
c = 0;
|
||||
menus.addItemByPath("Support/Learning/Cloud9 Documentation", new ui.item({
|
||||
|
||||
menus.addItemByPath("Support/~", new ui.divider(), c += 100, plugin);
|
||||
|
||||
menus.addItemByPath("Support/Read Documentation", new ui.item({
|
||||
onclick: function(){
|
||||
window.open("https://docs.c9.io");
|
||||
}
|
||||
}), c += 100, plugin);
|
||||
menus.addItemByPath("Support/Learning/YouTube Channel for Cloud9", new ui.item({
|
||||
menus.addItemByPath("Support/Request a Feature", new ui.item({
|
||||
onclick: function() {
|
||||
// draw();
|
||||
window.open('https://community.c9.io/c/feature-requests');
|
||||
}
|
||||
}), c += 100, plugin);
|
||||
menus.addItemByPath("Support/Go To YouTube Channel", new ui.item({
|
||||
onclick: function(){
|
||||
window.open('http://www.youtube.com/user/c9ide/videos?view=pl');
|
||||
}
|
||||
}), c += 100, plugin);
|
||||
|
||||
c = 0;
|
||||
menus.addItemByPath("Support/Get in Touch/Blog", new ui.item({
|
||||
onclick: function(){ window.open('https://blog.c9.io/'); }
|
||||
}), c += 100, plugin);
|
||||
menus.addItemByPath("Support/Get in Touch/Twitter (for Cloud9 Support)", new ui.item({
|
||||
onclick: function(){ window.open('https://twitter.com/C9Support'); }
|
||||
}), c += 100, plugin);
|
||||
menus.addItemByPath("Support/Get in Touch/Twitter (for general Cloud9 tweets)", new ui.item({
|
||||
onclick: function(){ window.open('https://twitter.com/Cloud9IDE'); }
|
||||
}), c += 100, plugin);
|
||||
menus.addItemByPath("Support/Get in Touch/Facebook", new ui.item({
|
||||
onclick: function(){ window.open('https://www.facebook.com/Cloud9IDE'); }
|
||||
}), c += 100, plugin);
|
||||
|
||||
if (c9.hosted || c9.local) {
|
||||
c9.on("state.change", fetchBlog);
|
||||
|
|
Ładowanie…
Reference in New Issue