diff --git a/.blade.format.json b/.blade.format.json new file mode 100644 index 000000000..7e3ef46ad --- /dev/null +++ b/.blade.format.json @@ -0,0 +1,9 @@ +{ + "attributeJsOptions": { + "semi": true + }, + "phpOptions": { + "singleQuote": true + }, + "useLaravelPint": false +} diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..5ffce2432 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*.blade.php] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000..46089d865 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,14 @@ +# ignore all files +/* + +# except /resources/views/**/*.blade.php +!/resources/ +/resources/* +!/resources/views/ +/resources/views/**/*.* +!/resources/views/**/*.blade.php + +# ignored +resources/views/emails +resources/views/rss/show.blade.php +resources/views/vendor diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 000000000..d4539defc --- /dev/null +++ b/.prettierrc @@ -0,0 +1,18 @@ +{ + "plugins": [ + "prettier-plugin-blade" + ], + "overrides": [ + { + "files": [ + "*.blade.php" + ], + "options": { + "parser": "blade", + "printWidth": 100, + "semi": true, + "singleQuote": true + } + } + ] +} diff --git a/package-lock.json b/package-lock.json index 0590d474c..cd030a1d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "UNIT3D_PUBLIC", + "name": "www", "lockfileVersion": 3, "requires": true, "packages": { @@ -25,6 +25,9 @@ "vue": "^2.6.14", "vue-loader": "^15.9.8", "vue-template-compiler": "^2.6.14" + }, + "devDependencies": { + "prettier-plugin-blade": "^2.0.0" } }, "node_modules/@ampproject/remapping": { @@ -2314,6 +2317,21 @@ "url": "https://opencollective.com/postcss/" } }, + "node_modules/@vue/component-compiler-utils/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "optional": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/@vue/component-compiler-utils/node_modules/yallist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", @@ -7657,20 +7675,33 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" }, "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "optional": true, + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", + "dev": true, + "peer": true, "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/prettier-plugin-blade": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-blade/-/prettier-plugin-blade-2.0.0.tgz", + "integrity": "sha512-9x7hBfGHSKsJG2UNTzFdAadLCMnsgGbLI/cUsb0+leV37yw1ojUedSAhkE1K0TleKXBXgaYpVY+71T3ClYW8WA==", + "dev": true, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "prettier": ">=3" + } + }, "node_modules/pretty-time": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/pretty-time/-/pretty-time-1.1.0.tgz", diff --git a/package.json b/package.json index 3dbb58ace..1e0886379 100644 --- a/package.json +++ b/package.json @@ -28,5 +28,8 @@ "vue": "^2.6.14", "vue-loader": "^15.9.8", "vue-template-compiler": "^2.6.14" + }, + "devDependencies": { + "prettier-plugin-blade": "^2.0.0" } } \ No newline at end of file diff --git a/resources/views/Staff/announce/index.blade.php b/resources/views/Staff/announce/index.blade.php index e5656b1b7..db34a8c51 100644 --- a/resources/views/Staff/announce/index.blade.php +++ b/resources/views/Staff/announce/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} -
- - - {{ __('request.approve') }} - -
+ + + {{ __('request.approve') }} + +
+ - - Application Approved! - Invitation Message - - - - {{ __('request.approve') }} - - - {{ __('common.cancel') }} - - -
- Application Approved! - Invitation Message -
- - {{ __('request.approve') }} - - - {{ __('common.cancel') }} - -
- - - {{ __('request.reject') }} - -
- Insufficient Proofs. - Rejection Message -
- - {{ __('request.reject') }} - - - {{ __('common.cancel') }} - -
+ + {{ __('request.approve') }} + + + {{ __('common.cancel') }} + +
+ + + {{ __('request.reject') }} + +
+ +Insufficient Proofs. + + Rejection Message + +
+ + {{ __('request.reject') }} + + + {{ __('common.cancel') }} + +
- + {{ __('common.title') }}
{{ __('common.image') }} - +
- {{ __('common.submit') }} + + {{ __('common.submit') }} +
- {{ __('common.save') }} + + {{ __('common.save') }} +
+ /> {{ __('common.reason') }} @@ -62,4 +64,4 @@ -@endsection \ No newline at end of file +@endsection diff --git a/resources/views/Staff/blacklist/clients/edit.blade.php b/resources/views/Staff/blacklist/clients/edit.blade.php index 7eae31fa4..8fb6670be 100644 --- a/resources/views/Staff/blacklist/clients/edit.blade.php +++ b/resources/views/Staff/blacklist/clients/edit.blade.php @@ -39,8 +39,10 @@ required type="text" value="{{ $client->name }}" - > - {{ __('common.name') }} + /> + + {{ __('common.name') }} +
+ /> {{ __('common.reason') }} @@ -63,4 +65,4 @@ -@endsection \ No newline at end of file +@endsection diff --git a/resources/views/Staff/blacklist/clients/index.blade.php b/resources/views/Staff/blacklist/clients/index.blade.php index 8cc98478a..9e9f9e592 100644 --- a/resources/views/Staff/blacklist/clients/index.blade.php +++ b/resources/views/Staff/blacklist/clients/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} -
+ /> {{ __('value') }} @@ -68,18 +70,13 @@ pattern="[0-9]*" value="{{ old('cost') }}" required - > + /> {{ __('bon.points') }}
- + {{ __('common.add') }} {{ __('common.upload') }} diff --git a/resources/views/Staff/bon_exchange/edit.blade.php b/resources/views/Staff/bon_exchange/edit.blade.php index 103b25046..7d3694a1f 100644 --- a/resources/views/Staff/bon_exchange/edit.blade.php +++ b/resources/views/Staff/bon_exchange/edit.blade.php @@ -20,7 +20,7 @@ {{ __('common.edit') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('bon.bon') }} {{ __('bon.exchange') }} @@ -41,8 +41,10 @@ class="form__text" value="{{ $bonExchange->description }}" required - > - {{ __('common.name') }} + /> + + {{ __('common.name') }} + + /> {{ __('value') }} @@ -69,29 +71,40 @@ pattern="[0-9]*" value="{{ $bonExchange->cost }}" required - > + /> {{ __('bon.points') }} - + - upload)> + upload) + > {{ __('common.add') }} {{ __('common.upload') }} - download)> + download) + > {{ __('common.remove') }} {{ __('common.download') }} - personal_freeleech)> + personal_freeleech) + > {{ __('torrent.personal-freeleech') }} - invite)> + invite) + > {{ __('user.invites') }} diff --git a/resources/views/Staff/bon_exchange/index.blade.php b/resources/views/Staff/bon_exchange/index.blade.php index 743e8b1be..b4b939f79 100644 --- a/resources/views/Staff/bon_exchange/index.blade.php +++ b/resources/views/Staff/bon_exchange/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - {{ __('bon.bon') }} {{ __('bon.exchange') }} - + {{ __('bon.bon') }} {{ __('bon.exchange') }} @endsection @section('content') @@ -18,7 +16,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',true) }} + {{ trans_choice('common.a-an-art', true) }} {{ __('bon.exchange') }} @@ -26,64 +24,76 @@ - - {{ __('common.name') }} - {{ __('value') }} - {{ __('bon.points') }} - {{ __('common.type') }} - {{ __('common.actions') }} - + + {{ __('common.name') }} + {{ __('value') }} + {{ __('bon.points') }} + {{ __('common.type') }} + {{ __('common.actions') }} + - @foreach ($bonExchanges as $bonExchange) - - {{ $bonExchange->description }} - {{ $bonExchange->value }} - {{ $bonExchange->cost }} - - @switch (1) - @case ($bonExchange->upload) - {{ __('common.add') }} {{ __('common.upload') }} - @break - @case ($bonExchange->download) - {{ __('common.remove') }} {{ __('common.download') }} - @break - @case ($bonExchange->personal_freeleech) - {{ __('torrent.personal-freeleech') }} - @break - @case ($bonExchange->invite) - {{ __('user.invites') }} - @break - @endswitch - - - - @csrf - @method('DELETE') - - {{ __('common.edit') }} - - + {{ $bonExchange->description }} + {{ $bonExchange->value }} + {{ $bonExchange->cost }} + + @switch(1) + @case($bonExchange->upload) + {{ __('common.add') }} {{ __('common.upload') }} + + @break + @case($bonExchange->download) + {{ __('common.remove') }} {{ __('common.download') }} + + @break + @case($bonExchange->personal_freeleech) + {{ __('torrent.personal-freeleech') }} + + @break + @case($bonExchange->invite) + {{ __('user.invites') }} + + @break + @endswitch + + + - {{ __('common.delete') }} - - - - - @endforeach + @csrf + @method('DELETE') + + {{ __('common.edit') }} + + + {{ __('common.delete') }} + + + + + @endforeach diff --git a/resources/views/Staff/category/create.blade.php b/resources/views/Staff/category/create.blade.php index 813a06052..5924fd196 100644 --- a/resources/views/Staff/category/create.blade.php +++ b/resources/views/Staff/category/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.category') }} @@ -34,13 +34,7 @@ > @csrf - + {{ __('common.name') }} @@ -52,19 +46,13 @@ type="text" name="position" placeholder=" " - > + /> {{ __('common.position') }} - + {{ __('common.icon') }} (FontAwesome) @@ -72,44 +60,22 @@ {{ __('common.select') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.image') }} (If Not Using A FontAwesome Icon) - + - + - - Movie metadata - - - TV metadata - - - Game metadata - - - Music metadata - - - No metadata - + Movie metadata + TV metadata + Game metadata + Music metadata + No metadata - - Meta - + Meta diff --git a/resources/views/Staff/category/edit.blade.php b/resources/views/Staff/category/edit.blade.php index e776f371e..a9eb496c0 100644 --- a/resources/views/Staff/category/edit.blade.php +++ b/resources/views/Staff/category/edit.blade.php @@ -42,7 +42,7 @@ type="text" name="name" value="{{ $category->name }}" - > + /> {{ __('common.name') }} @@ -54,7 +54,7 @@ type="text" name="position" value="{{ $category->position }}" - > + /> {{ __('common.position') }} @@ -66,7 +66,7 @@ type="text" name="icon" value="{{ $category->icon }}" - > + /> {{ __('common.icon') }} (FontAwesome) @@ -74,25 +74,19 @@ {{ __('common.select') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.image') }} (If Not Using A FontAwesome Icon) - + - - movie_meta)> + + movie_meta) + > Movie metadata tv_meta)> @@ -101,16 +95,18 @@ game_meta)> Game metadata - music_meta)> + music_meta) + > Music metadata no_meta)> No metadata - - Meta - + Meta diff --git a/resources/views/Staff/category/index.blade.php b/resources/views/Staff/category/index.blade.php index 891cc7ed8..469eb77ac 100644 --- a/resources/views/Staff/category/index.blade.php +++ b/resources/views/Staff/category/index.blade.php @@ -28,25 +28,27 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.icon') }} - {{ __('common.image') }} - Movie Meta - TV Meta - Game Meta - Music Meta - No Meta - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.icon') }} + {{ __('common.image') }} + Movie Meta + TV Meta + Game Meta + Music Meta + No Meta + {{ __('common.action') }} + @foreach ($categories as $category) {{ $category->position }} - + {{ $category->name }} @@ -55,44 +57,67 @@ @if ($category->image != null) - + @else N/A @endif @if ($category->movie_meta) - + @else - + @endif @if ($category->tv_meta) - + @else - + @endif @if ($category->game_meta) - + @else - + @endif @if ($category->music_meta) - + @else - + @endif @if ($category->no_meta) - + @else - + @endif @@ -114,17 +139,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/chat/bot/edit.blade.php b/resources/views/Staff/chat/bot/edit.blade.php index 5ea249a56..67c9d917f 100644 --- a/resources/views/Staff/chat/bot/edit.blade.php +++ b/resources/views/Staff/chat/bot/edit.blade.php @@ -47,7 +47,11 @@ {{ __('bot.edit-bot') }}: {{ $bot->name }} - + @csrf @method('PATCH') @@ -58,8 +62,10 @@ placeholder=" " type="text" value="{{ $bot->name }}" - > - {{ __('bot.name') }} + /> + + {{ __('bot.name') }} + - {{ __('common.position') }} + /> + + {{ __('common.position') }} + - {{ __('bot.command') }} + /> + + {{ __('bot.command') }} + - {{ __('bot.info') }} + /> + + {{ __('bot.info') }} + - {{ __('bot.about') }} + /> + + {{ __('bot.about') }} + - {{ __('bot.emoji-code') }} + /> + + {{ __('bot.emoji-code') }} + - {{ __('bot.icon') }} + /> + + {{ __('bot.icon') }} + + + {{ __('bot.color') }} + + + + +{{ $bot->help }} - {{ __('bot.color') }} + + {{ __('bot.help') }} + - {{ $bot->help }} - {{ __('bot.help') }} - - - {{ __('common.edit') }} + + {{ __('common.edit') }} + diff --git a/resources/views/Staff/chat/bot/index.blade.php b/resources/views/Staff/chat/bot/index.blade.php index 2e7edefe9..3af428426 100644 --- a/resources/views/Staff/chat/bot/index.blade.php +++ b/resources/views/Staff/chat/bot/index.blade.php @@ -47,7 +47,7 @@ - @foreach($bots as $bot) + @foreach ($bots as $bot) @@ -60,20 +60,24 @@ class="chat-bots__icon" src="/vendor/joypixels/png/64/{{ $bot->emoji }}.png" alt="emoji" - > + /> {{ $bot->command }} @if ($bot->active) - + @else - + @endif - @if(! $bot->is_systembot) - @if($bot->active) + @if (! $bot->is_systembot) + @if ($bot->active) @endif @endif + @csrf @method('DELETE') - @if(!$bot->is_protected) + @if (! $bot->is_protected) {{ __('common.delete') }} diff --git a/resources/views/Staff/chat/room/create.blade.php b/resources/views/Staff/chat/room/create.blade.php index 5a6aa1dea..a31755137 100644 --- a/resources/views/Staff/chat/room/create.blade.php +++ b/resources/views/Staff/chat/room/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.chat-room') }} @@ -34,13 +34,7 @@ > @csrf - + {{ __('common.name') }} diff --git a/resources/views/Staff/chat/room/edit.blade.php b/resources/views/Staff/chat/room/edit.blade.php index 983efe7cf..7dad0911f 100644 --- a/resources/views/Staff/chat/room/edit.blade.php +++ b/resources/views/Staff/chat/room/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $chatroom->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/chat/room/index.blade.php b/resources/views/Staff/chat/room/index.blade.php index 1e5476435..a9a713109 100644 --- a/resources/views/Staff/chat/room/index.blade.php +++ b/resources/views/Staff/chat/room/index.blade.php @@ -49,61 +49,67 @@ - - ID - {{ __('common.name') }} - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($chatrooms as $chatroom) - - {{ $chatroom->id }} - - - {{ $chatroom->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $chatroom->id }} + + + {{ $chatroom->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/chat/status/create.blade.php b/resources/views/Staff/chat/status/create.blade.php index 2140d00d1..01d73dccf 100644 --- a/resources/views/Staff/chat/status/create.blade.php +++ b/resources/views/Staff/chat/status/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('staff.chat') }} {{ __('staff.status') }} @@ -35,37 +35,19 @@ @csrf @csrf - + {{ __('common.name') }} - + {{ __('common.color') }} (e.g. #ff0000) - + Font Awesome icon code (e.g. fas fa-comment-smile) diff --git a/resources/views/Staff/chat/status/edit.blade.php b/resources/views/Staff/chat/status/edit.blade.php index 3e683f2cd..0acc89d90 100644 --- a/resources/views/Staff/chat/status/edit.blade.php +++ b/resources/views/Staff/chat/status/edit.blade.php @@ -24,7 +24,8 @@ @section('main') - {{ __('common.edit') }} {{ __('staff.chat') }} {{ __('staff.status') }}: {{ $chatstatus->name }} + {{ __('common.edit') }} {{ __('staff.chat') }} {{ __('staff.status') }}: + {{ $chatstatus->name }} + /> {{ __('common.name') }} @@ -55,7 +56,7 @@ required type="text" value="{{ $chatstatus->color }}" - > + /> {{ __('common.color') }} (e.g. #ff0000) @@ -69,7 +70,7 @@ required type="text" value="{{ $chatstatus->icon }}" - > + /> Font Awesome icon code (e.g. fas fa-comment-smile) diff --git a/resources/views/Staff/chat/status/index.blade.php b/resources/views/Staff/chat/status/index.blade.php index 727b481df..0b43edac9 100644 --- a/resources/views/Staff/chat/status/index.blade.php +++ b/resources/views/Staff/chat/status/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - {{ __('staff.chat') }} {{ __('staff.statuses') }} - + {{ __('staff.chat') }} {{ __('staff.statuses') }} @endsection @section('nav-tabs') @@ -51,74 +49,80 @@ - - ID - {{ __('common.name') }} - Color - Icon - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Color + Icon + {{ __('common.action') }} + - @foreach ($chatstatuses as $chatstatus) - - {{ $chatstatus->id }} - - - {{ $chatstatus->name }} - - - - - {{ $chatstatus->color }} - - - - [{{ $chatstatus->icon }}] - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $chatstatus->id }} + + + {{ $chatstatus->name }} + + + + + {{ $chatstatus->color }} + + + + [{{ $chatstatus->icon }}] + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/cheated_torrent/index.blade.php b/resources/views/Staff/cheated_torrent/index.blade.php index dda055e0d..0f3e9c59f 100644 --- a/resources/views/Staff/cheated_torrent/index.blade.php +++ b/resources/views/Staff/cheated_torrent/index.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - Cheated Torrents - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Cheated Torrents - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +16,7 @@ {{ __('staff.staff-dashboard') }} - - Cheated Torrents - + Cheated Torrents @endsection @section('page', 'page__cheated-torrents--index') @@ -35,17 +35,19 @@ @csrf @method('DELETE') Reset all torrent balances @@ -109,7 +111,10 @@ {{ \App\Helpers\StringHelper::formatBytes($torrent->balance) }} - + {{ $torrent->created_at ?? 'N/A' }} diff --git a/resources/views/Staff/cheater/index.blade.php b/resources/views/Staff/cheater/index.blade.php index d52309745..00cbfaa85 100644 --- a/resources/views/Staff/cheater/index.blade.php +++ b/resources/views/Staff/cheater/index.blade.php @@ -1,11 +1,16 @@ @extends('layout.default') @section('title') - Possible Leech Cheaters - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Possible Leech Cheaters - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -23,9 +28,7 @@ @section('main') - - {{ __('staff.possible-leech-cheaters') }} (Ghost Leechers) - + {{ __('staff.possible-leech-cheaters') }} (Ghost Leechers) @@ -42,13 +45,19 @@ - + {{ $cheater->created_at ?? 'N/A' }} - - {{ $cheater->last_login ?? 'N/A'}} + + {{ $cheater->last_login ?? 'N/A' }} diff --git a/resources/views/Staff/command/index.blade.php b/resources/views/Staff/command/index.blade.php index fbba3b102..2ca7f7469 100644 --- a/resources/views/Staff/command/index.blade.php +++ b/resources/views/Staff/command/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,20 +14,28 @@ {{ __('staff.staff-dashboard') }} - - Commands - + Commands @endsection @section('page', 'page__commands--index') @section('main') - + Maintenance Mode - + @csrf - + @csrf - + @csrf - + @csrf + @endsection @section('breadcrumbs') @@ -31,22 +31,32 @@ - + {{ __('staff.staff-dashboard') }} @if (auth()->user()->group->is_owner) - + {{ __('backup.backup') }} {{ __('backup.manager') }} - - Commands + + + Commands @endif @@ -59,19 +69,28 @@ - + {{ __('staff.statuses') }} - + {{ __('staff.rooms') }} - + {{ __('staff.bots') }} @@ -80,17 +99,19 @@ @csrf @@ -107,45 +128,67 @@ - + {{ __('staff.articles') }} @if (auth()->user()->group->is_admin) - + {{ __('staff.forums') }} @endif + - + {{ __('staff.pages') }} - + {{ __('staff.polls') }} - + {{ __('staff.bon-exchange') }} - + {{ __('common.blacklist') }} - + {{ __('staff.blocked-ips') }} @@ -159,94 +202,133 @@ - + {{ __('staff.torrent-moderation') }} - + {{ __('staff.torrent-categories') }} - + {{ __('staff.torrent-types') }} - + {{ __('staff.torrent-resolutions') }} - + Torrent Regions - + Torrent Distributors - + Peers - + Histories - + {{ __('staff.rss') }} - + {{ __('common.media-languages') }} - + Cheated Torrents @if (config('announce.log_announces')) - + Announces @endif + @csrf @@ -263,7 +345,10 @@ - + {{ __('staff.applications') }} ({{ $pendingApplicationsCount }}) @if ($pendingApplicationsCount > 0) @@ -272,37 +357,55 @@ - + {{ __('staff.user-search') }} - + {{ __('user.apikeys') }} - + {{ __('staff.passkeys') }} - + {{ __('user.rsskeys') }} - + Watchlist - + {{ __('staff.mass-pm') }} @@ -330,26 +433,38 @@ - + {{ __('staff.possible-leech-cheaters') }} - + {{ __('staff.seedboxes') }} - + Internals @if (auth()->user()->group->is_admin) - + {{ __('staff.groups') }} @@ -364,50 +479,76 @@ - + {{ __('staff.audit-log') }} - + {{ __('staff.bans-log') }} - + {{ __('staff.failed-login-log') }} - + {{ __('staff.gifts-log') }} - + {{ __('staff.invites-log') }} - + {{ __('staff.user-notes') }} @if (auth()->user()->group->is_owner) - - - {{ __('staff.laravel-log') }} - - + + + + {{ __('staff.laravel-log') }} + + @endif + - + {{ __('staff.reports-log') }} ({{ $unsolvedReportsCount }}) @if ($unsolvedReportsCount > 0) @@ -416,7 +557,10 @@ - + {{ __('staff.warnings-log') }} @@ -432,13 +576,18 @@ URL {{ config('app.url') }} + @if (request()->secure()) Connection Secure Issued By - {{ (!is_string($certificate)) ? $certificate->getIssuer() : "No Certificate Info Found" }} + + {{ ! is_string($certificate) ? $certificate->getIssuer() : 'No Certificate Info Found' }} + Expires - {{ (!is_string($certificate)) ? $certificate->expirationDate()->diffForHumans() : "No Certificate Info Found" }} + + {{ ! is_string($certificate) ? $certificate->expirationDate()->diffForHumans() : 'No Certificate Info Found' }} + @else Connection @@ -559,10 +708,14 @@ {{ $permission['directory'] }} @if ($permission['permission'] === $permission['recommended']) - + {{ $permission['permission'] }} @else - + {{ $permission['permission'] }} @endif @@ -577,23 +730,17 @@ @if ($externalTrackerStats === true) External Tracker Stats - - External tracker not enabled. - + External tracker not enabled. @elseif ($externalTrackerStats === false) External Tracker Stats - - Stats endpoint not found. - + Stats endpoint not found. @elseif ($externalTrackerStats === []) External Tracker Stats - - Tracker returned an error. - + Tracker returned an error. @else @@ -604,6 +751,7 @@ $lastRequestAt = \Illuminate\Support\Carbon::createFromTimestampUTC($externalTrackerStats['last_request_at']); $lastAnnounceResponseAt = \Illuminate\Support\Carbon::createFromTimestampUTC($externalTrackerStats['last_announce_response_at']); @endphp + {{ __('torrent.started') }} - @foreach([1, 10, 60, 900, 7200] as $interval) + @foreach ([1, 10, 60, 900, 7200] as $interval) {{ $interval }} - {{ \number_format($externalTrackerStats['requests_per_'.$interval.'s'], 0, null, "\u{202F}") }} + {{ \number_format($externalTrackerStats['requests_per_' . $interval . 's'], 0, null, "\u{202F}") }} - - {{ \number_format($externalTrackerStats['announce_responses_per_'.$interval.'s'], 0, null, "\u{202F}") }} + + {{ \number_format($externalTrackerStats['announce_responses_per_' . $interval . 's'], 0, null, "\u{202F}") }} @endforeach diff --git a/resources/views/Staff/distributor/create.blade.php b/resources/views/Staff/distributor/create.blade.php index 5d1e52d02..98f246ea9 100644 --- a/resources/views/Staff/distributor/create.blade.php +++ b/resources/views/Staff/distributor/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Distributor - + @csrf - + {{ __('common.name') }} diff --git a/resources/views/Staff/distributor/delete.blade.php b/resources/views/Staff/distributor/delete.blade.php index 81cd9a349..ad9d5325c 100644 --- a/resources/views/Staff/distributor/delete.blade.php +++ b/resources/views/Staff/distributor/delete.blade.php @@ -36,7 +36,8 @@ @csrf @method('DELETE') - An existing torrent on site may already use this distributor. Would you like to change it? + An existing torrent on site may already use this distributor. Would you like to + change it? {{ __('common.delete') }} diff --git a/resources/views/Staff/distributor/edit.blade.php b/resources/views/Staff/distributor/edit.blade.php index 789d274e8..405b61d15 100644 --- a/resources/views/Staff/distributor/edit.blade.php +++ b/resources/views/Staff/distributor/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $distributor->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/distributor/index.blade.php b/resources/views/Staff/distributor/index.blade.php index 58b7f429d..23a94b12b 100644 --- a/resources/views/Staff/distributor/index.blade.php +++ b/resources/views/Staff/distributor/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Distributors - + Torrent Distributors @endsection @section('page', 'page__distributor--index') @@ -29,45 +27,47 @@ - - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($distributors as $distributor) - - - - {{ $distributor->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - - - @empty - - No distributors - - @endforelse + @forelse ($distributors as $distributor) + + + + {{ $distributor->name }} + + + + + + + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + + + @empty + + No distributors + + @endforelse diff --git a/resources/views/Staff/forum/create.blade.php b/resources/views/Staff/forum/create.blade.php index ed8d37455..8d9641e84 100644 --- a/resources/views/Staff/forum/create.blade.php +++ b/resources/views/Staff/forum/create.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -33,19 +33,28 @@ @csrf - + Category Forum - Forum Type + + Forum Type + - + Title - - Description + + + Description + @@ -56,7 +65,9 @@ @endforeach - Parent forum + + Parent forum + - {{ __('common.position') }} + /> + + {{ __('common.position') }} + Permissions - - Groups - View the forum - Read topics - Start new topic - Reply to topics - + + Groups + View the forum + Read topics + Start new topic + Reply to topics + - @foreach ($groups as $group) - - {{ $group->name }} - - - - - - - - - - - - - - @endforeach + @foreach ($groups as $group) + + {{ $group->name }} + + + + + + + + + + + + + + + + + + + + + + @endforeach diff --git a/resources/views/Staff/forum/edit.blade.php b/resources/views/Staff/forum/edit.blade.php index d9340f37c..5b98566eb 100644 --- a/resources/views/Staff/forum/edit.blade.php +++ b/resources/views/Staff/forum/edit.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.edit') }} Forums - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.edit') }} Forums - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -33,20 +39,30 @@ {{ __('common.edit') }} {{ __('forum.forum') }} - + @csrf @method('PATCH') - + Title - {{ $forum->description }} - Description + +{{ $forum->description }} + + Description + @@ -58,7 +74,9 @@ Forum (Current) @endif - Forum Type + + Forum Type + @@ -67,11 +85,14 @@ {{ $forum->category->name }} (Current) @endif + @foreach ($categories as $category) {{ $category->name }} @endforeach - Parent forum + + Parent forum + + /> {{ __('common.position') }} @@ -94,60 +115,58 @@ - - Groups - View the forum - Read topics - Start new topic - Reply to topics - + + Groups + View the forum + Read topics + Start new topic + Reply to topics + - @foreach ($groups as $group) - - {{ $group->name }} - - permissions->where('group_id', '=', $group->id)->first()->show_forum) - /> - - - permissions->where('group_id', '=', $group->id)->first()->read_topic) - /> - - - permissions->where('group_id', '=', $group->id)->first()->start_topic) - /> - - - permissions->where('group_id', '=', $group->id)->first()->reply_topic) - /> - - - @endforeach + @foreach ($groups as $group) + + {{ $group->name }} + + permissions->where('group_id', '=', $group->id)->first()->show_forum) + /> + + + permissions->where('group_id', '=', $group->id)->first()->read_topic) + /> + + + permissions->where('group_id', '=', $group->id)->first()->start_topic) + /> + + + permissions->where('group_id', '=', $group->id)->first()->reply_topic) + /> + + + @endforeach - - Save Forum - + Save Forum diff --git a/resources/views/Staff/forum/index.blade.php b/resources/views/Staff/forum/index.blade.php index 7ee6f1bad..8485e0024 100644 --- a/resources/views/Staff/forum/index.blade.php +++ b/resources/views/Staff/forum/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -32,73 +32,29 @@ - - {{ __('common.name') }} - Type - {{ __('common.position') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + Type + {{ __('common.position') }} + {{ __('common.action') }} + - @foreach ($categories as $category) - - - {{ $category->name }} - - Category - {{ $category->position }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - - {{ __('common.delete') }} - - - - - - - @foreach ($category->forums as $forum) + @foreach ($categories as $category) - - {{ $forum->name }} + + + {{ $category->name }} + - Forum - {{ $forum->position }} + Category + {{ $category->position }} {{ __('common.edit') }} @@ -106,23 +62,27 @@ @csrf @method('DELETE') {{ __('common.delete') }} @@ -132,8 +92,62 @@ + @foreach ($category->forums as $forum) + + + + {{ $forum->name }} + + + Forum + {{ $forum->position }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach @endforeach - @endforeach diff --git a/resources/views/Staff/gift/index.blade.php b/resources/views/Staff/gift/index.blade.php index 681a8dd7e..df5092b3e 100644 --- a/resources/views/Staff/gift/index.blade.php +++ b/resources/views/Staff/gift/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('staff.gifts-log') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.gifts-log') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/group/create.blade.php b/resources/views/Staff/group/create.blade.php index 67c17f27d..0bf5cf6a4 100644 --- a/resources/views/Staff/group/create.blade.php +++ b/resources/views/Staff/group/create.blade.php @@ -25,13 +25,7 @@ @csrf - + {{ __('common.name') }} @@ -49,16 +43,8 @@ - - - Level - + + Level - + Color (e.g. #ff0000) - + FontAwesome Icon (e.g. fas fa-user) @@ -110,160 +84,136 @@ - + - - Internal - + /> + Internal - + - - Modo - + /> + Modo - + - - Admin - + /> + Admin - + - - Owner - + /> + Owner - + - - Trusted - + /> + Trusted - + - - Immune - + /> + Immune - + - - Freeleech - + /> + Freeleech - + - - Double Upload - + /> + Double Upload - + - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + /> + Refundable Download - + - - Incognito - + /> + Incognito - + - - Upload - + /> + Upload - + - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/edit.blade.php b/resources/views/Staff/group/edit.blade.php index c668ee79f..59a8c51b3 100644 --- a/resources/views/Staff/group/edit.blade.php +++ b/resources/views/Staff/group/edit.blade.php @@ -25,7 +25,11 @@ Edit Group: {{ $group->name }} - + @csrf @method('PATCH') @@ -63,9 +67,7 @@ placeholder=" " value="{{ $group->level }}" /> - - Level - + Level - + is_internal) - > - - Internal - + /> + Internal - + is_modo) - > - - Modo - + /> + Modo - + is_admin) - > - - Admin - + /> + Admin - + is_owner) - > - - Owner - + /> + Owner - + is_trusted) - > - - Trusted - + /> + Trusted - + is_immune) - > - - Immune - + /> + Immune - + is_freeleech) - > - - Freeleech - + /> + Freeleech - + is_double_upload) - > - - Double Upload - + /> + Double Upload - + is_refundable) - > - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + @checked($group->is_refundable) + /> + Refundable Download - + is_incognito) - > - - Incognito - + /> + Incognito - + can_upload) - > - - Upload - + /> + Upload - + autogroup) - > - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/index.blade.php b/resources/views/Staff/group/index.blade.php index ab28af7f0..d8e5e7be4 100644 --- a/resources/views/Staff/group/index.blade.php +++ b/resources/views/Staff/group/index.blade.php @@ -29,142 +29,197 @@ - - ID - {{ __('common.name') }} - {{ __('common.position') }} - Level - DL Slots - Color - Icon - Effect - Internal - Modo - Admin - Owner - Trusted - Immune - Freeleech - Double Upload - Refundable - Incognito - Upload - Autogroup - + + ID + {{ __('common.name') }} + {{ __('common.position') }} + Level + DL Slots + Color + Icon + Effect + Internal + Modo + Admin + Owner + Trusted + Immune + Freeleech + Double Upload + Refundable + Incognito + Upload + Autogroup + - @foreach ($groups as $group) - - {{ $group->id }} - - - {{ $group->name }} - - - {{ $group->position }} - {{ $group->level }} - {{ $group->download_slots ?? 'Unlimited' }} - - - {{ $group->color }} - - - - [{{ $group->icon }}] - - - @if ($group->effect !== '' && $group->effect !== 'none') - - @else - - @endif - - - @if ($group->is_internal) - - @else - - @endif - - - @if ($group->is_modo) - - @else - - @endif - - - @if ($group->is_admin) - - @else - - @endif - - - @if ($group->is_owner) - - @else - - @endif - - - @if ($group->is_trusted) - - @else - - @endif - - - @if ($group->is_immune) - - @else - - @endif - - - @if ($group->is_freeleech) - - @else - - @endif - - - @if ($group->is_double_upload) - - @else - - @endif - - - @if ($group->is_refundable) - - @else - - @endif - - - @if ($group->is_incognito) - - @else - - @endif - - - @if ($group->can_upload) - - @else - - @endif - - - @if ($group->autogroup) - - @else - - @endif - - - @endforeach + @foreach ($groups as $group) + + {{ $group->id }} + + + {{ $group->name }} + + + {{ $group->position }} + {{ $group->level }} + {{ $group->download_slots ?? 'Unlimited' }} + + + {{ $group->color }} + + + + [{{ $group->icon }}] + + + @if ($group->effect !== '' && $group->effect !== 'none') + + @else + + @endif + + + @if ($group->is_internal) + + @else + + @endif + + + @if ($group->is_modo) + + @else + + @endif + + + @if ($group->is_admin) + + @else + + @endif + + + @if ($group->is_owner) + + @else + + @endif + + + @if ($group->is_trusted) + + @else + + @endif + + + @if ($group->is_immune) + + @else + + @endif + + + @if ($group->is_freeleech) + + @else + + @endif + + + @if ($group->is_double_upload) + + @else + + @endif + + + @if ($group->is_refundable) + + @else + + @endif + + + @if ($group->is_incognito) + + @else + + @endif + + + @if ($group->can_upload) + + @else + + @endif + + + @if ($group->autogroup) + + @else + + @endif + + + @endforeach diff --git a/resources/views/Staff/history/index.blade.php b/resources/views/Staff/history/index.blade.php index 4a89e9121..2547a1345 100644 --- a/resources/views/Staff/history/index.blade.php +++ b/resources/views/Staff/history/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - History - + History @endsection @section('page', 'page__history--index') diff --git a/resources/views/Staff/internals/create.blade.php b/resources/views/Staff/internals/create.blade.php index 8aa49a718..901070645 100644 --- a/resources/views/Staff/internals/create.blade.php +++ b/resources/views/Staff/internals/create.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ __('common.new-adj') }} @@ -22,16 +20,15 @@ {{ __('common.add') }} Internal Group - + @csrf - + {{ __('common.name') }} @@ -44,10 +41,8 @@ required type="text" value="fa-magic" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/edit.blade.php b/resources/views/Staff/internals/edit.blade.php index 74d65758a..1c1b11625 100644 --- a/resources/views/Staff/internals/edit.blade.php +++ b/resources/views/Staff/internals/edit.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ $internal->name }} @@ -23,7 +21,9 @@ @section('main') - {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + /> {{ __('common.name') }} @@ -53,10 +53,8 @@ required type="text" value="{{ $internal->icon }}" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/index.blade.php b/resources/views/Staff/internals/index.blade.php index b6f226cd4..7700207bb 100644 --- a/resources/views/Staff/internals/index.blade.php +++ b/resources/views/Staff/internals/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Internals - + Internals @endsection @section('page', 'page__internals--index') @@ -29,65 +27,71 @@ - - ID - {{ __('common.name') }} - Icon - Effect - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Icon + Effect + {{ __('common.action') }} + - @foreach ($internals as $internal) - - {{ $internal->id }} - - - {{ $internal->name }} - - - {{ $internal->icon }} - {{ $internal->effect }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $internal->id }} + + + {{ $internal->name }} + + + {{ $internal->icon }} + {{ $internal->effect }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/invite/index.blade.php b/resources/views/Staff/invite/index.blade.php index d0deee3e1..cb3f65ece 100644 --- a/resources/views/Staff/invite/index.blade.php +++ b/resources/views/Staff/invite/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/masspm/index.blade.php b/resources/views/Staff/masspm/index.blade.php index 2aa1ba5bf..77e433a56 100644 --- a/resources/views/Staff/masspm/index.blade.php +++ b/resources/views/Staff/masspm/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -35,7 +41,7 @@ name="subject" type="text" required - > + /> {{ __('pm.subject') }} @@ -43,17 +49,19 @@ @livewire('bbcode-input', ['name' => 'message', 'label' => __('pm.message'), 'required' => true]) {{ __('pm.send') }} diff --git a/resources/views/Staff/media_language/create.blade.php b/resources/views/Staff/media_language/create.blade.php index 14b6203b1..cef19610d 100644 --- a/resources/views/Staff/media_language/create.blade.php +++ b/resources/views/Staff/media_language/create.blade.php @@ -27,25 +27,13 @@ @csrf - + {{ __('common.name') }} - + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
+ /> {{ __('value') }} @@ -69,29 +71,40 @@ pattern="[0-9]*" value="{{ $bonExchange->cost }}" required - > + /> {{ __('bon.points') }}
- + - upload)> + upload) + > {{ __('common.add') }} {{ __('common.upload') }} - download)> + download) + > {{ __('common.remove') }} {{ __('common.download') }} - personal_freeleech)> + personal_freeleech) + > {{ __('torrent.personal-freeleech') }} - invite)> + invite) + > {{ __('user.invites') }} diff --git a/resources/views/Staff/bon_exchange/index.blade.php b/resources/views/Staff/bon_exchange/index.blade.php index 743e8b1be..b4b939f79 100644 --- a/resources/views/Staff/bon_exchange/index.blade.php +++ b/resources/views/Staff/bon_exchange/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - {{ __('bon.bon') }} {{ __('bon.exchange') }} - + {{ __('bon.bon') }} {{ __('bon.exchange') }} @endsection @section('content') @@ -18,7 +16,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',true) }} + {{ trans_choice('common.a-an-art', true) }} {{ __('bon.exchange') }} @@ -26,64 +24,76 @@ - - {{ __('common.name') }} - {{ __('value') }} - {{ __('bon.points') }} - {{ __('common.type') }} - {{ __('common.actions') }} - + + {{ __('common.name') }} + {{ __('value') }} + {{ __('bon.points') }} + {{ __('common.type') }} + {{ __('common.actions') }} + - @foreach ($bonExchanges as $bonExchange) - - {{ $bonExchange->description }} - {{ $bonExchange->value }} - {{ $bonExchange->cost }} - - @switch (1) - @case ($bonExchange->upload) - {{ __('common.add') }} {{ __('common.upload') }} - @break - @case ($bonExchange->download) - {{ __('common.remove') }} {{ __('common.download') }} - @break - @case ($bonExchange->personal_freeleech) - {{ __('torrent.personal-freeleech') }} - @break - @case ($bonExchange->invite) - {{ __('user.invites') }} - @break - @endswitch - - - - @csrf - @method('DELETE') - - {{ __('common.edit') }} - - + {{ $bonExchange->description }} + {{ $bonExchange->value }} + {{ $bonExchange->cost }} + + @switch(1) + @case($bonExchange->upload) + {{ __('common.add') }} {{ __('common.upload') }} + + @break + @case($bonExchange->download) + {{ __('common.remove') }} {{ __('common.download') }} + + @break + @case($bonExchange->personal_freeleech) + {{ __('torrent.personal-freeleech') }} + + @break + @case($bonExchange->invite) + {{ __('user.invites') }} + + @break + @endswitch + + + - {{ __('common.delete') }} - - - - - @endforeach + @csrf + @method('DELETE') + + {{ __('common.edit') }} + + + {{ __('common.delete') }} + + + + + @endforeach diff --git a/resources/views/Staff/category/create.blade.php b/resources/views/Staff/category/create.blade.php index 813a06052..5924fd196 100644 --- a/resources/views/Staff/category/create.blade.php +++ b/resources/views/Staff/category/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.category') }} @@ -34,13 +34,7 @@ > @csrf - + {{ __('common.name') }} @@ -52,19 +46,13 @@ type="text" name="position" placeholder=" " - > + /> {{ __('common.position') }} - + {{ __('common.icon') }} (FontAwesome) @@ -72,44 +60,22 @@ {{ __('common.select') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.image') }} (If Not Using A FontAwesome Icon) - + - + - - Movie metadata - - - TV metadata - - - Game metadata - - - Music metadata - - - No metadata - + Movie metadata + TV metadata + Game metadata + Music metadata + No metadata - - Meta - + Meta diff --git a/resources/views/Staff/category/edit.blade.php b/resources/views/Staff/category/edit.blade.php index e776f371e..a9eb496c0 100644 --- a/resources/views/Staff/category/edit.blade.php +++ b/resources/views/Staff/category/edit.blade.php @@ -42,7 +42,7 @@ type="text" name="name" value="{{ $category->name }}" - > + /> {{ __('common.name') }} @@ -54,7 +54,7 @@ type="text" name="position" value="{{ $category->position }}" - > + /> {{ __('common.position') }} @@ -66,7 +66,7 @@ type="text" name="icon" value="{{ $category->icon }}" - > + /> {{ __('common.icon') }} (FontAwesome) @@ -74,25 +74,19 @@ {{ __('common.select') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.image') }} (If Not Using A FontAwesome Icon) - + - - movie_meta)> + + movie_meta) + > Movie metadata tv_meta)> @@ -101,16 +95,18 @@ game_meta)> Game metadata - music_meta)> + music_meta) + > Music metadata no_meta)> No metadata - - Meta - + Meta diff --git a/resources/views/Staff/category/index.blade.php b/resources/views/Staff/category/index.blade.php index 891cc7ed8..469eb77ac 100644 --- a/resources/views/Staff/category/index.blade.php +++ b/resources/views/Staff/category/index.blade.php @@ -28,25 +28,27 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.icon') }} - {{ __('common.image') }} - Movie Meta - TV Meta - Game Meta - Music Meta - No Meta - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.icon') }} + {{ __('common.image') }} + Movie Meta + TV Meta + Game Meta + Music Meta + No Meta + {{ __('common.action') }} + @foreach ($categories as $category) {{ $category->position }} - + {{ $category->name }} @@ -55,44 +57,67 @@ @if ($category->image != null) - + @else N/A @endif @if ($category->movie_meta) - + @else - + @endif @if ($category->tv_meta) - + @else - + @endif @if ($category->game_meta) - + @else - + @endif @if ($category->music_meta) - + @else - + @endif @if ($category->no_meta) - + @else - + @endif @@ -114,17 +139,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/chat/bot/edit.blade.php b/resources/views/Staff/chat/bot/edit.blade.php index 5ea249a56..67c9d917f 100644 --- a/resources/views/Staff/chat/bot/edit.blade.php +++ b/resources/views/Staff/chat/bot/edit.blade.php @@ -47,7 +47,11 @@ {{ __('bot.edit-bot') }}: {{ $bot->name }} - + @csrf @method('PATCH') @@ -58,8 +62,10 @@ placeholder=" " type="text" value="{{ $bot->name }}" - > - {{ __('bot.name') }} + /> + + {{ __('bot.name') }} + - {{ __('common.position') }} + /> + + {{ __('common.position') }} + - {{ __('bot.command') }} + /> + + {{ __('bot.command') }} + - {{ __('bot.info') }} + /> + + {{ __('bot.info') }} + - {{ __('bot.about') }} + /> + + {{ __('bot.about') }} + - {{ __('bot.emoji-code') }} + /> + + {{ __('bot.emoji-code') }} + - {{ __('bot.icon') }} + /> + + {{ __('bot.icon') }} + + + {{ __('bot.color') }} + + + + +{{ $bot->help }} - {{ __('bot.color') }} + + {{ __('bot.help') }} + - {{ $bot->help }} - {{ __('bot.help') }} - - - {{ __('common.edit') }} + + {{ __('common.edit') }} + diff --git a/resources/views/Staff/chat/bot/index.blade.php b/resources/views/Staff/chat/bot/index.blade.php index 2e7edefe9..3af428426 100644 --- a/resources/views/Staff/chat/bot/index.blade.php +++ b/resources/views/Staff/chat/bot/index.blade.php @@ -47,7 +47,7 @@ - @foreach($bots as $bot) + @foreach ($bots as $bot) @@ -60,20 +60,24 @@ class="chat-bots__icon" src="/vendor/joypixels/png/64/{{ $bot->emoji }}.png" alt="emoji" - > + /> {{ $bot->command }} @if ($bot->active) - + @else - + @endif - @if(! $bot->is_systembot) - @if($bot->active) + @if (! $bot->is_systembot) + @if ($bot->active) @endif @endif + @csrf @method('DELETE') - @if(!$bot->is_protected) + @if (! $bot->is_protected) {{ __('common.delete') }} diff --git a/resources/views/Staff/chat/room/create.blade.php b/resources/views/Staff/chat/room/create.blade.php index 5a6aa1dea..a31755137 100644 --- a/resources/views/Staff/chat/room/create.blade.php +++ b/resources/views/Staff/chat/room/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.chat-room') }} @@ -34,13 +34,7 @@ > @csrf - + {{ __('common.name') }} diff --git a/resources/views/Staff/chat/room/edit.blade.php b/resources/views/Staff/chat/room/edit.blade.php index 983efe7cf..7dad0911f 100644 --- a/resources/views/Staff/chat/room/edit.blade.php +++ b/resources/views/Staff/chat/room/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $chatroom->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/chat/room/index.blade.php b/resources/views/Staff/chat/room/index.blade.php index 1e5476435..a9a713109 100644 --- a/resources/views/Staff/chat/room/index.blade.php +++ b/resources/views/Staff/chat/room/index.blade.php @@ -49,61 +49,67 @@ - - ID - {{ __('common.name') }} - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($chatrooms as $chatroom) - - {{ $chatroom->id }} - - - {{ $chatroom->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $chatroom->id }} + + + {{ $chatroom->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/chat/status/create.blade.php b/resources/views/Staff/chat/status/create.blade.php index 2140d00d1..01d73dccf 100644 --- a/resources/views/Staff/chat/status/create.blade.php +++ b/resources/views/Staff/chat/status/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('staff.chat') }} {{ __('staff.status') }} @@ -35,37 +35,19 @@ @csrf @csrf - + {{ __('common.name') }} - + {{ __('common.color') }} (e.g. #ff0000) - + Font Awesome icon code (e.g. fas fa-comment-smile) diff --git a/resources/views/Staff/chat/status/edit.blade.php b/resources/views/Staff/chat/status/edit.blade.php index 3e683f2cd..0acc89d90 100644 --- a/resources/views/Staff/chat/status/edit.blade.php +++ b/resources/views/Staff/chat/status/edit.blade.php @@ -24,7 +24,8 @@ @section('main') - {{ __('common.edit') }} {{ __('staff.chat') }} {{ __('staff.status') }}: {{ $chatstatus->name }} + {{ __('common.edit') }} {{ __('staff.chat') }} {{ __('staff.status') }}: + {{ $chatstatus->name }} + /> {{ __('common.name') }} @@ -55,7 +56,7 @@ required type="text" value="{{ $chatstatus->color }}" - > + /> {{ __('common.color') }} (e.g. #ff0000) @@ -69,7 +70,7 @@ required type="text" value="{{ $chatstatus->icon }}" - > + /> Font Awesome icon code (e.g. fas fa-comment-smile) diff --git a/resources/views/Staff/chat/status/index.blade.php b/resources/views/Staff/chat/status/index.blade.php index 727b481df..0b43edac9 100644 --- a/resources/views/Staff/chat/status/index.blade.php +++ b/resources/views/Staff/chat/status/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - {{ __('staff.chat') }} {{ __('staff.statuses') }} - + {{ __('staff.chat') }} {{ __('staff.statuses') }} @endsection @section('nav-tabs') @@ -51,74 +49,80 @@ - - ID - {{ __('common.name') }} - Color - Icon - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Color + Icon + {{ __('common.action') }} + - @foreach ($chatstatuses as $chatstatus) - - {{ $chatstatus->id }} - - - {{ $chatstatus->name }} - - - - - {{ $chatstatus->color }} - - - - [{{ $chatstatus->icon }}] - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $chatstatus->id }} + + + {{ $chatstatus->name }} + + + + + {{ $chatstatus->color }} + + + + [{{ $chatstatus->icon }}] + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/cheated_torrent/index.blade.php b/resources/views/Staff/cheated_torrent/index.blade.php index dda055e0d..0f3e9c59f 100644 --- a/resources/views/Staff/cheated_torrent/index.blade.php +++ b/resources/views/Staff/cheated_torrent/index.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - Cheated Torrents - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Cheated Torrents - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +16,7 @@ {{ __('staff.staff-dashboard') }} - - Cheated Torrents - + Cheated Torrents @endsection @section('page', 'page__cheated-torrents--index') @@ -35,17 +35,19 @@ @csrf @method('DELETE') Reset all torrent balances @@ -109,7 +111,10 @@ {{ \App\Helpers\StringHelper::formatBytes($torrent->balance) }} - + {{ $torrent->created_at ?? 'N/A' }} diff --git a/resources/views/Staff/cheater/index.blade.php b/resources/views/Staff/cheater/index.blade.php index d52309745..00cbfaa85 100644 --- a/resources/views/Staff/cheater/index.blade.php +++ b/resources/views/Staff/cheater/index.blade.php @@ -1,11 +1,16 @@ @extends('layout.default') @section('title') - Possible Leech Cheaters - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Possible Leech Cheaters - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -23,9 +28,7 @@ @section('main') - - {{ __('staff.possible-leech-cheaters') }} (Ghost Leechers) - + {{ __('staff.possible-leech-cheaters') }} (Ghost Leechers) @@ -42,13 +45,19 @@ - + {{ $cheater->created_at ?? 'N/A' }} - - {{ $cheater->last_login ?? 'N/A'}} + + {{ $cheater->last_login ?? 'N/A' }} diff --git a/resources/views/Staff/command/index.blade.php b/resources/views/Staff/command/index.blade.php index fbba3b102..2ca7f7469 100644 --- a/resources/views/Staff/command/index.blade.php +++ b/resources/views/Staff/command/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,20 +14,28 @@ {{ __('staff.staff-dashboard') }} - - Commands - + Commands @endsection @section('page', 'page__commands--index') @section('main') - + Maintenance Mode - + @csrf - + @csrf - + @csrf - + @csrf + @endsection @section('breadcrumbs') @@ -31,22 +31,32 @@ - + {{ __('staff.staff-dashboard') }} @if (auth()->user()->group->is_owner) - + {{ __('backup.backup') }} {{ __('backup.manager') }} - - Commands + + + Commands @endif @@ -59,19 +69,28 @@ - + {{ __('staff.statuses') }} - + {{ __('staff.rooms') }} - + {{ __('staff.bots') }} @@ -80,17 +99,19 @@ @csrf @@ -107,45 +128,67 @@ - + {{ __('staff.articles') }} @if (auth()->user()->group->is_admin) - + {{ __('staff.forums') }} @endif + - + {{ __('staff.pages') }} - + {{ __('staff.polls') }} - + {{ __('staff.bon-exchange') }} - + {{ __('common.blacklist') }} - + {{ __('staff.blocked-ips') }} @@ -159,94 +202,133 @@ - + {{ __('staff.torrent-moderation') }} - + {{ __('staff.torrent-categories') }} - + {{ __('staff.torrent-types') }} - + {{ __('staff.torrent-resolutions') }} - + Torrent Regions - + Torrent Distributors - + Peers - + Histories - + {{ __('staff.rss') }} - + {{ __('common.media-languages') }} - + Cheated Torrents @if (config('announce.log_announces')) - + Announces @endif + @csrf @@ -263,7 +345,10 @@ - + {{ __('staff.applications') }} ({{ $pendingApplicationsCount }}) @if ($pendingApplicationsCount > 0) @@ -272,37 +357,55 @@ - + {{ __('staff.user-search') }} - + {{ __('user.apikeys') }} - + {{ __('staff.passkeys') }} - + {{ __('user.rsskeys') }} - + Watchlist - + {{ __('staff.mass-pm') }} @@ -330,26 +433,38 @@ - + {{ __('staff.possible-leech-cheaters') }} - + {{ __('staff.seedboxes') }} - + Internals @if (auth()->user()->group->is_admin) - + {{ __('staff.groups') }} @@ -364,50 +479,76 @@ - + {{ __('staff.audit-log') }} - + {{ __('staff.bans-log') }} - + {{ __('staff.failed-login-log') }} - + {{ __('staff.gifts-log') }} - + {{ __('staff.invites-log') }} - + {{ __('staff.user-notes') }} @if (auth()->user()->group->is_owner) - - - {{ __('staff.laravel-log') }} - - + + + + {{ __('staff.laravel-log') }} + + @endif + - + {{ __('staff.reports-log') }} ({{ $unsolvedReportsCount }}) @if ($unsolvedReportsCount > 0) @@ -416,7 +557,10 @@ - + {{ __('staff.warnings-log') }} @@ -432,13 +576,18 @@ URL {{ config('app.url') }} + @if (request()->secure()) Connection Secure Issued By - {{ (!is_string($certificate)) ? $certificate->getIssuer() : "No Certificate Info Found" }} + + {{ ! is_string($certificate) ? $certificate->getIssuer() : 'No Certificate Info Found' }} + Expires - {{ (!is_string($certificate)) ? $certificate->expirationDate()->diffForHumans() : "No Certificate Info Found" }} + + {{ ! is_string($certificate) ? $certificate->expirationDate()->diffForHumans() : 'No Certificate Info Found' }} + @else Connection @@ -559,10 +708,14 @@ {{ $permission['directory'] }} @if ($permission['permission'] === $permission['recommended']) - + {{ $permission['permission'] }} @else - + {{ $permission['permission'] }} @endif @@ -577,23 +730,17 @@ @if ($externalTrackerStats === true) External Tracker Stats - - External tracker not enabled. - + External tracker not enabled. @elseif ($externalTrackerStats === false) External Tracker Stats - - Stats endpoint not found. - + Stats endpoint not found. @elseif ($externalTrackerStats === []) External Tracker Stats - - Tracker returned an error. - + Tracker returned an error. @else @@ -604,6 +751,7 @@ $lastRequestAt = \Illuminate\Support\Carbon::createFromTimestampUTC($externalTrackerStats['last_request_at']); $lastAnnounceResponseAt = \Illuminate\Support\Carbon::createFromTimestampUTC($externalTrackerStats['last_announce_response_at']); @endphp + {{ __('torrent.started') }} - @foreach([1, 10, 60, 900, 7200] as $interval) + @foreach ([1, 10, 60, 900, 7200] as $interval) {{ $interval }} - {{ \number_format($externalTrackerStats['requests_per_'.$interval.'s'], 0, null, "\u{202F}") }} + {{ \number_format($externalTrackerStats['requests_per_' . $interval . 's'], 0, null, "\u{202F}") }} - - {{ \number_format($externalTrackerStats['announce_responses_per_'.$interval.'s'], 0, null, "\u{202F}") }} + + {{ \number_format($externalTrackerStats['announce_responses_per_' . $interval . 's'], 0, null, "\u{202F}") }} @endforeach diff --git a/resources/views/Staff/distributor/create.blade.php b/resources/views/Staff/distributor/create.blade.php index 5d1e52d02..98f246ea9 100644 --- a/resources/views/Staff/distributor/create.blade.php +++ b/resources/views/Staff/distributor/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Distributor - + @csrf - + {{ __('common.name') }} diff --git a/resources/views/Staff/distributor/delete.blade.php b/resources/views/Staff/distributor/delete.blade.php index 81cd9a349..ad9d5325c 100644 --- a/resources/views/Staff/distributor/delete.blade.php +++ b/resources/views/Staff/distributor/delete.blade.php @@ -36,7 +36,8 @@ @csrf @method('DELETE') - An existing torrent on site may already use this distributor. Would you like to change it? + An existing torrent on site may already use this distributor. Would you like to + change it? {{ __('common.delete') }} diff --git a/resources/views/Staff/distributor/edit.blade.php b/resources/views/Staff/distributor/edit.blade.php index 789d274e8..405b61d15 100644 --- a/resources/views/Staff/distributor/edit.blade.php +++ b/resources/views/Staff/distributor/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $distributor->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/distributor/index.blade.php b/resources/views/Staff/distributor/index.blade.php index 58b7f429d..23a94b12b 100644 --- a/resources/views/Staff/distributor/index.blade.php +++ b/resources/views/Staff/distributor/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Distributors - + Torrent Distributors @endsection @section('page', 'page__distributor--index') @@ -29,45 +27,47 @@ - - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($distributors as $distributor) - - - - {{ $distributor->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - - - @empty - - No distributors - - @endforelse + @forelse ($distributors as $distributor) + + + + {{ $distributor->name }} + + + + + + + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + + + @empty + + No distributors + + @endforelse diff --git a/resources/views/Staff/forum/create.blade.php b/resources/views/Staff/forum/create.blade.php index ed8d37455..8d9641e84 100644 --- a/resources/views/Staff/forum/create.blade.php +++ b/resources/views/Staff/forum/create.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -33,19 +33,28 @@ @csrf - + Category Forum - Forum Type + + Forum Type + - + Title - - Description + + + Description + @@ -56,7 +65,9 @@ @endforeach - Parent forum + + Parent forum + - {{ __('common.position') }} + /> + + {{ __('common.position') }} + Permissions - - Groups - View the forum - Read topics - Start new topic - Reply to topics - + + Groups + View the forum + Read topics + Start new topic + Reply to topics + - @foreach ($groups as $group) - - {{ $group->name }} - - - - - - - - - - - - - - @endforeach + @foreach ($groups as $group) + + {{ $group->name }} + + + + + + + + + + + + + + + + + + + + + + @endforeach diff --git a/resources/views/Staff/forum/edit.blade.php b/resources/views/Staff/forum/edit.blade.php index d9340f37c..5b98566eb 100644 --- a/resources/views/Staff/forum/edit.blade.php +++ b/resources/views/Staff/forum/edit.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.edit') }} Forums - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.edit') }} Forums - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -33,20 +39,30 @@ {{ __('common.edit') }} {{ __('forum.forum') }} - + @csrf @method('PATCH') - + Title - {{ $forum->description }} - Description + +{{ $forum->description }} + + Description + @@ -58,7 +74,9 @@ Forum (Current) @endif - Forum Type + + Forum Type + @@ -67,11 +85,14 @@ {{ $forum->category->name }} (Current) @endif + @foreach ($categories as $category) {{ $category->name }} @endforeach - Parent forum + + Parent forum + + /> {{ __('common.position') }} @@ -94,60 +115,58 @@ - - Groups - View the forum - Read topics - Start new topic - Reply to topics - + + Groups + View the forum + Read topics + Start new topic + Reply to topics + - @foreach ($groups as $group) - - {{ $group->name }} - - permissions->where('group_id', '=', $group->id)->first()->show_forum) - /> - - - permissions->where('group_id', '=', $group->id)->first()->read_topic) - /> - - - permissions->where('group_id', '=', $group->id)->first()->start_topic) - /> - - - permissions->where('group_id', '=', $group->id)->first()->reply_topic) - /> - - - @endforeach + @foreach ($groups as $group) + + {{ $group->name }} + + permissions->where('group_id', '=', $group->id)->first()->show_forum) + /> + + + permissions->where('group_id', '=', $group->id)->first()->read_topic) + /> + + + permissions->where('group_id', '=', $group->id)->first()->start_topic) + /> + + + permissions->where('group_id', '=', $group->id)->first()->reply_topic) + /> + + + @endforeach - - Save Forum - + Save Forum diff --git a/resources/views/Staff/forum/index.blade.php b/resources/views/Staff/forum/index.blade.php index 7ee6f1bad..8485e0024 100644 --- a/resources/views/Staff/forum/index.blade.php +++ b/resources/views/Staff/forum/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -32,73 +32,29 @@ - - {{ __('common.name') }} - Type - {{ __('common.position') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + Type + {{ __('common.position') }} + {{ __('common.action') }} + - @foreach ($categories as $category) - - - {{ $category->name }} - - Category - {{ $category->position }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - - {{ __('common.delete') }} - - - - - - - @foreach ($category->forums as $forum) + @foreach ($categories as $category) - - {{ $forum->name }} + + + {{ $category->name }} + - Forum - {{ $forum->position }} + Category + {{ $category->position }} {{ __('common.edit') }} @@ -106,23 +62,27 @@ @csrf @method('DELETE') {{ __('common.delete') }} @@ -132,8 +92,62 @@ + @foreach ($category->forums as $forum) + + + + {{ $forum->name }} + + + Forum + {{ $forum->position }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach @endforeach - @endforeach diff --git a/resources/views/Staff/gift/index.blade.php b/resources/views/Staff/gift/index.blade.php index 681a8dd7e..df5092b3e 100644 --- a/resources/views/Staff/gift/index.blade.php +++ b/resources/views/Staff/gift/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('staff.gifts-log') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.gifts-log') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/group/create.blade.php b/resources/views/Staff/group/create.blade.php index 67c17f27d..0bf5cf6a4 100644 --- a/resources/views/Staff/group/create.blade.php +++ b/resources/views/Staff/group/create.blade.php @@ -25,13 +25,7 @@ @csrf - + {{ __('common.name') }} @@ -49,16 +43,8 @@ - - - Level - + + Level - + Color (e.g. #ff0000) - + FontAwesome Icon (e.g. fas fa-user) @@ -110,160 +84,136 @@ - + - - Internal - + /> + Internal - + - - Modo - + /> + Modo - + - - Admin - + /> + Admin - + - - Owner - + /> + Owner - + - - Trusted - + /> + Trusted - + - - Immune - + /> + Immune - + - - Freeleech - + /> + Freeleech - + - - Double Upload - + /> + Double Upload - + - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + /> + Refundable Download - + - - Incognito - + /> + Incognito - + - - Upload - + /> + Upload - + - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/edit.blade.php b/resources/views/Staff/group/edit.blade.php index c668ee79f..59a8c51b3 100644 --- a/resources/views/Staff/group/edit.blade.php +++ b/resources/views/Staff/group/edit.blade.php @@ -25,7 +25,11 @@ Edit Group: {{ $group->name }} - + @csrf @method('PATCH') @@ -63,9 +67,7 @@ placeholder=" " value="{{ $group->level }}" /> - - Level - + Level - + is_internal) - > - - Internal - + /> + Internal - + is_modo) - > - - Modo - + /> + Modo - + is_admin) - > - - Admin - + /> + Admin - + is_owner) - > - - Owner - + /> + Owner - + is_trusted) - > - - Trusted - + /> + Trusted - + is_immune) - > - - Immune - + /> + Immune - + is_freeleech) - > - - Freeleech - + /> + Freeleech - + is_double_upload) - > - - Double Upload - + /> + Double Upload - + is_refundable) - > - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + @checked($group->is_refundable) + /> + Refundable Download - + is_incognito) - > - - Incognito - + /> + Incognito - + can_upload) - > - - Upload - + /> + Upload - + autogroup) - > - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/index.blade.php b/resources/views/Staff/group/index.blade.php index ab28af7f0..d8e5e7be4 100644 --- a/resources/views/Staff/group/index.blade.php +++ b/resources/views/Staff/group/index.blade.php @@ -29,142 +29,197 @@ - - ID - {{ __('common.name') }} - {{ __('common.position') }} - Level - DL Slots - Color - Icon - Effect - Internal - Modo - Admin - Owner - Trusted - Immune - Freeleech - Double Upload - Refundable - Incognito - Upload - Autogroup - + + ID + {{ __('common.name') }} + {{ __('common.position') }} + Level + DL Slots + Color + Icon + Effect + Internal + Modo + Admin + Owner + Trusted + Immune + Freeleech + Double Upload + Refundable + Incognito + Upload + Autogroup + - @foreach ($groups as $group) - - {{ $group->id }} - - - {{ $group->name }} - - - {{ $group->position }} - {{ $group->level }} - {{ $group->download_slots ?? 'Unlimited' }} - - - {{ $group->color }} - - - - [{{ $group->icon }}] - - - @if ($group->effect !== '' && $group->effect !== 'none') - - @else - - @endif - - - @if ($group->is_internal) - - @else - - @endif - - - @if ($group->is_modo) - - @else - - @endif - - - @if ($group->is_admin) - - @else - - @endif - - - @if ($group->is_owner) - - @else - - @endif - - - @if ($group->is_trusted) - - @else - - @endif - - - @if ($group->is_immune) - - @else - - @endif - - - @if ($group->is_freeleech) - - @else - - @endif - - - @if ($group->is_double_upload) - - @else - - @endif - - - @if ($group->is_refundable) - - @else - - @endif - - - @if ($group->is_incognito) - - @else - - @endif - - - @if ($group->can_upload) - - @else - - @endif - - - @if ($group->autogroup) - - @else - - @endif - - - @endforeach + @foreach ($groups as $group) + + {{ $group->id }} + + + {{ $group->name }} + + + {{ $group->position }} + {{ $group->level }} + {{ $group->download_slots ?? 'Unlimited' }} + + + {{ $group->color }} + + + + [{{ $group->icon }}] + + + @if ($group->effect !== '' && $group->effect !== 'none') + + @else + + @endif + + + @if ($group->is_internal) + + @else + + @endif + + + @if ($group->is_modo) + + @else + + @endif + + + @if ($group->is_admin) + + @else + + @endif + + + @if ($group->is_owner) + + @else + + @endif + + + @if ($group->is_trusted) + + @else + + @endif + + + @if ($group->is_immune) + + @else + + @endif + + + @if ($group->is_freeleech) + + @else + + @endif + + + @if ($group->is_double_upload) + + @else + + @endif + + + @if ($group->is_refundable) + + @else + + @endif + + + @if ($group->is_incognito) + + @else + + @endif + + + @if ($group->can_upload) + + @else + + @endif + + + @if ($group->autogroup) + + @else + + @endif + + + @endforeach diff --git a/resources/views/Staff/history/index.blade.php b/resources/views/Staff/history/index.blade.php index 4a89e9121..2547a1345 100644 --- a/resources/views/Staff/history/index.blade.php +++ b/resources/views/Staff/history/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - History - + History @endsection @section('page', 'page__history--index') diff --git a/resources/views/Staff/internals/create.blade.php b/resources/views/Staff/internals/create.blade.php index 8aa49a718..901070645 100644 --- a/resources/views/Staff/internals/create.blade.php +++ b/resources/views/Staff/internals/create.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ __('common.new-adj') }} @@ -22,16 +20,15 @@ {{ __('common.add') }} Internal Group - + @csrf - + {{ __('common.name') }} @@ -44,10 +41,8 @@ required type="text" value="fa-magic" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/edit.blade.php b/resources/views/Staff/internals/edit.blade.php index 74d65758a..1c1b11625 100644 --- a/resources/views/Staff/internals/edit.blade.php +++ b/resources/views/Staff/internals/edit.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ $internal->name }} @@ -23,7 +21,9 @@ @section('main') - {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + /> {{ __('common.name') }} @@ -53,10 +53,8 @@ required type="text" value="{{ $internal->icon }}" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/index.blade.php b/resources/views/Staff/internals/index.blade.php index b6f226cd4..7700207bb 100644 --- a/resources/views/Staff/internals/index.blade.php +++ b/resources/views/Staff/internals/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Internals - + Internals @endsection @section('page', 'page__internals--index') @@ -29,65 +27,71 @@ - - ID - {{ __('common.name') }} - Icon - Effect - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Icon + Effect + {{ __('common.action') }} + - @foreach ($internals as $internal) - - {{ $internal->id }} - - - {{ $internal->name }} - - - {{ $internal->icon }} - {{ $internal->effect }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $internal->id }} + + + {{ $internal->name }} + + + {{ $internal->icon }} + {{ $internal->effect }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/invite/index.blade.php b/resources/views/Staff/invite/index.blade.php index d0deee3e1..cb3f65ece 100644 --- a/resources/views/Staff/invite/index.blade.php +++ b/resources/views/Staff/invite/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/masspm/index.blade.php b/resources/views/Staff/masspm/index.blade.php index 2aa1ba5bf..77e433a56 100644 --- a/resources/views/Staff/masspm/index.blade.php +++ b/resources/views/Staff/masspm/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -35,7 +41,7 @@ name="subject" type="text" required - > + /> {{ __('pm.subject') }} @@ -43,17 +49,19 @@ @livewire('bbcode-input', ['name' => 'message', 'label' => __('pm.message'), 'required' => true]) {{ __('pm.send') }} diff --git a/resources/views/Staff/media_language/create.blade.php b/resources/views/Staff/media_language/create.blade.php index 14b6203b1..cef19610d 100644 --- a/resources/views/Staff/media_language/create.blade.php +++ b/resources/views/Staff/media_language/create.blade.php @@ -27,25 +27,13 @@ @csrf - + {{ __('common.name') }} - + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
- + {{ __('common.name') }} @@ -52,19 +46,13 @@ type="text" name="position" placeholder=" " - > + /> {{ __('common.position') }}
- + {{ __('common.icon') }} (FontAwesome) @@ -72,44 +60,22 @@
{{ __('common.select') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.image') }} (If Not Using A FontAwesome Icon) - +
- + - - Movie metadata - - - TV metadata - - - Game metadata - - - Music metadata - - - No metadata - + Movie metadata + TV metadata + Game metadata + Music metadata + No metadata - - Meta - + Meta
diff --git a/resources/views/Staff/category/edit.blade.php b/resources/views/Staff/category/edit.blade.php index e776f371e..a9eb496c0 100644 --- a/resources/views/Staff/category/edit.blade.php +++ b/resources/views/Staff/category/edit.blade.php @@ -42,7 +42,7 @@ type="text" name="name" value="{{ $category->name }}" - > + /> {{ __('common.name') }} @@ -54,7 +54,7 @@ type="text" name="position" value="{{ $category->position }}" - > + /> {{ __('common.position') }} @@ -66,7 +66,7 @@ type="text" name="icon" value="{{ $category->icon }}" - > + /> {{ __('common.icon') }} (FontAwesome) @@ -74,25 +74,19 @@ {{ __('common.select') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.image') }} (If Not Using A FontAwesome Icon) - + - - movie_meta)> + + movie_meta) + > Movie metadata tv_meta)> @@ -101,16 +95,18 @@ game_meta)> Game metadata - music_meta)> + music_meta) + > Music metadata no_meta)> No metadata - - Meta - + Meta diff --git a/resources/views/Staff/category/index.blade.php b/resources/views/Staff/category/index.blade.php index 891cc7ed8..469eb77ac 100644 --- a/resources/views/Staff/category/index.blade.php +++ b/resources/views/Staff/category/index.blade.php @@ -28,25 +28,27 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.icon') }} - {{ __('common.image') }} - Movie Meta - TV Meta - Game Meta - Music Meta - No Meta - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.icon') }} + {{ __('common.image') }} + Movie Meta + TV Meta + Game Meta + Music Meta + No Meta + {{ __('common.action') }} + @foreach ($categories as $category) {{ $category->position }} - + {{ $category->name }} @@ -55,44 +57,67 @@ @if ($category->image != null) - + @else N/A @endif @if ($category->movie_meta) - + @else - + @endif @if ($category->tv_meta) - + @else - + @endif @if ($category->game_meta) - + @else - + @endif @if ($category->music_meta) - + @else - + @endif @if ($category->no_meta) - + @else - + @endif @@ -114,17 +139,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/chat/bot/edit.blade.php b/resources/views/Staff/chat/bot/edit.blade.php index 5ea249a56..67c9d917f 100644 --- a/resources/views/Staff/chat/bot/edit.blade.php +++ b/resources/views/Staff/chat/bot/edit.blade.php @@ -47,7 +47,11 @@ {{ __('bot.edit-bot') }}: {{ $bot->name }} - + @csrf @method('PATCH') @@ -58,8 +62,10 @@ placeholder=" " type="text" value="{{ $bot->name }}" - > - {{ __('bot.name') }} + /> + + {{ __('bot.name') }} + - {{ __('common.position') }} + /> + + {{ __('common.position') }} + - {{ __('bot.command') }} + /> + + {{ __('bot.command') }} + - {{ __('bot.info') }} + /> + + {{ __('bot.info') }} + - {{ __('bot.about') }} + /> + + {{ __('bot.about') }} + - {{ __('bot.emoji-code') }} + /> + + {{ __('bot.emoji-code') }} + - {{ __('bot.icon') }} + /> + + {{ __('bot.icon') }} + + + {{ __('bot.color') }} + + + + +{{ $bot->help }} - {{ __('bot.color') }} + + {{ __('bot.help') }} + - {{ $bot->help }} - {{ __('bot.help') }} - - - {{ __('common.edit') }} + + {{ __('common.edit') }} + diff --git a/resources/views/Staff/chat/bot/index.blade.php b/resources/views/Staff/chat/bot/index.blade.php index 2e7edefe9..3af428426 100644 --- a/resources/views/Staff/chat/bot/index.blade.php +++ b/resources/views/Staff/chat/bot/index.blade.php @@ -47,7 +47,7 @@ - @foreach($bots as $bot) + @foreach ($bots as $bot) @@ -60,20 +60,24 @@ class="chat-bots__icon" src="/vendor/joypixels/png/64/{{ $bot->emoji }}.png" alt="emoji" - > + /> {{ $bot->command }} @if ($bot->active) - + @else - + @endif - @if(! $bot->is_systembot) - @if($bot->active) + @if (! $bot->is_systembot) + @if ($bot->active) @endif @endif + @csrf @method('DELETE') - @if(!$bot->is_protected) + @if (! $bot->is_protected) {{ __('common.delete') }} diff --git a/resources/views/Staff/chat/room/create.blade.php b/resources/views/Staff/chat/room/create.blade.php index 5a6aa1dea..a31755137 100644 --- a/resources/views/Staff/chat/room/create.blade.php +++ b/resources/views/Staff/chat/room/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.chat-room') }} @@ -34,13 +34,7 @@ > @csrf - + {{ __('common.name') }} diff --git a/resources/views/Staff/chat/room/edit.blade.php b/resources/views/Staff/chat/room/edit.blade.php index 983efe7cf..7dad0911f 100644 --- a/resources/views/Staff/chat/room/edit.blade.php +++ b/resources/views/Staff/chat/room/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $chatroom->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/chat/room/index.blade.php b/resources/views/Staff/chat/room/index.blade.php index 1e5476435..a9a713109 100644 --- a/resources/views/Staff/chat/room/index.blade.php +++ b/resources/views/Staff/chat/room/index.blade.php @@ -49,61 +49,67 @@ - - ID - {{ __('common.name') }} - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($chatrooms as $chatroom) - - {{ $chatroom->id }} - - - {{ $chatroom->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $chatroom->id }} + + + {{ $chatroom->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/chat/status/create.blade.php b/resources/views/Staff/chat/status/create.blade.php index 2140d00d1..01d73dccf 100644 --- a/resources/views/Staff/chat/status/create.blade.php +++ b/resources/views/Staff/chat/status/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('staff.chat') }} {{ __('staff.status') }} @@ -35,37 +35,19 @@ @csrf @csrf - + {{ __('common.name') }} - + {{ __('common.color') }} (e.g. #ff0000) - + Font Awesome icon code (e.g. fas fa-comment-smile) diff --git a/resources/views/Staff/chat/status/edit.blade.php b/resources/views/Staff/chat/status/edit.blade.php index 3e683f2cd..0acc89d90 100644 --- a/resources/views/Staff/chat/status/edit.blade.php +++ b/resources/views/Staff/chat/status/edit.blade.php @@ -24,7 +24,8 @@ @section('main') - {{ __('common.edit') }} {{ __('staff.chat') }} {{ __('staff.status') }}: {{ $chatstatus->name }} + {{ __('common.edit') }} {{ __('staff.chat') }} {{ __('staff.status') }}: + {{ $chatstatus->name }} + /> {{ __('common.name') }} @@ -55,7 +56,7 @@ required type="text" value="{{ $chatstatus->color }}" - > + /> {{ __('common.color') }} (e.g. #ff0000) @@ -69,7 +70,7 @@ required type="text" value="{{ $chatstatus->icon }}" - > + /> Font Awesome icon code (e.g. fas fa-comment-smile) diff --git a/resources/views/Staff/chat/status/index.blade.php b/resources/views/Staff/chat/status/index.blade.php index 727b481df..0b43edac9 100644 --- a/resources/views/Staff/chat/status/index.blade.php +++ b/resources/views/Staff/chat/status/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - {{ __('staff.chat') }} {{ __('staff.statuses') }} - + {{ __('staff.chat') }} {{ __('staff.statuses') }} @endsection @section('nav-tabs') @@ -51,74 +49,80 @@ - - ID - {{ __('common.name') }} - Color - Icon - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Color + Icon + {{ __('common.action') }} + - @foreach ($chatstatuses as $chatstatus) - - {{ $chatstatus->id }} - - - {{ $chatstatus->name }} - - - - - {{ $chatstatus->color }} - - - - [{{ $chatstatus->icon }}] - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $chatstatus->id }} + + + {{ $chatstatus->name }} + + + + + {{ $chatstatus->color }} + + + + [{{ $chatstatus->icon }}] + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/cheated_torrent/index.blade.php b/resources/views/Staff/cheated_torrent/index.blade.php index dda055e0d..0f3e9c59f 100644 --- a/resources/views/Staff/cheated_torrent/index.blade.php +++ b/resources/views/Staff/cheated_torrent/index.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - Cheated Torrents - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Cheated Torrents - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +16,7 @@ {{ __('staff.staff-dashboard') }} - - Cheated Torrents - + Cheated Torrents @endsection @section('page', 'page__cheated-torrents--index') @@ -35,17 +35,19 @@ @csrf @method('DELETE') Reset all torrent balances @@ -109,7 +111,10 @@ {{ \App\Helpers\StringHelper::formatBytes($torrent->balance) }} - + {{ $torrent->created_at ?? 'N/A' }} diff --git a/resources/views/Staff/cheater/index.blade.php b/resources/views/Staff/cheater/index.blade.php index d52309745..00cbfaa85 100644 --- a/resources/views/Staff/cheater/index.blade.php +++ b/resources/views/Staff/cheater/index.blade.php @@ -1,11 +1,16 @@ @extends('layout.default') @section('title') - Possible Leech Cheaters - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Possible Leech Cheaters - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -23,9 +28,7 @@ @section('main') - - {{ __('staff.possible-leech-cheaters') }} (Ghost Leechers) - + {{ __('staff.possible-leech-cheaters') }} (Ghost Leechers) @@ -42,13 +45,19 @@ - + {{ $cheater->created_at ?? 'N/A' }} - - {{ $cheater->last_login ?? 'N/A'}} + + {{ $cheater->last_login ?? 'N/A' }} diff --git a/resources/views/Staff/command/index.blade.php b/resources/views/Staff/command/index.blade.php index fbba3b102..2ca7f7469 100644 --- a/resources/views/Staff/command/index.blade.php +++ b/resources/views/Staff/command/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,20 +14,28 @@ {{ __('staff.staff-dashboard') }} - - Commands - + Commands @endsection @section('page', 'page__commands--index') @section('main') - + Maintenance Mode - + @csrf - + @csrf - + @csrf - + @csrf + @endsection @section('breadcrumbs') @@ -31,22 +31,32 @@ - + {{ __('staff.staff-dashboard') }} @if (auth()->user()->group->is_owner) - + {{ __('backup.backup') }} {{ __('backup.manager') }} - - Commands + + + Commands @endif @@ -59,19 +69,28 @@ - + {{ __('staff.statuses') }} - + {{ __('staff.rooms') }} - + {{ __('staff.bots') }} @@ -80,17 +99,19 @@ @csrf @@ -107,45 +128,67 @@ - + {{ __('staff.articles') }} @if (auth()->user()->group->is_admin) - + {{ __('staff.forums') }} @endif + - + {{ __('staff.pages') }} - + {{ __('staff.polls') }} - + {{ __('staff.bon-exchange') }} - + {{ __('common.blacklist') }} - + {{ __('staff.blocked-ips') }} @@ -159,94 +202,133 @@ - + {{ __('staff.torrent-moderation') }} - + {{ __('staff.torrent-categories') }} - + {{ __('staff.torrent-types') }} - + {{ __('staff.torrent-resolutions') }} - + Torrent Regions - + Torrent Distributors - + Peers - + Histories - + {{ __('staff.rss') }} - + {{ __('common.media-languages') }} - + Cheated Torrents @if (config('announce.log_announces')) - + Announces @endif + @csrf @@ -263,7 +345,10 @@ - + {{ __('staff.applications') }} ({{ $pendingApplicationsCount }}) @if ($pendingApplicationsCount > 0) @@ -272,37 +357,55 @@ - + {{ __('staff.user-search') }} - + {{ __('user.apikeys') }} - + {{ __('staff.passkeys') }} - + {{ __('user.rsskeys') }} - + Watchlist - + {{ __('staff.mass-pm') }} @@ -330,26 +433,38 @@ - + {{ __('staff.possible-leech-cheaters') }} - + {{ __('staff.seedboxes') }} - + Internals @if (auth()->user()->group->is_admin) - + {{ __('staff.groups') }} @@ -364,50 +479,76 @@ - + {{ __('staff.audit-log') }} - + {{ __('staff.bans-log') }} - + {{ __('staff.failed-login-log') }} - + {{ __('staff.gifts-log') }} - + {{ __('staff.invites-log') }} - + {{ __('staff.user-notes') }} @if (auth()->user()->group->is_owner) - - - {{ __('staff.laravel-log') }} - - + + + + {{ __('staff.laravel-log') }} + + @endif + - + {{ __('staff.reports-log') }} ({{ $unsolvedReportsCount }}) @if ($unsolvedReportsCount > 0) @@ -416,7 +557,10 @@ - + {{ __('staff.warnings-log') }} @@ -432,13 +576,18 @@ URL {{ config('app.url') }} + @if (request()->secure()) Connection Secure Issued By - {{ (!is_string($certificate)) ? $certificate->getIssuer() : "No Certificate Info Found" }} + + {{ ! is_string($certificate) ? $certificate->getIssuer() : 'No Certificate Info Found' }} + Expires - {{ (!is_string($certificate)) ? $certificate->expirationDate()->diffForHumans() : "No Certificate Info Found" }} + + {{ ! is_string($certificate) ? $certificate->expirationDate()->diffForHumans() : 'No Certificate Info Found' }} + @else Connection @@ -559,10 +708,14 @@ {{ $permission['directory'] }} @if ($permission['permission'] === $permission['recommended']) - + {{ $permission['permission'] }} @else - + {{ $permission['permission'] }} @endif @@ -577,23 +730,17 @@ @if ($externalTrackerStats === true) External Tracker Stats - - External tracker not enabled. - + External tracker not enabled. @elseif ($externalTrackerStats === false) External Tracker Stats - - Stats endpoint not found. - + Stats endpoint not found. @elseif ($externalTrackerStats === []) External Tracker Stats - - Tracker returned an error. - + Tracker returned an error. @else @@ -604,6 +751,7 @@ $lastRequestAt = \Illuminate\Support\Carbon::createFromTimestampUTC($externalTrackerStats['last_request_at']); $lastAnnounceResponseAt = \Illuminate\Support\Carbon::createFromTimestampUTC($externalTrackerStats['last_announce_response_at']); @endphp + {{ __('torrent.started') }} - @foreach([1, 10, 60, 900, 7200] as $interval) + @foreach ([1, 10, 60, 900, 7200] as $interval) {{ $interval }} - {{ \number_format($externalTrackerStats['requests_per_'.$interval.'s'], 0, null, "\u{202F}") }} + {{ \number_format($externalTrackerStats['requests_per_' . $interval . 's'], 0, null, "\u{202F}") }} - - {{ \number_format($externalTrackerStats['announce_responses_per_'.$interval.'s'], 0, null, "\u{202F}") }} + + {{ \number_format($externalTrackerStats['announce_responses_per_' . $interval . 's'], 0, null, "\u{202F}") }} @endforeach diff --git a/resources/views/Staff/distributor/create.blade.php b/resources/views/Staff/distributor/create.blade.php index 5d1e52d02..98f246ea9 100644 --- a/resources/views/Staff/distributor/create.blade.php +++ b/resources/views/Staff/distributor/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Distributor - + @csrf - + {{ __('common.name') }} diff --git a/resources/views/Staff/distributor/delete.blade.php b/resources/views/Staff/distributor/delete.blade.php index 81cd9a349..ad9d5325c 100644 --- a/resources/views/Staff/distributor/delete.blade.php +++ b/resources/views/Staff/distributor/delete.blade.php @@ -36,7 +36,8 @@ @csrf @method('DELETE') - An existing torrent on site may already use this distributor. Would you like to change it? + An existing torrent on site may already use this distributor. Would you like to + change it? {{ __('common.delete') }} diff --git a/resources/views/Staff/distributor/edit.blade.php b/resources/views/Staff/distributor/edit.blade.php index 789d274e8..405b61d15 100644 --- a/resources/views/Staff/distributor/edit.blade.php +++ b/resources/views/Staff/distributor/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $distributor->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/distributor/index.blade.php b/resources/views/Staff/distributor/index.blade.php index 58b7f429d..23a94b12b 100644 --- a/resources/views/Staff/distributor/index.blade.php +++ b/resources/views/Staff/distributor/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Distributors - + Torrent Distributors @endsection @section('page', 'page__distributor--index') @@ -29,45 +27,47 @@ - - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($distributors as $distributor) - - - - {{ $distributor->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - - - @empty - - No distributors - - @endforelse + @forelse ($distributors as $distributor) + + + + {{ $distributor->name }} + + + + + + + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + + + @empty + + No distributors + + @endforelse diff --git a/resources/views/Staff/forum/create.blade.php b/resources/views/Staff/forum/create.blade.php index ed8d37455..8d9641e84 100644 --- a/resources/views/Staff/forum/create.blade.php +++ b/resources/views/Staff/forum/create.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -33,19 +33,28 @@ @csrf - + Category Forum - Forum Type + + Forum Type + - + Title - - Description + + + Description + @@ -56,7 +65,9 @@ @endforeach - Parent forum + + Parent forum + - {{ __('common.position') }} + /> + + {{ __('common.position') }} + Permissions - - Groups - View the forum - Read topics - Start new topic - Reply to topics - + + Groups + View the forum + Read topics + Start new topic + Reply to topics + - @foreach ($groups as $group) - - {{ $group->name }} - - - - - - - - - - - - - - @endforeach + @foreach ($groups as $group) + + {{ $group->name }} + + + + + + + + + + + + + + + + + + + + + + @endforeach diff --git a/resources/views/Staff/forum/edit.blade.php b/resources/views/Staff/forum/edit.blade.php index d9340f37c..5b98566eb 100644 --- a/resources/views/Staff/forum/edit.blade.php +++ b/resources/views/Staff/forum/edit.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.edit') }} Forums - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.edit') }} Forums - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -33,20 +39,30 @@ {{ __('common.edit') }} {{ __('forum.forum') }} - + @csrf @method('PATCH') - + Title - {{ $forum->description }} - Description + +{{ $forum->description }} + + Description + @@ -58,7 +74,9 @@ Forum (Current) @endif - Forum Type + + Forum Type + @@ -67,11 +85,14 @@ {{ $forum->category->name }} (Current) @endif + @foreach ($categories as $category) {{ $category->name }} @endforeach - Parent forum + + Parent forum + + /> {{ __('common.position') }} @@ -94,60 +115,58 @@ - - Groups - View the forum - Read topics - Start new topic - Reply to topics - + + Groups + View the forum + Read topics + Start new topic + Reply to topics + - @foreach ($groups as $group) - - {{ $group->name }} - - permissions->where('group_id', '=', $group->id)->first()->show_forum) - /> - - - permissions->where('group_id', '=', $group->id)->first()->read_topic) - /> - - - permissions->where('group_id', '=', $group->id)->first()->start_topic) - /> - - - permissions->where('group_id', '=', $group->id)->first()->reply_topic) - /> - - - @endforeach + @foreach ($groups as $group) + + {{ $group->name }} + + permissions->where('group_id', '=', $group->id)->first()->show_forum) + /> + + + permissions->where('group_id', '=', $group->id)->first()->read_topic) + /> + + + permissions->where('group_id', '=', $group->id)->first()->start_topic) + /> + + + permissions->where('group_id', '=', $group->id)->first()->reply_topic) + /> + + + @endforeach - - Save Forum - + Save Forum diff --git a/resources/views/Staff/forum/index.blade.php b/resources/views/Staff/forum/index.blade.php index 7ee6f1bad..8485e0024 100644 --- a/resources/views/Staff/forum/index.blade.php +++ b/resources/views/Staff/forum/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -32,73 +32,29 @@ - - {{ __('common.name') }} - Type - {{ __('common.position') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + Type + {{ __('common.position') }} + {{ __('common.action') }} + - @foreach ($categories as $category) - - - {{ $category->name }} - - Category - {{ $category->position }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - - {{ __('common.delete') }} - - - - - - - @foreach ($category->forums as $forum) + @foreach ($categories as $category) - - {{ $forum->name }} + + + {{ $category->name }} + - Forum - {{ $forum->position }} + Category + {{ $category->position }} {{ __('common.edit') }} @@ -106,23 +62,27 @@ @csrf @method('DELETE') {{ __('common.delete') }} @@ -132,8 +92,62 @@ + @foreach ($category->forums as $forum) + + + + {{ $forum->name }} + + + Forum + {{ $forum->position }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach @endforeach - @endforeach diff --git a/resources/views/Staff/gift/index.blade.php b/resources/views/Staff/gift/index.blade.php index 681a8dd7e..df5092b3e 100644 --- a/resources/views/Staff/gift/index.blade.php +++ b/resources/views/Staff/gift/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('staff.gifts-log') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.gifts-log') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/group/create.blade.php b/resources/views/Staff/group/create.blade.php index 67c17f27d..0bf5cf6a4 100644 --- a/resources/views/Staff/group/create.blade.php +++ b/resources/views/Staff/group/create.blade.php @@ -25,13 +25,7 @@ @csrf - + {{ __('common.name') }} @@ -49,16 +43,8 @@ - - - Level - + + Level - + Color (e.g. #ff0000) - + FontAwesome Icon (e.g. fas fa-user) @@ -110,160 +84,136 @@ - + - - Internal - + /> + Internal - + - - Modo - + /> + Modo - + - - Admin - + /> + Admin - + - - Owner - + /> + Owner - + - - Trusted - + /> + Trusted - + - - Immune - + /> + Immune - + - - Freeleech - + /> + Freeleech - + - - Double Upload - + /> + Double Upload - + - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + /> + Refundable Download - + - - Incognito - + /> + Incognito - + - - Upload - + /> + Upload - + - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/edit.blade.php b/resources/views/Staff/group/edit.blade.php index c668ee79f..59a8c51b3 100644 --- a/resources/views/Staff/group/edit.blade.php +++ b/resources/views/Staff/group/edit.blade.php @@ -25,7 +25,11 @@ Edit Group: {{ $group->name }} - + @csrf @method('PATCH') @@ -63,9 +67,7 @@ placeholder=" " value="{{ $group->level }}" /> - - Level - + Level - + is_internal) - > - - Internal - + /> + Internal - + is_modo) - > - - Modo - + /> + Modo - + is_admin) - > - - Admin - + /> + Admin - + is_owner) - > - - Owner - + /> + Owner - + is_trusted) - > - - Trusted - + /> + Trusted - + is_immune) - > - - Immune - + /> + Immune - + is_freeleech) - > - - Freeleech - + /> + Freeleech - + is_double_upload) - > - - Double Upload - + /> + Double Upload - + is_refundable) - > - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + @checked($group->is_refundable) + /> + Refundable Download - + is_incognito) - > - - Incognito - + /> + Incognito - + can_upload) - > - - Upload - + /> + Upload - + autogroup) - > - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/index.blade.php b/resources/views/Staff/group/index.blade.php index ab28af7f0..d8e5e7be4 100644 --- a/resources/views/Staff/group/index.blade.php +++ b/resources/views/Staff/group/index.blade.php @@ -29,142 +29,197 @@ - - ID - {{ __('common.name') }} - {{ __('common.position') }} - Level - DL Slots - Color - Icon - Effect - Internal - Modo - Admin - Owner - Trusted - Immune - Freeleech - Double Upload - Refundable - Incognito - Upload - Autogroup - + + ID + {{ __('common.name') }} + {{ __('common.position') }} + Level + DL Slots + Color + Icon + Effect + Internal + Modo + Admin + Owner + Trusted + Immune + Freeleech + Double Upload + Refundable + Incognito + Upload + Autogroup + - @foreach ($groups as $group) - - {{ $group->id }} - - - {{ $group->name }} - - - {{ $group->position }} - {{ $group->level }} - {{ $group->download_slots ?? 'Unlimited' }} - - - {{ $group->color }} - - - - [{{ $group->icon }}] - - - @if ($group->effect !== '' && $group->effect !== 'none') - - @else - - @endif - - - @if ($group->is_internal) - - @else - - @endif - - - @if ($group->is_modo) - - @else - - @endif - - - @if ($group->is_admin) - - @else - - @endif - - - @if ($group->is_owner) - - @else - - @endif - - - @if ($group->is_trusted) - - @else - - @endif - - - @if ($group->is_immune) - - @else - - @endif - - - @if ($group->is_freeleech) - - @else - - @endif - - - @if ($group->is_double_upload) - - @else - - @endif - - - @if ($group->is_refundable) - - @else - - @endif - - - @if ($group->is_incognito) - - @else - - @endif - - - @if ($group->can_upload) - - @else - - @endif - - - @if ($group->autogroup) - - @else - - @endif - - - @endforeach + @foreach ($groups as $group) + + {{ $group->id }} + + + {{ $group->name }} + + + {{ $group->position }} + {{ $group->level }} + {{ $group->download_slots ?? 'Unlimited' }} + + + {{ $group->color }} + + + + [{{ $group->icon }}] + + + @if ($group->effect !== '' && $group->effect !== 'none') + + @else + + @endif + + + @if ($group->is_internal) + + @else + + @endif + + + @if ($group->is_modo) + + @else + + @endif + + + @if ($group->is_admin) + + @else + + @endif + + + @if ($group->is_owner) + + @else + + @endif + + + @if ($group->is_trusted) + + @else + + @endif + + + @if ($group->is_immune) + + @else + + @endif + + + @if ($group->is_freeleech) + + @else + + @endif + + + @if ($group->is_double_upload) + + @else + + @endif + + + @if ($group->is_refundable) + + @else + + @endif + + + @if ($group->is_incognito) + + @else + + @endif + + + @if ($group->can_upload) + + @else + + @endif + + + @if ($group->autogroup) + + @else + + @endif + + + @endforeach diff --git a/resources/views/Staff/history/index.blade.php b/resources/views/Staff/history/index.blade.php index 4a89e9121..2547a1345 100644 --- a/resources/views/Staff/history/index.blade.php +++ b/resources/views/Staff/history/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - History - + History @endsection @section('page', 'page__history--index') diff --git a/resources/views/Staff/internals/create.blade.php b/resources/views/Staff/internals/create.blade.php index 8aa49a718..901070645 100644 --- a/resources/views/Staff/internals/create.blade.php +++ b/resources/views/Staff/internals/create.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ __('common.new-adj') }} @@ -22,16 +20,15 @@ {{ __('common.add') }} Internal Group - + @csrf - + {{ __('common.name') }} @@ -44,10 +41,8 @@ required type="text" value="fa-magic" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/edit.blade.php b/resources/views/Staff/internals/edit.blade.php index 74d65758a..1c1b11625 100644 --- a/resources/views/Staff/internals/edit.blade.php +++ b/resources/views/Staff/internals/edit.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ $internal->name }} @@ -23,7 +21,9 @@ @section('main') - {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + /> {{ __('common.name') }} @@ -53,10 +53,8 @@ required type="text" value="{{ $internal->icon }}" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/index.blade.php b/resources/views/Staff/internals/index.blade.php index b6f226cd4..7700207bb 100644 --- a/resources/views/Staff/internals/index.blade.php +++ b/resources/views/Staff/internals/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Internals - + Internals @endsection @section('page', 'page__internals--index') @@ -29,65 +27,71 @@ - - ID - {{ __('common.name') }} - Icon - Effect - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Icon + Effect + {{ __('common.action') }} + - @foreach ($internals as $internal) - - {{ $internal->id }} - - - {{ $internal->name }} - - - {{ $internal->icon }} - {{ $internal->effect }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $internal->id }} + + + {{ $internal->name }} + + + {{ $internal->icon }} + {{ $internal->effect }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/invite/index.blade.php b/resources/views/Staff/invite/index.blade.php index d0deee3e1..cb3f65ece 100644 --- a/resources/views/Staff/invite/index.blade.php +++ b/resources/views/Staff/invite/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/masspm/index.blade.php b/resources/views/Staff/masspm/index.blade.php index 2aa1ba5bf..77e433a56 100644 --- a/resources/views/Staff/masspm/index.blade.php +++ b/resources/views/Staff/masspm/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -35,7 +41,7 @@ name="subject" type="text" required - > + /> {{ __('pm.subject') }} @@ -43,17 +49,19 @@ @livewire('bbcode-input', ['name' => 'message', 'label' => __('pm.message'), 'required' => true]) {{ __('pm.send') }} diff --git a/resources/views/Staff/media_language/create.blade.php b/resources/views/Staff/media_language/create.blade.php index 14b6203b1..cef19610d 100644 --- a/resources/views/Staff/media_language/create.blade.php +++ b/resources/views/Staff/media_language/create.blade.php @@ -27,25 +27,13 @@ @csrf - + {{ __('common.name') }} - + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
- - movie_meta)> + + movie_meta) + > Movie metadata tv_meta)> @@ -101,16 +95,18 @@ game_meta)> Game metadata - music_meta)> + music_meta) + > Music metadata no_meta)> No metadata - - Meta - + Meta
diff --git a/resources/views/Staff/category/index.blade.php b/resources/views/Staff/category/index.blade.php index 891cc7ed8..469eb77ac 100644 --- a/resources/views/Staff/category/index.blade.php +++ b/resources/views/Staff/category/index.blade.php @@ -28,25 +28,27 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.icon') }} - {{ __('common.image') }} - Movie Meta - TV Meta - Game Meta - Music Meta - No Meta - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.icon') }} + {{ __('common.image') }} + Movie Meta + TV Meta + Game Meta + Music Meta + No Meta + {{ __('common.action') }} + @foreach ($categories as $category) {{ $category->position }} - + {{ $category->name }} @@ -55,44 +57,67 @@ @if ($category->image != null) - + @else N/A @endif @if ($category->movie_meta) - + @else - + @endif @if ($category->tv_meta) - + @else - + @endif @if ($category->game_meta) - + @else - + @endif @if ($category->music_meta) - + @else - + @endif @if ($category->no_meta) - + @else - + @endif @@ -114,17 +139,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/chat/bot/edit.blade.php b/resources/views/Staff/chat/bot/edit.blade.php index 5ea249a56..67c9d917f 100644 --- a/resources/views/Staff/chat/bot/edit.blade.php +++ b/resources/views/Staff/chat/bot/edit.blade.php @@ -47,7 +47,11 @@ {{ __('bot.edit-bot') }}: {{ $bot->name }} - + @csrf @method('PATCH') @@ -58,8 +62,10 @@ placeholder=" " type="text" value="{{ $bot->name }}" - > - {{ __('bot.name') }} + /> + + {{ __('bot.name') }} + - {{ __('common.position') }} + /> + + {{ __('common.position') }} + - {{ __('bot.command') }} + /> + + {{ __('bot.command') }} + - {{ __('bot.info') }} + /> + + {{ __('bot.info') }} + - {{ __('bot.about') }} + /> + + {{ __('bot.about') }} + - {{ __('bot.emoji-code') }} + /> + + {{ __('bot.emoji-code') }} + - {{ __('bot.icon') }} + /> + + {{ __('bot.icon') }} + + + {{ __('bot.color') }} + + + + +{{ $bot->help }} - {{ __('bot.color') }} + + {{ __('bot.help') }} + - {{ $bot->help }} - {{ __('bot.help') }} - - - {{ __('common.edit') }} + + {{ __('common.edit') }} + diff --git a/resources/views/Staff/chat/bot/index.blade.php b/resources/views/Staff/chat/bot/index.blade.php index 2e7edefe9..3af428426 100644 --- a/resources/views/Staff/chat/bot/index.blade.php +++ b/resources/views/Staff/chat/bot/index.blade.php @@ -47,7 +47,7 @@ - @foreach($bots as $bot) + @foreach ($bots as $bot) @@ -60,20 +60,24 @@ class="chat-bots__icon" src="/vendor/joypixels/png/64/{{ $bot->emoji }}.png" alt="emoji" - > + /> {{ $bot->command }} @if ($bot->active) - + @else - + @endif - @if(! $bot->is_systembot) - @if($bot->active) + @if (! $bot->is_systembot) + @if ($bot->active) @endif @endif + @csrf @method('DELETE') - @if(!$bot->is_protected) + @if (! $bot->is_protected) {{ __('common.delete') }} diff --git a/resources/views/Staff/chat/room/create.blade.php b/resources/views/Staff/chat/room/create.blade.php index 5a6aa1dea..a31755137 100644 --- a/resources/views/Staff/chat/room/create.blade.php +++ b/resources/views/Staff/chat/room/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.chat-room') }} @@ -34,13 +34,7 @@ > @csrf - + {{ __('common.name') }} diff --git a/resources/views/Staff/chat/room/edit.blade.php b/resources/views/Staff/chat/room/edit.blade.php index 983efe7cf..7dad0911f 100644 --- a/resources/views/Staff/chat/room/edit.blade.php +++ b/resources/views/Staff/chat/room/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $chatroom->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/chat/room/index.blade.php b/resources/views/Staff/chat/room/index.blade.php index 1e5476435..a9a713109 100644 --- a/resources/views/Staff/chat/room/index.blade.php +++ b/resources/views/Staff/chat/room/index.blade.php @@ -49,61 +49,67 @@ - - ID - {{ __('common.name') }} - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($chatrooms as $chatroom) - - {{ $chatroom->id }} - - - {{ $chatroom->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $chatroom->id }} + + + {{ $chatroom->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/chat/status/create.blade.php b/resources/views/Staff/chat/status/create.blade.php index 2140d00d1..01d73dccf 100644 --- a/resources/views/Staff/chat/status/create.blade.php +++ b/resources/views/Staff/chat/status/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('staff.chat') }} {{ __('staff.status') }} @@ -35,37 +35,19 @@ @csrf @csrf - + {{ __('common.name') }} - + {{ __('common.color') }} (e.g. #ff0000) - + Font Awesome icon code (e.g. fas fa-comment-smile) diff --git a/resources/views/Staff/chat/status/edit.blade.php b/resources/views/Staff/chat/status/edit.blade.php index 3e683f2cd..0acc89d90 100644 --- a/resources/views/Staff/chat/status/edit.blade.php +++ b/resources/views/Staff/chat/status/edit.blade.php @@ -24,7 +24,8 @@ @section('main') - {{ __('common.edit') }} {{ __('staff.chat') }} {{ __('staff.status') }}: {{ $chatstatus->name }} + {{ __('common.edit') }} {{ __('staff.chat') }} {{ __('staff.status') }}: + {{ $chatstatus->name }} + /> {{ __('common.name') }} @@ -55,7 +56,7 @@ required type="text" value="{{ $chatstatus->color }}" - > + /> {{ __('common.color') }} (e.g. #ff0000) @@ -69,7 +70,7 @@ required type="text" value="{{ $chatstatus->icon }}" - > + /> Font Awesome icon code (e.g. fas fa-comment-smile) diff --git a/resources/views/Staff/chat/status/index.blade.php b/resources/views/Staff/chat/status/index.blade.php index 727b481df..0b43edac9 100644 --- a/resources/views/Staff/chat/status/index.blade.php +++ b/resources/views/Staff/chat/status/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - {{ __('staff.chat') }} {{ __('staff.statuses') }} - + {{ __('staff.chat') }} {{ __('staff.statuses') }} @endsection @section('nav-tabs') @@ -51,74 +49,80 @@ - - ID - {{ __('common.name') }} - Color - Icon - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Color + Icon + {{ __('common.action') }} + - @foreach ($chatstatuses as $chatstatus) - - {{ $chatstatus->id }} - - - {{ $chatstatus->name }} - - - - - {{ $chatstatus->color }} - - - - [{{ $chatstatus->icon }}] - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $chatstatus->id }} + + + {{ $chatstatus->name }} + + + + + {{ $chatstatus->color }} + + + + [{{ $chatstatus->icon }}] + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/cheated_torrent/index.blade.php b/resources/views/Staff/cheated_torrent/index.blade.php index dda055e0d..0f3e9c59f 100644 --- a/resources/views/Staff/cheated_torrent/index.blade.php +++ b/resources/views/Staff/cheated_torrent/index.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - Cheated Torrents - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Cheated Torrents - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +16,7 @@ {{ __('staff.staff-dashboard') }} - - Cheated Torrents - + Cheated Torrents @endsection @section('page', 'page__cheated-torrents--index') @@ -35,17 +35,19 @@ @csrf @method('DELETE') Reset all torrent balances @@ -109,7 +111,10 @@ {{ \App\Helpers\StringHelper::formatBytes($torrent->balance) }} - + {{ $torrent->created_at ?? 'N/A' }} diff --git a/resources/views/Staff/cheater/index.blade.php b/resources/views/Staff/cheater/index.blade.php index d52309745..00cbfaa85 100644 --- a/resources/views/Staff/cheater/index.blade.php +++ b/resources/views/Staff/cheater/index.blade.php @@ -1,11 +1,16 @@ @extends('layout.default') @section('title') - Possible Leech Cheaters - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Possible Leech Cheaters - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -23,9 +28,7 @@ @section('main') - - {{ __('staff.possible-leech-cheaters') }} (Ghost Leechers) - + {{ __('staff.possible-leech-cheaters') }} (Ghost Leechers) @@ -42,13 +45,19 @@ - + {{ $cheater->created_at ?? 'N/A' }} - - {{ $cheater->last_login ?? 'N/A'}} + + {{ $cheater->last_login ?? 'N/A' }} diff --git a/resources/views/Staff/command/index.blade.php b/resources/views/Staff/command/index.blade.php index fbba3b102..2ca7f7469 100644 --- a/resources/views/Staff/command/index.blade.php +++ b/resources/views/Staff/command/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,20 +14,28 @@ {{ __('staff.staff-dashboard') }} - - Commands - + Commands @endsection @section('page', 'page__commands--index') @section('main') - + Maintenance Mode - + @csrf - + @csrf - + @csrf - + @csrf + @endsection @section('breadcrumbs') @@ -31,22 +31,32 @@ - + {{ __('staff.staff-dashboard') }} @if (auth()->user()->group->is_owner) - + {{ __('backup.backup') }} {{ __('backup.manager') }} - - Commands + + + Commands @endif @@ -59,19 +69,28 @@ - + {{ __('staff.statuses') }} - + {{ __('staff.rooms') }} - + {{ __('staff.bots') }} @@ -80,17 +99,19 @@ @csrf @@ -107,45 +128,67 @@ - + {{ __('staff.articles') }} @if (auth()->user()->group->is_admin) - + {{ __('staff.forums') }} @endif + - + {{ __('staff.pages') }} - + {{ __('staff.polls') }} - + {{ __('staff.bon-exchange') }} - + {{ __('common.blacklist') }} - + {{ __('staff.blocked-ips') }} @@ -159,94 +202,133 @@ - + {{ __('staff.torrent-moderation') }} - + {{ __('staff.torrent-categories') }} - + {{ __('staff.torrent-types') }} - + {{ __('staff.torrent-resolutions') }} - + Torrent Regions - + Torrent Distributors - + Peers - + Histories - + {{ __('staff.rss') }} - + {{ __('common.media-languages') }} - + Cheated Torrents @if (config('announce.log_announces')) - + Announces @endif + @csrf @@ -263,7 +345,10 @@ - + {{ __('staff.applications') }} ({{ $pendingApplicationsCount }}) @if ($pendingApplicationsCount > 0) @@ -272,37 +357,55 @@ - + {{ __('staff.user-search') }} - + {{ __('user.apikeys') }} - + {{ __('staff.passkeys') }} - + {{ __('user.rsskeys') }} - + Watchlist - + {{ __('staff.mass-pm') }} @@ -330,26 +433,38 @@ - + {{ __('staff.possible-leech-cheaters') }} - + {{ __('staff.seedboxes') }} - + Internals @if (auth()->user()->group->is_admin) - + {{ __('staff.groups') }} @@ -364,50 +479,76 @@ - + {{ __('staff.audit-log') }} - + {{ __('staff.bans-log') }} - + {{ __('staff.failed-login-log') }} - + {{ __('staff.gifts-log') }} - + {{ __('staff.invites-log') }} - + {{ __('staff.user-notes') }} @if (auth()->user()->group->is_owner) - - - {{ __('staff.laravel-log') }} - - + + + + {{ __('staff.laravel-log') }} + + @endif + - + {{ __('staff.reports-log') }} ({{ $unsolvedReportsCount }}) @if ($unsolvedReportsCount > 0) @@ -416,7 +557,10 @@ - + {{ __('staff.warnings-log') }} @@ -432,13 +576,18 @@ URL {{ config('app.url') }} + @if (request()->secure()) Connection Secure Issued By - {{ (!is_string($certificate)) ? $certificate->getIssuer() : "No Certificate Info Found" }} + + {{ ! is_string($certificate) ? $certificate->getIssuer() : 'No Certificate Info Found' }} + Expires - {{ (!is_string($certificate)) ? $certificate->expirationDate()->diffForHumans() : "No Certificate Info Found" }} + + {{ ! is_string($certificate) ? $certificate->expirationDate()->diffForHumans() : 'No Certificate Info Found' }} + @else Connection @@ -559,10 +708,14 @@ {{ $permission['directory'] }} @if ($permission['permission'] === $permission['recommended']) - + {{ $permission['permission'] }} @else - + {{ $permission['permission'] }} @endif @@ -577,23 +730,17 @@ @if ($externalTrackerStats === true) External Tracker Stats - - External tracker not enabled. - + External tracker not enabled. @elseif ($externalTrackerStats === false) External Tracker Stats - - Stats endpoint not found. - + Stats endpoint not found. @elseif ($externalTrackerStats === []) External Tracker Stats - - Tracker returned an error. - + Tracker returned an error. @else @@ -604,6 +751,7 @@ $lastRequestAt = \Illuminate\Support\Carbon::createFromTimestampUTC($externalTrackerStats['last_request_at']); $lastAnnounceResponseAt = \Illuminate\Support\Carbon::createFromTimestampUTC($externalTrackerStats['last_announce_response_at']); @endphp + {{ __('torrent.started') }} - @foreach([1, 10, 60, 900, 7200] as $interval) + @foreach ([1, 10, 60, 900, 7200] as $interval) {{ $interval }} - {{ \number_format($externalTrackerStats['requests_per_'.$interval.'s'], 0, null, "\u{202F}") }} + {{ \number_format($externalTrackerStats['requests_per_' . $interval . 's'], 0, null, "\u{202F}") }} - - {{ \number_format($externalTrackerStats['announce_responses_per_'.$interval.'s'], 0, null, "\u{202F}") }} + + {{ \number_format($externalTrackerStats['announce_responses_per_' . $interval . 's'], 0, null, "\u{202F}") }} @endforeach diff --git a/resources/views/Staff/distributor/create.blade.php b/resources/views/Staff/distributor/create.blade.php index 5d1e52d02..98f246ea9 100644 --- a/resources/views/Staff/distributor/create.blade.php +++ b/resources/views/Staff/distributor/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Distributor - + @csrf - + {{ __('common.name') }} diff --git a/resources/views/Staff/distributor/delete.blade.php b/resources/views/Staff/distributor/delete.blade.php index 81cd9a349..ad9d5325c 100644 --- a/resources/views/Staff/distributor/delete.blade.php +++ b/resources/views/Staff/distributor/delete.blade.php @@ -36,7 +36,8 @@ @csrf @method('DELETE') - An existing torrent on site may already use this distributor. Would you like to change it? + An existing torrent on site may already use this distributor. Would you like to + change it? {{ __('common.delete') }} diff --git a/resources/views/Staff/distributor/edit.blade.php b/resources/views/Staff/distributor/edit.blade.php index 789d274e8..405b61d15 100644 --- a/resources/views/Staff/distributor/edit.blade.php +++ b/resources/views/Staff/distributor/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $distributor->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/distributor/index.blade.php b/resources/views/Staff/distributor/index.blade.php index 58b7f429d..23a94b12b 100644 --- a/resources/views/Staff/distributor/index.blade.php +++ b/resources/views/Staff/distributor/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Distributors - + Torrent Distributors @endsection @section('page', 'page__distributor--index') @@ -29,45 +27,47 @@ - - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($distributors as $distributor) - - - - {{ $distributor->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - - - @empty - - No distributors - - @endforelse + @forelse ($distributors as $distributor) + + + + {{ $distributor->name }} + + + + + + + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + + + @empty + + No distributors + + @endforelse diff --git a/resources/views/Staff/forum/create.blade.php b/resources/views/Staff/forum/create.blade.php index ed8d37455..8d9641e84 100644 --- a/resources/views/Staff/forum/create.blade.php +++ b/resources/views/Staff/forum/create.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -33,19 +33,28 @@ @csrf - + Category Forum - Forum Type + + Forum Type + - + Title - - Description + + + Description + @@ -56,7 +65,9 @@ @endforeach - Parent forum + + Parent forum + - {{ __('common.position') }} + /> + + {{ __('common.position') }} + Permissions - - Groups - View the forum - Read topics - Start new topic - Reply to topics - + + Groups + View the forum + Read topics + Start new topic + Reply to topics + - @foreach ($groups as $group) - - {{ $group->name }} - - - - - - - - - - - - - - @endforeach + @foreach ($groups as $group) + + {{ $group->name }} + + + + + + + + + + + + + + + + + + + + + + @endforeach diff --git a/resources/views/Staff/forum/edit.blade.php b/resources/views/Staff/forum/edit.blade.php index d9340f37c..5b98566eb 100644 --- a/resources/views/Staff/forum/edit.blade.php +++ b/resources/views/Staff/forum/edit.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.edit') }} Forums - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.edit') }} Forums - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -33,20 +39,30 @@ {{ __('common.edit') }} {{ __('forum.forum') }} - + @csrf @method('PATCH') - + Title - {{ $forum->description }} - Description + +{{ $forum->description }} + + Description + @@ -58,7 +74,9 @@ Forum (Current) @endif - Forum Type + + Forum Type + @@ -67,11 +85,14 @@ {{ $forum->category->name }} (Current) @endif + @foreach ($categories as $category) {{ $category->name }} @endforeach - Parent forum + + Parent forum + + /> {{ __('common.position') }} @@ -94,60 +115,58 @@ - - Groups - View the forum - Read topics - Start new topic - Reply to topics - + + Groups + View the forum + Read topics + Start new topic + Reply to topics + - @foreach ($groups as $group) - - {{ $group->name }} - - permissions->where('group_id', '=', $group->id)->first()->show_forum) - /> - - - permissions->where('group_id', '=', $group->id)->first()->read_topic) - /> - - - permissions->where('group_id', '=', $group->id)->first()->start_topic) - /> - - - permissions->where('group_id', '=', $group->id)->first()->reply_topic) - /> - - - @endforeach + @foreach ($groups as $group) + + {{ $group->name }} + + permissions->where('group_id', '=', $group->id)->first()->show_forum) + /> + + + permissions->where('group_id', '=', $group->id)->first()->read_topic) + /> + + + permissions->where('group_id', '=', $group->id)->first()->start_topic) + /> + + + permissions->where('group_id', '=', $group->id)->first()->reply_topic) + /> + + + @endforeach - - Save Forum - + Save Forum diff --git a/resources/views/Staff/forum/index.blade.php b/resources/views/Staff/forum/index.blade.php index 7ee6f1bad..8485e0024 100644 --- a/resources/views/Staff/forum/index.blade.php +++ b/resources/views/Staff/forum/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -32,73 +32,29 @@ - - {{ __('common.name') }} - Type - {{ __('common.position') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + Type + {{ __('common.position') }} + {{ __('common.action') }} + - @foreach ($categories as $category) - - - {{ $category->name }} - - Category - {{ $category->position }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - - {{ __('common.delete') }} - - - - - - - @foreach ($category->forums as $forum) + @foreach ($categories as $category) - - {{ $forum->name }} + + + {{ $category->name }} + - Forum - {{ $forum->position }} + Category + {{ $category->position }} {{ __('common.edit') }} @@ -106,23 +62,27 @@ @csrf @method('DELETE') {{ __('common.delete') }} @@ -132,8 +92,62 @@ + @foreach ($category->forums as $forum) + + + + {{ $forum->name }} + + + Forum + {{ $forum->position }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach @endforeach - @endforeach diff --git a/resources/views/Staff/gift/index.blade.php b/resources/views/Staff/gift/index.blade.php index 681a8dd7e..df5092b3e 100644 --- a/resources/views/Staff/gift/index.blade.php +++ b/resources/views/Staff/gift/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('staff.gifts-log') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.gifts-log') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/group/create.blade.php b/resources/views/Staff/group/create.blade.php index 67c17f27d..0bf5cf6a4 100644 --- a/resources/views/Staff/group/create.blade.php +++ b/resources/views/Staff/group/create.blade.php @@ -25,13 +25,7 @@ @csrf - + {{ __('common.name') }} @@ -49,16 +43,8 @@ - - - Level - + + Level - + Color (e.g. #ff0000) - + FontAwesome Icon (e.g. fas fa-user) @@ -110,160 +84,136 @@ - + - - Internal - + /> + Internal - + - - Modo - + /> + Modo - + - - Admin - + /> + Admin - + - - Owner - + /> + Owner - + - - Trusted - + /> + Trusted - + - - Immune - + /> + Immune - + - - Freeleech - + /> + Freeleech - + - - Double Upload - + /> + Double Upload - + - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + /> + Refundable Download - + - - Incognito - + /> + Incognito - + - - Upload - + /> + Upload - + - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/edit.blade.php b/resources/views/Staff/group/edit.blade.php index c668ee79f..59a8c51b3 100644 --- a/resources/views/Staff/group/edit.blade.php +++ b/resources/views/Staff/group/edit.blade.php @@ -25,7 +25,11 @@ Edit Group: {{ $group->name }} - + @csrf @method('PATCH') @@ -63,9 +67,7 @@ placeholder=" " value="{{ $group->level }}" /> - - Level - + Level - + is_internal) - > - - Internal - + /> + Internal - + is_modo) - > - - Modo - + /> + Modo - + is_admin) - > - - Admin - + /> + Admin - + is_owner) - > - - Owner - + /> + Owner - + is_trusted) - > - - Trusted - + /> + Trusted - + is_immune) - > - - Immune - + /> + Immune - + is_freeleech) - > - - Freeleech - + /> + Freeleech - + is_double_upload) - > - - Double Upload - + /> + Double Upload - + is_refundable) - > - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + @checked($group->is_refundable) + /> + Refundable Download - + is_incognito) - > - - Incognito - + /> + Incognito - + can_upload) - > - - Upload - + /> + Upload - + autogroup) - > - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/index.blade.php b/resources/views/Staff/group/index.blade.php index ab28af7f0..d8e5e7be4 100644 --- a/resources/views/Staff/group/index.blade.php +++ b/resources/views/Staff/group/index.blade.php @@ -29,142 +29,197 @@ - - ID - {{ __('common.name') }} - {{ __('common.position') }} - Level - DL Slots - Color - Icon - Effect - Internal - Modo - Admin - Owner - Trusted - Immune - Freeleech - Double Upload - Refundable - Incognito - Upload - Autogroup - + + ID + {{ __('common.name') }} + {{ __('common.position') }} + Level + DL Slots + Color + Icon + Effect + Internal + Modo + Admin + Owner + Trusted + Immune + Freeleech + Double Upload + Refundable + Incognito + Upload + Autogroup + - @foreach ($groups as $group) - - {{ $group->id }} - - - {{ $group->name }} - - - {{ $group->position }} - {{ $group->level }} - {{ $group->download_slots ?? 'Unlimited' }} - - - {{ $group->color }} - - - - [{{ $group->icon }}] - - - @if ($group->effect !== '' && $group->effect !== 'none') - - @else - - @endif - - - @if ($group->is_internal) - - @else - - @endif - - - @if ($group->is_modo) - - @else - - @endif - - - @if ($group->is_admin) - - @else - - @endif - - - @if ($group->is_owner) - - @else - - @endif - - - @if ($group->is_trusted) - - @else - - @endif - - - @if ($group->is_immune) - - @else - - @endif - - - @if ($group->is_freeleech) - - @else - - @endif - - - @if ($group->is_double_upload) - - @else - - @endif - - - @if ($group->is_refundable) - - @else - - @endif - - - @if ($group->is_incognito) - - @else - - @endif - - - @if ($group->can_upload) - - @else - - @endif - - - @if ($group->autogroup) - - @else - - @endif - - - @endforeach + @foreach ($groups as $group) + + {{ $group->id }} + + + {{ $group->name }} + + + {{ $group->position }} + {{ $group->level }} + {{ $group->download_slots ?? 'Unlimited' }} + + + {{ $group->color }} + + + + [{{ $group->icon }}] + + + @if ($group->effect !== '' && $group->effect !== 'none') + + @else + + @endif + + + @if ($group->is_internal) + + @else + + @endif + + + @if ($group->is_modo) + + @else + + @endif + + + @if ($group->is_admin) + + @else + + @endif + + + @if ($group->is_owner) + + @else + + @endif + + + @if ($group->is_trusted) + + @else + + @endif + + + @if ($group->is_immune) + + @else + + @endif + + + @if ($group->is_freeleech) + + @else + + @endif + + + @if ($group->is_double_upload) + + @else + + @endif + + + @if ($group->is_refundable) + + @else + + @endif + + + @if ($group->is_incognito) + + @else + + @endif + + + @if ($group->can_upload) + + @else + + @endif + + + @if ($group->autogroup) + + @else + + @endif + + + @endforeach diff --git a/resources/views/Staff/history/index.blade.php b/resources/views/Staff/history/index.blade.php index 4a89e9121..2547a1345 100644 --- a/resources/views/Staff/history/index.blade.php +++ b/resources/views/Staff/history/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - History - + History @endsection @section('page', 'page__history--index') diff --git a/resources/views/Staff/internals/create.blade.php b/resources/views/Staff/internals/create.blade.php index 8aa49a718..901070645 100644 --- a/resources/views/Staff/internals/create.blade.php +++ b/resources/views/Staff/internals/create.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ __('common.new-adj') }} @@ -22,16 +20,15 @@ {{ __('common.add') }} Internal Group - + @csrf - + {{ __('common.name') }} @@ -44,10 +41,8 @@ required type="text" value="fa-magic" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/edit.blade.php b/resources/views/Staff/internals/edit.blade.php index 74d65758a..1c1b11625 100644 --- a/resources/views/Staff/internals/edit.blade.php +++ b/resources/views/Staff/internals/edit.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ $internal->name }} @@ -23,7 +21,9 @@ @section('main') - {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + /> {{ __('common.name') }} @@ -53,10 +53,8 @@ required type="text" value="{{ $internal->icon }}" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/index.blade.php b/resources/views/Staff/internals/index.blade.php index b6f226cd4..7700207bb 100644 --- a/resources/views/Staff/internals/index.blade.php +++ b/resources/views/Staff/internals/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Internals - + Internals @endsection @section('page', 'page__internals--index') @@ -29,65 +27,71 @@ - - ID - {{ __('common.name') }} - Icon - Effect - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Icon + Effect + {{ __('common.action') }} + - @foreach ($internals as $internal) - - {{ $internal->id }} - - - {{ $internal->name }} - - - {{ $internal->icon }} - {{ $internal->effect }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $internal->id }} + + + {{ $internal->name }} + + + {{ $internal->icon }} + {{ $internal->effect }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/invite/index.blade.php b/resources/views/Staff/invite/index.blade.php index d0deee3e1..cb3f65ece 100644 --- a/resources/views/Staff/invite/index.blade.php +++ b/resources/views/Staff/invite/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/masspm/index.blade.php b/resources/views/Staff/masspm/index.blade.php index 2aa1ba5bf..77e433a56 100644 --- a/resources/views/Staff/masspm/index.blade.php +++ b/resources/views/Staff/masspm/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -35,7 +41,7 @@ name="subject" type="text" required - > + /> {{ __('pm.subject') }} @@ -43,17 +49,19 @@ @livewire('bbcode-input', ['name' => 'message', 'label' => __('pm.message'), 'required' => true]) {{ __('pm.send') }} diff --git a/resources/views/Staff/media_language/create.blade.php b/resources/views/Staff/media_language/create.blade.php index 14b6203b1..cef19610d 100644 --- a/resources/views/Staff/media_language/create.blade.php +++ b/resources/views/Staff/media_language/create.blade.php @@ -27,25 +27,13 @@ @csrf - + {{ __('common.name') }} - + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
@@ -58,8 +62,10 @@ placeholder=" " type="text" value="{{ $bot->name }}" - > - {{ __('bot.name') }} + /> + + {{ __('bot.name') }} +
- {{ __('common.position') }} + /> + + {{ __('common.position') }} +
- {{ __('bot.command') }} + /> + + {{ __('bot.command') }} +
- {{ __('bot.info') }} + /> + + {{ __('bot.info') }} +
- {{ __('bot.about') }} + /> + + {{ __('bot.about') }} +
- {{ __('bot.emoji-code') }} + /> + + {{ __('bot.emoji-code') }} +
- {{ __('bot.icon') }} + /> + + {{ __('bot.icon') }} +
+ + {{ __('bot.color') }} + +
+ +{{ $bot->help }} - {{ __('bot.color') }} + + {{ __('bot.help') }} +
- {{ $bot->help }} - {{ __('bot.help') }} -
- {{ __('common.edit') }} + + {{ __('common.edit') }} +
- + {{ __('common.name') }} diff --git a/resources/views/Staff/chat/room/edit.blade.php b/resources/views/Staff/chat/room/edit.blade.php index 983efe7cf..7dad0911f 100644 --- a/resources/views/Staff/chat/room/edit.blade.php +++ b/resources/views/Staff/chat/room/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $chatroom->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/chat/room/index.blade.php b/resources/views/Staff/chat/room/index.blade.php index 1e5476435..a9a713109 100644 --- a/resources/views/Staff/chat/room/index.blade.php +++ b/resources/views/Staff/chat/room/index.blade.php @@ -49,61 +49,67 @@
- + {{ __('common.name') }}
- + {{ __('common.color') }} (e.g. #ff0000)
- + Font Awesome icon code (e.g. fas fa-comment-smile) diff --git a/resources/views/Staff/chat/status/edit.blade.php b/resources/views/Staff/chat/status/edit.blade.php index 3e683f2cd..0acc89d90 100644 --- a/resources/views/Staff/chat/status/edit.blade.php +++ b/resources/views/Staff/chat/status/edit.blade.php @@ -24,7 +24,8 @@ @section('main') - {{ __('common.edit') }} {{ __('staff.chat') }} {{ __('staff.status') }}: {{ $chatstatus->name }} + {{ __('common.edit') }} {{ __('staff.chat') }} {{ __('staff.status') }}: + {{ $chatstatus->name }} + /> {{ __('common.name') }} @@ -55,7 +56,7 @@ required type="text" value="{{ $chatstatus->color }}" - > + /> {{ __('common.color') }} (e.g. #ff0000) @@ -69,7 +70,7 @@ required type="text" value="{{ $chatstatus->icon }}" - > + /> Font Awesome icon code (e.g. fas fa-comment-smile) diff --git a/resources/views/Staff/chat/status/index.blade.php b/resources/views/Staff/chat/status/index.blade.php index 727b481df..0b43edac9 100644 --- a/resources/views/Staff/chat/status/index.blade.php +++ b/resources/views/Staff/chat/status/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - {{ __('staff.chat') }} {{ __('staff.statuses') }} - + {{ __('staff.chat') }} {{ __('staff.statuses') }} @endsection @section('nav-tabs') @@ -51,74 +49,80 @@ - - ID - {{ __('common.name') }} - Color - Icon - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Color + Icon + {{ __('common.action') }} + - @foreach ($chatstatuses as $chatstatus) - - {{ $chatstatus->id }} - - - {{ $chatstatus->name }} - - - - - {{ $chatstatus->color }} - - - - [{{ $chatstatus->icon }}] - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $chatstatus->id }} + + + {{ $chatstatus->name }} + + + + + {{ $chatstatus->color }} + + + + [{{ $chatstatus->icon }}] + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/cheated_torrent/index.blade.php b/resources/views/Staff/cheated_torrent/index.blade.php index dda055e0d..0f3e9c59f 100644 --- a/resources/views/Staff/cheated_torrent/index.blade.php +++ b/resources/views/Staff/cheated_torrent/index.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - Cheated Torrents - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Cheated Torrents - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +16,7 @@ {{ __('staff.staff-dashboard') }} - - Cheated Torrents - + Cheated Torrents @endsection @section('page', 'page__cheated-torrents--index') @@ -35,17 +35,19 @@ @csrf @method('DELETE') Reset all torrent balances @@ -109,7 +111,10 @@ {{ \App\Helpers\StringHelper::formatBytes($torrent->balance) }}
- + {{ __('staff.staff-dashboard') }}
- + {{ __('backup.backup') }} {{ __('backup.manager') }}
- - Commands + + + Commands
- + {{ __('staff.statuses') }}
- + {{ __('staff.rooms') }}
- + {{ __('staff.bots') }} @@ -80,17 +99,19 @@
- + {{ __('staff.articles') }}
- + {{ __('staff.forums') }}
- + {{ __('staff.pages') }}
- + {{ __('staff.polls') }}
- + {{ __('staff.bon-exchange') }}
- + {{ __('common.blacklist') }}
- + {{ __('staff.blocked-ips') }} @@ -159,94 +202,133 @@
- + {{ __('staff.torrent-moderation') }}
- + {{ __('staff.torrent-categories') }}
- + {{ __('staff.torrent-types') }}
- + {{ __('staff.torrent-resolutions') }}
- + Torrent Regions
- + Torrent Distributors
- + Peers
- + Histories
- + {{ __('staff.rss') }}
- + {{ __('common.media-languages') }}
- + Cheated Torrents
- + Announces
- + {{ __('staff.applications') }} ({{ $pendingApplicationsCount }}) @if ($pendingApplicationsCount > 0) @@ -272,37 +357,55 @@
- + {{ __('staff.user-search') }}
- + {{ __('user.apikeys') }}
- + {{ __('staff.passkeys') }}
- + {{ __('user.rsskeys') }}
- + Watchlist
- + {{ __('staff.mass-pm') }} @@ -330,26 +433,38 @@
- + {{ __('staff.possible-leech-cheaters') }}
- + {{ __('staff.seedboxes') }}
- + Internals
- + {{ __('staff.groups') }} @@ -364,50 +479,76 @@
- + {{ __('staff.audit-log') }}
- + {{ __('staff.bans-log') }}
- + {{ __('staff.failed-login-log') }}
- + {{ __('staff.gifts-log') }}
- + {{ __('staff.invites-log') }}
- + {{ __('staff.user-notes') }}
- - {{ __('staff.laravel-log') }} - -
+ + + {{ __('staff.laravel-log') }} + +
- + {{ __('staff.reports-log') }} ({{ $unsolvedReportsCount }}) @if ($unsolvedReportsCount > 0) @@ -416,7 +557,10 @@
- + {{ __('staff.warnings-log') }} @@ -432,13 +576,18 @@
- + {{ __('common.name') }} diff --git a/resources/views/Staff/distributor/delete.blade.php b/resources/views/Staff/distributor/delete.blade.php index 81cd9a349..ad9d5325c 100644 --- a/resources/views/Staff/distributor/delete.blade.php +++ b/resources/views/Staff/distributor/delete.blade.php @@ -36,7 +36,8 @@ @csrf @method('DELETE')
- An existing torrent on site may already use this distributor. Would you like to change it? + An existing torrent on site may already use this distributor. Would you like to + change it?
{{ __('common.delete') }} diff --git a/resources/views/Staff/distributor/edit.blade.php b/resources/views/Staff/distributor/edit.blade.php index 789d274e8..405b61d15 100644 --- a/resources/views/Staff/distributor/edit.blade.php +++ b/resources/views/Staff/distributor/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $distributor->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/distributor/index.blade.php b/resources/views/Staff/distributor/index.blade.php index 58b7f429d..23a94b12b 100644 --- a/resources/views/Staff/distributor/index.blade.php +++ b/resources/views/Staff/distributor/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Distributors - + Torrent Distributors @endsection @section('page', 'page__distributor--index') @@ -29,45 +27,47 @@ - - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($distributors as $distributor) - - - - {{ $distributor->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - - - @empty - - No distributors - - @endforelse + @forelse ($distributors as $distributor) + + + + {{ $distributor->name }} + + + + + + + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + + + @empty + + No distributors + + @endforelse diff --git a/resources/views/Staff/forum/create.blade.php b/resources/views/Staff/forum/create.blade.php index ed8d37455..8d9641e84 100644 --- a/resources/views/Staff/forum/create.blade.php +++ b/resources/views/Staff/forum/create.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -33,19 +33,28 @@ @csrf - + Category Forum - Forum Type + + Forum Type + - + Title - - Description + + + Description + @@ -56,7 +65,9 @@ @endforeach - Parent forum + + Parent forum + - {{ __('common.position') }} + /> + + {{ __('common.position') }} + Permissions - - Groups - View the forum - Read topics - Start new topic - Reply to topics - + + Groups + View the forum + Read topics + Start new topic + Reply to topics + - @foreach ($groups as $group) - - {{ $group->name }} - - - - - - - - - - - - - - @endforeach + @foreach ($groups as $group) + + {{ $group->name }} + + + + + + + + + + + + + + + + + + + + + + @endforeach diff --git a/resources/views/Staff/forum/edit.blade.php b/resources/views/Staff/forum/edit.blade.php index d9340f37c..5b98566eb 100644 --- a/resources/views/Staff/forum/edit.blade.php +++ b/resources/views/Staff/forum/edit.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.edit') }} Forums - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.edit') }} Forums - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -33,20 +39,30 @@ {{ __('common.edit') }} {{ __('forum.forum') }} - + @csrf @method('PATCH') - + Title - {{ $forum->description }} - Description + +{{ $forum->description }} + + Description + @@ -58,7 +74,9 @@ Forum (Current) @endif - Forum Type + + Forum Type + @@ -67,11 +85,14 @@ {{ $forum->category->name }} (Current) @endif + @foreach ($categories as $category) {{ $category->name }} @endforeach - Parent forum + + Parent forum + + /> {{ __('common.position') }} @@ -94,60 +115,58 @@ - - Groups - View the forum - Read topics - Start new topic - Reply to topics - + + Groups + View the forum + Read topics + Start new topic + Reply to topics + - @foreach ($groups as $group) - - {{ $group->name }} - - permissions->where('group_id', '=', $group->id)->first()->show_forum) - /> - - - permissions->where('group_id', '=', $group->id)->first()->read_topic) - /> - - - permissions->where('group_id', '=', $group->id)->first()->start_topic) - /> - - - permissions->where('group_id', '=', $group->id)->first()->reply_topic) - /> - - - @endforeach + @foreach ($groups as $group) + + {{ $group->name }} + + permissions->where('group_id', '=', $group->id)->first()->show_forum) + /> + + + permissions->where('group_id', '=', $group->id)->first()->read_topic) + /> + + + permissions->where('group_id', '=', $group->id)->first()->start_topic) + /> + + + permissions->where('group_id', '=', $group->id)->first()->reply_topic) + /> + + + @endforeach - - Save Forum - + Save Forum diff --git a/resources/views/Staff/forum/index.blade.php b/resources/views/Staff/forum/index.blade.php index 7ee6f1bad..8485e0024 100644 --- a/resources/views/Staff/forum/index.blade.php +++ b/resources/views/Staff/forum/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -32,73 +32,29 @@ - - {{ __('common.name') }} - Type - {{ __('common.position') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + Type + {{ __('common.position') }} + {{ __('common.action') }} + - @foreach ($categories as $category) - - - {{ $category->name }} - - Category - {{ $category->position }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - - {{ __('common.delete') }} - - - - - - - @foreach ($category->forums as $forum) + @foreach ($categories as $category) - - {{ $forum->name }} + + + {{ $category->name }} + - Forum - {{ $forum->position }} + Category + {{ $category->position }} {{ __('common.edit') }} @@ -106,23 +62,27 @@ @csrf @method('DELETE') {{ __('common.delete') }} @@ -132,8 +92,62 @@ + @foreach ($category->forums as $forum) + + + + {{ $forum->name }} + + + Forum + {{ $forum->position }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach @endforeach - @endforeach diff --git a/resources/views/Staff/gift/index.blade.php b/resources/views/Staff/gift/index.blade.php index 681a8dd7e..df5092b3e 100644 --- a/resources/views/Staff/gift/index.blade.php +++ b/resources/views/Staff/gift/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('staff.gifts-log') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.gifts-log') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/group/create.blade.php b/resources/views/Staff/group/create.blade.php index 67c17f27d..0bf5cf6a4 100644 --- a/resources/views/Staff/group/create.blade.php +++ b/resources/views/Staff/group/create.blade.php @@ -25,13 +25,7 @@ @csrf - + {{ __('common.name') }} @@ -49,16 +43,8 @@ - - - Level - + + Level - + Color (e.g. #ff0000) - + FontAwesome Icon (e.g. fas fa-user) @@ -110,160 +84,136 @@ - + - - Internal - + /> + Internal - + - - Modo - + /> + Modo - + - - Admin - + /> + Admin - + - - Owner - + /> + Owner - + - - Trusted - + /> + Trusted - + - - Immune - + /> + Immune - + - - Freeleech - + /> + Freeleech - + - - Double Upload - + /> + Double Upload - + - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + /> + Refundable Download - + - - Incognito - + /> + Incognito - + - - Upload - + /> + Upload - + - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/edit.blade.php b/resources/views/Staff/group/edit.blade.php index c668ee79f..59a8c51b3 100644 --- a/resources/views/Staff/group/edit.blade.php +++ b/resources/views/Staff/group/edit.blade.php @@ -25,7 +25,11 @@ Edit Group: {{ $group->name }} - + @csrf @method('PATCH') @@ -63,9 +67,7 @@ placeholder=" " value="{{ $group->level }}" /> - - Level - + Level - + is_internal) - > - - Internal - + /> + Internal - + is_modo) - > - - Modo - + /> + Modo - + is_admin) - > - - Admin - + /> + Admin - + is_owner) - > - - Owner - + /> + Owner - + is_trusted) - > - - Trusted - + /> + Trusted - + is_immune) - > - - Immune - + /> + Immune - + is_freeleech) - > - - Freeleech - + /> + Freeleech - + is_double_upload) - > - - Double Upload - + /> + Double Upload - + is_refundable) - > - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + @checked($group->is_refundable) + /> + Refundable Download - + is_incognito) - > - - Incognito - + /> + Incognito - + can_upload) - > - - Upload - + /> + Upload - + autogroup) - > - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/index.blade.php b/resources/views/Staff/group/index.blade.php index ab28af7f0..d8e5e7be4 100644 --- a/resources/views/Staff/group/index.blade.php +++ b/resources/views/Staff/group/index.blade.php @@ -29,142 +29,197 @@ - - ID - {{ __('common.name') }} - {{ __('common.position') }} - Level - DL Slots - Color - Icon - Effect - Internal - Modo - Admin - Owner - Trusted - Immune - Freeleech - Double Upload - Refundable - Incognito - Upload - Autogroup - + + ID + {{ __('common.name') }} + {{ __('common.position') }} + Level + DL Slots + Color + Icon + Effect + Internal + Modo + Admin + Owner + Trusted + Immune + Freeleech + Double Upload + Refundable + Incognito + Upload + Autogroup + - @foreach ($groups as $group) - - {{ $group->id }} - - - {{ $group->name }} - - - {{ $group->position }} - {{ $group->level }} - {{ $group->download_slots ?? 'Unlimited' }} - - - {{ $group->color }} - - - - [{{ $group->icon }}] - - - @if ($group->effect !== '' && $group->effect !== 'none') - - @else - - @endif - - - @if ($group->is_internal) - - @else - - @endif - - - @if ($group->is_modo) - - @else - - @endif - - - @if ($group->is_admin) - - @else - - @endif - - - @if ($group->is_owner) - - @else - - @endif - - - @if ($group->is_trusted) - - @else - - @endif - - - @if ($group->is_immune) - - @else - - @endif - - - @if ($group->is_freeleech) - - @else - - @endif - - - @if ($group->is_double_upload) - - @else - - @endif - - - @if ($group->is_refundable) - - @else - - @endif - - - @if ($group->is_incognito) - - @else - - @endif - - - @if ($group->can_upload) - - @else - - @endif - - - @if ($group->autogroup) - - @else - - @endif - - - @endforeach + @foreach ($groups as $group) + + {{ $group->id }} + + + {{ $group->name }} + + + {{ $group->position }} + {{ $group->level }} + {{ $group->download_slots ?? 'Unlimited' }} + + + {{ $group->color }} + + + + [{{ $group->icon }}] + + + @if ($group->effect !== '' && $group->effect !== 'none') + + @else + + @endif + + + @if ($group->is_internal) + + @else + + @endif + + + @if ($group->is_modo) + + @else + + @endif + + + @if ($group->is_admin) + + @else + + @endif + + + @if ($group->is_owner) + + @else + + @endif + + + @if ($group->is_trusted) + + @else + + @endif + + + @if ($group->is_immune) + + @else + + @endif + + + @if ($group->is_freeleech) + + @else + + @endif + + + @if ($group->is_double_upload) + + @else + + @endif + + + @if ($group->is_refundable) + + @else + + @endif + + + @if ($group->is_incognito) + + @else + + @endif + + + @if ($group->can_upload) + + @else + + @endif + + + @if ($group->autogroup) + + @else + + @endif + + + @endforeach diff --git a/resources/views/Staff/history/index.blade.php b/resources/views/Staff/history/index.blade.php index 4a89e9121..2547a1345 100644 --- a/resources/views/Staff/history/index.blade.php +++ b/resources/views/Staff/history/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - History - + History @endsection @section('page', 'page__history--index') diff --git a/resources/views/Staff/internals/create.blade.php b/resources/views/Staff/internals/create.blade.php index 8aa49a718..901070645 100644 --- a/resources/views/Staff/internals/create.blade.php +++ b/resources/views/Staff/internals/create.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ __('common.new-adj') }} @@ -22,16 +20,15 @@ {{ __('common.add') }} Internal Group - + @csrf - + {{ __('common.name') }} @@ -44,10 +41,8 @@ required type="text" value="fa-magic" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/edit.blade.php b/resources/views/Staff/internals/edit.blade.php index 74d65758a..1c1b11625 100644 --- a/resources/views/Staff/internals/edit.blade.php +++ b/resources/views/Staff/internals/edit.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ $internal->name }} @@ -23,7 +21,9 @@ @section('main') - {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + /> {{ __('common.name') }} @@ -53,10 +53,8 @@ required type="text" value="{{ $internal->icon }}" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/index.blade.php b/resources/views/Staff/internals/index.blade.php index b6f226cd4..7700207bb 100644 --- a/resources/views/Staff/internals/index.blade.php +++ b/resources/views/Staff/internals/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Internals - + Internals @endsection @section('page', 'page__internals--index') @@ -29,65 +27,71 @@ - - ID - {{ __('common.name') }} - Icon - Effect - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Icon + Effect + {{ __('common.action') }} + - @foreach ($internals as $internal) - - {{ $internal->id }} - - - {{ $internal->name }} - - - {{ $internal->icon }} - {{ $internal->effect }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $internal->id }} + + + {{ $internal->name }} + + + {{ $internal->icon }} + {{ $internal->effect }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/invite/index.blade.php b/resources/views/Staff/invite/index.blade.php index d0deee3e1..cb3f65ece 100644 --- a/resources/views/Staff/invite/index.blade.php +++ b/resources/views/Staff/invite/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/masspm/index.blade.php b/resources/views/Staff/masspm/index.blade.php index 2aa1ba5bf..77e433a56 100644 --- a/resources/views/Staff/masspm/index.blade.php +++ b/resources/views/Staff/masspm/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -35,7 +41,7 @@ name="subject" type="text" required - > + /> {{ __('pm.subject') }} @@ -43,17 +49,19 @@ @livewire('bbcode-input', ['name' => 'message', 'label' => __('pm.message'), 'required' => true]) {{ __('pm.send') }} diff --git a/resources/views/Staff/media_language/create.blade.php b/resources/views/Staff/media_language/create.blade.php index 14b6203b1..cef19610d 100644 --- a/resources/views/Staff/media_language/create.blade.php +++ b/resources/views/Staff/media_language/create.blade.php @@ -27,25 +27,13 @@ @csrf - + {{ __('common.name') }} - + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
- + Category Forum - Forum Type + + Forum Type +
- + Title
- - Description + + + Description +
@@ -56,7 +65,9 @@ @endforeach - Parent forum + + Parent forum +
- {{ $forum->description }} - Description + +{{ $forum->description }} + + Description +
@@ -58,7 +74,9 @@ Forum (Current) @endif - Forum Type + + Forum Type +
@@ -67,11 +85,14 @@ {{ $forum->category->name }} (Current) @endif + @foreach ($categories as $category) {{ $category->name }} @endforeach - Parent forum + + Parent forum +
+ /> {{ __('common.position') }} @@ -94,60 +115,58 @@
- - Save Forum - + Save Forum
- + {{ __('common.name') }} @@ -49,16 +43,8 @@
- - - Level - + + Level
- + Color (e.g. #ff0000)
- + FontAwesome Icon (e.g. fas fa-user) @@ -110,160 +84,136 @@
- + - - Internal - + /> + Internal
- + - - Modo - + /> + Modo
- + - - Admin - + /> + Admin
- + - - Owner - + /> + Owner
- + - - Trusted - + /> + Trusted
- + - - Immune - + /> + Immune
- + - - Freeleech - + /> + Freeleech
- + - - Double Upload - + /> + Double Upload
- + - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + /> + Refundable Download
- + - - Incognito - + /> + Incognito
- + - - Upload - + /> + Upload
- + - - Autogroup - + /> + Autogroup
diff --git a/resources/views/Staff/group/edit.blade.php b/resources/views/Staff/group/edit.blade.php index c668ee79f..59a8c51b3 100644 --- a/resources/views/Staff/group/edit.blade.php +++ b/resources/views/Staff/group/edit.blade.php @@ -25,7 +25,11 @@ Edit Group: {{ $group->name }} - + @csrf @method('PATCH') @@ -63,9 +67,7 @@ placeholder=" " value="{{ $group->level }}" /> - - Level - + Level - + is_internal) - > - - Internal - + /> + Internal - + is_modo) - > - - Modo - + /> + Modo - + is_admin) - > - - Admin - + /> + Admin - + is_owner) - > - - Owner - + /> + Owner - + is_trusted) - > - - Trusted - + /> + Trusted - + is_immune) - > - - Immune - + /> + Immune - + is_freeleech) - > - - Freeleech - + /> + Freeleech - + is_double_upload) - > - - Double Upload - + /> + Double Upload - + is_refundable) - > - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + @checked($group->is_refundable) + /> + Refundable Download - + is_incognito) - > - - Incognito - + /> + Incognito - + can_upload) - > - - Upload - + /> + Upload - + autogroup) - > - - Autogroup - + /> + Autogroup diff --git a/resources/views/Staff/group/index.blade.php b/resources/views/Staff/group/index.blade.php index ab28af7f0..d8e5e7be4 100644 --- a/resources/views/Staff/group/index.blade.php +++ b/resources/views/Staff/group/index.blade.php @@ -29,142 +29,197 @@ - - ID - {{ __('common.name') }} - {{ __('common.position') }} - Level - DL Slots - Color - Icon - Effect - Internal - Modo - Admin - Owner - Trusted - Immune - Freeleech - Double Upload - Refundable - Incognito - Upload - Autogroup - + + ID + {{ __('common.name') }} + {{ __('common.position') }} + Level + DL Slots + Color + Icon + Effect + Internal + Modo + Admin + Owner + Trusted + Immune + Freeleech + Double Upload + Refundable + Incognito + Upload + Autogroup + - @foreach ($groups as $group) - - {{ $group->id }} - - - {{ $group->name }} - - - {{ $group->position }} - {{ $group->level }} - {{ $group->download_slots ?? 'Unlimited' }} - - - {{ $group->color }} - - - - [{{ $group->icon }}] - - - @if ($group->effect !== '' && $group->effect !== 'none') - - @else - - @endif - - - @if ($group->is_internal) - - @else - - @endif - - - @if ($group->is_modo) - - @else - - @endif - - - @if ($group->is_admin) - - @else - - @endif - - - @if ($group->is_owner) - - @else - - @endif - - - @if ($group->is_trusted) - - @else - - @endif - - - @if ($group->is_immune) - - @else - - @endif - - - @if ($group->is_freeleech) - - @else - - @endif - - - @if ($group->is_double_upload) - - @else - - @endif - - - @if ($group->is_refundable) - - @else - - @endif - - - @if ($group->is_incognito) - - @else - - @endif - - - @if ($group->can_upload) - - @else - - @endif - - - @if ($group->autogroup) - - @else - - @endif - - - @endforeach + @foreach ($groups as $group) + + {{ $group->id }} + + + {{ $group->name }} + + + {{ $group->position }} + {{ $group->level }} + {{ $group->download_slots ?? 'Unlimited' }} + + + {{ $group->color }} + + + + [{{ $group->icon }}] + + + @if ($group->effect !== '' && $group->effect !== 'none') + + @else + + @endif + + + @if ($group->is_internal) + + @else + + @endif + + + @if ($group->is_modo) + + @else + + @endif + + + @if ($group->is_admin) + + @else + + @endif + + + @if ($group->is_owner) + + @else + + @endif + + + @if ($group->is_trusted) + + @else + + @endif + + + @if ($group->is_immune) + + @else + + @endif + + + @if ($group->is_freeleech) + + @else + + @endif + + + @if ($group->is_double_upload) + + @else + + @endif + + + @if ($group->is_refundable) + + @else + + @endif + + + @if ($group->is_incognito) + + @else + + @endif + + + @if ($group->can_upload) + + @else + + @endif + + + @if ($group->autogroup) + + @else + + @endif + + + @endforeach diff --git a/resources/views/Staff/history/index.blade.php b/resources/views/Staff/history/index.blade.php index 4a89e9121..2547a1345 100644 --- a/resources/views/Staff/history/index.blade.php +++ b/resources/views/Staff/history/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - History - + History @endsection @section('page', 'page__history--index') diff --git a/resources/views/Staff/internals/create.blade.php b/resources/views/Staff/internals/create.blade.php index 8aa49a718..901070645 100644 --- a/resources/views/Staff/internals/create.blade.php +++ b/resources/views/Staff/internals/create.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ __('common.new-adj') }} @@ -22,16 +20,15 @@ {{ __('common.add') }} Internal Group - + @csrf - + {{ __('common.name') }} @@ -44,10 +41,8 @@ required type="text" value="fa-magic" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/edit.blade.php b/resources/views/Staff/internals/edit.blade.php index 74d65758a..1c1b11625 100644 --- a/resources/views/Staff/internals/edit.blade.php +++ b/resources/views/Staff/internals/edit.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ $internal->name }} @@ -23,7 +21,9 @@ @section('main') - {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + /> {{ __('common.name') }} @@ -53,10 +53,8 @@ required type="text" value="{{ $internal->icon }}" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/index.blade.php b/resources/views/Staff/internals/index.blade.php index b6f226cd4..7700207bb 100644 --- a/resources/views/Staff/internals/index.blade.php +++ b/resources/views/Staff/internals/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Internals - + Internals @endsection @section('page', 'page__internals--index') @@ -29,65 +27,71 @@ - - ID - {{ __('common.name') }} - Icon - Effect - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Icon + Effect + {{ __('common.action') }} + - @foreach ($internals as $internal) - - {{ $internal->id }} - - - {{ $internal->name }} - - - {{ $internal->icon }} - {{ $internal->effect }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $internal->id }} + + + {{ $internal->name }} + + + {{ $internal->icon }} + {{ $internal->effect }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/invite/index.blade.php b/resources/views/Staff/invite/index.blade.php index d0deee3e1..cb3f65ece 100644 --- a/resources/views/Staff/invite/index.blade.php +++ b/resources/views/Staff/invite/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/masspm/index.blade.php b/resources/views/Staff/masspm/index.blade.php index 2aa1ba5bf..77e433a56 100644 --- a/resources/views/Staff/masspm/index.blade.php +++ b/resources/views/Staff/masspm/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -35,7 +41,7 @@ name="subject" type="text" required - > + /> {{ __('pm.subject') }} @@ -43,17 +49,19 @@ @livewire('bbcode-input', ['name' => 'message', 'label' => __('pm.message'), 'required' => true]) {{ __('pm.send') }} diff --git a/resources/views/Staff/media_language/create.blade.php b/resources/views/Staff/media_language/create.blade.php index 14b6203b1..cef19610d 100644 --- a/resources/views/Staff/media_language/create.blade.php +++ b/resources/views/Staff/media_language/create.blade.php @@ -27,25 +27,13 @@ @csrf - + {{ __('common.name') }} - + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
@@ -63,9 +67,7 @@ placeholder=" " value="{{ $group->level }}" /> - - Level - + Level
- + is_internal) - > - - Internal - + /> + Internal
- + is_modo) - > - - Modo - + /> + Modo
- + is_admin) - > - - Admin - + /> + Admin
- + is_owner) - > - - Owner - + /> + Owner
- + is_trusted) - > - - Trusted - + /> + Trusted
- + is_immune) - > - - Immune - + /> + Immune
- + is_freeleech) - > - - Freeleech - + /> + Freeleech
- + is_double_upload) - > - - Double Upload - + /> + Double Upload
- + is_refundable) - > - - Refundable Download - + id="is_refundable" + class="form__checkbox" + name="is_refundable" + type="checkbox" + value="1" + @checked($group->is_refundable) + /> + Refundable Download
- + is_incognito) - > - - Incognito - + /> + Incognito
- + can_upload) - > - - Upload - + /> + Upload
- + autogroup) - > - - Autogroup - + /> + Autogroup
diff --git a/resources/views/Staff/group/index.blade.php b/resources/views/Staff/group/index.blade.php index ab28af7f0..d8e5e7be4 100644 --- a/resources/views/Staff/group/index.blade.php +++ b/resources/views/Staff/group/index.blade.php @@ -29,142 +29,197 @@ - - ID - {{ __('common.name') }} - {{ __('common.position') }} - Level - DL Slots - Color - Icon - Effect - Internal - Modo - Admin - Owner - Trusted - Immune - Freeleech - Double Upload - Refundable - Incognito - Upload - Autogroup - + + ID + {{ __('common.name') }} + {{ __('common.position') }} + Level + DL Slots + Color + Icon + Effect + Internal + Modo + Admin + Owner + Trusted + Immune + Freeleech + Double Upload + Refundable + Incognito + Upload + Autogroup + - @foreach ($groups as $group) - - {{ $group->id }} - - - {{ $group->name }} - - - {{ $group->position }} - {{ $group->level }} - {{ $group->download_slots ?? 'Unlimited' }} - - - {{ $group->color }} - - - - [{{ $group->icon }}] - - - @if ($group->effect !== '' && $group->effect !== 'none') - - @else - - @endif - - - @if ($group->is_internal) - - @else - - @endif - - - @if ($group->is_modo) - - @else - - @endif - - - @if ($group->is_admin) - - @else - - @endif - - - @if ($group->is_owner) - - @else - - @endif - - - @if ($group->is_trusted) - - @else - - @endif - - - @if ($group->is_immune) - - @else - - @endif - - - @if ($group->is_freeleech) - - @else - - @endif - - - @if ($group->is_double_upload) - - @else - - @endif - - - @if ($group->is_refundable) - - @else - - @endif - - - @if ($group->is_incognito) - - @else - - @endif - - - @if ($group->can_upload) - - @else - - @endif - - - @if ($group->autogroup) - - @else - - @endif - - - @endforeach + @foreach ($groups as $group) + + {{ $group->id }} + + + {{ $group->name }} + + + {{ $group->position }} + {{ $group->level }} + {{ $group->download_slots ?? 'Unlimited' }} + + + {{ $group->color }} + + + + [{{ $group->icon }}] + + + @if ($group->effect !== '' && $group->effect !== 'none') + + @else + + @endif + + + @if ($group->is_internal) + + @else + + @endif + + + @if ($group->is_modo) + + @else + + @endif + + + @if ($group->is_admin) + + @else + + @endif + + + @if ($group->is_owner) + + @else + + @endif + + + @if ($group->is_trusted) + + @else + + @endif + + + @if ($group->is_immune) + + @else + + @endif + + + @if ($group->is_freeleech) + + @else + + @endif + + + @if ($group->is_double_upload) + + @else + + @endif + + + @if ($group->is_refundable) + + @else + + @endif + + + @if ($group->is_incognito) + + @else + + @endif + + + @if ($group->can_upload) + + @else + + @endif + + + @if ($group->autogroup) + + @else + + @endif + + + @endforeach diff --git a/resources/views/Staff/history/index.blade.php b/resources/views/Staff/history/index.blade.php index 4a89e9121..2547a1345 100644 --- a/resources/views/Staff/history/index.blade.php +++ b/resources/views/Staff/history/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - History - + History @endsection @section('page', 'page__history--index') diff --git a/resources/views/Staff/internals/create.blade.php b/resources/views/Staff/internals/create.blade.php index 8aa49a718..901070645 100644 --- a/resources/views/Staff/internals/create.blade.php +++ b/resources/views/Staff/internals/create.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ __('common.new-adj') }} @@ -22,16 +20,15 @@ {{ __('common.add') }} Internal Group - + @csrf - + {{ __('common.name') }} @@ -44,10 +41,8 @@ required type="text" value="fa-magic" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/edit.blade.php b/resources/views/Staff/internals/edit.blade.php index 74d65758a..1c1b11625 100644 --- a/resources/views/Staff/internals/edit.blade.php +++ b/resources/views/Staff/internals/edit.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ $internal->name }} @@ -23,7 +21,9 @@ @section('main') - {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + /> {{ __('common.name') }} @@ -53,10 +53,8 @@ required type="text" value="{{ $internal->icon }}" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/index.blade.php b/resources/views/Staff/internals/index.blade.php index b6f226cd4..7700207bb 100644 --- a/resources/views/Staff/internals/index.blade.php +++ b/resources/views/Staff/internals/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Internals - + Internals @endsection @section('page', 'page__internals--index') @@ -29,65 +27,71 @@ - - ID - {{ __('common.name') }} - Icon - Effect - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Icon + Effect + {{ __('common.action') }} + - @foreach ($internals as $internal) - - {{ $internal->id }} - - - {{ $internal->name }} - - - {{ $internal->icon }} - {{ $internal->effect }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $internal->id }} + + + {{ $internal->name }} + + + {{ $internal->icon }} + {{ $internal->effect }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/invite/index.blade.php b/resources/views/Staff/invite/index.blade.php index d0deee3e1..cb3f65ece 100644 --- a/resources/views/Staff/invite/index.blade.php +++ b/resources/views/Staff/invite/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/masspm/index.blade.php b/resources/views/Staff/masspm/index.blade.php index 2aa1ba5bf..77e433a56 100644 --- a/resources/views/Staff/masspm/index.blade.php +++ b/resources/views/Staff/masspm/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -35,7 +41,7 @@ name="subject" type="text" required - > + /> {{ __('pm.subject') }} @@ -43,17 +49,19 @@ @livewire('bbcode-input', ['name' => 'message', 'label' => __('pm.message'), 'required' => true]) {{ __('pm.send') }} diff --git a/resources/views/Staff/media_language/create.blade.php b/resources/views/Staff/media_language/create.blade.php index 14b6203b1..cef19610d 100644 --- a/resources/views/Staff/media_language/create.blade.php +++ b/resources/views/Staff/media_language/create.blade.php @@ -27,25 +27,13 @@ @csrf - + {{ __('common.name') }} - + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
- + {{ __('common.name') }} @@ -44,10 +41,8 @@ required type="text" value="fa-magic" - > - - Icon - + /> + Icon
- - Effect - + /> + Effect
diff --git a/resources/views/Staff/internals/edit.blade.php b/resources/views/Staff/internals/edit.blade.php index 74d65758a..1c1b11625 100644 --- a/resources/views/Staff/internals/edit.blade.php +++ b/resources/views/Staff/internals/edit.blade.php @@ -7,9 +7,7 @@ - - Internals - + Internals {{ $internal->name }} @@ -23,7 +21,9 @@ @section('main') - {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + {{ __('common.edit') }} Interal Group: {{ $internal->name }} + + /> {{ __('common.name') }} @@ -53,10 +53,8 @@ required type="text" value="{{ $internal->icon }}" - > - - Icon - + /> + Icon - - Effect - + /> + Effect diff --git a/resources/views/Staff/internals/index.blade.php b/resources/views/Staff/internals/index.blade.php index b6f226cd4..7700207bb 100644 --- a/resources/views/Staff/internals/index.blade.php +++ b/resources/views/Staff/internals/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Internals - + Internals @endsection @section('page', 'page__internals--index') @@ -29,65 +27,71 @@ - - ID - {{ __('common.name') }} - Icon - Effect - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Icon + Effect + {{ __('common.action') }} + - @foreach ($internals as $internal) - - {{ $internal->id }} - - - {{ $internal->name }} - - - {{ $internal->icon }} - {{ $internal->effect }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $internal->id }} + + + {{ $internal->name }} + + + {{ $internal->icon }} + {{ $internal->effect }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/invite/index.blade.php b/resources/views/Staff/invite/index.blade.php index d0deee3e1..cb3f65ece 100644 --- a/resources/views/Staff/invite/index.blade.php +++ b/resources/views/Staff/invite/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/masspm/index.blade.php b/resources/views/Staff/masspm/index.blade.php index 2aa1ba5bf..77e433a56 100644 --- a/resources/views/Staff/masspm/index.blade.php +++ b/resources/views/Staff/masspm/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -35,7 +41,7 @@ name="subject" type="text" required - > + /> {{ __('pm.subject') }} @@ -43,17 +49,19 @@ @livewire('bbcode-input', ['name' => 'message', 'label' => __('pm.message'), 'required' => true]) {{ __('pm.send') }} diff --git a/resources/views/Staff/media_language/create.blade.php b/resources/views/Staff/media_language/create.blade.php index 14b6203b1..cef19610d 100644 --- a/resources/views/Staff/media_language/create.blade.php +++ b/resources/views/Staff/media_language/create.blade.php @@ -27,25 +27,13 @@ @csrf - + {{ __('common.name') }} - + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
diff --git a/resources/views/Staff/internals/index.blade.php b/resources/views/Staff/internals/index.blade.php index b6f226cd4..7700207bb 100644 --- a/resources/views/Staff/internals/index.blade.php +++ b/resources/views/Staff/internals/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Internals - + Internals @endsection @section('page', 'page__internals--index') @@ -29,65 +27,71 @@ - - ID - {{ __('common.name') }} - Icon - Effect - {{ __('common.action') }} - + + ID + {{ __('common.name') }} + Icon + Effect + {{ __('common.action') }} + - @foreach ($internals as $internal) - - {{ $internal->id }} - - - {{ $internal->name }} - - - {{ $internal->icon }} - {{ $internal->effect }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $internal->id }} + + + {{ $internal->name }} + + + {{ $internal->icon }} + {{ $internal->effect }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/invite/index.blade.php b/resources/views/Staff/invite/index.blade.php index d0deee3e1..cb3f65ece 100644 --- a/resources/views/Staff/invite/index.blade.php +++ b/resources/views/Staff/invite/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/masspm/index.blade.php b/resources/views/Staff/masspm/index.blade.php index 2aa1ba5bf..77e433a56 100644 --- a/resources/views/Staff/masspm/index.blade.php +++ b/resources/views/Staff/masspm/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.mass-pm') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -35,7 +41,7 @@ name="subject" type="text" required - > + /> {{ __('pm.subject') }} @@ -43,17 +49,19 @@ @livewire('bbcode-input', ['name' => 'message', 'label' => __('pm.message'), 'required' => true]) {{ __('pm.send') }} diff --git a/resources/views/Staff/media_language/create.blade.php b/resources/views/Staff/media_language/create.blade.php index 14b6203b1..cef19610d 100644 --- a/resources/views/Staff/media_language/create.blade.php +++ b/resources/views/Staff/media_language/create.blade.php @@ -27,25 +27,13 @@ @csrf - + {{ __('common.name') }} - + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
{{ __('pm.send') }} diff --git a/resources/views/Staff/media_language/create.blade.php b/resources/views/Staff/media_language/create.blade.php index 14b6203b1..cef19610d 100644 --- a/resources/views/Staff/media_language/create.blade.php +++ b/resources/views/Staff/media_language/create.blade.php @@ -27,25 +27,13 @@ @csrf - + {{ __('common.name') }} - + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
- + {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/edit.blade.php b/resources/views/Staff/media_language/edit.blade.php index 7628a9f35..540d4ab0d 100644 --- a/resources/views/Staff/media_language/edit.blade.php +++ b/resources/views/Staff/media_language/edit.blade.php @@ -23,9 +23,7 @@ @section('main') - - {{ __('common.edit') }} {{ __('common.media-language') }} - + {{ __('common.edit') }} {{ __('common.media-language') }} + /> {{ __('common.name') }} @@ -55,7 +53,7 @@ required type="text" value="{{ $media_language->code }}" - > + /> {{ __('common.code') }} diff --git a/resources/views/Staff/media_language/index.blade.php b/resources/views/Staff/media_language/index.blade.php index e7342baac..5c0885ab2 100644 --- a/resources/views/Staff/media_language/index.blade.php +++ b/resources/views/Staff/media_language/index.blade.php @@ -1,6 +1,5 @@ @extends('layout.default') - @section('breadcrumbs') @@ -39,10 +38,12 @@ - @foreach($media_languages as $media_language) + @foreach ($media_languages as $media_language) - + {{ $media_language->name }} @@ -66,17 +67,21 @@ @csrf @method('DELETE') {{ __('common.delete') }} diff --git a/resources/views/Staff/moderation/index.blade.php b/resources/views/Staff/moderation/index.blade.php index 57a5d87bf..c527b067a 100644 --- a/resources/views/Staff/moderation/index.blade.php +++ b/resources/views/Staff/moderation/index.blade.php @@ -23,68 +23,81 @@ - - {{ __('torrent.uploaded') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.action') }} - + + {{ __('torrent.uploaded') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.action') }} + - @forelse ($pending as $torrent) - - - - {{ $torrent->created_at->diffForHumans() }} - - - - - {{ $torrent->name }} - - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) - - - - @empty - - No pending torrents - - @endforelse + @forelse ($pending as $torrent) + + + + {{ $torrent->created_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + @include('Staff.moderation.partials._reject_dialog', ['torrent' => $torrent]) + + + + @empty + + No pending torrents + + @endforelse @@ -94,78 +107,95 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($postponed as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No postponed torrents - - @endforelse + @forelse ($postponed as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No postponed torrents + + @endforelse @@ -175,79 +205,96 @@ - - {{ __('staff.moderation-since') }} - {{ __('common.name') }} - {{ __('common.category') }} - {{ __('common.type') }} - {{ __('common.resolution') }} - {{ __('torrent.size') }} - {{ __('torrent.uploader') }} - {{ __('common.staff') }} - {{ __('common.action') }} - + + {{ __('staff.moderation-since') }} + {{ __('common.name') }} + {{ __('common.category') }} + {{ __('common.type') }} + {{ __('common.resolution') }} + {{ __('torrent.size') }} + {{ __('torrent.uploader') }} + {{ __('common.staff') }} + {{ __('common.action') }} + - @forelse ($rejected as $torrent) - - - - {{ $torrent->moderated_at->diffForHumans() }} - - - - {{ $torrent->name }} - - - - - {{ $torrent->type->name }} - {{ $torrent->resolution->name ?? 'No Res' }} - {{ $torrent->getSize() }} - - - - - - - - - - - @csrf - - - - - {{ __('common.moderation-approve') }} - - - - @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) - - - - {{ __('common.edit') }} - - - @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) - - - - @empty - - No rejected torrents - - @endforelse + @forelse ($rejected as $torrent) + + + + {{ $torrent->moderated_at->diffForHumans() }} + + + + + {{ $torrent->name }} + + + + + + {{ $torrent->type->name }} + {{ $torrent->resolution->name ?? 'No Res' }} + {{ $torrent->getSize() }} + + + + + + + + + + + @csrf + + + + + {{ __('common.moderation-approve') }} + + + + @include('Staff.moderation.partials._postpone_dialog', ['torrent' => $torrent]) + + + + {{ __('common.edit') }} + + + @include('Staff.moderation.partials._delete_dialog', ['torrent' => $torrent]) + + + + @empty + + No rejected torrents + + @endforelse diff --git a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php index 335ff5b74..3d0144507 100644 --- a/resources/views/Staff/moderation/partials/_delete_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_delete_dialog.blade.php @@ -16,18 +16,24 @@ @csrf @method('DELETE') - - + + - Deletion Reason + + Deletion Reason + {{ __('common.delete') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php index 5d571653d..f7e4b1d9f 100644 --- a/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_postpone_dialog.blade.php @@ -5,7 +5,8 @@ - {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-postpone') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} @csrf - - - - + + + + - {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message + {{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php index 6d141ea34..307fa4074 100644 --- a/resources/views/Staff/moderation/partials/_reject_dialog.blade.php +++ b/resources/views/Staff/moderation/partials/_reject_dialog.blade.php @@ -5,28 +5,37 @@ - {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: {{ $torrent->name }} + {{ __('common.moderation-reject') }} {{ __('torrent.torrent') }}: + {{ $torrent->name }} $torrent->id]) }}" + action="{{ route('staff.moderation.update', ['id' => $torrent->id]) }}" x-on:click.outside="$refs.dialog.close()" > @csrf - - - - + + + + - {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message + {{ __('common.moderation-reject') }} - + {{ __('common.cancel') }} diff --git a/resources/views/Staff/note/index.blade.php b/resources/views/Staff/note/index.blade.php index 9a60d8a9c..c81fdfd91 100644 --- a/resources/views/Staff/note/index.blade.php +++ b/resources/views/Staff/note/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} Notes - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/page/create.blade.php b/resources/views/Staff/page/create.blade.php index ec6e70ae3..8491fb8ef 100644 --- a/resources/views/Staff/page/create.blade.php +++ b/resources/views/Staff/page/create.blade.php @@ -22,7 +22,7 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('common.new-adj') }} {{ __('staff.page') }} @@ -30,13 +30,7 @@ @csrf - + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }} @@ -84,7 +87,7 @@ name="multiple_choice" type="checkbox" value="1" - > + /> {{ __('poll.multiple-choice') }} diff --git a/resources/views/Staff/poll/edit.blade.php b/resources/views/Staff/poll/edit.blade.php index 94e653ad6..4968ec875 100644 --- a/resources/views/Staff/poll/edit.blade.php +++ b/resources/views/Staff/poll/edit.blade.php @@ -24,16 +24,16 @@ @section('main') - {{ __('poll.edit-poll') }}: {{$poll->title}} + {{ __('poll.edit-poll') }}: {{ $poll->title }} @csrf - @method('PATCH') + @method('PATCH') + /> {{ __('poll.title') }} - + + - {{ __('poll.option') }} - + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }} @@ -81,7 +95,7 @@ name="multiple_choice" value="1" @checked($poll->multiple_choice) - > + /> {{ __('poll.multiple-choice') }} @@ -94,5 +108,4 @@ - @endsection diff --git a/resources/views/Staff/poll/index.blade.php b/resources/views/Staff/poll/index.blade.php index 8dff2df79..3c698e943 100644 --- a/resources/views/Staff/poll/index.blade.php +++ b/resources/views/Staff/poll/index.blade.php @@ -28,73 +28,80 @@ - - {{ __('poll.title') }} - {{ __('common.date') }} - {{ __('common.action') }} - + + {{ __('poll.title') }} + {{ __('common.date') }} + {{ __('common.action') }} + - @foreach ($polls as $poll) - - - - {{ $poll->title }} - - - - - {{ date('d M Y', $poll->created_at->getTimestamp()) }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $poll->title }} + + + + + {{ date('d M Y', $poll->created_at->getTimestamp()) }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/poll/show.blade.php b/resources/views/Staff/poll/show.blade.php index 8a4dc3632..eac93f328 100644 --- a/resources/views/Staff/poll/show.blade.php +++ b/resources/views/Staff/poll/show.blade.php @@ -33,7 +33,8 @@ @foreach ($poll->options as $option) - {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} @endforeach diff --git a/resources/views/Staff/region/create.blade.php b/resources/views/Staff/region/create.blade.php index 674b3d67b..f5a65bf2c 100644 --- a/resources/views/Staff/region/create.blade.php +++ b/resources/views/Staff/region/create.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ __('common.new-adj') }} @@ -22,20 +20,10 @@ Add A Torrent Region - + @csrf - + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@ - - Torrent Regions - + Torrent Regions {{ $region->name }} @@ -42,7 +40,7 @@ required type="text" value="{{ $region->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +55,7 @@ required type="text" value="{{ $region->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/index.blade.php b/resources/views/Staff/region/index.blade.php index 9788b4ea9..0ea3d9a8e 100644 --- a/resources/views/Staff/region/index.blade.php +++ b/resources/views/Staff/region/index.blade.php @@ -6,9 +6,7 @@ {{ __('staff.staff-dashboard') }} - - Torrent Regions - + Torrent Regions @endsection @section('page', 'page__region--index') @@ -29,90 +27,107 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($regions as $region) - - {{ $region->position }} - - - {{ $region->name }} - - - - - - - {{ __('common.edit') }} - - - - - {{ __('common.delete') }} - - - - Delete Torrent Region: {{ $region->name }} - - + {{ $region->position }} + + + {{ $region->name }} + + + + + + - @csrf - @method('DELETE') - - An existing torrent on site may already use this region. Would you like to change it? - - - - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - - - - - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - - - - - - - - - - @empty - - No regions - - @endforelse + {{ __('common.edit') }} + + + + + {{ __('common.delete') }} + + + + Delete Torrent Region: {{ $region->name }} + + + @csrf + @method('DELETE') + + An existing torrent on site may already use this + region. Would you like to change it? + + + + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + + + + + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + + + + + + + + + @empty + + No regions + + @endforelse diff --git a/resources/views/Staff/report/index.blade.php b/resources/views/Staff/report/index.blade.php index 326df471d..ddf887ea1 100644 --- a/resources/views/Staff/report/index.blade.php +++ b/resources/views/Staff/report/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,16 +27,16 @@ - - ID - Type - {{ __('common.title') }} - Reported - {{ __('common.reporter') }} - {{ __('user.created-on') }} - {{ __('user.judge') }} - {{ __('forum.solved') }} - + + ID + Type + {{ __('common.title') }} + Reported + {{ __('common.reporter') }} + {{ __('user.created-on') }} + {{ __('user.judge') }} + {{ __('forum.solved') }} + @forelse ($reports as $report) @@ -55,7 +55,10 @@ - + {{ $report->created_at->toDayDateTimeString() }} @@ -66,10 +69,14 @@ @if ($report->solved) - + {{ __('common.yes') }} @else - + {{ __('common.no') }} @endif diff --git a/resources/views/Staff/report/show.blade.php b/resources/views/Staff/report/show.blade.php index ca06a4130..3ef9484a0 100644 --- a/resources/views/Staff/report/show.blade.php +++ b/resources/views/Staff/report/show.blade.php @@ -5,7 +5,8 @@ @endsection @section('meta') - @endsection + +@endsection @section('breadcrumbs') @@ -18,9 +19,7 @@ {{ __('staff.reports-log') }} - - {{ __('common.report') }} Details - + {{ __('common.report') }} Details @endsection @section('page', 'page__poll--show') @@ -36,9 +35,12 @@ @endif + @if ($report->request) - {{ __('torrent.torrent-request') }} {{ __('request.title') }} + + {{ __('torrent.torrent-request') }} {{ __('request.title') }} + {{ $report->title }} @@ -46,6 +48,7 @@ @endif + {{ __('common.message') }} {{ $report->message }} @@ -64,6 +67,7 @@ @endif + @if ($report->solved) Verdict diff --git a/resources/views/Staff/resolution/create.blade.php b/resources/views/Staff/resolution/create.blade.php index 8cf7fe594..439cf9817 100644 --- a/resources/views/Staff/resolution/create.blade.php +++ b/resources/views/Staff/resolution/create.blade.php @@ -22,20 +22,10 @@ Add A Torrent Resolution - + @csrf - + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @forelse ($resolutions as $resolution) - - {{ $resolution->position }} - - - {{ $resolution->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $resolution->position }} + + + {{ $resolution->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No resolution - - @endforelse + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No resolution + + @endforelse diff --git a/resources/views/Staff/rss/create.blade.php b/resources/views/Staff/rss/create.blade.php index 8aefa797e..83643ba60 100644 --- a/resources/views/Staff/rss/create.blade.php +++ b/resources/views/Staff/rss/create.blade.php @@ -26,402 +26,418 @@ {{ __('rss.create-public-feed') }} - - @csrf - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf - - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + - {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) - {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) - {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + - {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + + + {{ __('common.high-speeds') }} + + + + + + + {{ __('torrent.sd-content') }} + + + + + + + {{ __('torrent.internal') }} + + + + + + + {{ __('torrent.personal-release') }} + + + + + + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + + + {{ __('torrent.alive') }} + + + + + + + {{ __('torrent.dying-torrent') }} + + + + + + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - - - {{ __('torrent.freeleech') }} - - - - - - - {{ __('torrent.double-upload') }} - - - - - - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - - - {{ __('torrent.stream-optimized') }} - - - - - - - {{ __('common.high-speeds') }} - - - - - - - {{ __('torrent.sd-content') }} - - - - - - - {{ __('torrent.internal') }} - - - - - - - {{ __('torrent.personal-release') }} - - - - - - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - - - {{ __('torrent.alive') }} - - - - - - - {{ __('torrent.dying-torrent') }} - - - - - - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.create') }} - - - + + + {{ __('common.create') }} + + + @endsection diff --git a/resources/views/Staff/rss/edit.blade.php b/resources/views/Staff/rss/edit.blade.php index ff7f1222c..d5611c82f 100644 --- a/resources/views/Staff/rss/edit.blade.php +++ b/resources/views/Staff/rss/edit.blade.php @@ -26,428 +26,454 @@ {{ __('rss.edit-public-feed') }} - - @csrf - @method('PATCH') - - - - {{ __('rss.feed') }} {{ __('rss.name') }} - - - - - - {{ __('rss.feed') }} {{ __('common.position') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - - - + + @csrf + @method('PATCH') - - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }} - - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }} - - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }} - - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }} - - - - - {{ __('torrent.category') }} - - @foreach ($categories as $category) + + + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + + + + + + + TMDB ID + + + + + + IMDB ID + + + + + + TVDB ID + + + + + + + MAL ID + + + + + + + {{ __('torrent.category') }} + + @foreach ($categories as $category) + + + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + + + @endforeach + + + + + + {{ __('torrent.type') }} + + @foreach ($types as $type) + + + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + + + @endforeach + + + + + + {{ __('torrent.resolution') }} + + @foreach ($resolutions as $resolution) + + + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + + + @endforeach + + + + + + {{ __('torrent.genre') }} + + @foreach ($genres as $genre) + + + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + + + @endforeach + + + + + + {{ __('torrent.discounts') }} + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }} - @endforeach - - - - - - {{ __('torrent.type') }} - - @foreach ($types as $type) object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }} - @endforeach - - - - - - {{ __('torrent.resolution') }} - - @foreach ($resolutions as $resolution) object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }} - @endforeach - - - - - - {{ __('torrent.genre') }} - - @foreach ($genres as $genre) + + + + + + {{ __('torrent.special') }} + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }} - @endforeach - - + + + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + + + + + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + + + + + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + + + + + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + + + + + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + + + + + + + + {{ __('torrent.health') }} + + + + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + + + + + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + + + + + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + + + + + - - - {{ __('torrent.discounts') }} - - - - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - - - - - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - - - - - object_torrent->featured) - > - - {{ __('torrent.featured') }} - - - - - - - - {{ __('torrent.special') }} - - - - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - - - - - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - - - - - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - - - - - object_torrent->internal) - > - - {{ __('torrent.internal') }} - - - - - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - - - - - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - - - - - - - - {{ __('torrent.health') }} - - - - object_torrent->alive) - > - - {{ __('torrent.alive') }} - - - - - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - - - - - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - - - - - - - - - {{ __('common.edit') }} - - - + + + {{ __('common.edit') }} + + + @endsection diff --git a/resources/views/Staff/rss/index.blade.php b/resources/views/Staff/rss/index.blade.php index 28fd788e5..64b958da1 100644 --- a/resources/views/Staff/rss/index.blade.php +++ b/resources/views/Staff/rss/index.blade.php @@ -18,10 +18,7 @@ {{ __('rss.public') }} {{ __('rss.rss-feed') }} - + {{ __('common.add') }} @@ -29,128 +26,158 @@ - - {{ __('common.name') }} - {{ __('common.position') }} - {{ __('common.categories') }} - {{ __('common.types') }} - {{ __('common.resolutions') }} - {{ __('common.genres') }} - {{ __('torrent.discounts') }} - {{ __('common.special') }} - {{ __('torrent.health') }} - {{ __('common.action') }} - + + {{ __('common.name') }} + {{ __('common.position') }} + {{ __('common.categories') }} + {{ __('common.types') }} + {{ __('common.resolutions') }} + {{ __('common.genres') }} + {{ __('torrent.discounts') }} + {{ __('common.special') }} + {{ __('torrent.health') }} + {{ __('common.action') }} + - @foreach($public_rss as $rss) - - - - {{ $rss->name }} - - - {{ $rss->position }} - - @if ($rss->object_torrent?->categories) - - @else - - @endif - - - @if ($rss->object_torrent?->types) - - @else - - @endif - - - @if ($rss->object_torrent?->resolutions) - - @else - - @endif - - - @if ($rss->object_torrent?->genres) - - @else - - @endif - - - @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) - - @else - - @endif - - - @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) - - @else - - @endif - - - @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) - - @else - - @endif - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $rss->name }} + + + {{ $rss->position }} + + @if ($rss->object_torrent?->categories) + + @else + + @endif + + + @if ($rss->object_torrent?->types) + + @else + + @endif + + + @if ($rss->object_torrent?->resolutions) + + @else + + @endif + + + @if ($rss->object_torrent?->genres) + + @else + + @endif + + + @if ($rss->object_torrent?->freeleech || $rss->object_torrent?->doubleupload || $rss->object_torrent?->featured) + + @else + + @endif + + + @if ($rss->object_torrent?->stream || $rss->object_torrent?->highspeed || $rss->object_torrent?->sd || $rss->object_torrent?->internal || $rss->object_torrent->personalrelease || $rss->object_torrent?->bookmark) + + @else + + @endif + + + @if ($rss->object_torrent->alive || $rss->object_torrent->dying || $rss->object_torrent->dead) + + @else + + @endif + + + + + + {{ __('common.view') }} + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/rsskey/index.blade.php b/resources/views/Staff/rsskey/index.blade.php index 94e5e2c2c..4c3aa9128 100644 --- a/resources/views/Staff/rsskey/index.blade.php +++ b/resources/views/Staff/rsskey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('user.rsskeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/seedbox/index.blade.php b/resources/views/Staff/seedbox/index.blade.php index 5c803dffc..d19b8721e 100644 --- a/resources/views/Staff/seedbox/index.blade.php +++ b/resources/views/Staff/seedbox/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('staff.seedboxes') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -27,63 +33,70 @@ - - {{ __('common.no') }} - {{ __('common.user') }} - {{ __('common.ip') }} - {{ __('user.created-on') }} - {{ __('common.action') }} - + + {{ __('common.no') }} + {{ __('common.user') }} + {{ __('common.ip') }} + {{ __('user.created-on') }} + {{ __('common.action') }} + - @forelse ($seedboxes as $seedbox) - - {{ $loop->iteration }} - - - - {{ $seedbox->ip }} - - - {{ $seedbox->created_at->diffForHumans() }} - - - - - - - @csrf - @method('DELETE') - + {{ $loop->iteration }} + + + + {{ $seedbox->ip }} + + + {{ $seedbox->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No seedboxes - - @endforelse + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No seedboxes + + @endforelse diff --git a/resources/views/Staff/type/create.blade.php b/resources/views/Staff/type/create.blade.php index f5ffe082c..087129fb9 100644 --- a/resources/views/Staff/type/create.blade.php +++ b/resources/views/Staff/type/create.blade.php @@ -22,25 +22,15 @@ {{ __('common.add') }} - {{ trans_choice('common.a-an-art',false) }} + {{ trans_choice('common.a-an-art', false) }} {{ __('torrent.torrent') }} {{ __('common.type') }} - + @csrf - + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@ - - {{ __('common.position') }} - {{ __('common.name') }} - {{ __('common.action') }} - + + {{ __('common.position') }} + {{ __('common.name') }} + {{ __('common.action') }} + - @foreach ($types as $type) - - {{ $type->position }} - - - {{ $type->name }} - - - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + {{ $type->position }} + + + {{ $type->name }} + + + + + + - {{ __('common.delete') }} - - - - - - - @endforeach + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @endforeach diff --git a/resources/views/Staff/user/edit.blade.php b/resources/views/Staff/user/edit.blade.php index 7a5b6531d..e48a843f2 100644 --- a/resources/views/Staff/user/edit.blade.php +++ b/resources/views/Staff/user/edit.blade.php @@ -1,12 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.edit') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -52,7 +57,7 @@ required type="text" value="{{ $user->username }}" - > + /> {{ __('common.username') }} @@ -68,7 +73,7 @@ required type="text" value="{{ $user->uploaded }}" - > + /> {{ __('user.total-upload') }} (Bytes) @@ -84,7 +89,7 @@ required type="text" value="{{ $user->downloaded }}" - > + /> {{ __('user.total-download') }} (Bytes) @@ -97,18 +102,14 @@ placeholder=" " type="text" value="{{ $user->title }}" - > + /> {{ __('user.title') }} @livewire('bbcode-input', ['name' => 'about', 'label' => __('user.about-me'), 'required' => false, 'content' => $user->about]) - + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@ - + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
- - + +
- Deletion Reason + + Deletion Reason +
{{ __('common.delete') }} - + {{ __('common.cancel') }}
- {{ old('message') }} - Postpone Message + +{{ old('message') }} + + Postpone Message +
{{ __('common.moderation-postpone') }} - + {{ __('common.cancel') }}
- {{ old('message') }} - Rejection Message + +{{ old('message') }} + + Rejection Message +
{{ __('common.moderation-reject') }} - + {{ __('common.cancel') }}
- + {{ __('staff.page') }} {{ __('common.name') }} diff --git a/resources/views/Staff/page/edit.blade.php b/resources/views/Staff/page/edit.blade.php index 83efe5fce..69ba4491a 100644 --- a/resources/views/Staff/page/edit.blade.php +++ b/resources/views/Staff/page/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $page->name }}" - > + /> {{ __('common.name') }} diff --git a/resources/views/Staff/page/index.blade.php b/resources/views/Staff/page/index.blade.php index e1d6f75db..1d8c9a5a6 100644 --- a/resources/views/Staff/page/index.blade.php +++ b/resources/views/Staff/page/index.blade.php @@ -18,7 +18,10 @@ {{ __('staff.pages') }} - + {{ __('common.add') }} @@ -26,77 +29,84 @@ - - {{ __('common.title') }} - {{ __('common.date') }} - {{ __('common.actions') }} - + + {{ __('common.title') }} + {{ __('common.date') }} + {{ __('common.actions') }} + - @forelse ($pages as $page) - - - - {{ $page->name }} - - - - - {{ $page->created_at->diffForHumans() }} - - - - - - - {{ __('common.view') }} - - - - - {{ __('common.edit') }} - - - - - @csrf - @method('DELETE') - + + + {{ $page->name }} + + + + + {{ $page->created_at->diffForHumans() }} + + + + + + - {{ __('common.delete') }} - - - - - - - @empty - - No pages - - @endforelse + {{ __('common.view') }} + + + + + {{ __('common.edit') }} + + + + + @csrf + @method('DELETE') + + {{ __('common.delete') }} + + + + + + + @empty + + No pages + + @endforelse diff --git a/resources/views/Staff/partials/user-info-search.blade.php b/resources/views/Staff/partials/user-info-search.blade.php index 8c7f96e3f..2ddfbf447 100644 --- a/resources/views/Staff/partials/user-info-search.blade.php +++ b/resources/views/Staff/partials/user-info-search.blade.php @@ -5,7 +5,8 @@ > {{ __('common.users') }} - + + Peers - \ No newline at end of file + diff --git a/resources/views/Staff/passkey/index.blade.php b/resources/views/Staff/passkey/index.blade.php index be730fb8e..803f57e32 100644 --- a/resources/views/Staff/passkey/index.blade.php +++ b/resources/views/Staff/passkey/index.blade.php @@ -1,11 +1,17 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('staff.passkeys') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/peer/index.blade.php b/resources/views/Staff/peer/index.blade.php index 697803df1..b6fbbbab4 100644 --- a/resources/views/Staff/peer/index.blade.php +++ b/resources/views/Staff/peer/index.blade.php @@ -10,9 +10,7 @@ {{ __('staff.staff-dashboard') }} - - Peers - + Peers @endsection @section('nav-tabs') diff --git a/resources/views/Staff/poll/create.blade.php b/resources/views/Staff/poll/create.blade.php index 798c917dc..e2b37a3b0 100644 --- a/resources/views/Staff/poll/create.blade.php +++ b/resources/views/Staff/poll/create.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ old('title') }}" - > + /> {{ __('common.title') }} @@ -56,8 +56,11 @@ required type="text" placeholder=" " + /> + - {{ __('poll.option') }}
+ /> {{ __('poll.title') }}
- + + - {{ __('poll.option') }}
- + {{ __('poll.add-option') }} - + {{ __('poll.delete-option') }}
- {{ $option->name }} ({{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 2) }}%) + {{ $option->name }} + ({{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 2) }}%) - {{ \number_format($total === 0 ? 0 : 100 * $option->votes / $total, 1) }}% - {{ $option->votes }} {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }} + {{ \number_format($total === 0 ? 0 : (100 * $option->votes) / $total, 1) }}% + - {{ $option->votes }} + {{ $option->votes === 1 ? __('poll.vote') : __('poll.votes') }}
- + {{ __('common.name') }} @@ -49,7 +37,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/region/edit.blade.php b/resources/views/Staff/region/edit.blade.php index fb1460a8e..807a95fb0 100644 --- a/resources/views/Staff/region/edit.blade.php +++ b/resources/views/Staff/region/edit.blade.php @@ -7,9 +7,7 @@
- An existing torrent on site may already use this region. Would you like to change it? -
- - - @foreach ($regions as $region) - - {{ $region->name }} - - @endforeach - - - Replacement region - -
- - {{ __('common.delete') }} - - - {{ __('common.cancel') }} - -
+ An existing torrent on site may already use this + region. Would you like to change it? +
+ + + @foreach ($regions as $region) + + {{ $region->name }} + + @endforeach + + + Replacement region + +
+ + {{ __('common.delete') }} + + + {{ __('common.cancel') }} + +
- + {{ __('common.name') }} @@ -49,7 +39,7 @@ pattern="[0-9]*" type="text" required - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/edit.blade.php b/resources/views/Staff/resolution/edit.blade.php index 8bc06f330..429828760 100644 --- a/resources/views/Staff/resolution/edit.blade.php +++ b/resources/views/Staff/resolution/edit.blade.php @@ -42,7 +42,7 @@ required type="text" value="{{ $resolution->name }}" - > + /> {{ __('common.name') }} @@ -57,7 +57,7 @@ required type="text" value="{{ $resolution->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/resolution/index.blade.php b/resources/views/Staff/resolution/index.blade.php index 10ebd632c..d0de19268 100644 --- a/resources/views/Staff/resolution/index.blade.php +++ b/resources/views/Staff/resolution/index.blade.php @@ -29,65 +29,71 @@
- - - {{ __('rss.feed') }} {{ __('rss.name') }} - -
- - - {{ __('rss.feed') }} {{ __('common.position') }} - -
- - - {{ __('torrent.torrent') }} {{ __('torrent.name') }} - -
- - - {{ __('torrent.torrent') }} {{ __('torrent.description') }} - -
- - - {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} - -
- - - TMDB ID + + + {{ __('rss.feed') }} {{ __('rss.name') }}
- - IMDB ID + /> + + {{ __('rss.feed') }} {{ __('common.position') }}
- - TVDB ID + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }}
- - - MAL ID + class="form__text" + name="description" + placeholder=" " + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }}
+ + + {{ __('torrent.torrent') }} {{ __('torrent.uploader') }} + +
+ + + TMDB ID + +
+ + + IMDB ID + +
+ + + TVDB ID + +
+ + + + MAL ID + +
+ + + {{ $category->name }} + +
+ + + {{ $type->name }} + +
+ + + {{ $resolution->name }} + +
+ + + {{ $genre->name }} + +
- {{ $category->name }} + value="1" + /> + + {{ __('torrent.freeleech') }}
- {{ $type->name }} + value="1" + /> + + {{ __('torrent.double-upload') }}
- {{ $resolution->name }} + value="1" + /> + + {{ __('torrent.featured') }}
- {{ $genre->name }} + value="1" + /> + + {{ __('torrent.stream-optimized') }}
+ + + + {{ __('common.high-speeds') }} + +
+ + + + {{ __('torrent.sd-content') }} + +
+ + + + {{ __('torrent.internal') }} + +
+ + + + {{ __('torrent.personal-release') }} + +
+ + + + {{ __('torrent.bookmark') }} + +
+ + + + {{ __('torrent.alive') }} + +
+ + + + {{ __('torrent.dying-torrent') }} + +
+ + + + {{ __('torrent.dead-torrent') }} + +
- - - - {{ __('torrent.freeleech') }} - -
- - - - {{ __('torrent.double-upload') }} - -
- - - - {{ __('torrent.featured') }} - -
- - - - {{ __('torrent.stream-optimized') }} - -
- - - - {{ __('common.high-speeds') }} - -
- - - - {{ __('torrent.sd-content') }} - -
- - - - {{ __('torrent.internal') }} - -
- - - - {{ __('torrent.personal-release') }} - -
- - - - {{ __('torrent.bookmark') }} - -
- - - - {{ __('torrent.alive') }} - -
- - - - {{ __('torrent.dying-torrent') }} - -
- - - - {{ __('torrent.dead-torrent') }} - -
- - {{ __('common.create') }} - -
+ + {{ __('common.create') }} + +
- - TMDB ID + name="name" + required + value="{{ $rss->name }}" + /> + + {{ __('rss.feed') }} {{ __('rss.name') }}
- - IMDB ID + value="{{ $rss->position }}" + /> + + {{ __('rss.feed') }} {{ __('common.position') }}
- - TVDB ID + value="{{ $rss->object_torrent->search }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.name') }}
- - - MAL ID + class="form__text" + name="description" + placeholder=" " + value="{{ $rss->object_torrent->description }}" + /> + + {{ __('torrent.torrent') }} {{ __('torrent.description') }}
+ + object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) + /> + {{ $category->name }} + +
+ + object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) + /> + {{ $type->name }} + +
+ + object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) + /> + {{ $resolution->name }} + +
+ + object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) + /> + {{ $genre->name }} + +
object_torrent->categories) && in_array((string)$category->id, $rss->object_torrent->categories, true)) - > - {{ $category->name }} + value="1" + @checked($rss->object_torrent->freeleech) + /> + + {{ __('torrent.freeleech') }}
object_torrent->types) && in_array((string)$type->id, $rss->object_torrent->types, true)) - > - {{ $type->name }} + value="1" + @checked($rss->object_torrent->doubleupload) + /> + + {{ __('torrent.double-upload') }}
object_torrent->resolutions) && in_array((string)$resolution->id, $rss->object_torrent->resolutions, true)) - > - {{ $resolution->name }} + value="1" + @checked($rss->object_torrent->featured) + /> + + {{ __('torrent.featured') }}
object_torrent->genres) && in_array((string)$genre->id, $rss->object_torrent->genres, true)) - > - {{ $genre->name }} + value="1" + @checked($rss->object_torrent->stream) + /> + + {{ __('torrent.stream-optimized') }}
+ + object_torrent->highspeed) + /> + + {{ __('common.high-speeds') }} + +
+ + object_torrent->sd) + /> + + {{ __('torrent.sd-content') }} + +
+ + object_torrent->internal) + /> + + {{ __('torrent.internal') }} + +
+ + object_torrent->personalrelease) + /> + + {{ __('torrent.personal-release') }} + +
+ + object_torrent->bookmark) + /> + + {{ __('torrent.bookmark') }} + +
+ + object_torrent->alive) + /> + + {{ __('torrent.alive') }} + +
+ + object_torrent->dying) + /> + + {{ __('torrent.dying-torrent') }} + +
+ + object_torrent->dead) + /> + + {{ __('torrent.dead-torrent') }} + +
- - object_torrent->freeleech) - > - - {{ __('torrent.freeleech') }} - -
- - object_torrent->doubleupload) - > - - {{ __('torrent.double-upload') }} - -
- - object_torrent->featured) - > - - {{ __('torrent.featured') }} - -
- - object_torrent->stream) - > - - {{ __('torrent.stream-optimized') }} - -
- - object_torrent->highspeed) - > - - {{ __('common.high-speeds') }} - -
- - object_torrent->sd) - > - - {{ __('torrent.sd-content') }} - -
- - object_torrent->internal) - > - - {{ __('torrent.internal') }} - -
- - object_torrent->personalrelease) - > - - {{ __('torrent.personal-release') }} - -
- - object_torrent->bookmark) - > - - {{ __('torrent.bookmark') }} - -
- - object_torrent->alive) - > - - {{ __('torrent.alive') }} - -
- - object_torrent->dying) - > - - {{ __('torrent.dying-torrent') }} - -
- - object_torrent->dead) - > - - {{ __('torrent.dead-torrent') }} - -
- - {{ __('common.edit') }} - -
+ + {{ __('common.edit') }} + +
- + {{ __('common.name') }} @@ -54,7 +44,7 @@ pattern="[0-9]*" required type="text" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/edit.blade.php b/resources/views/Staff/type/edit.blade.php index 0aa54ebc8..a73f3b9f1 100644 --- a/resources/views/Staff/type/edit.blade.php +++ b/resources/views/Staff/type/edit.blade.php @@ -45,7 +45,7 @@ required type="text" value="{{ $type->name }}" - > + /> {{ __('common.name') }} @@ -60,7 +60,7 @@ required type="text" value="{{ $type->position }}" - > + /> {{ __('common.position') }} diff --git a/resources/views/Staff/type/index.blade.php b/resources/views/Staff/type/index.blade.php index 0b94099a8..04a938137 100644 --- a/resources/views/Staff/type/index.blade.php +++ b/resources/views/Staff/type/index.blade.php @@ -29,61 +29,65 @@
- + {{ $user->group->name }} (Default) @@ -123,16 +124,13 @@
- + @if ($user->internal != null) {{ $user->internal->name }} (Default) @endif + None @foreach ($internals as $internal) @@ -155,7 +153,7 @@ required type="text" value="{{ $user->seedbonus }}" - > + /> {{ __('bon.bon') }} @@ -171,7 +169,7 @@ required type="text" value="{{ $user->fl_tokens }}" - > + /> {{ __('torrent.freeleech-token') }} @@ -187,7 +185,7 @@ required type="text" value="{{ $user->invites }}" - > + /> {{ __('user.invites') }} @@ -214,7 +212,7 @@ @csrf @method('PATCH') - + can_upload) - > + /> {{ __('user.can-upload') }}? - + can_download) - > + /> {{ __('user.can-download') }}? - + can_comment) - > + /> {{ __('user.can-comment') }}? - + can_invite) - > + /> {{ __('user.can-invite') }}? - + can_request) - > + /> {{ __('user.can-request') }}? - + can_chat) - > + /> {{ __('user.can-chat') }}? diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') - {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - - {{ config('other.title') }} + + {{ __('common.user') }} {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('nav-tabs') diff --git a/resources/views/Staff/warning/index.blade.php b/resources/views/Staff/warning/index.blade.php index f18bce5b7..b9b72a7ba 100644 --- a/resources/views/Staff/warning/index.blade.php +++ b/resources/views/Staff/warning/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') diff --git a/resources/views/Staff/watchlist/index.blade.php b/resources/views/Staff/watchlist/index.blade.php index 9d4629634..c91c397b5 100644 --- a/resources/views/Staff/watchlist/index.blade.php +++ b/resources/views/Staff/watchlist/index.blade.php @@ -1,11 +1,14 @@ @extends('layout.default') @section('title') - Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - {{ config('other.title') }} + + Watchlist {{ __('common.search') }} - {{ __('staff.staff-dashboard') }} - + {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -14,9 +17,7 @@ {{ __('staff.staff-dashboard') }} - - Watchlist - + Watchlist @endsection @section('page', 'page__watchlist--index') diff --git a/resources/views/article/index.blade.php b/resources/views/article/index.blade.php index 67a51fc1d..e8b6b7ab1 100644 --- a/resources/views/article/index.blade.php +++ b/resources/views/article/index.blade.php @@ -5,7 +5,7 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -37,17 +37,21 @@ + /> @joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150)) - + {{ __('articles.read-more') }} @endforeach + {{ $articles->links('partials.pagination') }} @endsection diff --git a/resources/views/article/show.blade.php b/resources/views/article/show.blade.php index 130cb3dce..65f21eb24 100644 --- a/resources/views/article/show.blade.php +++ b/resources/views/article/show.blade.php @@ -1,11 +1,13 @@ @extends('layout.default') @section('title') - {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + + {{ $article->title }} - {{ __('articles.articles') }} - {{ config('other.title') }} + @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -22,22 +24,22 @@ @section('page', 'page__articles--show') @section('main') - - - {{ $article->title }} - - - {{ $article->created_at->toDayDateTimeString() }} - + + + {{ $article->title }} + + + {{ $article->created_at->toDayDateTimeString() }} + + + + + @joypixels($article->getContentHtml()) - - - @joypixels($article->getContentHtml()) - - - + + @endsection diff --git a/resources/views/auth/application/create.blade.php b/resources/views/auth/application/create.blade.php index d9c77d0b8..27a753793 100644 --- a/resources/views/auth/application/create.blade.php +++ b/resources/views/auth/application/create.blade.php @@ -1,167 +1,175 @@ - - - Application - {{ config('other.title') }} - - - - - - - - - - - - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if(config('other.application_signups')) - - {{ config('other.title') }} {{ __('auth.appl-intro') }} - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - - - - Proofs - - - - + + + Application - {{ config('other.title') }} + + + + + + + + + + + + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (config('other.application_signups')) + + + {{ config('other.title') }} {{ __('auth.appl-intro') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + + - - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + /> - - - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + - - - - - {{ __('common.add') }} - - - {{ __('common.delete') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.apply') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @else - - {{ __('auth.appl-closed') }} - {{ __('auth.check-later') }} - - @endif - - - - - -@livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) - + Proofs + + + + + + {{ __('auth.proof-image') }} + + + + + + {{ __('auth.proof-profile') }} + + + + + + + + {{ __('common.add') }} + + + {{ __('common.delete') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.apply') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + @else + + {{ __('auth.appl-closed') }} + {{ __('auth.check-later') }} + + @endif + + + + + + @livewireScripts(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()]) + diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index f01ab4224..616eb8a97 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -5,7 +5,10 @@ @endsection @section('meta') - + @endsection @section('breadcrumbs') @@ -18,11 +21,7 @@ {{ __('auth.password-confirmation') }} - + @csrf {{ __('auth.password-confirm-desc') }} @@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ - - - {{ __('auth.login') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.login') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - -{{ config('unit3d.powered-by') }} - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + {{ config('unit3d.powered-by') }} + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.username') }} + + + + + + {{ __('auth.password') }} + + + + + + + {{ __('auth.remember-me') }} + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + @endif - - @endif - - - {{ __('auth.username') }} - - - - - - {{ __('auth.password') }} - - - - - - - {{ __('auth.remember-me') }} - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + + + + + diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 279722efb..e705db36a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,79 +1,92 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} + + + + {{ __('auth.email') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors') || Session::has('status')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @if (Session::has('status')) + {{ Session::get('status') }} + @endif + @endif - - @endif - - - {{ __('auth.email') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors') || Session::has('status')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - @if (Session::has('status')) - {{ Session::get('status') }} - @endif - - @endif - - - - + + + + diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 9c91a8235..94a32fb0a 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,105 +1,115 @@ - - - {{ __('auth.lost-password') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.lost-password') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - - {{ \config('other.title') }} - - @if (Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @endif - - - {{ __('auth.email') }} - - - - - - {{ __('auth.new-password') }} - - - - - - {{ __('auth.confirm-new-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.password-reset') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + + {{ \config('other.title') }} + + @if (Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (Session::has('warning')) + Warning: {{ Session::get('warning') }} + @endif + + @if (Session::has('info')) + Info: {{ Session::get('info') }} + @endif + + @if (Session::has('success')) + Success: {{ Session::get('success') }} + @endif + + @endif + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.new-password') }} + + + + + + {{ __('auth.confirm-new-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + + {{ __('auth.password-reset') }} + + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index a3a8908d6..4428f8ed8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,123 +1,137 @@ - - - {{ __('auth.signup') }} - {{ config('other.title') }} - @section('meta') + + + {{ __('auth.signup') }} - {{ config('other.title') }} + @section('meta') - - - - - - - - - - @show - - - - - - - - - @csrf - - - {{ \config('other.title') }} - - @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) - - @if (config('other.invite-only') && ! request()->has('code')) - - {{ __('auth.need-invite') }} - + /> + + + + + + + + + + @show + + + + + + + + + @csrf + + + {{ \config('other.title') }} + + @if ((config('other.invite-only') && ! request()->has('code')) || Session::has('warning') || Session::has('success') || Session::has('info')) + + @if (config('other.invite-only') && ! request()->has('code')) + + {{ __('auth.need-invite') }} + + @endif + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif + + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + @else + + + {{ __('auth.username') }} + + + + + + {{ __('auth.email') }} + + + + + + {{ __('auth.password') }} + + + + + + {{ __('auth.confirm-password') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.signup') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif @endif - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - @else - - - {{ __('auth.username') }} - - - - - - {{ __('auth.email') }} - - - - - - {{ __('auth.password') }} - - - - - - {{ __('auth.confirm-password') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif - {{ __('auth.signup') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - @endif - - - - + + + + diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php index c3667da03..5ed938ce6 100644 --- a/resources/views/auth/two-factor-challenge.blade.php +++ b/resources/views/auth/two-factor-challenge.blade.php @@ -1,104 +1,120 @@ - - - {{ __('Two Factor Authentication') }} - {{ config('other.title') }} - - - - - - - - - - {{ __('auth.totp-code') }} - - - {{ __('auth.recovery-code') }} - - - - @csrf - - - {{ \config('other.title') }} - - - - {{ __('auth.enter-totp') }} - - - {{ __('auth.enter-recovery') }} - - @if (Session::has('warning')) - Warning: {{ Session::get('warning') }} - @endif - @if (Session::has('info')) - Info: {{ Session::get('info') }} - @endif - @if (Session::has('success')) - Success: {{ Session::get('success') }} - @endif - - - - {{ __('auth.code') }} - - + + {{ __('Two Factor Authentication') }} - {{ config('other.title') }} + + + + + + + + + + {{ __('auth.totp-code') }} + + + {{ __('auth.recovery-code') }} + + + - - - - {{ __('Use a recovery code') }} - - - - @if (config('captcha.enabled')) - @hiddencaptcha - @endif + @csrf + + + {{ \config('other.title') }} + + + + {{ __('auth.enter-totp') }} + + + {{ __('auth.enter-recovery') }} + + @if (Session::has('warning')) + + Warning: {{ Session::get('warning') }} + + @endif - {{ __('auth.login') }} - @if (Session::has('errors')) - - @foreach ($errors->all() as $error) - {{ $error }} - @endforeach - - @endif - - - - - + @if (Session::has('info')) + + Info: {{ Session::get('info') }} + + @endif + + @if (Session::has('success')) + + Success: {{ Session::get('success') }} + + @endif + + + + {{ __('auth.code') }} + + + + + + {{ __('Use a recovery code') }} + + + + @if (config('captcha.enabled')) + @hiddencaptcha + @endif + + {{ __('auth.login') }} + @if (Session::has('errors')) + + @foreach ($errors->all() as $error) + {{ $error }} + @endforeach + + @endif + + + + +
- + can_upload) - > + /> {{ __('user.can-upload') }}?
- + can_download) - > + /> {{ __('user.can-download') }}?
- + can_comment) - > + /> {{ __('user.can-comment') }}?
- + can_invite) - > + /> {{ __('user.can-invite') }}?
- + can_request) - > + /> {{ __('user.can-request') }}?
- + can_chat) - > + /> {{ __('user.can-chat') }}?
diff --git a/resources/views/Staff/user/index.blade.php b/resources/views/Staff/user/index.blade.php index c0cc32dc1..26c1295b6 100644 --- a/resources/views/Staff/user/index.blade.php +++ b/resources/views/Staff/user/index.blade.php @@ -1,12 +1,14 @@ @extends('layout.default') @section('title') -
@joypixels(preg_replace('#\[[^\]]+\]#', '', Str::limit($article->content, 500, '...'), 150))
- - {{ __('auth.are-you') }} - - - - {{ __('auth.newbie') }} - - - {{ __('auth.veteran') }} - - -
- - {{ __('auth.email') }} - - -
- - {{ __('auth.appl-reason',['sitename' => config('other.title')]) }} - - -
+ + {{ __('auth.are-you') }} + + + + {{ __('auth.newbie') }} + + + {{ __('auth.veteran') }} + + +
- - {{ __('auth.proof-image') }} + + {{ __('auth.email') }} + />
- - {{ __('auth.proof-profile') }} + + + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - + -
+ + {{ __('auth.appl-reason', ['sitename' => config('other.title')]) }} - +
- - {{ __('common.add') }} - - - {{ __('common.delete') }} - -
+ + {{ __('auth.proof-image') }} + + +
+ + {{ __('auth.proof-profile') }} + + +
+ + {{ __('common.add') }} + + + {{ __('common.delete') }} + +
{{ __('auth.password-confirm-desc') }}
@@ -32,7 +31,7 @@ id="password" name="password" required - > + /> {{ __('auth.password') }} diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c5aa43d7d..13fa4260a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,118 +1,129 @@ -
+ + {{ __('auth.username') }} + + +
+ + {{ __('auth.password') }} + + +
+ + + {{ __('auth.remember-me') }} + +
- - {{ __('auth.username') }} - - -
- - {{ __('auth.password') }} - - -
- - - {{ __('auth.remember-me') }} - -
+ + {{ __('auth.email') }} + + +
- - {{ __('auth.new-password') }} - - -
- - {{ __('auth.confirm-new-password') }} - - -
+ + {{ __('auth.new-password') }} + + +
+ + {{ __('auth.confirm-new-password') }} + + +
+ + {{ __('auth.confirm-password') }} + + +
- - {{ __('auth.confirm-password') }} - - -
- - {{ __('auth.code') }} - - + +
- - {{ __('Use a recovery code') }} - - -
+ + {{ __('auth.code') }} + + +
+ + {{ __('Use a recovery code') }} + + +