Skip to content

Commit d0c0fc9

Browse files
authored
Update overview.tpl
Fixed an issue with aligning of the buttons when viewed on a mobile device
1 parent 968f060 commit d0c0fc9

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

modules/servers/AMP/templates/overview.tpl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<div class="col-sm-8">
3636
<p>Manage your Game Server Console to control a wide range of functions, including controlling settings, plugins, mods, backups, and many other features.</p>
3737
</div>
38-
<div class="col-sm-4 text-right">
38+
<div class="col-sm-4 text-sm-right text-center">
3939
<button style="margin-left: 0px; " onclick="window.open('{$appUrl}/?instance={$instanceId}', '_blank')" class="btn btn-success">Open Game Server Control Panel</button>
4040
</div>
4141
</div>
@@ -75,18 +75,18 @@
7575

7676

7777

78-
<div class="panel panel-default">
79-
<div class="panel-heading"><h4>Application Management</h4></div>
80-
<div class="panel-body">
81-
82-
<h5>Status: <span id="status"></span></h5>
83-
<button id="start" class="btn btn-success" data-toggle="modal" data-target="#confirmModal">Start Instance</button>
84-
<button id="stop" class="btn btn-danger" data-toggle="modal" data-target="#confirmModal">Stop Instance</button>
85-
<button id="restart" class="btn btn-warning" data-toggle="modal" data-target="#confirmModal">Restart Instance</button>
86-
<button id="resetPassword" class="btn btn-info" data-toggle="modal" data-target="#confirmModal">Reset Password</button>
87-
88-
</div>
78+
<div class="panel panel-default">
79+
<div class="panel-heading"><h4>Application Management</h4></div>
80+
<div class="panel-body">
81+
<h5>Status: <span id="status"></span></h5>
82+
<div class="text-sm-left text-center">
83+
<button id="start" class="btn btn-success" data-toggle="modal" data-target="#confirmModal" style="min-width: 150px; margin-top: 2px;">Start Instance</button>
84+
<button id="stop" class="btn btn-danger" data-toggle="modal" data-target="#confirmModal" style="min-width: 150px; margin-top: 2px;">Stop Instance</button>
85+
<button id="restart" class="btn btn-warning" data-toggle="modal" data-target="#confirmModal" style="min-width: 150px; margin-top: 2px;">Restart Instance</button>
86+
<button id="resetPassword" class="btn btn-info" data-toggle="modal" data-target="#confirmModal" style="min-width: 150px; margin-top: 2px;">Reset Password</button>
87+
</div>
8988
</div>
89+
</div>
9090
{/if}
9191

9292

0 commit comments

Comments
 (0)