Skip to content

Commit

Permalink
Added GB6 values to server show and public show
Browse files Browse the repository at this point in the history
Added GB6 values to server show and public show
  • Loading branch information
cp6 committed Sep 21, 2023
1 parent cca325c commit da14c2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/views/servers/public-index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
<th class="text-nowrap">Provider</th>
<th class="text-nowrap">Price</th>
<th class="text-nowrap">Had since</th>
<th class="text-nowrap">GB5 S</th>
<th class="text-nowrap">GB5 M</th>
<th class="text-nowrap">GB6 S</th>
<th class="text-nowrap">GB6 M</th>
<th class="text-nowrap">4k</th>
<th class="text-nowrap">64k</th>
<th class="text-nowrap">512k</th>
Expand Down Expand Up @@ -76,12 +76,12 @@
<td class="text-nowrap"> {{ $s->owned_since }}</td>
<td class="text-nowrap">
@if(Session::get('show_server_value_yabs') === 1)
{{$s->yabs[0]->gb5_single ?? null}}
{{$s->yabs[0]->gb6_single ?? null}}
@endif
</td>
<td class="text-nowrap">
@if(Session::get('show_server_value_yabs') === 1)
{{$s->yabs[0]->gb5_multi ?? null}}
{{$s->yabs[0]->gb6_multi ?? null}}
@endif
</td>
<td class="text-nowrap">
Expand Down
4 changes: 4 additions & 0 deletions resources/views/servers/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ function showYabsCode() {
<div class="table-responsive">
<table class="table table-borderless text-nowrap">
<tbody>
<tr>
<td class="px-2 py-2 font-bold text-muted">GB6 S/M</td>
<td>{{$server_data->yabs[0]->gb6_single ?? null}} / {{$server_data->yabs[0]->gb6_multi ?? null}}</td>
</tr>
<tr>
<td class="px-2 py-2 font-bold text-muted">CPU</td>
<td>{{$server_data->yabs[0]->cpu_model}}</td>
Expand Down

0 comments on commit da14c2d

Please sign in to comment.