parent
42cea45430
commit
52cec81afb
15
js/main.js
15
js/main.js
|
@ -420,16 +420,27 @@ PublicServers.prototype.addServer = function(name, code, title, language, descri
|
||||||
text: language
|
text: language
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
tr.append(desc);
|
||||||
|
|
||||||
tr.append($("<button/>", {
|
tr.append($("<button/>", {
|
||||||
text: "Join",
|
text: "Join",
|
||||||
|
css: {
|
||||||
|
"width": "100%",
|
||||||
|
"height": "30px",
|
||||||
|
"display": "block",
|
||||||
|
"margin-top": "10px",
|
||||||
|
"background-color": "#36393E",
|
||||||
|
"border": "1px solid #404040",
|
||||||
|
"outline": "1px solid #000",
|
||||||
|
"color": "#EDEDED"
|
||||||
|
},
|
||||||
click: function() { self.joinServer(code); }
|
click: function() { self.joinServer(code); }
|
||||||
}));
|
}));
|
||||||
|
|
||||||
tr.append(desc);
|
|
||||||
|
|
||||||
tableBody.append(tr);
|
tableBody.append(tr);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
PublicServers.prototype.show = function() {
|
PublicServers.prototype.show = function() {
|
||||||
this.getPanel().toggle();
|
this.getPanel().toggle();
|
||||||
var li = $("#bd-pub-li");
|
var li = $("#bd-pub-li");
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -125,13 +125,23 @@ PublicServers.prototype.addServer = function(name, code, title, language, descri
|
||||||
text: language
|
text: language
|
||||||
}));
|
}));
|
||||||
|
|
||||||
tr.append($("<button/>", {
|
|
||||||
text: "Join",
|
|
||||||
click: function() { self.joinServer(code); }
|
|
||||||
}));
|
|
||||||
|
|
||||||
tr.append(desc);
|
tr.append(desc);
|
||||||
|
|
||||||
|
tr.append($("<button/>", {
|
||||||
|
text: "Join",
|
||||||
|
css: {
|
||||||
|
"width": "100%",
|
||||||
|
"height": "30px",
|
||||||
|
"display": "block",
|
||||||
|
"margin-top": "10px",
|
||||||
|
"background-color": "#36393E",
|
||||||
|
"border": "1px solid #404040",
|
||||||
|
"outline": "1px solid #000",
|
||||||
|
"color": "#EDEDED"
|
||||||
|
},
|
||||||
|
click: function() { self.joinServer(code); }
|
||||||
|
}));
|
||||||
|
|
||||||
tableBody.append(tr);
|
tableBody.append(tr);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue