Showing
41 changed files
with
106 additions
and
9 deletions
1 | from django.urls import path, include | 1 | from django.urls import path, include |
2 | from django.conf.urls import url | 2 | from django.conf.urls import url |
3 | -from api.views import VideoFileUploadView, VideoFileList | 3 | +from api.views import VideoFileUploadView, VideoFileList, FileListView |
4 | from . import views | 4 | from . import views |
5 | from rest_framework.routers import DefaultRouter | 5 | from rest_framework.routers import DefaultRouter |
6 | +from django.views.generic import TemplateView | ||
6 | 7 | ||
7 | router = DefaultRouter() | 8 | router = DefaultRouter() |
8 | router.register('db/videofile', views.VideoFileViewSet) | 9 | router.register('db/videofile', views.VideoFileViewSet) |
... | @@ -12,6 +13,8 @@ urlpatterns = [ | ... | @@ -12,6 +13,8 @@ urlpatterns = [ |
12 | # FBV | 13 | # FBV |
13 | path('api/upload', VideoFileUploadView.as_view(), name="file-upload"), | 14 | path('api/upload', VideoFileUploadView.as_view(), name="file-upload"), |
14 | path('api/upload/<int:pk>/', VideoFileList.as_view(), name="file-list"), | 15 | path('api/upload/<int:pk>/', VideoFileList.as_view(), name="file-list"), |
16 | + path('api/file', FileListView.as_view(), name="file"), | ||
17 | + url(r'^(?P<path>.*)$', TemplateView.as_view(template_name='index.html')), | ||
15 | # path('api/upload', views.VideoFile_Upload), | 18 | # path('api/upload', views.VideoFile_Upload), |
16 | path('', include(router.urls)), | 19 | path('', include(router.urls)), |
17 | ] | 20 | ] | ... | ... |
... | @@ -7,13 +7,16 @@ from rest_framework import viewsets | ... | @@ -7,13 +7,16 @@ from rest_framework import viewsets |
7 | import os | 7 | import os |
8 | from django.http.request import QueryDict | 8 | from django.http.request import QueryDict |
9 | from django.http import Http404 | 9 | from django.http import Http404 |
10 | -from django.shortcuts import get_object_or_404 | 10 | +from django.http import JsonResponse |
11 | +from django.shortcuts import get_object_or_404, render | ||
11 | from api.models import Video, VideoFile | 12 | from api.models import Video, VideoFile |
12 | from api.serializers import VideoSerializer, VideoFileSerializer | 13 | from api.serializers import VideoSerializer, VideoFileSerializer |
13 | from api import file_upload_path | 14 | from api import file_upload_path |
14 | 15 | ||
15 | # Create your views here. | 16 | # Create your views here. |
16 | 17 | ||
18 | +def index(request): | ||
19 | + return render(request, template_name='index.html') | ||
17 | 20 | ||
18 | class VideoViewSet(viewsets.ModelViewSet): | 21 | class VideoViewSet(viewsets.ModelViewSet): |
19 | queryset = Video.objects.all() | 22 | queryset = Video.objects.all() |
... | @@ -89,3 +92,49 @@ class VideoFileList(APIView): | ... | @@ -89,3 +92,49 @@ class VideoFileList(APIView): |
89 | video = self.get_object(pk) | 92 | video = self.get_object(pk) |
90 | video.delete() | 93 | video.delete() |
91 | return Response(status=status.HTTP_204_NO_CONTENT) | 94 | return Response(status=status.HTTP_204_NO_CONTENT) |
95 | + | ||
96 | + | ||
97 | +class FileListView(APIView): | ||
98 | + def get(self, request): | ||
99 | + data = { | ||
100 | + "search": '', | ||
101 | + "limit": 10, | ||
102 | + "skip": 0, | ||
103 | + "order": "time", | ||
104 | + "fileList": [ | ||
105 | + { | ||
106 | + "name": "1.png", | ||
107 | + "created": "2020-04-30", | ||
108 | + "size": 10234, | ||
109 | + "isFolder": False, | ||
110 | + "deletedDate": "", | ||
111 | + }, | ||
112 | + { | ||
113 | + "name": "2.png", | ||
114 | + "created": "2020-04-30", | ||
115 | + "size": 3145, | ||
116 | + "isFolder": False, | ||
117 | + "deletedDate": "", | ||
118 | + }, | ||
119 | + { | ||
120 | + "name": "3.png", | ||
121 | + "created": "2020-05-01", | ||
122 | + "size": 5653, | ||
123 | + "isFolder": False, | ||
124 | + "deletedDate": "", | ||
125 | + }, | ||
126 | + ] | ||
127 | + } | ||
128 | + return Response(data) | ||
129 | + def post(self, request, format=None): | ||
130 | + data = { | ||
131 | + "isSuccess": True, | ||
132 | + "File": { | ||
133 | + "name": "test.jpg", | ||
134 | + "created": "2020-05-02", | ||
135 | + "deletedDate": "", | ||
136 | + "size": 2312, | ||
137 | + "isFolder": False | ||
138 | + } | ||
139 | + } | ||
140 | + return Response(data) | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -27,6 +27,16 @@ DEBUG = True | ... | @@ -27,6 +27,16 @@ DEBUG = True |
27 | 27 | ||
28 | ALLOWED_HOSTS = ['*'] | 28 | ALLOWED_HOSTS = ['*'] |
29 | 29 | ||
30 | + | ||
31 | +# Static File DIR Settings | ||
32 | +STATIC_URL = '/static/' | ||
33 | +STATIC_ROOT = os.path.join(BASE_DIR, 'static') | ||
34 | + | ||
35 | + | ||
36 | +FRONTEND_DIR = os.path.join(os.path.abspath('../'), 'frontend') | ||
37 | +STATICFILES_DIRS = [ | ||
38 | + os.path.join(FRONTEND_DIR, 'dist/'), | ||
39 | +] | ||
30 | # Application definition | 40 | # Application definition |
31 | 41 | ||
32 | REST_FRAMEWORK = { | 42 | REST_FRAMEWORK = { |
... | @@ -50,7 +60,7 @@ MIDDLEWARE = [ | ... | @@ -50,7 +60,7 @@ MIDDLEWARE = [ |
50 | 'django.middleware.security.SecurityMiddleware', | 60 | 'django.middleware.security.SecurityMiddleware', |
51 | 'django.contrib.sessions.middleware.SessionMiddleware', | 61 | 'django.contrib.sessions.middleware.SessionMiddleware', |
52 | 'django.middleware.common.CommonMiddleware', | 62 | 'django.middleware.common.CommonMiddleware', |
53 | - 'django.middleware.csrf.CsrfViewMiddleware', | 63 | + # 'django.middleware.csrf.CsrfViewMiddleware', |
54 | 'django.contrib.auth.middleware.AuthenticationMiddleware', | 64 | 'django.contrib.auth.middleware.AuthenticationMiddleware', |
55 | 'django.contrib.messages.middleware.MessageMiddleware', | 65 | 'django.contrib.messages.middleware.MessageMiddleware', |
56 | 'django.middleware.clickjacking.XFrameOptionsMiddleware', | 66 | 'django.middleware.clickjacking.XFrameOptionsMiddleware', |
... | @@ -62,7 +72,9 @@ ROOT_URLCONF = 'backend.urls' | ... | @@ -62,7 +72,9 @@ ROOT_URLCONF = 'backend.urls' |
62 | TEMPLATES = [ | 72 | TEMPLATES = [ |
63 | { | 73 | { |
64 | 'BACKEND': 'django.template.backends.django.DjangoTemplates', | 74 | 'BACKEND': 'django.template.backends.django.DjangoTemplates', |
65 | - 'DIRS': [], | 75 | + 'DIRS': [ |
76 | + os.path.join(BASE_DIR, 'templates'), | ||
77 | + ], | ||
66 | 'APP_DIRS': True, | 78 | 'APP_DIRS': True, |
67 | 'OPTIONS': { | 79 | 'OPTIONS': { |
68 | 'context_processors': [ | 80 | 'context_processors': [ |
... | @@ -122,12 +134,8 @@ USE_L10N = True | ... | @@ -122,12 +134,8 @@ USE_L10N = True |
122 | USE_TZ = True | 134 | USE_TZ = True |
123 | 135 | ||
124 | 136 | ||
125 | -# Static files (CSS, JavaScript, Images) | 137 | +# CORS settings |
126 | -# https://docs.djangoproject.com/en/3.0/howto/static-files/ | ||
127 | - | ||
128 | -STATIC_URL = '/static/' | ||
129 | 138 | ||
130 | -# CORS | ||
131 | CORS_ORIGIN_ALLOW_ALL = True | 139 | CORS_ORIGIN_ALLOW_ALL = True |
132 | CORS_ALLOW_CREDENTIALS = True | 140 | CORS_ALLOW_CREDENTIALS = True |
133 | CORS_ORIGIN_WHITELIST = [ | 141 | CORS_ORIGIN_WHITELIST = [ | ... | ... |
1 | asgiref==3.2.7 | 1 | asgiref==3.2.7 |
2 | +autopep8==1.5.2 | ||
2 | Django==3.0.5 | 3 | Django==3.0.5 |
3 | django-cors-headers==3.2.1 | 4 | django-cors-headers==3.2.1 |
5 | +django-webpack-loader==0.7.0 | ||
4 | djangorestframework==3.11.0 | 6 | djangorestframework==3.11.0 |
7 | +Pillow==7.1.2 | ||
5 | pkg-resources==0.0.0 | 8 | pkg-resources==0.0.0 |
9 | +pycodestyle==2.5.0 | ||
6 | pytz==2020.1 | 10 | pytz==2020.1 |
7 | sqlparse==0.3.1 | 11 | sqlparse==0.3.1 | ... | ... |
web/backend/static/css/app.1dc1d4aa.css
0 → 100644
1 | +a:hover,a:link,a:visited{text-decoration:none} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
web/backend/static/favicon.ico
0 → 100644
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
web/backend/static/index.html
0 → 100644
1 | +<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>Profit-Hunter</title><link href=/css/app.1dc1d4aa.css rel=preload as=style><link href=/css/chunk-vendors.abb36e73.css rel=preload as=style><link href=/js/app.a2bbd68a.js rel=preload as=script><link href=/js/chunk-vendors.c489da91.js rel=preload as=script><link href=/css/chunk-vendors.abb36e73.css rel=stylesheet><link href=/css/app.1dc1d4aa.css rel=stylesheet></head><body><noscript><strong>We're sorry but front doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.c489da91.js></script><script src=/js/app.a2bbd68a.js></script></body></html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
web/backend/static/js/app.a2bbd68a.js
0 → 100644
1 | +(function(t){function e(e){for(var o,i,s=e[0],c=e[1],l=e[2],f=0,d=[];f<s.length;f++)i=s[f],Object.prototype.hasOwnProperty.call(n,i)&&n[i]&&d.push(n[i][0]),n[i]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(t[o]=c[o]);u&&u(e);while(d.length)d.shift()();return r.push.apply(r,l||[]),a()}function a(){for(var t,e=0;e<r.length;e++){for(var a=r[e],o=!0,s=1;s<a.length;s++){var c=a[s];0!==n[c]&&(o=!1)}o&&(r.splice(e--,1),t=i(i.s=a[0]))}return t}var o={},n={app:0},r=[];function i(e){if(o[e])return o[e].exports;var a=o[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=t,i.c=o,i.d=function(t,e,a){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(a,o,function(e){return t[e]}.bind(null,o));return a},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],c=s.push.bind(s);s.push=e,s=s.slice();for(var l=0;l<s.length;l++)e(s[l]);var u=c;r.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"56d7":function(t,e,a){"use strict";a.r(e);a("e260"),a("e6cf"),a("cca6"),a("a79d");var o=a("2b0e"),n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-app",[a("v-app-bar",{attrs:{app:"",color:"#ffffff",elevation:"1","hide-on-scroll":""}},[a("v-icon",{staticClass:"mr-1",attrs:{size:"35",color:"grey700"}},[t._v("mdi-youtube")]),a("div",{staticStyle:{color:"#343a40","font-size":"20px","font-weight":"500"}},[t._v("Youtube Auto Tagger")]),a("v-spacer"),a("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var o=e.on;return[a("v-btn",t._g({attrs:{icon:"",color:"grey700"},on:{click:function(e){t.clickInfo=!0}}},o),[a("v-icon",{attrs:{size:"30"}},[t._v("mdi-information")])],1)]}}])},[a("span",[t._v("Service Info")])])],1),a("v-dialog",{staticClass:"pa-2",attrs:{"max-width":"600"},model:{value:t.clickInfo,callback:function(e){t.clickInfo=e},expression:"clickInfo"}},[a("v-card",{staticClass:"pa-4",attrs:{elevation:"0",outlined:""}},[a("v-row",{staticClass:"mx-0 mb-8 mt-2",attrs:{justify:"center"}},[a("v-icon",{attrs:{color:"lightblue"}},[t._v("mdi-power-on")]),a("div",{staticStyle:{"text-align":"center","font-size":"22px","font-weight":"400",color:"#343a40"}},[t._v("Information of This Service")]),a("v-icon",{attrs:{color:"lightblue"}},[t._v("mdi-power-on")])],1),a("div",[t._v("Used Opensource")])],1)],1),a("v-content",[a("router-view")],1),a("v-footer",[a("v-row",{attrs:{justify:"center"}},[a("v-avatar",{staticStyle:{"border-radius":"4px"},attrs:{size:"25",tile:""}},[a("v-img",{attrs:{src:"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1/uploads/99f7d5c73e506d2c5c0072a21f362181/logo.69342704.png"}})],1),a("a",{attrs:{href:"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1"}},[a("div",{staticStyle:{"margin-left":"4px","font-size":"16px",color:"#5a5a5a","font-weight":"400"}},[t._v("Profit-Hunter")])])],1)],1)],1)},r=[],i={name:"App",data:function(){return{clickInfo:!1}}},s=i,c=(a("5c0b"),a("2877")),l=a("6544"),u=a.n(l),f=a("7496"),d=a("40dc"),p=a("8212"),v=a("8336"),g=a("b0af"),h=a("a75b"),y=a("169a"),m=a("553a"),b=a("132d"),x=a("adda"),w=a("0fd9"),_=a("2fa4"),k=a("3a2f"),S=Object(c["a"])(s,n,r,!1,null,null,null),V=S.exports;u()(S,{VApp:f["a"],VAppBar:d["a"],VAvatar:p["a"],VBtn:v["a"],VCard:g["a"],VContent:h["a"],VDialog:y["a"],VFooter:m["a"],VIcon:b["a"],VImg:x["a"],VRow:w["a"],VSpacer:_["a"],VTooltip:k["a"]});var C=a("8c4f"),z=a("bc3a"),j=a.n(z),P=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-sheet",[a("v-layout",{attrs:{"justify-center":""}},[a("v-flex",{attrs:{xs12:"",sm8:"",md6:"",lg4:""}},[a("v-row",{staticClass:"mx-0 mt-12",attrs:{justify:"center"}},[a("div",{staticStyle:{"font-size":"34px","font-weight":"500",color:"#343a40"}},[t._v("WELCOME")])]),a("v-card",{attrs:{elevation:"0"}},[t.$vuetify.breakpoint.mdAndUp?a("v-row",{staticClass:"mx-0 mt-12",attrs:{justify:"center"}},[a("v-flex",{staticClass:"mt-1",attrs:{md7:""}},[a("div",{staticStyle:{"font-size":"20px","font-weight":"300",color:"#888"}},[t._v("This is Video auto tagging Service")]),a("div",{staticStyle:{"font-size":"20px","font-weight":"300",color:"#888"}},[t._v("Designed for Youtube Videos")]),a("div",{staticStyle:{"font-size":"20px","font-weight":"300",color:"#888"}},[t._v("It takes few minutes to analyze your Video!")])]),a("v-flex",{attrs:{md5:""}},[a("v-card",{staticClass:"ml-5",attrs:{width:"240",elevation:"0"}},[a("v-img",{attrs:{width:"240",src:"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1/uploads/b70e4a173c2b7d5fa6ab73d48582dd6e/youtubelogoBlack.326653df.png"}})],1)],1)],1):a("v-card",{staticClass:"mt-8",attrs:{elevation:"0"}},[a("div",{staticStyle:{"font-size":"20px","font-weight":"300",color:"#888","text-align":"center"}},[t._v("This is Video auto tagging Service")]),a("div",{staticStyle:{"font-size":"20px","font-weight":"300",color:"#888","text-align":"center"}},[t._v("Designed for Youtube Videos")]),a("div",{staticStyle:{"font-size":"20px","font-weight":"300",color:"#888","text-align":"center"}},[t._v("It takes few minutes to analyze your Video!")]),a("v-img",{staticStyle:{margin:"auto","margin-top":"20px"},attrs:{width:"180",src:"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1/uploads/b70e4a173c2b7d5fa6ab73d48582dd6e/youtubelogoBlack.326653df.png"}})],1),a("div",{staticClass:"mt-10",staticStyle:{"font-size":"24px","text-align":"center","font-weight":"400",color:"#5a5a5a"}},[t._v("How To start this service")]),a("div",{staticStyle:{"font-size":"20px","font-weight":"300",color:"#888","text-align":"center"}},[t._v("Just Upload your Video")]),a("v-row",{staticClass:"mx-0 mt-2",attrs:{justify:"center"}},[a("v-card",{staticClass:"pa-9",attrs:{"max-width":"500",outlined:"",height:"120"},on:{dragover:function(t){t.preventDefault()},dragenter:function(t){t.preventDefault()},drop:function(e){return e.preventDefault(),t.onDrop(e)}}},[a("v-btn",{staticStyle:{"text-transform":"none"},attrs:{text:"",large:"",color:"primary"},on:{click:t.clickUploadButton}},[t._v("CLICK or DRAG & DROP")]),a("input",{ref:"fileInput",staticStyle:{display:"none"},attrs:{type:"file"},on:{change:t.onFileChange}})],1)],1),a("div",{staticClass:"mt-10",staticStyle:{"font-size":"24px","text-align":"center","font-weight":"400",color:"#5a5a5a"}},[t._v("The Results of Analyzed Video")]),a("v-card",{staticClass:"pa-2 mx-5 mt-6",attrs:{outlined:"",elevation:"0","min-height":"67"}},[a("div",{staticStyle:{"margin-left":"5px","margin-top":"-18px","background-color":"#fff",width:"110px","text-align":"center","font-size":"14px",color:"#5a5a5a","font-weight":"500"}},[t._v("Generated Tags")]),a("v-chip-group",{attrs:{column:""}},t._l(t.generatedTag,(function(e,o){return a("v-chip",{key:o,attrs:{color:"secondary"}},[t._v(t._s(e))])})),1)],1),a("v-card",{staticClass:"pa-2 mx-5 mt-8",attrs:{outlined:"",elevation:"0","min-height":"67"}},[a("div",{staticStyle:{"margin-left":"5px","margin-top":"-18px","background-color":"#fff",width:"140px","text-align":"center","font-size":"14px",color:"#5a5a5a","font-weight":"500"}},[t._v("Related Youtube Link")]),t._l(t.YoutubeUrl,(function(e){return a("v-flex",{key:e},[a("div",[a("a",{attrs:{href:e}},[t._v(t._s(e))])])])}))],2),a("div",{staticClass:"mt-3",staticStyle:{"font-size":"20px","font-weight":"300",color:"#888","text-align":"center"}},[t._v("If the Video is analyzed successfully,")]),a("div",{staticClass:"mb-5",staticStyle:{"font-size":"20px","font-weight":"300",color:"#888","text-align":"center"}},[t._v("Result Show up in each of Boxes!")])],1)],1)],1)],1)},I=[],O={name:"Home",data:function(){return{videoFile:"",YoutubeUrl:[],generatedTag:[],successDialog:!1,errorDialog:!1,loading:!1}},created:function(){this.YoutubeUrl=[],this.generatedTag=[]},methods:{loadVideoInfo:function(){},uploadVideo:function(t){var e=this;console.log(t[0]);var a=new FormData;a.append("file",t[0]),this.$axios.post("/upload",a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){e.loading=!0,console.log(t)})).catch((function(t){console.log(t.message)}))},onDrop:function(t){this.uploadVideo(t.dataTransfer.files)},clickUploadButton:function(){this.$refs.fileInput.click()},onFileChange:function(t){this.uploadVideo(t.target.files)}}},T=O,D=a("cc20"),F=a("ef9a"),B=a("0e8f"),R=a("a722"),U=a("8dd9"),A=Object(c["a"])(T,P,I,!1,null,null,null),H=A.exports;u()(A,{VBtn:v["a"],VCard:g["a"],VChip:D["a"],VChipGroup:F["a"],VFlex:B["a"],VImg:x["a"],VLayout:R["a"],VRow:w["a"],VSheet:U["a"]}),o["a"].prototype.$axios=j.a;var $="/api/";o["a"].prototype.$apiRootPath=$,j.a.defaults.baseURL=$,o["a"].use(C["a"]);var Y=[{path:"/",name:"Home",component:H}],K=new C["a"]({mode:"history",base:"/",routes:Y}),L=K,M=a("2f62");o["a"].use(M["a"]);var E=new M["a"].Store({state:{},mutations:{},actions:{},modules:{}}),G=a("f309");o["a"].use(G["a"]);var J=new G["a"]({theme:{themes:{light:{primary:"#343a40",secondary:"#506980",accent:"#505B80",error:"#FF5252",info:"#2196F3",blue:"#173f5f",lightblue:"#72b1e4",success:"#2779bd",warning:"#12283a",grey300:"#eceeef",grey500:"#aaaaaa",grey700:"#5a5a5a",grey900:"#212529"},dark:{primary:"#343a40",secondary:"#506980",accent:"#505B80",error:"#FF5252",info:"#2196F3",blue:"#173f5f",lightblue:"#72b1e4",success:"#2779bd",warning:"#12283a",grey300:"#eceeef",grey500:"#aaaaaa",grey700:"#5a5a5a",grey900:"#212529"}}}});a("d5e8"),a("5363");o["a"].config.productionTip=!1,new o["a"]({router:L,store:E,vuetify:J,render:function(t){return t(V)}}).$mount("#app")},"5c0b":function(t,e,a){"use strict";var o=a("7694"),n=a.n(o);n.a},7694:function(t,e,a){}}); | ||
2 | +//# sourceMappingURL=app.a2bbd68a.js.map | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
web/backend/static/js/app.a2bbd68a.js.map
0 → 100644
1 | +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?465c","webpack:///src/App.vue","webpack:///./src/App.vue?5b92","webpack:///./src/App.vue?8ba3","webpack:///./src/views/Home.vue?82c6","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?231f","webpack:///./src/views/Home.vue","webpack:///./src/router/index.js","webpack:///./src/store/index.js","webpack:///./src/plugins/vuetify.js","webpack:///./src/main.js","webpack:///./src/App.vue?4726"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","_v","staticStyle","scopedSlots","_u","fn","ref","on","_g","$event","clickInfo","model","callback","$$v","expression","staticRenderFns","component","VApp","VAppBar","VAvatar","VBtn","VCard","VContent","VDialog","VFooter","VIcon","VImg","VRow","VSpacer","VTooltip","$vuetify","breakpoint","preventDefault","onDrop","clickUploadButton","onFileChange","_l","tag","index","_s","url","videoFile","YoutubeUrl","generatedTag","successDialog","errorDialog","loading","created","methods","loadVideoInfo","uploadVideo","console","log","files","formData","append","$axios","post","event","dataTransfer","$refs","fileInput","click","target","VChip","VChipGroup","VFlex","VLayout","VSheet","Vue","axios","apiRootPath","$apiRootPath","defaults","baseURL","use","VueRouter","routes","path","Home","router","base","process","Vuex","Store","state","mutations","actions","Vuetify","theme","themes","light","primary","secondary","accent","error","info","blue","lightblue","success","warning","grey300","grey500","grey700","grey900","dark","config","productionTip","store","vuetify","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASS,EAAoB1B,GAG5B,GAAG4B,EAAiB5B,GACnB,OAAO4B,EAAiB5B,GA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J,OAAU,CAC3BjG,KAAM,UACNsG,KAAMC,IACNL,WAGaG,I,YCzBfX,OAAIM,IAAIQ,QAEO,UAAIA,OAAKC,MAAM,CAC5BC,MAAO,GAEPC,UAAW,GAEXC,QAAS,GAET5I,QAAS,K,YCTX0H,OAAIM,IAAIa,QAEO,UAAIA,OAAQ,CACzBC,MAAO,CACLC,OAAQ,CACNC,MAAO,CACLC,QAAS,UACTC,UAAW,UACXC,OAAQ,UACRC,MAAO,UACPC,KAAM,UACNC,KAAM,UACNC,UAAW,UACXC,QAAS,UACTC,QAAS,UACTC,QAAS,UACTC,QAAS,UACTC,QAAS,UACTC,QAAS,WAEXC,KAAM,CACJb,QAAS,UACTC,UAAW,UACXC,OAAQ,UACRC,MAAO,UACPC,KAAM,UACNC,KAAM,UACNC,UAAW,UACXC,QAAS,UACTC,QAAS,UACTC,QAAS,UACTC,QAAS,UACTC,QAAS,UACTC,QAAS,e,oBC5BjBnC,OAAIqC,OAAOC,eAAgB,EAE3B,IAAItC,OAAI,CACNW,SACA4B,QACAC,UACAC,OAAQ,SAACC,GAAD,OAAOA,EAAEC,MAChBC,OAAO,S,oCCfV,yBAA2iB,EAAG,G","file":"js/app.a2bbd68a.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',[_c('v-app-bar',{attrs:{\"app\":\"\",\"color\":\"#ffffff\",\"elevation\":\"1\",\"hide-on-scroll\":\"\"}},[_c('v-icon',{staticClass:\"mr-1\",attrs:{\"size\":\"35\",\"color\":\"grey700\"}},[_vm._v(\"mdi-youtube\")]),_c('div',{staticStyle:{\"color\":\"#343a40\",\"font-size\":\"20px\",\"font-weight\":\"500\"}},[_vm._v(\"Youtube Auto Tagger\")]),_c('v-spacer'),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({attrs:{\"icon\":\"\",\"color\":\"grey700\"},on:{\"click\":function($event){_vm.clickInfo=true}}},on),[_c('v-icon',{attrs:{\"size\":\"30\"}},[_vm._v(\"mdi-information\")])],1)]}}])},[_c('span',[_vm._v(\"Service Info\")])])],1),_c('v-dialog',{staticClass:\"pa-2\",attrs:{\"max-width\":\"600\"},model:{value:(_vm.clickInfo),callback:function ($$v) {_vm.clickInfo=$$v},expression:\"clickInfo\"}},[_c('v-card',{staticClass:\"pa-4\",attrs:{\"elevation\":\"0\",\"outlined\":\"\"}},[_c('v-row',{staticClass:\"mx-0 mb-8 mt-2\",attrs:{\"justify\":\"center\"}},[_c('v-icon',{attrs:{\"color\":\"lightblue\"}},[_vm._v(\"mdi-power-on\")]),_c('div',{staticStyle:{\"text-align\":\"center\",\"font-size\":\"22px\",\"font-weight\":\"400\",\"color\":\"#343a40\"}},[_vm._v(\"Information of This Service\")]),_c('v-icon',{attrs:{\"color\":\"lightblue\"}},[_vm._v(\"mdi-power-on\")])],1),_c('div',[_vm._v(\"Used Opensource\")])],1)],1),_c('v-content',[_c('router-view')],1),_c('v-footer',[_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-avatar',{staticStyle:{\"border-radius\":\"4px\"},attrs:{\"size\":\"25\",\"tile\":\"\"}},[_c('v-img',{attrs:{\"src\":\"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1/uploads/99f7d5c73e506d2c5c0072a21f362181/logo.69342704.png\"}})],1),_c('a',{attrs:{\"href\":\"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1\"}},[_c('div',{staticStyle:{\"margin-left\":\"4px\",\"font-size\":\"16px\",\"color\":\"#5a5a5a\",\"font-weight\":\"400\"}},[_vm._v(\"Profit-Hunter\")])])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-app>\n <v-app-bar app color=\"#ffffff\" elevation=\"1\" hide-on-scroll>\n <v-icon size=\"35\" class=\"mr-1\" color=\"grey700\">mdi-youtube</v-icon>\n <div style=\"color: #343a40; font-size: 20px; font-weight: 500;\">Youtube Auto Tagger</div>\n <v-spacer></v-spacer>\n <v-tooltip bottom>\n <template v-slot:activator=\"{ on }\">\n <v-btn icon v-on=\"on\" color=\"grey700\" @click=\"clickInfo=true\">\n <v-icon size=\"30\">mdi-information</v-icon>\n </v-btn>\n </template>\n <span>Service Info</span>\n </v-tooltip>\n </v-app-bar>\n <v-dialog v-model=\"clickInfo\" max-width=\"600\" class=\"pa-2\">\n <v-card elevation=\"0\" outlined class=\"pa-4\">\n <v-row justify=\"center\" class=\"mx-0 mb-8 mt-2\">\n <v-icon color=\"lightblue\">mdi-power-on</v-icon>\n <div\n style=\"text-align: center; font-size: 22px; font-weight: 400; color: #343a40;\"\n >Information of This Service</div>\n <v-icon color=\"lightblue\">mdi-power-on</v-icon>\n </v-row>\n <div>Used Opensource</div>\n </v-card>\n </v-dialog>\n <v-content>\n <router-view />\n </v-content>\n <v-footer>\n <v-row justify=\"center\">\n <v-avatar size=\"25\" tile style=\"border-radius: 4px\">\n <v-img src=\"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1/uploads/99f7d5c73e506d2c5c0072a21f362181/logo.69342704.png\"></v-img>\n </v-avatar>\n <a href=\"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1\">\n <div\n style=\"margin-left: 4px; font-size: 16px; color: #5a5a5a; font-weight: 400\"\n >Profit-Hunter</div>\n </a>\n </v-row>\n </v-footer>\n </v-app>\n</template>\n<script>\nexport default {\n name: 'App',\n data() {\n return {\n clickInfo: false,\n };\n },\n};\n</script>\n<style lang=\"scss\">\na:hover {\n text-decoration: none;\n}\na:link {\n text-decoration: none;\n}\na:visited {\n text-decoration: none;\n}\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/vuetify-loader/lib/loader.js??ref--18-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/vuetify-loader/lib/loader.js??ref--18-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=2fdac5dc&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\nimport { VAppBar } from 'vuetify/lib/components/VAppBar';\nimport { VAvatar } from 'vuetify/lib/components/VAvatar';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VContent } from 'vuetify/lib/components/VContent';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VFooter } from 'vuetify/lib/components/VFooter';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VApp,VAppBar,VAvatar,VBtn,VCard,VContent,VDialog,VFooter,VIcon,VImg,VRow,VSpacer,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-sheet',[_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"sm8\":\"\",\"md6\":\"\",\"lg4\":\"\"}},[_c('v-row',{staticClass:\"mx-0 mt-12\",attrs:{\"justify\":\"center\"}},[_c('div',{staticStyle:{\"font-size\":\"34px\",\"font-weight\":\"500\",\"color\":\"#343a40\"}},[_vm._v(\"WELCOME\")])]),_c('v-card',{attrs:{\"elevation\":\"0\"}},[(_vm.$vuetify.breakpoint.mdAndUp)?_c('v-row',{staticClass:\"mx-0 mt-12\",attrs:{\"justify\":\"center\"}},[_c('v-flex',{staticClass:\"mt-1\",attrs:{\"md7\":\"\"}},[_c('div',{staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"300\",\"color\":\"#888\"}},[_vm._v(\"This is Video auto tagging Service\")]),_c('div',{staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"300\",\"color\":\"#888\"}},[_vm._v(\"Designed for Youtube Videos\")]),_c('div',{staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"300\",\"color\":\"#888\"}},[_vm._v(\"It takes few minutes to analyze your Video!\")])]),_c('v-flex',{attrs:{\"md5\":\"\"}},[_c('v-card',{staticClass:\"ml-5\",attrs:{\"width\":\"240\",\"elevation\":\"0\"}},[_c('v-img',{attrs:{\"width\":\"240\",\"src\":\"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1/uploads/b70e4a173c2b7d5fa6ab73d48582dd6e/youtubelogoBlack.326653df.png\"}})],1)],1)],1):_c('v-card',{staticClass:\"mt-8\",attrs:{\"elevation\":\"0\"}},[_c('div',{staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"300\",\"color\":\"#888\",\"text-align\":\"center\"}},[_vm._v(\"This is Video auto tagging Service\")]),_c('div',{staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"300\",\"color\":\"#888\",\"text-align\":\"center\"}},[_vm._v(\"Designed for Youtube Videos\")]),_c('div',{staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"300\",\"color\":\"#888\",\"text-align\":\"center\"}},[_vm._v(\"It takes few minutes to analyze your Video!\")]),_c('v-img',{staticStyle:{\"margin\":\"auto\",\"margin-top\":\"20px\"},attrs:{\"width\":\"180\",\"src\":\"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1/uploads/b70e4a173c2b7d5fa6ab73d48582dd6e/youtubelogoBlack.326653df.png\"}})],1),_c('div',{staticClass:\"mt-10\",staticStyle:{\"font-size\":\"24px\",\"text-align\":\"center\",\"font-weight\":\"400\",\"color\":\"#5a5a5a\"}},[_vm._v(\"How To start this service\")]),_c('div',{staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"300\",\"color\":\"#888\",\"text-align\":\"center\"}},[_vm._v(\"Just Upload your Video\")]),_c('v-row',{staticClass:\"mx-0 mt-2\",attrs:{\"justify\":\"center\"}},[_c('v-card',{staticClass:\"pa-9\",attrs:{\"max-width\":\"500\",\"outlined\":\"\",\"height\":\"120\"},on:{\"dragover\":function($event){$event.preventDefault();},\"dragenter\":function($event){$event.preventDefault();},\"drop\":function($event){$event.preventDefault();return _vm.onDrop($event)}}},[_c('v-btn',{staticStyle:{\"text-transform\":\"none\"},attrs:{\"text\":\"\",\"large\":\"\",\"color\":\"primary\"},on:{\"click\":_vm.clickUploadButton}},[_vm._v(\"CLICK or DRAG & DROP\")]),_c('input',{ref:\"fileInput\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"file\"},on:{\"change\":_vm.onFileChange}})],1)],1),_c('div',{staticClass:\"mt-10\",staticStyle:{\"font-size\":\"24px\",\"text-align\":\"center\",\"font-weight\":\"400\",\"color\":\"#5a5a5a\"}},[_vm._v(\"The Results of Analyzed Video\")]),_c('v-card',{staticClass:\"pa-2 mx-5 mt-6\",attrs:{\"outlined\":\"\",\"elevation\":\"0\",\"min-height\":\"67\"}},[_c('div',{staticStyle:{\"margin-left\":\"5px\",\"margin-top\":\"-18px\",\"background-color\":\"#fff\",\"width\":\"110px\",\"text-align\":\"center\",\"font-size\":\"14px\",\"color\":\"#5a5a5a\",\"font-weight\":\"500\"}},[_vm._v(\"Generated Tags\")]),_c('v-chip-group',{attrs:{\"column\":\"\"}},_vm._l((_vm.generatedTag),function(tag,index){return _c('v-chip',{key:index,attrs:{\"color\":\"secondary\"}},[_vm._v(_vm._s(tag))])}),1)],1),_c('v-card',{staticClass:\"pa-2 mx-5 mt-8\",attrs:{\"outlined\":\"\",\"elevation\":\"0\",\"min-height\":\"67\"}},[_c('div',{staticStyle:{\"margin-left\":\"5px\",\"margin-top\":\"-18px\",\"background-color\":\"#fff\",\"width\":\"140px\",\"text-align\":\"center\",\"font-size\":\"14px\",\"color\":\"#5a5a5a\",\"font-weight\":\"500\"}},[_vm._v(\"Related Youtube Link\")]),_vm._l((_vm.YoutubeUrl),function(url){return _c('v-flex',{key:url},[_c('div',[_c('a',{attrs:{\"href\":url}},[_vm._v(_vm._s(url))])])])})],2),_c('div',{staticClass:\"mt-3\",staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"300\",\"color\":\"#888\",\"text-align\":\"center\"}},[_vm._v(\"If the Video is analyzed successfully,\")]),_c('div',{staticClass:\"mb-5\",staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"300\",\"color\":\"#888\",\"text-align\":\"center\"}},[_vm._v(\"Result Show up in each of Boxes!\")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-sheet>\n <v-layout justify-center>\n <v-flex xs12 sm8 md6 lg4>\n <v-row justify=\"center\" class=\"mx-0 mt-12\">\n <div style=\"font-size: 34px; font-weight: 500; color: #343a40;\">WELCOME</div>\n </v-row>\n <v-card elevation=\"0\">\n <!-- file upload -->\n <v-row justify=\"center\" class=\"mx-0 mt-12\" v-if=\"$vuetify.breakpoint.mdAndUp\">\n <v-flex md7 class=\"mt-1\">\n <div\n style=\"font-size: 20px; font-weight: 300; color: #888;\"\n >This is Video auto tagging Service</div>\n <div\n style=\"font-size: 20px; font-weight: 300; color: #888;\"\n >Designed for Youtube Videos</div>\n <div\n style=\"font-size: 20px; font-weight: 300; color: #888;\"\n >It takes few minutes to analyze your Video!</div>\n </v-flex>\n <v-flex md5>\n <v-card width=\"240\" elevation=\"0\" class=\"ml-5\">\n <v-img width=\"240\" src=\"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1/uploads/b70e4a173c2b7d5fa6ab73d48582dd6e/youtubelogoBlack.326653df.png\"></v-img>\n </v-card>\n </v-flex>\n </v-row>\n <v-card elevation=\"0\" class=\"mt-8\" v-else>\n <div\n style=\"font-size: 20px; font-weight: 300; color: #888; text-align: center\"\n >This is Video auto tagging Service</div>\n <div\n style=\"font-size: 20px; font-weight: 300; color: #888; text-align: center\"\n >Designed for Youtube Videos</div>\n <div\n style=\"font-size: 20px; font-weight: 300; color: #888; text-align: center\"\n >It takes few minutes to analyze your Video!</div>\n <v-img\n style=\"margin: auto; margin-top: 20px\"\n width=\"180\"\n src=\"http://khuhub.khu.ac.kr/2020-1-capstone-design1/PKH_Project1/uploads/b70e4a173c2b7d5fa6ab73d48582dd6e/youtubelogoBlack.326653df.png\"\n ></v-img>\n </v-card>\n\n <div\n class=\"mt-10\"\n style=\"font-size: 24px; text-align: center; font-weight: 400; color: #5a5a5a;\"\n >How To start this service</div>\n <div\n style=\"font-size: 20px; font-weight: 300; color: #888; text-align: center\"\n >Just Upload your Video</div>\n <v-row justify=\"center\" class=\"mx-0 mt-2\">\n <v-card\n max-width=\"500\"\n outlined\n height=\"120\"\n class=\"pa-9\"\n @dragover.prevent\n @dragenter.prevent\n @drop.prevent=\"onDrop\"\n >\n <v-btn style=\"text-transform: none\" @click=\"clickUploadButton\" text large color=\"primary\">CLICK or DRAG & DROP</v-btn>\n <input ref=\"fileInput\" style=\"display: none\" type=\"file\" @change=\"onFileChange\" />\n </v-card>\n </v-row>\n\n <div\n style=\"font-size: 24px; text-align: center; font-weight: 400; color: #5a5a5a;\"\n class=\"mt-10\"\n >The Results of Analyzed Video</div>\n <v-card outlined class=\"pa-2 mx-5 mt-6\" elevation=\"0\" min-height=\"67\">\n <div\n style=\"margin-left: 5px; margin-top: -18px; background-color: #fff; width: 110px; text-align: center;font-size: 14px; color: #5a5a5a; font-weight: 500\"\n >Generated Tags</div>\n <v-chip-group column>\n <v-chip color=\"secondary\" v-for=\"(tag, index) in generatedTag\" :key=\"index\">{{ tag }}</v-chip>\n </v-chip-group>\n </v-card>\n <v-card outlined class=\"pa-2 mx-5 mt-8\" elevation=\"0\" min-height=\"67\">\n <div\n style=\"margin-left: 5px; margin-top: -18px; background-color: #fff; width: 140px; text-align: center;font-size: 14px; color: #5a5a5a; font-weight: 500\"\n >Related Youtube Link</div>\n <v-flex v-for=\"(url) in YoutubeUrl\" :key=\"url\">\n <div>\n <a :href=\"url\">{{url}}</a>\n </div>\n </v-flex>\n </v-card>\n <div\n class=\"mt-3\"\n style=\"font-size: 20px; font-weight: 300; color: #888; text-align: center\"\n >If the Video is analyzed successfully,</div>\n <div\n class=\"mb-5\"\n style=\"font-size: 20px; font-weight: 300; color: #888; text-align: center\"\n >Result Show up in each of Boxes!</div>\n </v-card>\n </v-flex>\n </v-layout>\n </v-sheet>\n</template>\n<script>\nexport default {\n name: 'Home',\n data() {\n return {\n videoFile: '',\n YoutubeUrl: [],\n generatedTag: [],\n successDialog: false,\n errorDialog: false,\n loading: false,\n };\n },\n created() {\n this.YoutubeUrl = [];\n this.generatedTag = [];\n },\n\n methods: {\n loadVideoInfo() {},\n uploadVideo(files) {\n console.log(files[0]);\n const formData = new FormData();\n formData.append('file', files[0]);\n this.$axios.post('/upload', formData, { headers: { 'Content-Type': 'multipart/form-data' } })\n .then((r) => {\n this.loading = true;\n console.log(r);\n })\n .catch((e) => {\n console.log(e.message);\n });\n },\n onDrop(event) {\n this.uploadVideo(event.dataTransfer.files);\n },\n clickUploadButton() {\n this.$refs.fileInput.click();\n },\n onFileChange(event) {\n this.uploadVideo(event.target.files);\n },\n },\n};\n</script>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vuetify-loader/lib/loader.js??ref--18-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=9ab4b246&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VChipGroup } from 'vuetify/lib/components/VChipGroup';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSheet } from 'vuetify/lib/components/VSheet';\ninstallComponents(component, {VBtn,VCard,VChip,VChipGroup,VFlex,VImg,VLayout,VRow,VSheet})\n","import Vue from 'vue';\nimport VueRouter from 'vue-router';\nimport axios from 'axios';\nimport Home from '../views/Home.vue';\n\nVue.prototype.$axios = axios;\nconst apiRootPath = process.env.NODE_ENV !== 'production'\n ? 'http://localhost:8000/api/'\n : '/api/';\nVue.prototype.$apiRootPath = apiRootPath;\naxios.defaults.baseURL = apiRootPath;\n\nVue.use(VueRouter);\n\nconst routes = [\n {\n path: '/',\n name: 'Home',\n component: Home,\n },\n];\n\nconst router = new VueRouter({\n mode: 'history',\n base: process.env.BASE_URL,\n routes,\n});\n\nexport default router;\n","import Vue from 'vue';\nimport Vuex from 'vuex';\n\nVue.use(Vuex);\n\nexport default new Vuex.Store({\n state: {\n },\n mutations: {\n },\n actions: {\n },\n modules: {\n },\n});\n","import Vue from 'vue';\nimport Vuetify from 'vuetify/lib';\n\nVue.use(Vuetify);\n\nexport default new Vuetify({\n theme: {\n themes: {\n light: {\n primary: '#343a40',\n secondary: '#506980',\n accent: '#505B80',\n error: '#FF5252',\n info: '#2196F3',\n blue: '#173f5f',\n lightblue: '#72b1e4',\n success: '#2779bd',\n warning: '#12283a',\n grey300: '#eceeef',\n grey500: '#aaaaaa',\n grey700: '#5a5a5a',\n grey900: '#212529',\n },\n dark: {\n primary: '#343a40',\n secondary: '#506980',\n accent: '#505B80',\n error: '#FF5252',\n info: '#2196F3',\n blue: '#173f5f',\n lightblue: '#72b1e4',\n success: '#2779bd',\n warning: '#12283a',\n grey300: '#eceeef',\n grey500: '#aaaaaa',\n grey700: '#5a5a5a',\n grey900: '#212529',\n },\n },\n },\n});\n","import Vue from 'vue';\nimport App from './App.vue';\nimport router from './router';\nimport store from './store';\nimport vuetify from './plugins/vuetify';\nimport 'roboto-fontface/css/roboto/roboto-fontface.css';\nimport '@mdi/font/css/materialdesignicons.css';\n\nVue.config.productionTip = false;\n\nnew Vue({\n router,\n store,\n vuetify,\n render: (h) => h(App),\n}).$mount('#app');\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/vuetify-loader/lib/loader.js??ref--18-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/vuetify-loader/lib/loader.js??ref--18-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
web/backend/templates/index.html
0 → 100644
1 | +{% load static %} | ||
2 | +<!doctype html> | ||
3 | +<html lang="en"> | ||
4 | + | ||
5 | +<head> | ||
6 | + <meta charset=utf-8> | ||
7 | + <meta http-equiv=X-UA-Compatible content="IE=edge"> | ||
8 | + <meta name=viewport content="width=device-width,initial-scale=1"> | ||
9 | + <link rel=icon href="{% static 'favicon.ico' %}"> | ||
10 | + <title>front</title> | ||
11 | + <link href="{% static '/css/app.1dc1d4aa.css' %}" rel=preload as=style> | ||
12 | + <link href="{% static '/css/chunk-vendors.abb36e73.css' %}" rel=preload as=style> | ||
13 | + <link href="{% static '/js/app.a2bbd68a.js' %}" rel=preload as=script> | ||
14 | + <link href="{% static '/js/chunk-vendors.c489da91.js' %}" rel=preload as=script> | ||
15 | + <link href="{% static '/css/chunk-vendors.abb36e73.css' %}" rel=stylesheet> | ||
16 | + <link href="{% static '/css/app.1dc1d4aa.css' %}" rel=stylesheet> | ||
17 | +</head> | ||
18 | + | ||
19 | +<body> | ||
20 | + <noscript><strong>We're sorry but front doesn't work properly without JavaScript enabled. Please enable it to | ||
21 | + continue.</strong></noscript> | ||
22 | + <div id=app> | ||
23 | + </div> | ||
24 | + <script src="{% static '/js/chunk-vendors.c489da91.js' %}"></script> | ||
25 | + <script src="{% static '/js/app.a2bbd68a.js' %}"></script> | ||
26 | +</body> | ||
27 | + | ||
28 | +</html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment