|
29 | 29 |
|
30 | 30 |
|
31 | 31 | <div class="panel panel-primary"> |
32 | | - <div class="panel-heading">Application URL</div> |
| 32 | + <div class="panel-heading"><h4>Game Server Control Panel</h4></div> |
33 | 33 | <div class="panel-body"> |
| 34 | + <p>You can access the link below to log in and manage your Game Server, which includes controlling settings, plugins, mods, backups and much more.</p> |
| 35 | + <p><b>Tip:</b> Make sure your Instance is Runnings before trying to access this link</p> |
| 36 | + <button style="margin-left: 16px; " onclick="window.open('{$appUrl}/?instance={$instanceId}', '_blank')" class="btn btn-default">Open Game Server Control Panel</button> |
| 37 | + <p> </p> |
| 38 | + <p>Alternatively you can Bookmark the below link for quick refference</p> |
34 | 39 | <a href="{$appUrl}/?instance={$instanceId}" target="_blank">{$appUrl}/?instance={$instanceId}</a> |
35 | 40 | </div> |
36 | 41 | </div> |
37 | 42 |
|
38 | | -{if !empty($endpoints) } |
| 43 | +{if !empty($endpoints)} |
39 | 44 | <div class="panel panel-primary"> |
40 | | - <div class="panel-heading">Endpoints</div> |
| 45 | + <div class="panel-heading"><h4>How to connect to your game</h4></div> |
41 | 46 | <div class="panel-body" > |
42 | 47 |
|
43 | 48 | {foreach $endpoints as $e} |
44 | | - <h4>{$e['DisplayName']}</h4>{if !empty($e['Uri'])} |
45 | | - <a target="_blank" href="{$e['Uri']}" style="vertical-align: middle;" target="_blank">{$e['Endpoint']}</a> |
46 | | - {else}{$e['Endpoint']}{/if} |
47 | | - |
48 | | - <button style="margin-left: 16px;" onclick="copyToClipboard('{$e['Endpoint']}')" class="btn btn-default" >Copy to clipboard</button> |
49 | | - |
50 | | - <hr> |
51 | | - |
| 49 | + <h6>{$e['DisplayName']}</h6> |
| 50 | + {assign var='cleanAppUrl' value=$appUrl|replace:'https://':''|replace:'http://':''} |
| 51 | + {if $e['Endpoint']} |
| 52 | + {assign var='parts' value=":"|explode:$e['Endpoint']} |
| 53 | + <a target="_blank" href="{$cleanAppUrl}:{$parts[1]}" style="vertical-align: middle;" target="_blank">{$cleanAppUrl}:{$parts[1]}</a> |
| 54 | + {else} |
| 55 | + {$e['Endpoint']} |
| 56 | + {/if} |
| 57 | + |
| 58 | + <button style="margin-left: 16px;" onclick="copyToClipboard('{$cleanAppUrl}:{$parts[1]}')" class="btn btn-default">Copy to clipboard</button> |
| 59 | + |
| 60 | + <hr> |
52 | 61 | {/foreach} |
| 62 | + |
| 63 | + </div> |
53 | 64 | </div> |
54 | | - |
55 | | - </div> |
56 | 65 | {/if} |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
57 | 71 | <div class="panel panel-default"> |
58 | | - <div class="panel-heading">Application Management</div> |
| 72 | + <div class="panel-heading"><h4>Application Management</h4></div> |
59 | 73 | <div class="panel-body"> |
60 | 74 |
|
61 | | -<h2>Status: <span id="status"></span></h2> |
| 75 | +<h5>Status: <span id="status"></span></h5> |
62 | 76 | <button id="start" class="btn btn-default" data-toggle="modal" data-target="#confirmModal">Start Instance</button> |
63 | 77 | <button id="stop" class="btn btn-default" data-toggle="modal" data-target="#confirmModal">Stop Instance</button> |
64 | 78 | <button id="restart" class="btn btn-default" data-toggle="modal" data-target="#confirmModal">Restart Instance</button> |
@@ -93,7 +107,7 @@ top:40px; |
93 | 107 | right: 50px; |
94 | 108 | display: inline-block; |
95 | 109 | width: 50px; |
96 | | - height: 50px; |
| 110 | + height: 20px; |
97 | 111 | border: 3px solid rgba(255,255,255,.3); |
98 | 112 | border-radius: 50%; |
99 | 113 | border-top-color: rgb(0, 0, 0); |
|
0 commit comments