finish seed box basic

This commit is contained in:
xiaomlove
2022-07-23 15:05:32 +08:00
parent b507c41bf0
commit 42bf8f0467
32 changed files with 644 additions and 249 deletions
+4 -1
View File
@@ -17,7 +17,7 @@ return [
'torrent_state' => 'Free leach',
'roles_list' => 'Roles',
'ability_list' => 'Permissions',
'seedbox_records' => 'SeedBox',
'seed_box_records' => 'SeedBox',
],
'resources' => [
'agent_allow' => [
@@ -76,5 +76,8 @@ return [
'bulk_action_attach_tag' => 'Attach tag',
'action_approval' => 'Approval',
],
'seed_box_record' => [
'toggle_status' => 'Change status',
],
]
];
+2 -1
View File
@@ -172,7 +172,7 @@ return [
'role' => [
'class' => 'Relate user class',
],
'seedbox_record' => [
'seed_box_record' => [
'label' => 'SeedBox Records',
'type' => 'Add type',
'operator' => 'Operator',
@@ -181,5 +181,6 @@ return [
'ip_begin' => 'Begin IP',
'ip_end' => 'End IP',
'ip_help' => 'Begin IP/End IP, IP(Block) Choose one',
'status' => 'Status',
],
];
+17
View File
@@ -0,0 +1,17 @@
<?php
return [
'type_text' => [
\App\Models\SeedBoxRecord::TYPE_USER => 'User',
\App\Models\SeedBoxRecord::TYPE_ADMIN => 'Administrator',
],
'status_text' => [
\App\Models\SeedBoxRecord::STATUS_UNAUDITED => 'Unaudited',
\App\Models\SeedBoxRecord::STATUS_ALLOWED => 'Allowed',
\App\Models\SeedBoxRecord::STATUS_DENIED => 'Denied',
],
'status_change_message' => [
'subject' => 'SeedBox record status changed',
'body' => 'The status of your SeedBox record with ID :id was changed by :operator from :old_status to :new_status',
],
];