๋ชฉ์ฐจ
์ ํ๋ธ ์ ๋ก๋ ๋ฒ ํ ๋ชจ๋ฌ ๋ ์ด์ดํ์ + ๋ถํธ์คํธ๋ฉ select, collase expansion panel ํผ๋ธ๋ฆฌ์ฑ
๊ตฌ๊ธ์ด ๋ฌด๊ฑฐ์์ง๊ณ ์๋ค.
์์คํ ์ ๊ตฌ๊ธ์ด ๋์ด๊ฐ๋ค๋ณด๋, ๊ฐ๋ณ๋ ๊ณผ๊ฑฐ์ ๊ตฌ๊ธ ์ฝ๋ฉ์ ์ฌ๋ผ์ก๋ค.
์ ํธ๋ธ๋ ์์ฒด ํ๋ ์์ํฌ๋ก ํ์ด์ง๋ค์ด ๋ง๋ค์ด์ง๋ค๋ณด๋ ๊ฐ๋จํ ํ๋ฉด์กฐ์ฐจ๋ ๋๋ฌด ๋ฌด๊ฒ๋ค.
ytcp๋ก ์์ํ๋ ํ๊ทธ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ค์ด ๋๋ฌดํ๋ค.
ํ์ฌ์์ ๋น์ทํ ํ๋ฉด์ ๋ง๋ค์ด ๋ฌ๋ผ๊ธฐ์ ๋ถํ์ํ ๊ธฐ๋ฅ์ ์ ๊ฑฐํ๋ฉด์ ์ฎ๊ธด๋ค๊ณ ์ฎ๊ฒจ๋ดค์ง๋ง ์ฌ์ ํ ๋ฌด๊ฒ๋ค.
๊ฑท์ด๋ธ๋ค๊ณ ์ต๋ํ ๊ฑท์ด๋์ง๋ง, ๋ณต์กํ ์ ์๋ค.
์๋ฌดํผ ํน์๋ ํ์ํ ์ฌ๋๋ค์ ์ํด ์ผ๋จ ํฌ์คํ .
<!doctype html>
<html lang="ko">
<head>
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<title>์
๋ก๋</title>
<!-- jquery -->
<script type="text/javascript" src="/js/jquery-3.4.1.js"></script>
<!-- jquery -->
<!-- propper.js // for popup layer-->
<script type="text/javascript" src="/js/popper.js"></script>
<!-- moment.js // for datepicket etc...time and date -->
<script type="text/javascript" src="/js/moment.js"></script>
<!-- bootStrap DatePicker4 -->
<link rel="stylesheet" type="text/css" href="/css/tempusdominus-bootstrap-4.min.css" />
<!-- bootStrap-select CSS -->
<link rel="stylesheet" type="text/css" href="/css/bootstrap-select.css" />
<!-- bootStrap CSS -->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- lodash -->
<script type="text/javascript" src="/js/lodash.min.js"></script>
<!-- bootStrap JS -->
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<!-- bootStrap -select JS -->
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<!-- bootStrap DatePicker4 JS-->
<script type="text/javascript" src="/js/tempusdominus-bootstrap-4.min.js"></script>
<!-- bootStrap JS -->
<!-- jquery-sortable JS -->
<script type="text/javascript" src="/js/jquery-sortable.js"></script>
<script type="text/javascript" src="/js/script.js"></script>
</head>
<body>
<modal-uploads-dialog workflow-step="ESSENTIALS">
<paper-dialog id="dialog" class="style-scope modal-uploads-dialog">
<div class="dialog-content style-scope modal-uploads-dialog">
<!-- ํค๋ ์์ญ-->
<div class="header style-scope modal-uploads-dialog">
<!-- ํ์ดํ ๋ผ์ธ -->
<div class="title-row style-scope modal-uploads-dialog">
<!-- ํ์ดํ -->
<div class="title style-scope modal-uploads-dialog">
๋์์ ์
๋ก๋(๋ฒ ํ)
</div>
<!-- ํ์ดํ -->
<!-- ์ํ ๋ฉ์์ง ๋ฑ์ง -->
<modal-badge class="draft-badge style-scope modal-uploads-dialog" label="์ด์ - ์์ฒญ์์๊ฒ ํ์๋์ง ์์"
state="default" large="">
<div class="container style-scope modal-badge">
<div class="label style-scope modal-badge">์ด์ - ์์ฒญ์์๊ฒ ํ์๋์ง ์์</div>
</div>
</modal-badge>
<!-- ์ํ ๋ฉ์์ง ๋ฑ์ง -->
<!-- ์
๋ก๋ ํ๋ก๊ทธ๋ ์ค -->
<modal-uploads-progress class="progress visible style-scope modal-uploads-dialog">
<div class="progress-container style-scope modal-uploads-progress">
<paper-progress class="style-scope modal-uploads-progress" role="progressbar"
value="100" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"
aria-disabled="false">
<div id="progressContainer" class="style-scope paper-progress">
<div id="primaryProgress" class="style-scope paper-progress"
style="transform: scaleX(1);"></div>
</div>
</paper-progress>
</div>
<div class="progress-label style-scope modal-uploads-progress">๋์์ ์ฒ๋ฆฌ์จ: 100%</div>
</modal-uploads-progress>
<!-- ์
๋ก๋ ํ๋ก๊ทธ๋ ์ค -->
</div>
<!-- ํ์ดํ ๋ผ์ธ -->
<!-- ์คํ
-->
<modal-animatable
class="metadata-fade-in-section stepper-animatable style-scope modal-uploads-dialog">
<modal-stepper class="style-scope modal-uploads-dialog">
<!-- state="numbered"๊ฐ ์ฃผ์ด์ง ์คํ
์ ํ์ฑํ state="disabled"๋ ๋นํ์ฑํ-->
<!-- panel1,panel3์ style.css ๋ง์ง๋ง ์ค์ display:none๋์ด ์์.-->
<div class="stepper style-scope modal-stepper"><button
class="step remove-default-style style-scope modal-stepper" state="numbered"
step-index="0">
<div class="step-badge style-scope modal-stepper">
<span class="step-badge-number style-scope modal-stepper">1</span>
</div>
<div class="step-title style-scope modal-stepper">
<div class="style-scope modal-stepper">๊ธฐ๋ณธ ์ ๋ณด</div>
</div>
</button>
<div class="separator style-scope modal-stepper"></div><button
class="step remove-default-style style-scope modal-stepper" state="disabled"
step-index="1">
<div class="step-badge style-scope modal-stepper">
<span class="step-badge-number style-scope modal-stepper">2</span>
</div>
<div class="step-title style-scope modal-stepper">
<div class="style-scope modal-stepper">๊ณ ๊ธ ์ค์ </div>
</div>
</button>
<div class="separator style-scope modal-stepper"></div><button
class="step remove-default-style style-scope modal-stepper" state="disabled"
step-index="2">
<div class="step-badge style-scope modal-stepper"><span
class="step-badge-number style-scope modal-stepper">3</span>
</div>
<div class="step-title style-scope modal-stepper">
<div class="style-scope modal-stepper">๋ฏธ๋ฆฌ๋ณด๊ธฐ ๋ฐ ๊ฒ์</div>
</div>
</button>
<div class="separator style-scope modal-stepper"></div>
</div>
</modal-stepper>
</modal-animatable>
<!-- ์คํ
-->
</div>
<!-- ํค๋ ์์ญ-->
<!-- ์ฝํ
ํธ ์์ญ -->
<modal-animatable id="scrollable-content"
class="metadata-fade-in-section style-scope modal-uploads-dialog">
<!-- step1 -->
<modal-uploads-essentials id="essentials" class="style-scope modal-uploads-dialog panel1">
<div class="left-col style-scope modal-uploads-essentials">
<modal-form-textarea class="title-textarea style-scope modal-uploads-essentials" label="์ ๋ชฉ"
placeholder="์ ๋ชฉ ์ถ๊ฐ">
<div class=" text-container style-scope modal-form-textarea">
<div id="section-label" class="style-scope modal-form-textarea">
์ ๋ชฉ(ํ์ ํญ๋ชฉ)
</div>
<textarea class="style-scope modal-form-textarea" aria-label="์ ๋ชฉ ์ถ๊ฐ"
placeholder="์ ๋ชฉ ์ถ๊ฐ"></textarea>
</div>
</modal-form-textarea>
<modal-form-textarea class="description-textarea style-scope modal-uploads-essentials"
label="์ค๋ช
" placeholder="์ค๋ช
์ถ๊ฐ">
<div class=" text-container style-scope modal-form-textarea">
<div id="section-label" class="style-scope modal-form-textarea">
์ค๋ช
(ํ์ ํญ๋ชฉ)
</div>
<textarea class="style-scope modal-form-textarea" aria-label="์ค๋ช
์ถ๊ฐ"
placeholder="์ค๋ช
์ถ๊ฐ"></textarea>
</div>
</modal-form-textarea>
<modal-thumbnails-compact-editor class="style-scope modal-uploads-essentials">
<div class="label style-scope modal-thumbnails-compact-editor" id="autogen-thumb-label">
๋ฏธ๋ฆฌ๋ณด๊ธฐ ์ด๋ฏธ์ง
</div>
<div id="still-picker" role="listbox" aria-labelledby="autogen-thumb-label"
class="style-scope modal-thumbnails-compact-editor">
<modal-thumbnails-compact-editor-uploader
class="style-scope modal-thumbnails-compact-editor">
<div class="upload-picker style-scope modal-thumbnails-compact-editor-uploader">
<button
class="remove-default-style style-scope modal-thumbnails-compact-editor-uploader"><span
class="style-scope modal-thumbnails-compact-editor-uploader">
๋ง์ถค ๋ฏธ๋ฆฌ๋ณด๊ธฐ ์ด๋ฏธ์ง(2MB ์ดํ)
</span>
</button></div>
</modal-thumbnails-compact-editor-uploader>
<modal-still-cell role="option" id="still-0"
class="style-scope modal-thumbnails-compact-editor"
aria-label="์๋ ์์ฑ๋ ๋ฏธ๋ฆฌ๋ณด๊ธฐ ์ด๋ฏธ์ง 1" aria-disabled="false"
aria-describedby="goog_890018499"><button
class="remove-default-style style-scope modal-still-cell">
<modal-img-with-fallback class="still style-scope modal-still-cell"
always-show-last-image="" rounded="" image-ready="">
<div class="container style-scope modal-img-with-fallback">
<img id="img-with-fallback"
class="style-scope modal-img-with-fallback"
src="https://i9.ytimg.com/vi/WrrXPSPbvpU/mq1.jpg?sqp=CPPxpuwF&rs=AOn4CLAQi8J3oaOpRYbpfhtkoyAytGEfig">
</div>
</modal-img-with-fallback>
</button></modal-still-cell>
<modal-still-cell role="option" id="still-1"
class="style-scope modal-thumbnails-compact-editor"
aria-label="์๋ ์์ฑ๋ ๋ฏธ๋ฆฌ๋ณด๊ธฐ ์ด๋ฏธ์ง 2" aria-disabled="false"
aria-describedby="goog_890018500" selected=""><button
class="remove-default-style style-scope modal-still-cell">
<modal-img-with-fallback class="still style-scope modal-still-cell"
always-show-last-image="" image-ready="">
<div class="container style-scope modal-img-with-fallback">
<img id="img-with-fallback"
class="style-scope modal-img-with-fallback"
src="https://i9.ytimg.com/vi/WrrXPSPbvpU/mq2.jpg?sqp=CPPxpuwF&rs=AOn4CLA4pK-Upu3JcgkHKhwRFFr_WHxE0Q">
</div>
</modal-img-with-fallback>
</button></modal-still-cell>
<modal-still-cell role="option" id="still-2"
class="style-scope modal-thumbnails-compact-editor"
aria-label="์๋ ์์ฑ๋ ๋ฏธ๋ฆฌ๋ณด๊ธฐ ์ด๋ฏธ์ง 3" aria-disabled="false"
aria-describedby="goog_890018501"><button
class="remove-default-style style-scope modal-still-cell">
<modal-img-with-fallback class="still style-scope modal-still-cell"
always-show-last-image="" rounded="" image-ready="">
<div class="container style-scope modal-img-with-fallback">
<img id="img-with-fallback"
class="style-scope modal-img-with-fallback"
src="https://i9.ytimg.com/vi/WrrXPSPbvpU/mq3.jpg?sqp=CPPxpuwF&rs=AOn4CLD_Nfcqfwpm-hE1WT_K5CpU-DmjFw">
</div>
</modal-img-with-fallback>
</button></modal-still-cell>
</div>
</modal-thumbnails-compact-editor>
</div>
<div class="right-col style-scope modal-uploads-essentials">
<modal-video-metadata-info>
<div class="container style-scope modal-video-metadata-info">
<iframe width="328px" height="184.5px" frameborder="0"
src="https://www.youtube.com/embed/QLYvOsGqd3s"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen id="ctrlVideo"></iframe>
<div class="row style-scope modal-video-metadata-info">
<div class="left style-scope modal-video-metadata-info">
<div class="label style-scope modal-video-metadata-info">๋์์ URL</div>
<div class="value video-url-fadeable style-scope modal-video-metadata-info">
<a target="_blank" class="style-scope modal-video-metadata-info"
href="https://youtu.be/WrrXPSPbvpU">https://youtu.be/WrrXPSPbsvpU</a>
</div>
</div>
</div>
<div class="label style-scope modal-video-metadata-info">ํ์ผ ์ด๋ฆ</div>
<div id="original-filename" class="value style-scope modal-video-metadata-info">
20190921_144813.mp4
</div>
</div>
</modal-video-metadata-info>
</div>
</modal-uploads-essentials>
<!-- step1 -->
<!-- step2 -->
<modal-uploads-extras class="style-scope modal-uploads-dialog panel2">
<div class="section">
<div class="section-title">๊ฐ์ฅ ๋ง์ด ์ฌ์ฉํ๋</div>
<div class="col left">
<!--- -->
<div class="exp1">
<p class="expTitle">์ฌ์๋ชฉ๋ก</p>
<p class="desc">์ด ๋์์์ 1๊ฐ ์ด์์ ์ฌ์๋ชฉ๋ก์ ์ถ๊ฐํ์ธ์.</p>
<div class="posAbs fRight"><input type="button"
class="btn btn-toggle-arrow panel1Icon" data-target="#panel1Content"
data-toggle="collapse" aria-expanded="false" aria-controls="panel1Content">
</div>
<div class="collapse" id="panel1Content">
<div class="collapse-body">
<ul>
<li><label for="item1"><input type="checkbox" name="chekcbox"
class="chk" id="item1"> ๊ฐ์์ง</label></li>
<li><label for="item2"><input type="checkbox" name="chekcbox"
class="chk" id="item2"> ๊ณ ์์ด</label></li>
</ul>
</div>
</div>
</div>
<!--- -->
<!--- -->
<div class="exp1">
<p class="expTitle">์นด๋</p>
<p class="desc">์ด ๋์์์ ์ ๋ณด์นด๋๋ฅผ ์ถ๊ฐํ์ธ์.</p>
<div class="posAbs fRight"><i class="new_window svg"></i></div>
</div>
<!--- -->
<!--- -->
<div class="exp1">
<p class="expTitle">ํ๊ทธ</p>
<p class="desc">๋ชจ๋๊ฐ ์ฝํ
์ธ ๋ฅผ ์ด์ฉํ ์ ์๊ฒ ๋ง๋์ธ์.</p>
<div class="posAbs fRight"><input type="button"
class="btn btn-toggle-arrow panel1Icon" data-target="#panel2Content"
data-toggle="collapse" aria-expanded="false" aria-controls="panel2Content">
</div>
<div class="collapse" id="panel2Content">
<div class="collapse-body">
<div class="cardModalTagCloud">
<span class="tabCloudCore">
<span class="tagBadge">
<a href="/list.php?keyword='์ ๊ฒฝํธ'">์ ๊ฒฝํธ</a>
<input type="button" class="btnDelete" value="X">
</span>
<span class="tagBadge">
<a href="/list.php?keyword='์ ๊ฒฝํธ'">์๋ชฉ</a>
<input type="button" class="btnDelete" value="X">
</span>
</span>
<input type="text" class="noborder tagInput" placeholder="๊ฒ์์ด๋ฅผ ์
๋ ฅํ์ธ์">
</div>
<script>
$(document).ready(function () {
//tag Delete
$('.tagBadge .btnDelete').click(function () {
console.log($(this).parents('.tagBadge')
.html());
$(this).parents('.tagBadge').remove('span');
});
});
</script>
</div>
</div>
</div>
<!--- -->
</div>
<div class="col right">
<!--- -->
<div class="exp1">
<p class="expTitle">์ต์ข
ํ๋ฉด</p>
<p class="desc">์ด ๋์์์ 1๊ฐ ์ด์์ ์ฌ์๋ชฉ๋ก์ ์ถ๊ฐํ์ธ์.</p>
<div class="posAbs fRight"><i class="new_window svg"></i></div>
</div>
<!--- -->
<!--- -->
<div class="exp1">
<p class="expTitle">์ธ์ด ๋ฐ ์๋ง</p>
<p class="desc">๋ชจ๋๊ฐ ์ฝํ
์ธ ๋ฅผ ์ด์ฉํ ์ ์๊ฒ ๋ง๋์ธ์.</p>
<div class="posAbs fRight"><input type="button"
class="btn btn-toggle-arrow panel1Icon" data-target="#panel3Content"
data-toggle="collapse" aria-expanded="false" aria-controls="panel3Content">
</div>
<div class="collapse" id="panel3Content">
<div class="collapse-body">
<!-- ๋ค์ค์ ํ ์
๋ ํธ์
๋๋ค. multiple ์ดํธ๋ฆฌ๋ทฐํธ๋ฅผ ์ ๊ฑฐํ๋ฉด ๋จ์ ์
๋ ํธ ๋ฐ์ค๊ฐ ๋ฉ๋๋ค. -->
<select multiple class="form-control selectpicker noborder"
data-live-search="true" title="์๋ง" name="ctrlSortValue"
id="ctrlPlayList">
<option>ํ๊ตญ์ด</option>
<option>๋
์ผ์ด</option>
<option>์๋ฐ์ด</option>
<option>๋น ์ผ์ด</option>
</select>
</div>
</div>
</div>
<!--- -->
</div>
</div>
<div class="section">
<div class="section-title">๊ฐ์ฅ ๋ง์ด ์ฌ์ฉํ๋</div>
<div class="col left">
<!--- -->
<div class="exp1">
<p class="expTitle">๊ทธ๋ฅ ์ธํ๋ฐ์ค</p>
<p class="desc">์ด ๋์์์ 1๊ฐ ์ด์์ ์ฌ์๋ชฉ๋ก์ ์ถ๊ฐํ์ธ์.</p>
<div class="posAbs fRight"><input type="button"
class="btn btn-toggle-arrow panel1Icon" data-target="#panel4Content"
data-toggle="collapse" aria-expanded="false" aria-controls="panel4Content">
</div>
<div class="collapse" id="panel4Content">
<div class="collapse-body">
<input type="text" class="form-control" placeholder="๋ด์ฉ์ ์
๋ ฅํ์ธ์">
</div>
</div>
</div>
<!--- -->
<!--- -->
<div class="exp1">
<p class="expTitle">์นด๋</p>
<p class="desc">์ด ๋์์์ ์ ๋ณด์นด๋๋ฅผ ์ถ๊ฐํ์ธ์.</p>
<div class="posAbs fRight"><i class="new_window svg"></i></div>
</div>
<!--- -->
</div>
<div class="col right">
<!--- -->
<div class="exp1">
<p class="expTitle">์ต์ข
ํ๋ฉด</p>
<p class="desc">์ด ๋์์์ 1๊ฐ ์ด์์ ์ฌ์๋ชฉ๋ก์ ์ถ๊ฐํ์ธ์.</p>
<div class="posAbs fRight"><i class="new_window svg"></i></div>
</div>
<!--- -->
</div>
</div>
</modal-uploads-extras>
<!-- step2 -->
<!-- step3 -->
<modal-uploads-essentials id="essentials" class="style-scope modal-uploads-dialog panel3">
<div class="left-col style-scope modal-uploads-essentials">
<h2 class="section-title">๊ณต๊ฐ ์ํ ์ ํ</h2>
<div class="diVider"">
<label class=" radioCheck" for="radio1"><input type="radio" name="radio" id="radio1">
๊ณต๊ฐ</label>
<p class="label-desc">๋ชจ๋ ์ฌ์ฉ์๊ฐ ๋ด ๋์์์ ๋ณผ ์ ์์ต๋๋ค.</p>
</div>
<div class="diVider">
<label class="radioCheck" for="radio2"><input type="radio" name="radio" id="radio2">
๋น๊ณต๊ฐ</label>
<p class="label-desc">๋์ ๋ด๊ฐ ์ ํํ ์ฌ์ฉ์๋ง ๋ด ๋์์์ ๋ณผ ์ ์์ต๋๋ค.</p>
</div>
<div class="diVider">
<label class="radioCheck" for="radio3"><input type="radio" name="radio" id="radio3">
๋ฏธ๋ฑ๋ก</label>
<p class="label-desc">๋งํฌ๊ฐ ์๋ ์ฌ๋๋ง ๋ด ๋์์์ ๋ณผ ์ ์์ต๋๋ค.</p>
</div>
</div>
<div class="right-col style-scope modal-uploads-essentials">
<modal-video-metadata-info>
<div class="container style-scope modal-video-metadata-info">
<iframe width="328px" height="184.5px" frameborder="0"
src="https://www.youtube.com/embed/QLYvOsGqd3s"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen id="ctrlVideo"></iframe>
<div class="row style-scope modal-video-metadata-info">
<div class="left style-scope modal-video-metadata-info">
<div class="label style-scope modal-video-metadata-info">๋์์ URL</div>
<div class="value video-url-fadeable style-scope modal-video-metadata-info">
<a target="_blank" class="style-scope modal-video-metadata-info"
href="https://youtu.be/WrrXPSPbvpU">https://youtu.be/WrrXPSPbsvpU</a>
</div>
</div>
</div>
<div class="label style-scope modal-video-metadata-info">ํ์ผ ์ด๋ฆ</div>
<div id="original-filename" class="value style-scope modal-video-metadata-info">
20190921_144813.mp4
</div>
</div>
</modal-video-metadata-info>
</div>
</modal-uploads-essentials>
<!-- step3 -->
</modal-animatable>
<!-- ์ฝํ
ํธ ์์ญ -->
<div class="button-area ">
<div class="inner-button-area">
<div class="left-button-area">ํ์ํ ๋ ์ฐ๋ ์์ญ</div>
<div class="right-button-area"><input type="button" class="btn-primary" value="๋ค์">
</div>
</div>
</div>
</div>
</paper-dialog>
<div class="popup-host-behavior-backdrop"></div>
</modal-uploads-dialog>
</body>
</html>
๊ธฐํ css์ js๋ ํ์ผ๋ก ์ ๋ก๋
๋ฐ์ํ
๋๊ธ