Show BD server regardless

This commit is contained in:
Alexei Stukov 2017-04-30 05:44:50 +03:00 committed by GitHub
parent 2fbe862933
commit 2fbf1e9985
1 changed files with 12 additions and 7 deletions

View File

@ -4572,16 +4572,21 @@ class V2C_PublicServers extends BDV2.reactComponent {
return [BDV2.react.createElement( return [BDV2.react.createElement(
"div", "div",
{ ref: "content", className: "content-column default" }, { ref: "content", className: "content-column default" },
BDV2.react.createElement(V2Components.SettingsTitle, { text: self.state.title }),
BDV2.react.createElement( BDV2.react.createElement(
"button", "h2",
{ onClick: self.connect, type: "button", className: "ui-button filled brand small grow", style: { width: "200px", height: "50px", margin: "auto" } }, { className: "ui-form-title h2 margin-reset margin-bottom-20" },
"Not connected to discordservers.com!",
BDV2.react.createElement( BDV2.react.createElement(
"div", "button",
{ className: "ui-button-contents" }, { onClick: self.connect, type: "button", className: "ui-button filled brand small grow", style: { display: "inline-block", minHeight: "18px", marginLeft: "10px", lineHeight: "14px" } },
"Connect" BDV2.react.createElement(
"div",
{ className: "ui-button-contents" },
"Connect"
)
) )
) ),
self.bdServer
), BDV2.react.createElement(V2Components.Tools, { ref: "tools", onClick: self.close })]; ), BDV2.react.createElement(V2Components.Tools, { ref: "tools", onClick: self.close })];
} }