From 674e21891c41f29cfdadd648ff4b29f3b468da66 Mon Sep 17 00:00:00 2001 From: quadseed Date: Wed, 26 Apr 2023 06:59:46 +0900 Subject: [PATCH 1/2] Update frontend --- src/templates/404.html | 2 +- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 .../_next/static/chunks/pages/index-64f7fb7369e5c1bc.js | 1 + .../_next/static/chunks/pages/index-d0249c4fc7006fcb.js | 1 - .../static/css/{fa26f821ab36575c.css => 524589cc5c4cf117.css} | 2 +- src/templates/index.html | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) rename src/templates/_next/static/{u4lX2OZy-Q8Zu7q_iOjSN => N7x1WfqBlH13FckuXZX8v}/_buildManifest.js (80%) rename src/templates/_next/static/{u4lX2OZy-Q8Zu7q_iOjSN => N7x1WfqBlH13FckuXZX8v}/_ssgManifest.js (100%) create mode 100644 src/templates/_next/static/chunks/pages/index-64f7fb7369e5c1bc.js delete mode 100644 src/templates/_next/static/chunks/pages/index-d0249c4fc7006fcb.js rename src/templates/_next/static/css/{fa26f821ab36575c.css => 524589cc5c4cf117.css} (56%) diff --git a/src/templates/404.html b/src/templates/404.html index 22f4e0f..55f301f 100644 --- a/src/templates/404.html +++ b/src/templates/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/src/templates/_next/static/u4lX2OZy-Q8Zu7q_iOjSN/_buildManifest.js b/src/templates/_next/static/N7x1WfqBlH13FckuXZX8v/_buildManifest.js similarity index 80% rename from src/templates/_next/static/u4lX2OZy-Q8Zu7q_iOjSN/_buildManifest.js rename to src/templates/_next/static/N7x1WfqBlH13FckuXZX8v/_buildManifest.js index 34af74f..6a4e483 100644 --- a/src/templates/_next/static/u4lX2OZy-Q8Zu7q_iOjSN/_buildManifest.js +++ b/src/templates/_next/static/N7x1WfqBlH13FckuXZX8v/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/459-3bbc2c5576827e3f.js","static/chunks/pages/index-d0249c4fc7006fcb.js"],"/_error":["static/chunks/pages/_error-54de1933a164a1ff.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/459-3bbc2c5576827e3f.js","static/chunks/pages/index-64f7fb7369e5c1bc.js"],"/_error":["static/chunks/pages/_error-54de1933a164a1ff.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/src/templates/_next/static/u4lX2OZy-Q8Zu7q_iOjSN/_ssgManifest.js b/src/templates/_next/static/N7x1WfqBlH13FckuXZX8v/_ssgManifest.js similarity index 100% rename from src/templates/_next/static/u4lX2OZy-Q8Zu7q_iOjSN/_ssgManifest.js rename to src/templates/_next/static/N7x1WfqBlH13FckuXZX8v/_ssgManifest.js diff --git a/src/templates/_next/static/chunks/pages/index-64f7fb7369e5c1bc.js b/src/templates/_next/static/chunks/pages/index-64f7fb7369e5c1bc.js new file mode 100644 index 0000000..9fbb671 --- /dev/null +++ b/src/templates/_next/static/chunks/pages/index-64f7fb7369e5c1bc.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8312:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(4043)}])},4043:function(e,s,r){"use strict";r.r(s),r.d(s,{default:function(){return g}});var t=r(5893),n=r(7484),a=r.n(n),c=r(5675),l=r.n(c),i=r(1664),d=r.n(i),o=r(7294);let x=e=>{let{recording:s}=e,r="https://apiv2.twitcasting.tv/users/".concat(s.screen_id,"/live/thumbnail?size=large&position=latest"),n="https://twitcasting.tv/".concat(s.screen_id);return(0,t.jsxs)("div",{className:"mx-3 space-y-1 rounded-xl border-2 border-indigo-400 bg-slate-200 py-6 shadow-2xl",children:[(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(d(),{href:n,children:(0,t.jsx)(l(),{src:r,alt:"".concat(s.user_name,"'s thumbnail"),height:300,width:200,priority:!0,className:"rounded-xl"})})}),(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(d(),{href:n,children:(0,t.jsxs)("div",{className:"my-2 space-y-1",children:[(0,t.jsx)("span",{className:"mx-1 block font-semibold",children:s.live_title}),(0,t.jsx)("span",{className:"mx-1 block",children:s.live_subtitle?s.live_subtitle:"-----"}),(0,t.jsxs)("span",{className:"mx-1 block text-sm font-light text-gray-600",children:[a().unix(s.start_time).format("YYYY/MM/DD HH:mm:ss")," -"," ",a()().diff(a().unix(s.start_time),"minute"),"分経過"]})]})})}),(0,t.jsxs)("div",{className:"flex items-center justify-center space-x-2 py-3",children:[(0,t.jsx)(d(),{href:s.profile_image,children:(0,t.jsx)(l(),{src:s.profile_image,alt:"".concat(s.screen_id,"'s icon"),height:45,width:45,className:"rounded-3xl border-2 border-red-600 p-0.5"})}),(0,t.jsx)(d(),{href:n,children:(0,t.jsxs)("div",{className:"w-[150px]",children:[(0,t.jsx)("span",{className:"block truncate text-base font-semibold",children:s.user_name}),(0,t.jsxs)("span",{className:"block truncate text-sm text-gray-400",children:["@",s.screen_id]})]})})]})]})};var u=r(9008),h=r.n(u);let m=e=>{let{user:s}=e,r="https://twitcasting.tv/".concat(s.screen_id);return(0,t.jsxs)("div",{className:"space-y-1 rounded-xl border-2 border-amber-500 bg-white py-6 shadow-2xl",children:[(0,t.jsxs)("div",{className:"flex items-center justify-center space-x-2 py-3",children:[(0,t.jsx)(d(),{href:r,children:(0,t.jsx)(l(),{src:s.profile_image,alt:"".concat(s.screen_id,"'s icon"),height:45,width:45,className:"rounded-3xl border-2 border-gray-500"})}),(0,t.jsx)(d(),{href:r,children:(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("span",{className:"block truncate text-base font-semibold",children:s.user_name}),(0,t.jsxs)("span",{className:"block truncate text-sm text-gray-400",children:["@",s.screen_id]})]})})]}),(0,t.jsxs)("div",{className:"flex justify-center space-x-4",children:[(0,t.jsxs)("span",{children:["レベル ",(0,t.jsx)("span",{className:"font-semibold",children:s.level})]}),(0,t.jsxs)("span",{children:["サポーター ",(0,t.jsx)("span",{className:"font-semibold",children:s.supporter_count.toLocaleString()})]})]})]})},p=async e=>{let s=await fetch("".concat(e,"/recordings")),r=await s.json();return r.recordings},b=async(e,s)=>{let r=await fetch("".concat(e,"/recordings/").concat(s),{method:"POST"}),t=await r.json();return t},j=async(e,s)=>{let r=await fetch("".concat(e,"/recordings/").concat(s),{method:"DELETE"}),t=await r.json();return t},f=async e=>{let s=await fetch("".concat(e,"/users")),r=await s.json();return r.users},v=async(e,s)=>{let r=await fetch("".concat(e,"/subscriptions/").concat(s),{method:"POST"}),t=await r.json();return t},N=async(e,s)=>{let r=await fetch("".concat(e,"/subscriptions/").concat(s),{method:"DELETE"}),t=await r.json();return t};function g(){let[e,s]=(0,o.useState)([]),[r,n]=(0,o.useState)([]),[c,l]=(0,o.useState)(!1),[i,d]=(0,o.useState)("---"),[u,g]=(0,o.useState)(""),y=(0,o.useRef)(null),w=(0,o.useRef)(null),_=(0,o.useRef)(null),[k,E]=(0,o.useState)(30);return(0,o.useEffect)(()=>{""===u&&g("http://".concat(window.location.hostname,":").concat(window.location.port)),d("----/--/-- --:--:--"),p(u).then(e=>{s(e),d(a()().format("YYYY/MM/DD HH:mm:ss"))}),f(u).then(e=>{n(e)});let e=setInterval(()=>{l(e=>!e)},1e3*k);return()=>clearInterval(e)},[c,u,k]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h(),{children:(0,t.jsx)("title",{children:"TARS-UI"})}),(0,t.jsxs)("main",{className:"mx-10 my-10 space-y-10",children:[(0,t.jsxs)("div",{className:"flex w-1/2 items-center space-x-5 border-2 px-5 py-2",children:[(0,t.jsx)("span",{children:"更新間隔 (秒)"}),(0,t.jsx)("input",{type:"text",ref:_,defaultValue:"30",className:"w-16 rounded-3xl border-2 border-indigo-200 bg-gray-100 px-5 py-0.5 outline-none focus:border-emerald-400"}),(0,t.jsx)("button",{className:"rounded-2xl border-2 border-violet-400 px-4 py-1.5",onClick:()=>{var e,s;let r=Number(null===(e=_.current)||void 0===e?void 0:e.value)?Number(null===(s=_.current)||void 0===s?void 0:s.value):30;E(r)},children:"設定"}),(0,t.jsxs)("span",{className:"font-medium",children:["最終更新: ",i]})]}),(0,t.jsxs)("div",{className:"flex space-x-4 py-5",children:[(0,t.jsxs)("h3",{className:"text-xl font-bold",children:["・録画タスク (",null==e?void 0:e.length,")"]}),(0,t.jsxs)("div",{className:"space-x-5",children:[(0,t.jsx)("input",{type:"text",ref:y,className:"rounded-3xl border-2 border-indigo-200 bg-gray-100 px-5 py-0.5 outline-none focus:border-emerald-400"}),(0,t.jsx)("button",{className:"rounded-2xl border-2 border-blue-400 px-4 py-1.5",onClick:()=>{var e;b(u,null===(e=y.current)||void 0===e?void 0:e.value),l(e=>!e)},children:"開始"}),(0,t.jsx)("button",{className:"rounded-2xl border-2 border-red-400 px-4 py-1.5",onClick:()=>{var e;j(u,null===(e=y.current)||void 0===e?void 0:e.value),l(e=>!e)},children:"終了"}),(0,t.jsx)("button",{className:"rounded-2xl border-2 border-violet-400 px-4 py-1.5",onClick:()=>l(e=>!e),children:"更新"})]})]}),(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"grid grid-cols-5 gap-2 md:grid-cols-6 md:gap-10",children:e&&e.map(e=>(0,t.jsx)(x,{recording:e},e.live_id))})}),(0,t.jsxs)("div",{className:"flex space-x-4 py-5",children:[(0,t.jsxs)("h3",{className:"text-xl font-bold",children:["・自動録画対象 (",r.length,")"]}),(0,t.jsxs)("div",{className:"space-x-5",children:[(0,t.jsx)("input",{type:"text",ref:w,className:"rounded-3xl border-2 border-indigo-200 bg-gray-100 px-5 py-0.5 outline-none focus:border-emerald-400"}),(0,t.jsx)("button",{className:"rounded-2xl border-2 border-blue-400 px-4 py-1.5",onClick:()=>{var e;v(u,null===(e=w.current)||void 0===e?void 0:e.value),l(e=>!e)},children:"追加"}),(0,t.jsx)("button",{className:"rounded-2xl border-2 border-red-400 px-4 py-1.5",onClick:()=>{var e;N(u,null===(e=w.current)||void 0===e?void 0:e.value),l(e=>!e)},children:"削除"})]})]}),(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"grid grid-cols-5 gap-4 lg:gap-10",children:r&&r.map(e=>(0,t.jsx)(m,{user:e},e.user_id))})})]})]})}}},function(e){e.O(0,[459,774,888,179],function(){return e(e.s=8312)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/src/templates/_next/static/chunks/pages/index-d0249c4fc7006fcb.js b/src/templates/_next/static/chunks/pages/index-d0249c4fc7006fcb.js deleted file mode 100644 index c716341..0000000 --- a/src/templates/_next/static/chunks/pages/index-d0249c4fc7006fcb.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8312:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(7028)}])},7028:function(e,s,r){"use strict";r.r(s),r.d(s,{default:function(){return f}});var n=r(5893),t=r(7484),l=r.n(t),a=r(5675),c=r.n(a),i=r(1664),d=r.n(i),o=r(7294);let x=e=>{let{recording:s}=e,r="https://apiv2.twitcasting.tv/users/".concat(s.screen_id,"/live/thumbnail?size=large&position=latest"),t="https://twitcasting.tv/".concat(s.screen_id);return(0,n.jsxs)("div",{className:"mx-3 space-y-1 rounded-xl border-2 border-indigo-400 bg-slate-200 py-6 shadow-2xl",children:[(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(d(),{href:t,children:(0,n.jsx)(c(),{src:r,alt:"".concat(s.user_name,"'s thumbnail"),height:300,width:200,priority:!0,className:"rounded-xl"})})}),(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(d(),{href:t,children:(0,n.jsxs)("div",{className:"my-2 space-y-1",children:[(0,n.jsx)("span",{className:"mx-1 block font-semibold",children:s.live_title}),(0,n.jsx)("span",{className:"mx-1 block",children:s.live_subtitle?s.live_subtitle:"null"}),(0,n.jsxs)("span",{className:"mx-1 block text-sm font-light text-gray-600",children:[l().unix(s.start_time).format("YYYY/MM/DD HH:mm:ss")," -"," ",l()().diff(l().unix(s.start_time),"minute"),"分経過"]})]})})}),(0,n.jsxs)("div",{className:"flex items-center justify-center space-x-2 py-3",children:[(0,n.jsx)(d(),{href:s.profile_image,children:(0,n.jsx)(c(),{src:s.profile_image,alt:"".concat(s.screen_id,"'s icon"),height:45,width:45,className:"rounded-3xl border-2 border-red-600 p-0.5"})}),(0,n.jsx)(d(),{href:t,children:(0,n.jsxs)("div",{className:"w-[150px]",children:[(0,n.jsx)("span",{className:"block truncate text-base font-semibold",children:s.user_name}),(0,n.jsxs)("span",{className:"block truncate text-sm text-gray-400",children:["@",s.screen_id]})]})})]})]})};var u=r(9008),m=r.n(u);let h=async e=>{let s=await fetch("".concat(e,"/recordings")),r=await s.json();return r.recordings},p=async(e,s)=>{let r=await fetch("".concat(e,"/recordings/").concat(s),{method:"POST"}),n=await r.json();return n},b=async(e,s)=>{let r=await fetch("".concat(e,"/recordings/").concat(s),{method:"DELETE"}),n=await r.json();return n};function f(){let[e,s]=(0,o.useState)([]),[r,t]=(0,o.useState)(!1),[a,c]=(0,o.useState)("---"),[i,d]=(0,o.useState)(""),u=(0,o.useRef)(null),f=(0,o.useRef)(null),[j,v]=(0,o.useState)(30);return(0,o.useEffect)(()=>{""===i&&d("http://".concat(window.location.hostname,":").concat(window.location.port)),c("----/--/-- --:--:--"),h(i).then(e=>{s(e),c(l()().format("YYYY/MM/DD HH:mm:ss"))});let e=setInterval(()=>{t(e=>!e)},1e3*j);return()=>clearInterval(e)},[r,i,j]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m(),{children:(0,n.jsx)("title",{children:"TARS-UI"})}),(0,n.jsxs)("main",{className:"mx-10 my-10 space-y-10",children:[(0,n.jsxs)("div",{className:"flex w-1/2 items-center space-x-5 border-2 px-5 py-2",children:[(0,n.jsx)("span",{children:"更新間隔 (秒)"}),(0,n.jsx)("input",{type:"text",ref:f,defaultValue:"30",className:"w-16 rounded-3xl border-2 border-indigo-200 bg-gray-100 px-5 py-0.5 outline-none focus:border-emerald-400"}),(0,n.jsx)("button",{className:"rounded-2xl border-2 border-violet-400 px-4 py-1.5",onClick:()=>{var e,s;let r=Number(null===(e=f.current)||void 0===e?void 0:e.value)?Number(null===(s=f.current)||void 0===s?void 0:s.value):30;v(r)},children:"設定"}),(0,n.jsxs)("span",{className:"font-medium",children:["最終更新: ",a]})]}),(0,n.jsxs)("div",{className:"flex space-x-4 py-5",children:[(0,n.jsxs)("h3",{className:"text-xl font-bold",children:["・録画タスク (",null==e?void 0:e.length,")"]}),(0,n.jsxs)("div",{className:"space-x-5",children:[(0,n.jsx)("input",{type:"text",ref:u,className:"rounded-3xl border-2 border-indigo-200 bg-gray-100 px-5 py-0.5 outline-none focus:border-emerald-400"}),(0,n.jsx)("button",{className:"rounded-2xl border-2 border-blue-400 px-4 py-1.5",onClick:()=>{var e;p(i,null===(e=u.current)||void 0===e?void 0:e.value),t(e=>!e)},children:"開始"}),(0,n.jsx)("button",{className:"rounded-2xl border-2 border-red-400 px-4 py-1.5",onClick:()=>{var e;b(i,null===(e=u.current)||void 0===e?void 0:e.value),t(e=>!e)},children:"終了"}),(0,n.jsx)("button",{className:"rounded-2xl border-2 border-violet-400 px-4 py-1.5",onClick:()=>t(e=>!e),children:"更新"})]})]}),(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"grid grid-cols-5 gap-2 md:grid-cols-6 md:gap-10",children:e&&e.map(e=>(0,n.jsx)(x,{recording:e},e.live_id))})}),(0,n.jsxs)("div",{className:"flex space-x-4 py-5",children:[(0,n.jsx)("h3",{className:"text-xl font-bold",children:"・自動録画対象 (未実装)"}),(0,n.jsxs)("div",{className:"space-x-5",children:[(0,n.jsx)("input",{type:"text",className:"rounded-3xl border-2 border-indigo-200 bg-gray-100 px-5 py-0.5 outline-none focus:border-emerald-400"}),(0,n.jsx)("button",{className:"rounded-2xl border-2 border-blue-400 px-4 py-1.5",children:"追加"}),(0,n.jsx)("button",{className:"rounded-2xl border-2 border-red-400 px-4 py-1.5",children:"削除"})]})]})]})]})}}},function(e){e.O(0,[459,774,888,179],function(){return e(e.s=8312)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/src/templates/_next/static/css/fa26f821ab36575c.css b/src/templates/_next/static/css/524589cc5c4cf117.css similarity index 56% rename from src/templates/_next/static/css/fa26f821ab36575c.css rename to src/templates/_next/static/css/524589cc5c4cf117.css index c927ae3..9a438a8 100644 --- a/src/templates/_next/static/css/fa26f821ab36575c.css +++ b/src/templates/_next/static/css/524589cc5c4cf117.css @@ -1,3 +1,3 @@ /* ! tailwindcss v3.3.1 | MIT License | https://tailwindcss.com -*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.block{display:block}.flex{display:flex}.grid{display:grid}.w-1\/2{width:50%}.w-16{width:4rem}.w-\[150px\]{width:150px}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-xl{border-radius:.75rem}.border-2{border-width:2px}.border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.border-indigo-200{--tw-border-opacity:1;border-color:rgb(199 210 254/var(--tw-border-opacity))}.border-indigo-400{--tw-border-opacity:1;border-color:rgb(129 140 248/var(--tw-border-opacity))}.border-red-400{--tw-border-opacity:1;border-color:rgb(248 113 113/var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.border-violet-400{--tw-border-opacity:1;border-color:rgb(167 139 250/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.p-0{padding:0}.p-0\.5{padding:.125rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\:border-emerald-400:focus{--tw-border-opacity:1;border-color:rgb(52 211 153/var(--tw-border-opacity))}@media (min-width:768px){.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:gap-10{gap:2.5rem}} \ No newline at end of file +*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.block{display:block}.flex{display:flex}.grid{display:grid}.w-1\/2{width:50%}.w-16{width:4rem}.w-\[150px\]{width:150px}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-xl{border-radius:.75rem}.border-2{border-width:2px}.border-amber-500{--tw-border-opacity:1;border-color:rgb(245 158 11/var(--tw-border-opacity))}.border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(107 114 128/var(--tw-border-opacity))}.border-indigo-200{--tw-border-opacity:1;border-color:rgb(199 210 254/var(--tw-border-opacity))}.border-indigo-400{--tw-border-opacity:1;border-color:rgb(129 140 248/var(--tw-border-opacity))}.border-red-400{--tw-border-opacity:1;border-color:rgb(248 113 113/var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.border-violet-400{--tw-border-opacity:1;border-color:rgb(167 139 250/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-0{padding:0}.p-0\.5{padding:.125rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\:border-emerald-400:focus{--tw-border-opacity:1;border-color:rgb(52 211 153/var(--tw-border-opacity))}@media (min-width:768px){.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:gap-10{gap:2.5rem}}@media (min-width:1024px){.lg\:gap-10{gap:2.5rem}} \ No newline at end of file diff --git a/src/templates/index.html b/src/templates/index.html index 02d7e57..48b23b2 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -1 +1 @@ -TARS-UI
更新間隔 (秒)最終更新: ---

・録画タスク (0)

・自動録画対象 (未実装)

\ No newline at end of file +TARS-UI
更新間隔 (秒)最終更新: ---

・録画タスク (0)

・自動録画対象 (0)

\ No newline at end of file From 40841f5d647acc0ba6263a6a5ef020267abf24e9 Mon Sep 17 00:00:00 2001 From: quadseed Date: Wed, 26 Apr 2023 07:00:12 +0900 Subject: [PATCH 2/2] Update README.md, .gitignore --- .gitignore | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 32df17d..5622e45 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ .idea/* outputs/* +data/* # User-specific stuff .idea/**/workspace.xml diff --git a/README.md b/README.md index 4c14778..ea2ac49 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ services: restart: unless-stopped volumes: - ./outputs/:/app/outputs + - ./data/:/app/data ports: - ${PORT}:${PORT} environment: