Skip to content

Commit e90c9b6

Browse files
committed
move databases and locations create button in the top right corner to match other lists
1 parent abaff45 commit e90c9b6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

resources/themes/pterodactyl/admin/databases/index.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
<div class="box box-primary">
3838
<div class="box-header with-border">
3939
<h3 class="box-title">Host List</h3>
40+
<div class="box-tools">
41+
<button class="btn btn-sm btn-primary" data-toggle="modal" data-target="#newHostModal">Create New</button>
42+
</div>
4043
</div>
4144
<div class="box-body table-responsive no-padding">
4245
<table class="table table-hover">
@@ -70,9 +73,6 @@
7073
</tbody>
7174
</table>
7275
</div>
73-
<div class="box-footer">
74-
<button class="btn btn-sm btn-default pull-right" data-toggle="modal" data-target="#newHostModal">New Host</button>
75-
</div>
7676
</div>
7777
</div>
7878
</div>

resources/themes/pterodactyl/admin/locations/index.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
<div class="box box-primary">
3838
<div class="box-header with-border">
3939
<h3 class="box-title">Location List</h3>
40+
<div class="box-tools">
41+
<button class="btn btn-sm btn-primary" data-toggle="modal" data-target="#newLocationModal">Create New</button>
42+
</div>
4043
</div>
4144
<div class="box-body table-responsive no-padding">
4245
<table class="table table-hover">
@@ -60,9 +63,6 @@
6063
</tbody>
6164
</table>
6265
</div>
63-
<div class="box-footer">
64-
<button class="btn btn-sm btn-default pull-right" data-toggle="modal" data-target="#newLocationModal">New Location</button>
65-
</div>
6666
</div>
6767
</div>
6868
</div>

0 commit comments

Comments
 (0)