From e907e57ab8fec075d52c5f5a5ffabc6480966010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Fri, 2 Feb 2018 18:30:54 +0900 Subject: [PATCH] All frontend related files are gone, since we have a separate frontend engine now. --- resources/assets/js/app.js | 18 -- .../assets/js/components/Category/All.vue | 131 ------------- .../js/components/Category/Downloads.vue | 129 ------------- .../assets/js/components/Category/Views.vue | 129 ------------- .../assets/js/components/Entry/Changelog.vue | 44 ----- .../js/components/Entry/Description.vue | 45 ----- .../js/components/Entry/Modals/Download.vue | 73 -------- .../js/components/Entry/Screenshots.vue | 27 --- .../assets/js/components/Entry/Title.vue | 176 ------------------ .../assets/js/components/Global/Menu.vue | 67 ------- .../assets/js/components/Global/Search.vue | 23 --- resources/assets/js/components/Home/Hot.vue | 49 ----- resources/assets/js/components/Home/New.vue | 50 ----- resources/assets/js/components/Upload/DnD.vue | 23 --- resources/lang/en/entry.php | 19 -- resources/lang/en/homepage.php | 7 - resources/lang/en/navbar.php | 8 - resources/lang/en/upload.php | 5 - resources/lang/ja/auth.php | 19 -- resources/lang/ja/entry.php | 19 -- resources/lang/ja/homepage.php | 7 - resources/lang/ja/navbar.php | 8 - resources/lang/ja/pagination.php | 19 -- resources/lang/ja/passwords.php | 22 --- resources/lang/ja/upload.php | 5 - resources/lang/ja/validation.php | 121 ------------ resources/views/category.blade.php | 11 -- resources/views/entry.blade.php | 14 -- resources/views/home.blade.php | 24 --- resources/views/layouts/app.blade.php | 28 --- resources/views/profile.blade.php | 23 --- resources/views/search.blade.php | 23 --- resources/views/upload.blade.php | 22 --- 33 files changed, 1388 deletions(-) delete mode 100644 resources/assets/js/components/Category/All.vue delete mode 100644 resources/assets/js/components/Category/Downloads.vue delete mode 100644 resources/assets/js/components/Category/Views.vue delete mode 100644 resources/assets/js/components/Entry/Changelog.vue delete mode 100644 resources/assets/js/components/Entry/Description.vue delete mode 100644 resources/assets/js/components/Entry/Modals/Download.vue delete mode 100644 resources/assets/js/components/Entry/Screenshots.vue delete mode 100644 resources/assets/js/components/Entry/Title.vue delete mode 100644 resources/assets/js/components/Global/Menu.vue delete mode 100644 resources/assets/js/components/Global/Search.vue delete mode 100644 resources/assets/js/components/Home/Hot.vue delete mode 100644 resources/assets/js/components/Home/New.vue delete mode 100644 resources/assets/js/components/Upload/DnD.vue delete mode 100644 resources/lang/en/entry.php delete mode 100644 resources/lang/en/homepage.php delete mode 100644 resources/lang/en/navbar.php delete mode 100644 resources/lang/en/upload.php delete mode 100644 resources/lang/ja/auth.php delete mode 100644 resources/lang/ja/entry.php delete mode 100644 resources/lang/ja/homepage.php delete mode 100644 resources/lang/ja/navbar.php delete mode 100644 resources/lang/ja/pagination.php delete mode 100644 resources/lang/ja/passwords.php delete mode 100644 resources/lang/ja/upload.php delete mode 100644 resources/lang/ja/validation.php delete mode 100644 resources/views/category.blade.php delete mode 100644 resources/views/entry.blade.php delete mode 100644 resources/views/home.blade.php delete mode 100644 resources/views/layouts/app.blade.php delete mode 100644 resources/views/profile.blade.php delete mode 100644 resources/views/search.blade.php delete mode 100644 resources/views/upload.blade.php diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index 6b6f54f..fa0581a 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -17,24 +17,6 @@ window.Vue = require('vue'); // Vue.component('example', require('./components/Example.vue')); -// Global. -Vue.component('global-menu', require('./components/Global/Menu.vue')); - -// Homepage. -Vue.component('new-items', require('./components/Home/New.vue')); -Vue.component('hot-items', require('./components/Home/Hot.vue')); - -// Entry page. -Vue.component('entry-title', require('./components/Entry/Title.vue')); -Vue.component('entry-screenshots', require('./components/Entry/Screenshots.vue')); -Vue.component('entry-description', require('./components/Entry/Description.vue')); -Vue.component('entry-changelog', require('./components/Entry/Changelog.vue')); - -// Category page. -Vue.component('category-entry', require('./components/Category/All.vue')); -Vue.component('category-entry-downloads', require('./components/Category/Downloads.vue')); -Vue.component('category-entry-views', require('./components/Category/Views.vue')); - new Vue({ el: '#app' }); diff --git a/resources/assets/js/components/Category/All.vue b/resources/assets/js/components/Category/All.vue deleted file mode 100644 index 9b78c44..0000000 --- a/resources/assets/js/components/Category/All.vue +++ /dev/null @@ -1,131 +0,0 @@ - - - diff --git a/resources/assets/js/components/Category/Downloads.vue b/resources/assets/js/components/Category/Downloads.vue deleted file mode 100644 index 5c851b9..0000000 --- a/resources/assets/js/components/Category/Downloads.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - diff --git a/resources/assets/js/components/Category/Views.vue b/resources/assets/js/components/Category/Views.vue deleted file mode 100644 index 96b447b..0000000 --- a/resources/assets/js/components/Category/Views.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - diff --git a/resources/assets/js/components/Entry/Changelog.vue b/resources/assets/js/components/Entry/Changelog.vue deleted file mode 100644 index 989aa2d..0000000 --- a/resources/assets/js/components/Entry/Changelog.vue +++ /dev/null @@ -1,44 +0,0 @@ - - - - - \ No newline at end of file diff --git a/resources/assets/js/components/Entry/Description.vue b/resources/assets/js/components/Entry/Description.vue deleted file mode 100644 index 9bea14e..0000000 --- a/resources/assets/js/components/Entry/Description.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - - - \ No newline at end of file diff --git a/resources/assets/js/components/Entry/Modals/Download.vue b/resources/assets/js/components/Entry/Modals/Download.vue deleted file mode 100644 index b7e4757..0000000 --- a/resources/assets/js/components/Entry/Modals/Download.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - - \ No newline at end of file diff --git a/resources/assets/js/components/Entry/Screenshots.vue b/resources/assets/js/components/Entry/Screenshots.vue deleted file mode 100644 index caa7654..0000000 --- a/resources/assets/js/components/Entry/Screenshots.vue +++ /dev/null @@ -1,27 +0,0 @@ - - - diff --git a/resources/assets/js/components/Entry/Title.vue b/resources/assets/js/components/Entry/Title.vue deleted file mode 100644 index bd7ce57..0000000 --- a/resources/assets/js/components/Entry/Title.vue +++ /dev/null @@ -1,176 +0,0 @@ - - - - - \ No newline at end of file diff --git a/resources/assets/js/components/Global/Menu.vue b/resources/assets/js/components/Global/Menu.vue deleted file mode 100644 index 62ebee6..0000000 --- a/resources/assets/js/components/Global/Menu.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/resources/assets/js/components/Global/Search.vue b/resources/assets/js/components/Global/Search.vue deleted file mode 100644 index 601e61c..0000000 --- a/resources/assets/js/components/Global/Search.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - diff --git a/resources/assets/js/components/Home/Hot.vue b/resources/assets/js/components/Home/Hot.vue deleted file mode 100644 index 298c6e9..0000000 --- a/resources/assets/js/components/Home/Hot.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - - - \ No newline at end of file diff --git a/resources/assets/js/components/Home/New.vue b/resources/assets/js/components/Home/New.vue deleted file mode 100644 index c5c8b76..0000000 --- a/resources/assets/js/components/Home/New.vue +++ /dev/null @@ -1,50 +0,0 @@ - - - - - \ No newline at end of file diff --git a/resources/assets/js/components/Upload/DnD.vue b/resources/assets/js/components/Upload/DnD.vue deleted file mode 100644 index 601e61c..0000000 --- a/resources/assets/js/components/Upload/DnD.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - diff --git a/resources/lang/en/entry.php b/resources/lang/en/entry.php deleted file mode 100644 index bb89c2c..0000000 --- a/resources/lang/en/entry.php +++ /dev/null @@ -1,19 +0,0 @@ - ":name by :user", - 'screenshots' => "Screenshots", - 'download' => "Download", - 'update' => "Update", - 'remove' => "Remove", - 'approve' => "Approve", - 'disaprove' => "Disapprove", - 'report' => "Report", - 'views' => "Views: :count", - 'downloads' => "Downloads: :count", - 'submitted' => "Submitted :datetime", - 'updated' => "Updated :datetime", - 'filesize' => "Filesize: :size", - 'description' => "Description", - 'changelog' => "Changes in :version", -]; \ No newline at end of file diff --git a/resources/lang/en/homepage.php b/resources/lang/en/homepage.php deleted file mode 100644 index c5b49bd..0000000 --- a/resources/lang/en/homepage.php +++ /dev/null @@ -1,7 +0,0 @@ - "Latest uploads", - 'hotitems' => "Most popular", - 'downloads' => "Downloads:", -]; \ No newline at end of file diff --git a/resources/lang/en/navbar.php b/resources/lang/en/navbar.php deleted file mode 100644 index c7f1980..0000000 --- a/resources/lang/en/navbar.php +++ /dev/null @@ -1,8 +0,0 @@ - "Login", - 'logout' => "Logout", - 'register' => "Register", - 'upload' => "Upload", -]; \ No newline at end of file diff --git a/resources/lang/en/upload.php b/resources/lang/en/upload.php deleted file mode 100644 index 91e10c9..0000000 --- a/resources/lang/en/upload.php +++ /dev/null @@ -1,5 +0,0 @@ - "Upload", -]; \ No newline at end of file diff --git a/resources/lang/ja/auth.php b/resources/lang/ja/auth.php deleted file mode 100644 index e5506df..0000000 --- a/resources/lang/ja/auth.php +++ /dev/null @@ -1,19 +0,0 @@ - 'These credentials do not match our records.', - 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', - -]; diff --git a/resources/lang/ja/entry.php b/resources/lang/ja/entry.php deleted file mode 100644 index bade298..0000000 --- a/resources/lang/ja/entry.php +++ /dev/null @@ -1,19 +0,0 @@ - ":user の :name", - 'screenshots' => "スクリーンショット", - 'download' => "ダウンロード", - 'update' => "アップデート", - 'remove' => "削除", - 'approve' => "認可", - 'disaprove' => "不認可", - 'report' => "報告", - 'views' => "現職回数: :count 回", - 'downloads' => "ダウンロード: :count 回", - 'submitted' => ":datetime に公開", - 'updated' => ":datetime に編集", - 'filesize' => "ファイルの大きさ: :size", - 'description' => "説明", - 'changelog' => ":version の改正", -]; \ No newline at end of file diff --git a/resources/lang/ja/homepage.php b/resources/lang/ja/homepage.php deleted file mode 100644 index 54ec7a5..0000000 --- a/resources/lang/ja/homepage.php +++ /dev/null @@ -1,7 +0,0 @@ - "最近のアップロード", - 'hotitems' => "一番人気なファイル", - 'downloads' => "ダウンロード", -]; \ No newline at end of file diff --git a/resources/lang/ja/navbar.php b/resources/lang/ja/navbar.php deleted file mode 100644 index ae7fcfe..0000000 --- a/resources/lang/ja/navbar.php +++ /dev/null @@ -1,8 +0,0 @@ - "ログイン", - 'logout' => "ログアウト", - 'register' => "登録", - 'upload' => "アップロード", -]; \ No newline at end of file diff --git a/resources/lang/ja/pagination.php b/resources/lang/ja/pagination.php deleted file mode 100644 index dea1254..0000000 --- a/resources/lang/ja/pagination.php +++ /dev/null @@ -1,19 +0,0 @@ - '« 戻り', - 'next' => '次 »', - -]; diff --git a/resources/lang/ja/passwords.php b/resources/lang/ja/passwords.php deleted file mode 100644 index e5544d2..0000000 --- a/resources/lang/ja/passwords.php +++ /dev/null @@ -1,22 +0,0 @@ - 'Passwords must be at least six characters and match the confirmation.', - 'reset' => 'Your password has been reset!', - 'sent' => 'We have e-mailed your password reset link!', - 'token' => 'This password reset token is invalid.', - 'user' => "We can't find a user with that e-mail address.", - -]; diff --git a/resources/lang/ja/upload.php b/resources/lang/ja/upload.php deleted file mode 100644 index 2ffaa73..0000000 --- a/resources/lang/ja/upload.php +++ /dev/null @@ -1,5 +0,0 @@ - "アップロード", -]; \ No newline at end of file diff --git a/resources/lang/ja/validation.php b/resources/lang/ja/validation.php deleted file mode 100644 index edc036d..0000000 --- a/resources/lang/ja/validation.php +++ /dev/null @@ -1,121 +0,0 @@ - 'The :attribute must be accepted.', - 'active_url' => 'The :attribute is not a valid URL.', - 'after' => 'The :attribute must be a date after :date.', - 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', - 'alpha' => 'The :attribute may only contain letters.', - 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', - 'alpha_num' => 'The :attribute may only contain letters and numbers.', - 'array' => 'The :attribute must be an array.', - 'before' => 'The :attribute must be a date before :date.', - 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', - 'between' => [ - 'numeric' => 'The :attribute must be between :min and :max.', - 'file' => 'The :attribute must be between :min and :max kilobytes.', - 'string' => 'The :attribute must be between :min and :max characters.', - 'array' => 'The :attribute must have between :min and :max items.', - ], - 'boolean' => 'The :attribute field must be true or false.', - 'confirmed' => 'The :attribute confirmation does not match.', - 'date' => 'The :attribute is not a valid date.', - 'date_format' => 'The :attribute does not match the format :format.', - 'different' => 'The :attribute and :other must be different.', - 'digits' => 'The :attribute must be :digits digits.', - 'digits_between' => 'The :attribute must be between :min and :max digits.', - 'dimensions' => 'The :attribute has invalid image dimensions.', - 'distinct' => 'The :attribute field has a duplicate value.', - 'email' => 'The :attribute must be a valid email address.', - 'exists' => 'The selected :attribute is invalid.', - 'file' => 'The :attribute must be a file.', - 'filled' => 'The :attribute field must have a value.', - 'image' => 'The :attribute must be an image.', - 'in' => 'The selected :attribute is invalid.', - 'in_array' => 'The :attribute field does not exist in :other.', - 'integer' => 'The :attribute must be an integer.', - 'ip' => 'The :attribute must be a valid IP address.', - 'ipv4' => 'The :attribute must be a valid IPv4 address.', - 'ipv6' => 'The :attribute must be a valid IPv6 address.', - 'json' => 'The :attribute must be a valid JSON string.', - 'max' => [ - 'numeric' => 'The :attribute may not be greater than :max.', - 'file' => 'The :attribute may not be greater than :max kilobytes.', - 'string' => 'The :attribute may not be greater than :max characters.', - 'array' => 'The :attribute may not have more than :max items.', - ], - 'mimes' => 'The :attribute must be a file of type: :values.', - 'mimetypes' => 'The :attribute must be a file of type: :values.', - 'min' => [ - 'numeric' => 'The :attribute must be at least :min.', - 'file' => 'The :attribute must be at least :min kilobytes.', - 'string' => 'The :attribute must be at least :min characters.', - 'array' => 'The :attribute must have at least :min items.', - ], - 'not_in' => 'The selected :attribute is invalid.', - 'numeric' => 'The :attribute must be a number.', - 'present' => 'The :attribute field must be present.', - 'regex' => 'The :attribute format is invalid.', - 'required' => 'The :attribute field is required.', - 'required_if' => 'The :attribute field is required when :other is :value.', - 'required_unless' => 'The :attribute field is required unless :other is in :values.', - 'required_with' => 'The :attribute field is required when :values is present.', - 'required_with_all' => 'The :attribute field is required when :values is present.', - 'required_without' => 'The :attribute field is required when :values is not present.', - 'required_without_all' => 'The :attribute field is required when none of :values are present.', - 'same' => 'The :attribute and :other must match.', - 'size' => [ - 'numeric' => 'The :attribute must be :size.', - 'file' => 'The :attribute must be :size kilobytes.', - 'string' => 'The :attribute must be :size characters.', - 'array' => 'The :attribute must contain :size items.', - ], - 'string' => 'The :attribute must be a string.', - 'timezone' => 'The :attribute must be a valid zone.', - 'unique' => 'The :attribute has already been taken.', - 'uploaded' => 'The :attribute failed to upload.', - 'url' => 'The :attribute format is invalid.', - - /* - |-------------------------------------------------------------------------- - | Custom Validation Language Lines - |-------------------------------------------------------------------------- - | - | Here you may specify custom validation messages for attributes using the - | convention "attribute.rule" to name the lines. This makes it quick to - | specify a specific custom language line for a given attribute rule. - | - */ - - 'custom' => [ - 'attribute-name' => [ - 'rule-name' => 'custom-message', - ], - ], - - /* - |-------------------------------------------------------------------------- - | Custom Validation Attributes - |-------------------------------------------------------------------------- - | - | The following language lines are used to swap attribute place-holders - | with something more reader friendly such as E-Mail Address instead - | of "email". This simply helps us make messages a little cleaner. - | - */ - - 'attributes' => [], - -]; diff --git a/resources/views/category.blade.php b/resources/views/category.blade.php deleted file mode 100644 index df19640..0000000 --- a/resources/views/category.blade.php +++ /dev/null @@ -1,11 +0,0 @@ -@extends('layouts.app') - -@section('content') -
-
-
-
-
-
-
-@endsection diff --git a/resources/views/entry.blade.php b/resources/views/entry.blade.php deleted file mode 100644 index b294b30..0000000 --- a/resources/views/entry.blade.php +++ /dev/null @@ -1,14 +0,0 @@ -@extends('layouts.app') - -@section('content') -
-
-
-
-
-
-
-
-
-
-@endsection diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php deleted file mode 100644 index ddab528..0000000 --- a/resources/views/home.blade.php +++ /dev/null @@ -1,24 +0,0 @@ -@extends('layouts.app') - -@section('content') -
-
-
-
-
@lang('homepage.newitems')
- -
- -
-
-
-
@lang('homepage.hotitems')
- -
- -
-
-
-
-
-@endsection diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php deleted file mode 100644 index 7d36e21..0000000 --- a/resources/views/layouts/app.blade.php +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - {{ config('app.name', 'Laravel') }} - - - - - -
-
- @yield('content') - -
- - - - - - - diff --git a/resources/views/profile.blade.php b/resources/views/profile.blade.php deleted file mode 100644 index d8437bf..0000000 --- a/resources/views/profile.blade.php +++ /dev/null @@ -1,23 +0,0 @@ -@extends('layouts.app') - -@section('content') -
-
-
-
-
Dashboard
- -
- @if (session('status')) -
- {{ session('status') }} -
- @endif - - You are logged in! -
-
-
-
-
-@endsection diff --git a/resources/views/search.blade.php b/resources/views/search.blade.php deleted file mode 100644 index d8437bf..0000000 --- a/resources/views/search.blade.php +++ /dev/null @@ -1,23 +0,0 @@ -@extends('layouts.app') - -@section('content') -
-
-
-
-
Dashboard
- -
- @if (session('status')) -
- {{ session('status') }} -
- @endif - - You are logged in! -
-
-
-
-
-@endsection diff --git a/resources/views/upload.blade.php b/resources/views/upload.blade.php deleted file mode 100644 index d203fe2..0000000 --- a/resources/views/upload.blade.php +++ /dev/null @@ -1,22 +0,0 @@ -@extends('layouts.app') - -@section('content') -
-
-
-
-
@lang('upload.upload')
- -
- @if (session('status')) -
- {{ session('status') }} -
- @endif - Uploader. -
-
-
-
-
-@endsection