Skip to content

Commit 13742ef

Browse files
committed
Various thematic updates to improve responsive views
1 parent 26557b6 commit 13742ef

File tree

8 files changed

+17
-60
lines changed

8 files changed

+17
-60
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
<div class="col-xs-6 col-sm-3 text-center">
6262
<a href="https://docs.pterodactyl.io"><button class="btn btn-primary" style="width:100%;"><i class="fa fa-fw fa-link"></i> Documentation</button></a>
6363
</div>
64+
<div class="clearfix visible-xs-block">&nbsp;</div>
6465
<div class="col-xs-6 col-sm-3 text-center">
6566
<a href="https://github.com/Pterodactyl/Panel"><button class="btn btn-primary" style="width:100%;"><i class="fa fa-fw fa-support"></i> Github</button></a>
6667
</div>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
<h3 class="box-title">Node List</h3>
4545
<div class="box-tools">
4646
<form action="{{ route('admin.nodes') }}" method="GET">
47-
<div class="input-group input-group-sm" style="width: 300px;">
48-
<input type="text" name="query" class="form-control pull-right" value="{{ request()->input('query') }}" placeholder="Search Nodes">
47+
<div class="input-group input-group-sm">
48+
<input type="text" name="query" class="form-control pull-right" style="width:30%;" value="{{ request()->input('query') }}" placeholder="Search Nodes">
4949
<div class="input-group-btn">
5050
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
5151
<a href="{{ route('admin.nodes.new') }}"><button type="button" class="btn btn-sm btn-primary" style="border-radius: 0 3px 3px 0;margin-left:-1px;">Create New</button></a>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<h3 class="box-title">Pack List</h3>
4040
<div class="box-tools">
4141
<form action="{{ route('admin.packs') }}" method="GET">
42-
<div class="input-group input-group-sm" style="width: 300px;">
43-
<input type="text" name="query" class="form-control pull-right" value="{{ request()->input('query') }}" placeholder="Search Packs">
42+
<div class="input-group input-group-sm">
43+
<input type="text" name="query" class="form-control pull-right" style="width:30%;" value="{{ request()->input('query') }}" placeholder="Search Packs">
4444
<div class="input-group-btn">
4545
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
4646
<a href="{{ route('admin.packs.new') }}"><button type="button" class="btn btn-sm btn-primary" style="border-radius: 0 3px 3px 0;margin-left:-1px;">Create New</button></a>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<h3 class="box-title">Server List</h3>
4040
<div class="box-tools">
4141
<form action="{{ route('admin.servers') }}" method="GET">
42-
<div class="input-group input-group-sm" style="width: 300px;">
43-
<input type="text" name="query" class="form-control pull-right" value="{{ request()->input('query') }}" placeholder="Search Servers">
42+
<div class="input-group input-group-sm">
43+
<input type="text" name="query" class="form-control pull-right" style="width:30%;" value="{{ request()->input('query') }}" placeholder="Search Servers">
4444
<div class="input-group-btn">
4545
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
4646
<a href="{{ route('admin.servers.new') }}"><button type="button" class="btn btn-sm btn-primary" style="border-radius: 0 3px 3px 0;margin-left:-1px;">Create New</button></a>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<h3 class="box-title">User List</h3>
4040
<div class="box-tools">
4141
<form action="{{ route('admin.users') }}" method="GET">
42-
<div class="input-group input-group-sm" style="width: 300px;">
43-
<input type="text" name="query" class="form-control pull-right" value="{{ request()->input('query') }}" placeholder="Search">
42+
<div class="input-group input-group-sm">
43+
<input type="text" name="query" class="form-control pull-right" style="width:30%;" value="{{ request()->input('query') }}" placeholder="Search">
4444
<div class="input-group-btn">
4545
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
4646
<a href="{{ route('admin.users.new') }}"><button type="button" class="btn btn-sm btn-primary" style="border-radius: 0 3px 3px 0;margin-left:-1px;">Create New</button></a>

resources/themes/pterodactyl/base/index.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<h3 class="box-title">@lang('base.index.list')</h3>
4040
<div class="box-tools">
4141
<form action="{{ route('index') }}" method="GET">
42-
<div class="input-group input-group-sm" style="width: 250px;">
43-
<input type="text" name="query" class="form-control pull-right" value="{{ request()->input('query') }}" placeholder="@lang('strings.search')">
42+
<div class="input-group input-group-sm">
43+
<input type="text" name="query" class="form-control pull-right" style="width:30%;" value="{{ request()->input('query') }}" placeholder="@lang('strings.search')">
4444
<div class="input-group-btn">
4545
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
4646
</div>

resources/themes/pterodactyl/layouts/admin.blade.php

Lines changed: 3 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@
7575
<span class="hidden-xs">{{ Auth::user()->name_first }} {{ Auth::user()->name_last }}</span>
7676
</a>
7777
</li>
78-
<li>
79-
<a href="#" data-action="control-sidebar" data-toggle="tooltip" data-placement="bottom" title="Quick Access"><i class="fa fa-fighter-jet"></i></a>
80-
</li>
8178
<li>
8279
<li><a href="{{ route('index') }}" data-toggle="tooltip" data-placement="bottom" title="Exit Admin Control"><i class="fa fa-server"></i></a></li>
8380
</li>
@@ -172,54 +169,12 @@
172169
</section>
173170
</div>
174171
<footer class="main-footer">
175-
<div class="pull-right hidden-xs small text-gray" style="margin-right:10px;">
176-
<strong>v</strong> {{ config('app.version') }} &nbsp;&nbsp; <small class="muted muted-hover"><a href="https://patreon.com/pterry" target="_blank"><i class="fa fa-credit-card"></i></a></small>
172+
<div class="pull-right small text-gray" style="margin-right:10px;margin-top:-7px;">
173+
<strong><i class="fa fa-code-fork"></i></strong> {{ config('app.version') }} <br />
174+
<strong><i class="fa fa-clock-o"></i></strong> {{ round(microtime(true) - LARAVEL_START, 3) }}s
177175
</div>
178176
Copyright &copy; 2015 - {{ date('Y') }} <a href="https://pterodactyl.io/">Pterodactyl Software</a>.
179177
</footer>
180-
<aside class="control-sidebar control-sidebar-dark">
181-
<ul class="nav nav-tabs nav-justified control-sidebar-tabs">
182-
<li class="active"><a href="#control-sidebar-servers-tab" data-toggle="tab"><i class="fa fa-server"></i></a></li>
183-
<li><a href="#control-sidebar-nodes-tab" data-toggle="tab"><i class="fa fa-sitemap"></i></a></li>
184-
</ul>
185-
<div class="tab-content">
186-
<div class="tab-pane active" id="control-sidebar-servers-tab">
187-
<ul class="control-sidebar-menu">
188-
@foreach (Pterodactyl\Models\Server::all() as $s)
189-
<li>
190-
<a href="{{ route('admin.servers.view', $s->id) }}">
191-
@if($s->owner_id === Auth::user()->id)
192-
<i class="menu-icon fa fa-user bg-blue"></i>
193-
@else
194-
<i class="menu-icon fa fa-user-o bg-gray"></i>
195-
@endif
196-
<div class="menu-info">
197-
<h4 class="control-sidebar-subheading">{{ $s->name }}</h4>
198-
<p>{{ $s->username }}</p>
199-
</div>
200-
</a>
201-
</li>
202-
@endforeach
203-
</ul>
204-
</div>
205-
<div class="tab-pane" id="control-sidebar-nodes-tab">
206-
<ul class="control-sidebar-menu">
207-
@foreach (Pterodactyl\Models\Node::with('location')->get() as $n)
208-
<li>
209-
<a href="{{ route('admin.nodes.view', $n->id) }}">
210-
<i class="menu-icon fa fa-codepen bg-gray"></i>
211-
<div class="menu-info">
212-
<h4 class="control-sidebar-subheading">{{ $n->name }}</h4>
213-
<p>{{ $n->location->short }}</p>
214-
</div>
215-
</a>
216-
</li>
217-
@endforeach
218-
</ul>
219-
</div>
220-
</div>
221-
</aside>
222-
<div class="control-sidebar-bg"></div>
223178
</div>
224179
@section('footer-scripts')
225180
{!! Theme::js('vendor/terminal/keyboard.polyfill.js') !!}

resources/themes/pterodactyl/layouts/master.blade.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,9 @@ class="active"
227227
</section>
228228
</div>
229229
<footer class="main-footer">
230-
<div class="pull-right hidden-xs small text-gray" style="margin-right:10px;">
231-
<strong>v</strong> {{ config('app.version') }} &nbsp;&nbsp; <small class="muted muted-hover"><a href="https://patreon.com/pterry" target="_blank"><i class="fa fa-credit-card"></i></a></small>
230+
<div class="pull-right small text-gray" style="margin-right:10px;margin-top:-7px;">
231+
<strong><i class="fa fa-code-fork"></i></strong> {{ config('app.version') }} <br />
232+
<strong><i class="fa fa-clock-o"></i></strong> {{ round(microtime(true) - LARAVEL_START, 3) }}s
232233
</div>
233234
Copyright &copy; 2015 - {{ date('Y') }} <a href="https://pterodactyl.io/">Pterodactyl Software</a>.
234235
</footer>

0 commit comments

Comments
 (0)