Skip to content

Commit 8bff23a

Browse files
authored
remove delete, fix settings
1 parent 8852bd8 commit 8bff23a

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

resources/views/demo/demo.blade.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
<div class="col-md-3">
4343
<select name="server" class="form-select">
4444
<option value="">All Servers</option>
45-
<option value="NOLAGCS.COM | CS2 Public #1" {{ request('server') === 'NOLAGCS.COM | CS2 Public #1' ? 'selected' : '' }}>#1</option>
46-
<option value="NOLAGCS.COM | CS2 Public #2" {{ request('server') === 'NOLAGCS.COM | CS2 Public #2' ? 'selected' : '' }}>#2</option>
4745
</select>
4846
</div>
4947
<div class="col-md-3">
@@ -83,11 +81,6 @@
8381
<td>{{ \Carbon\Carbon::parse($demo->date)->format('d.m.Y H:i') }}</td>
8482
<td>
8583
<div class="btn-group" role="group">
86-
@if (PermissionsHelper::hasVipCreatePermission())
87-
<a href="{{ env('DEMO_BASE_URL') }}/delete/{{ $demo->file }}.zip" class="btn btn-danger btn-sm">
88-
Delete
89-
</a>
90-
@endif
9184
<a href="{{ env('DEMO_BASE_URL') }}/download/{{ $demo->file }}.zip"
9285
class="btn btn-success btn-sm">
9386
Download

resources/views/settings/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
@foreach($group as $key => $value)
3232
<div class="col-md-6 mb-3">
3333
<label for="{{ $key }}" class="form-label">{{ $key }}</label>
34-
@if(in_array($key, ['RANKS', 'VIP', 'SKINS', 'REPORTS', 'APPEALS']))
34+
@if(in_array($key, ['RANKS', 'VIP', 'SKINS', 'DEMOS', 'REPORTS', 'APPEALS']))
3535
<select class="form-select" id="{{ $key }}" name="{{ $key }}">
3636
<option value="Enabled" {{ $value == 'Enabled' ? 'selected' : '' }}>Enabled</option>
3737
<option value="Disabled" {{ $value == 'Disabled' ? 'selected' : '' }}>Disabled</option>

0 commit comments

Comments
 (0)