diff --git a/ui/App/components/ServerCtl/ServerCtl.jsx b/ui/App/components/ServerCtl/ServerCtl.jsx index b2572e6..d79b0ad 100644 --- a/ui/App/components/ServerCtl/ServerCtl.jsx +++ b/ui/App/components/ServerCtl/ServerCtl.jsx @@ -88,35 +88,40 @@ class ServerCtl extends React.Component { } render() { - return( -
+ return ( +

Server Control

-
- +
- +
- +
-
+
-
- -
+
+ +
+ name="gameBindIP" + id="gameBindIP" + type="text" + className="form-control" + defaultValue={this.state.gameBindIP} + placeholder={this.state.gameBindIP}/>
@@ -153,8 +164,12 @@ class ServerCtl extends React.Component { placeholder={this.state.port} />
- - + +
diff --git a/ui/App/components/ServerCtl/ServerStatus.jsx b/ui/App/components/ServerCtl/ServerStatus.jsx index 3ae9b1c..63bab1e 100644 --- a/ui/App/components/ServerCtl/ServerStatus.jsx +++ b/ui/App/components/ServerCtl/ServerStatus.jsx @@ -15,10 +15,10 @@ class ServerStatus extends React.Component { var result = {}; if (serverStatus === "running") { - result = Running; + result = Running; return result; } else if (serverStatus == "stopped") { - result = Not Running; + result = Not Running; return result; } diff --git a/ui/index.scss b/ui/index.scss index 7c1a877..f43cc35 100644 --- a/ui/index.scss +++ b/ui/index.scss @@ -12,4 +12,5 @@ @import "scss/sidebar"; @import "scss/content"; @import "scss/navigation"; -@import "scss/breadcrumbs"; \ No newline at end of file +@import "scss/breadcrumbs"; +@import "scss/serverCtl"; \ No newline at end of file diff --git a/ui/scss/serverCtl.scss b/ui/scss/serverCtl.scss new file mode 100644 index 0000000..ca94e65 --- /dev/null +++ b/ui/scss/serverCtl.scss @@ -0,0 +1,9 @@ +#serverCtl { + .advanced { + border: none; + + > .btn { + padding: 0; + } + } +} \ No newline at end of file