이화경 이화경 10-22
차트 JS 수정 및 나의 강의실 퍼블 진행중
@f90edc527e28627fa542a0f1a3e98736594266c8
html/onSejong/index.html
--- html/onSejong/index.html
+++ html/onSejong/index.html
@@ -761,7 +761,7 @@
                                     <ul>
                                         <li class="working">수강생 관리,manager/myclass/memberManage_student.html</li>
                                         <li class="working">[팝업]거절사유,manager/class/pop_rejectReason.html</li>
-                                        <li class="before">초대하기</li>
+                                        <li class="working">초대하기,manager/myclass/invite.html</li>
                                         <li class="before">초대하기 링크</li>
                                         <li class="working">[팝업]학생찾기,manager/class/pop_studentFind.html</li>
                                         <li class="working">청강생관리,manager/myclass/memberManage_auditor.html</li>
@@ -793,7 +793,7 @@
                                         <li class="working">[팝업]상세보기,manager/myclass/pop_studentReflection.html</li>
                                     </ul>
                                 </li>
-                                <li class="before">학습활동 보고서</li>
+                                <li class="before">학습활동 보고서,manager/myclass/activityReport.html</li>
                                 <li class="before">SMS 보내기 </li>
                             </ul>
                         </li>
 
html/onSejong/manager/myclass/activityReport.html (added)
+++ html/onSejong/manager/myclass/activityReport.html
@@ -0,0 +1,257 @@
+<!DOCTYPE html>
+<html lang="ko">
+    <head>
+        <title>온세종학교</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+        <meta name="Author" content="" />
+        <meta name="Keywords" content="" />
+        <meta name="Description" content="" />
+        <meta name="format-detection" content="telephone=no" />
+        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
+        <link href="/resources/front/site/SITE_00000/css/style.css" rel="stylesheet" />
+        <!-- 공통 plugin -->
+        <script src="/resources/front/site/SITE_00000/js/common/jquery/jquery-3.6.0.min.js"></script>
+        <script src="/resources/front/site/SITE_00000/js/common/jquery/jquery-ui.min.js"></script>
+        <!-- //공통 plugin -->
+        <!-- 페이지 plugin-->
+        <script src="/resources/front/site/SITE_00000/js/common/vendor/swiper/swiper-bundle.js"></script>
+        <script src="/resources/front/site/SITE_00000/js/common/vendor/etc/jQuery.tagify.min.js"></script>
+        <!-- chart -->
+        <script src="/resources/front/site/SITE_00000/js/common/vendor/chart/chart4.3.0.js"></script>
+        <script src="/resources/front/site/SITE_00000/js/common/vendor/chart/chartjs-plugin-datalabels@2.0.js"></script>
+        <!-- //chart -->
+        <!-- //페이지 plugin-->
+        <!-- 공통 퍼블 layout: 개발시 삭제-->
+        <script src="/resources/front/site/SITE_00000/js/_layout.js"></script>
+        <!--//퍼블 layout-->
+        <!-- 공통 메뉴 js-->
+        <!-- //공통 메뉴 js -->
+        <!--공통 퍼블 js-->
+        <script src="/resources/front/site/SITE_00000/js/common.js"></script>
+        <script src="/resources/front/site/SITE_00000/js/common-custom.js"></script>
+        <!--//공통 퍼블 js-->
+    </head>
+
+    <body>
+        <div class="accessibility">
+            <a href="#skipToContents" title="콘텐츠를 바로 볼 수 있도록 건너뛰기합니다.">콘텐츠 바로가기</a>
+        </div>
+        <!-- for-teacher / for-student -->
+        <div class="container">
+            <!-- 통합 헤더 및 네비게이션 -->
+            <header class="site-header"></header>
+            <div class="site-body" id="skipToContents">
+                <div class="wrap">
+                    <aside class="lnb"></aside>
+                    <div class="site-cont">
+                        <ul class="breadcrumb">
+                            <li><a href="#none" class="home">홈</a></li>
+                            <li><a href="#none">1depth</a></li>
+                            <li><a href="#none">2depth</a></li>
+                        </ul>
+                        <div class="page-tit-area">
+                            <div class="l-area">
+                                <h2 class="title-xlg">학습활동 보고서</h2>
+                            </div>
+                        </div>
+                        <div class="summary-page">
+                            <div class="l-area">
+                                <div class="img-area">
+                                    <img src="/resources/front/site/SITE_00000/images/common/ico-summary/ico-summary-message.svg" alt="" aria-hidden="true">
+                                </div>
+                                <div class="txt-area">
+                                    <strong class="summary-tit">이용 가이드</strong>
+                                    <ul class="bullet">
+                                        <li>해당 과정 전체의 데이터를 확인할 수 있습니다.</li>
+                                        <li>학생멤버를 선택하시면 멤버 1명의 데이터를 확인할 수 있습니다.</li>
+                                        <li>학습활동이 없는 기간이나 항목의 경우 데이터가 조회되지 않을 수 있습니다.</li>
+                                        <li>데이터는 어제까지(OR 최근) 누적된 내용으로 제공됩니다.</li>
+                                    </ul>
+                                </div>
+                            </div>
+                        </div>
+                        <div class="fnc-extend-area sticky top0">
+                            <div class="extend-filter-area">
+                                <div class="l-area">
+                                    <div class="txt-area">
+                                        학생 선택
+                                    </div>
+                                    <select title="학생 선택">
+                                        <option value="">전체</option>
+                                    </select>
+                                </div>
+                                <div class="r-area">
+                                    <div class="txt-area">
+                                        기간 선택
+                                    </div>
+                                    <input type="date" title="시작일자 선택">
+                                    <span>-</span>
+                                    <input type="date" title="종료일자 선택">
+                                    <button type="button" class="btn primary">확인</button>
+                                </div>
+                            </div>
+                        </div>
+                        <section class="section sm">
+                            <div class="section-tit-area">
+                                <div class="l-area">
+                                    <h3 class="title-lg">학습 현황</h3>
+                                </div>
+                            </div>
+                            <div class="chart-summary-list">
+                                <li>
+                                    <div class="txt-area">
+                                        <h4 class="summary-tit">수업 이수율</h4>
+                                        <div>
+                                            <a href="#none" class="btn sm primary ico-arrow-right back">GO</a>
+                                        </div>
+                                    </div>
+                                    <div class="chart-area">
+                                        <div class="chart">
+                                            <canvas id="chart1" class="chart-doughnut"></canvas>
+                                            <span class="txt">0%</span>
+                                        </div>
+                                    </div>
+                                </li>
+                                <li>
+                                    <div class="txt-area">
+                                        <h4 class="summary-tit">과제 제출률</h4>
+                                        <div>
+                                            <a href="#none" class="btn sm primary ico-arrow-right back">GO</a>
+                                        </div>
+                                    </div>
+                                    <div class="chart-area">
+                                        <div class="chart">
+                                            <canvas id="chart2" class="chart-doughnut"></canvas>
+                                            <span class="txt">40%</span>
+                                        </div>
+                                    </div>
+                                </li>
+                                <li>
+                                    <div class="txt-area">
+                                        <h4 class="summary-tit">평가 참여율</h4>
+                                        <div>
+                                            <a href="#none" class="btn sm primary ico-arrow-right back">GO</a>
+                                        </div>
+                                    </div>
+                                    <div class="chart-area">
+                                        <div class="txt-none spacing-none">
+                                            <figure>
+                                                <img src="/resources/front/site/SITE_00000/images/common/common/txt_none.svg" alt="콘텐츠 없음">
+                                            </figure>
+                                            <p>활동 및 분석 데이터가 없습니다.</p>
+                                        </div>
+                                    </div>
+                                </li>
+                            </div>
+                        </section>
+                        <section class="section-box">
+                            <header class="box-header">
+                                <div class="l-area">
+                                    <h3 class="section-box-tit">수업 이수율</h3>
+                                </div>
+                            </header>
+                            <div class="box-body">
+                                <div class="chart-area">
+                                    <div class="chart">
+                                        <canvas id="courseCompletion" style="max-height: 28rem;"></canvas>
+                                    </div>
+                                </div>
+                            </div>
+                        </section>
+                        <div class="row">
+                            <section class="section-box">
+                                <header class="box-header">
+                                    <div class="l-area">
+                                        <h3 class="section-box-tit">문항 난이도별 정답률</h3>
+                                    </div>
+                                </header>
+                                <div class="box-body">
+                                    <div class="chart-area">
+                                        <div class="chart">
+                                            <canvas id="quizLevel" style="max-height: 28rem;"></canvas>
+                                        </div>
+                                    </div>
+                                </div>
+                            </section>
+                            <section class="section-box">
+                                <header class="box-header">
+                                    <div class="l-area">
+                                        <h3 class="section-box-tit">제일 많이 틀린 문항</h3>
+                                    </div>
+                                    <div class="r-area">
+                                        <a href="#none" class="btn sm secondary ico-arrow-right back">문제풀이 결과 바로가기</a>
+                                    </div>
+                                </header>
+                                <div class="box-body">
+                                    <ul class="chart-bar-list">
+                                        <li>
+                                            <div class="chart-tit-area">
+                                                <div class="chart-tit">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div>
+                                            </div>
+                                            <div class="bar-area">
+                                                <button type="button" class="bar" style="width:50%;">50%</button><small class="chart-label">50% 오답률</small>
+                                            </div>
+                                        </li>
+                                        <li>
+                                            <div class="chart-tit-area">
+                                                <div class="chart-tit">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div>
+                                            </div>
+                                            <div class="bar-area">
+                                                <button type="button" class="bar" style="width:22%;">22%</button><small class="chart-label">22% 오답률</small>
+                                            </div>
+                                        </li>
+                                        <li>
+                                            <div class="chart-tit-area">
+                                                <div class="chart-tit">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div>
+                                            </div>
+                                            <div class="bar-area">
+                                                <button type="button" class="bar" style="width:50%;">50%</button><small class="chart-label">50% 오답률</small>
+                                            </div>
+                                        </li>
+                                        <li>
+                                            <div class="chart-tit-area">
+                                                <div class="chart-tit">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div>
+                                            </div>
+                                            <div class="bar-area">
+                                                <button type="button" class="bar" style="width:22%;">22%</button><small class="chart-label">22% 오답률</small>
+                                            </div>
+                                        </li>
+                                    </ul>
+                                </div>
+                            </section>
+                        </div>
+                        <div class="btn-cont">
+                            <button class="btn lg">목록</button>
+                            <button type="submit" class="btn lg primary">저장</button>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <footer class="site-footer"></footer>
+        </div>
+        <!-- toast -->
+        <div class="toast"></div>
+        <!--popup-->
+        <div class="dim"></div>
+
+        <script>
+            $(document).ready(function () {
+                // 학습 현황
+                createChartDoughnut('chart1', 0, gradientColorPrimary);
+                createChartDoughnut('chart2', 40, gradientColorPrimary);
+
+                // 수업 이수율
+                const courseCompletionData = {
+                    labels: ['2025-01-01', '2025-01-02', '2025-01-03', '2025-01-04', '2025-01-05'],
+                    data: [0, 50, 87, 30, 100],
+                };
+
+                createChartBarWidthauto('courseCompletion', courseCompletionData.labels, courseCompletionData.data, null, 65);
+                // createChartBar('courseCompletion', courseCompletionData.labels, courseCompletionData.data,);
+                
+            });
+            
+        </script>
+    </body>
+</html>
 
html/onSejong/manager/myclass/gradeInput copy.html (deleted)
--- html/onSejong/manager/myclass/gradeInput copy.html
@@ -1,196 +0,0 @@
-<!DOCTYPE html>
-<html lang="ko">
-    <head>
-        <title>온세종학교</title>
-        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-        <meta name="Author" content="" />
-        <meta name="Keywords" content="" />
-        <meta name="Description" content="" />
-        <meta name="format-detection" content="telephone=no" />
-        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
-        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
-        <link href="/resources/front/site/SITE_00000/css/style.css" rel="stylesheet" />
-        <!-- 공통 plugin -->
-        <script src="/resources/front/site/SITE_00000/js/common/jquery/jquery-3.6.0.min.js"></script>
-        <script src="/resources/front/site/SITE_00000/js/common/jquery/jquery-ui.min.js"></script>
-        <!-- //공통 plugin -->
-        <!-- 페이지 plugin-->
-        <script src="/resources/front/site/SITE_00000/js/common/vendor/swiper/swiper-bundle.js"></script>
-        <script src="/resources/front/site/SITE_00000/js/common/vendor/etc/jQuery.tagify.min.js"></script>
-        <!-- chart -->
-        <script src="/resources/front/site/SITE_00000/js/common/vendor/chart/chart4.3.0.js"></script>
-        <script src="/resources/front/site/SITE_00000/js/common/vendor/chart/chartjs-plugin-datalabels@2.0.js"></script>
-        <!-- //chart -->
-        <!-- //페이지 plugin-->
-        <!-- 공통 퍼블 layout: 개발시 삭제-->
-        <script src="/resources/front/site/SITE_00000/js/_layout.js"></script>
-        <!--//퍼블 layout-->
-        <!-- 공통 메뉴 js-->
-        <!-- //공통 메뉴 js -->
-        <!--공통 퍼블 js-->
-        <script src="/resources/front/site/SITE_00000/js/common.js"></script>
-        <script src="/resources/front/site/SITE_00000/js/common-custom.js"></script>
-        <!--//공통 퍼블 js-->
-    </head>
-
-    <body>
-        <div class="accessibility">
-            <a href="#skipToContents" title="콘텐츠를 바로 볼 수 있도록 건너뛰기합니다.">콘텐츠 바로가기</a>
-        </div>
-        <!-- for-teacher / for-student -->
-        <div class="container">
-            <!-- 통합 헤더 및 네비게이션 -->
-            <header class="site-header"></header>
-            <div class="site-body" id="skipToContents">
-                <div class="wrap">
-                    <aside class="lnb"></aside>
-                    <div class="site-cont">
-                        <ul class="breadcrumb">
-                            <li><a href="#none" class="home">홈</a></li>
-                            <li><a href="#none">1depth</a></li>
-                            <li><a href="#none">2depth</a></li>
-                        </ul>
-                        <div class="page-tit-area">
-                            <div class="l-area">
-                                <h2 class="title-xlg">성적직접관리</h2>
-                            </div>
-                        </div>
-                        <section class="section">
-                            <div class="section-tit-area">
-                                <div class="l-area">
-                                    <h3 class="txt-hide">평가 상세</h3>
-                                </div>
-                                <div class="r-area">
-                                    <p class="msg">
-                                        <i class="required">*<span class="txt-hide">필수</span></i> 필수 입력
-                                    </p>
-                                </div>
-                            </div>
-                            <div class="write-type">
-                                <table>
-                                    <caption>
-                                        평가 상세
-                                    </caption>
-                                    <colgroup>
-                                        <col style="width: 160px" />
-                                        <col />
-                                    </colgroup>
-                                    <tbody>
-                                        <tr>
-                                            <th scope="row">
-                                                평가명<i class="required">*<span class="txt-hide">필수</span></i>
-                                            </th>
-                                            <td>
-                                                <input
-                                                    type="text"
-                                                    title="평가명을 입력하세요."
-                                                    class="q4"
-                                                    placeholder="평가명을 입력하세요."
-                                                />
-                                            </td>
-                                        </tr>
-                                        <tr>
-                                            <th scope="row">반영비율(%)</th>
-                                            <td>
-                                                <select title="지필 선택">
-                                                    <option>지필</option>
-                                                </select>
-                                                <select title="비율 선택">
-                                                    <option>%</option>
-                                                </select>
-                                            </td>
-                                        </tr>
-                                    </tbody>
-                                </table>
-                            </div>
-                        </section>
-                        <section class="section last">
-                            <div class="fnc-area">
-                                <div class="l-area">
-                                    <h3 class="txt-hide">성적직접관리</h3>
-                                </div>
-                                <div class="l-area">
-                                    <p>총 <em>00</em> 건</p>
-                                </div>
-                                <div class="r-area">
-                                    <fieldset class="search-area">
-                                        <legend>검색</legend>
-                                        <div class="search">
-                                            <input type="text" placeholder="검색어를 입력하세요." title="검색어를 입력하세요.">
-                                            <button class="btn ico-search">검색</button>
-                                        </div>
-                                    </fieldset>
-                                </div>
-                            </div>
-                            <div class="list-type">
-                                <table>
-                                    <caption>
-                                        성적직접관리 상세
-                                    </caption>
-                                    <thead>
-                                        <tr>
-                                            <th scope="col">연번</th>
-                                            <th scope="col">학년</th>
-                                            <th scope="col">학교</th>
-                                            <th scope="col">반</th>
-                                            <th scope="col">번호</th>
-                                            <th scope="col">성명</th>
-                                            <th scope="col">점수 입력(점)</th>
-                                        </tr>
-                                    </thead>
-                                    <tbody>
-                                        <tr>
-                                            <td>3</td>
-                                            <td data-tit="학년">2</td>
-                                            <td data-tit="학교">다정초등학교</td>
-                                            <td data-tit="반">1</td>
-                                            <td data-tit="번호">3</td>
-                                            <td data-tit="이름">김세연</td>
-                                            <td data-tit="점수입력(점)">
-                                                <input type="number" title="점수 입력" />
-                                            </td>
-                                        </tr>
-                                        <tr>
-                                            <td>2</td>
-                                            <td data-tit="학년">2</td>
-                                            <td data-tit="학교">다정초등학교</td>
-                                            <td data-tit="반">1</td>
-                                            <td data-tit="번호">2</td>
-                                            <td data-tit="이름">김세연</td>
-                                            <td data-tit="점수입력(점)">
-                                                <input type="number" title="점수 입력" />
-                                            </td>
-                                        </tr>
-                                        <tr>
-                                            <td>1</td>
-                                            <td data-tit="학년">2</td>
-                                            <td data-tit="학교">다정초등학교</td>
-                                            <td data-tit="반">1</td>
-                                            <td data-tit="번호">1</td>
-                                            <td data-tit="이름">김세연</td>
-                                            <td data-tit="점수입력(점)">
-                                                <input type="number" title="점수 입력" />
-                                            </td>
-                                        </tr>
-                                    </tbody>
-                                </table>
-                            </div>
-                        </section>
-                        <div class="btn-fnc-cont align-left">
-                            <button class="btn sm danger">삭제</button>
-                        </div>
-                        <div class="btn-cont">
-                            <button class="btn lg">목록</button>
-                            <button type="submit" class="btn lg primary">저장</button>
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <footer class="site-footer"></footer>
-        </div>
-        <!-- toast -->
-        <div class="toast"></div>
-        <!--popup-->
-        <div class="dim"></div>
-    </body>
-</html>
 
html/onSejong/manager/myclass/invite.html (added)
+++ html/onSejong/manager/myclass/invite.html
@@ -0,0 +1,151 @@
+<!DOCTYPE html>
+<html lang="ko">
+	<head>
+		<title>온세종학교</title>
+		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+		<meta name="Author" content="" />
+		<meta name="Keywords" content="" />
+		<meta name="Description" content="" />
+		<meta name="format-detection" content="telephone=no" />
+		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
+		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
+		<link href="/resources/front/site/SITE_00000/css/style.css" rel="stylesheet" />
+		<!-- 공통 plugin -->
+		<script src="/resources/front/site/SITE_00000/js/common/jquery/jquery-3.6.0.min.js"></script>
+		<script src="/resources/front/site/SITE_00000/js/common/jquery/jquery-ui.min.js"></script>
+		<!-- //공통 plugin -->
+		<!-- 페이지 plugin-->
+		<script src="/resources/front/site/SITE_00000/js/common/vendor/swiper/swiper-bundle.js"></script>
+		<script src="/resources/front/site/SITE_00000/js/common/vendor/etc/jQuery.tagify.min.js"></script>
+		<!-- chart -->
+		<script src="/resources/front/site/SITE_00000/js/common/vendor/chart/chart4.3.0.js"></script>
+		<script src="/resources/front/site/SITE_00000/js/common/vendor/chart/chartjs-plugin-datalabels@2.0.js"></script>
+		<!-- //chart -->
+		<!-- //페이지 plugin-->
+		<!-- 공통 퍼블 layout: 개발시 삭제-->
+		<script src="/resources/front/site/SITE_00000/js/_layout.js"></script>
+		<!--//퍼블 layout-->
+		<!-- 공통 메뉴 js-->
+		<!-- //공통 메뉴 js -->
+		<!--공통 퍼블 js-->
+		<script src="/resources/front/site/SITE_00000/js/common.js"></script>
+		<script src="/resources/front/site/SITE_00000/js/common-custom.js"></script>
+		<!--//공통 퍼블 js-->
+	</head>
+
+	<body>
+		<div class="accessibility">
+			<a href="#skipToContents" title="콘텐츠를 바로 볼 수 있도록 건너뛰기 합니다.">콘텐츠 바로가기</a>
+		</div>
+		<!-- for-teacher / for-student -->
+		<div class="container">
+			<!-- 통합 헤더 및 네비게이션 -->
+			<header class="site-header"></header>
+			<div class="site-body" id="skipToContents">
+				<div class="wrap">
+					<div class="site-cont">
+						<ul class="breadcrumb">
+							<li><a href="#none" class="home">홈</a></li>
+							<li><a href="#none">1depth</a></li>
+							<li><a href="#none">2depth</a></li>
+						</ul>
+						<div class="page-tit-area">
+							<div class="l-area">
+								<h2 class="title-xlg">초대하기</h2>
+							</div>
+							<div class="r-area">
+								<div class="btn-group">
+									<button class="btn secondary ico-upload">엑셀파일로 추가하기</button>
+									<button class="btn secondary ico-search">학생찾기</button>
+								</div>
+							</div>
+						</div>
+						<div class="summary-page">
+							<div class="l-area">
+								<div class="img-area">
+									<img src="/resources/front/site/SITE_00000/images/common/ico-summary/ico-summary-message.svg" alt="" aria-hidden="true" />
+								</div>
+								<div class="txt-area">
+									<p>초대하고자 하는 학생의 이름/ID/휴대 전화번호를 입력하거나 계정을 양식에 맞춰 업로드해 주세요. <br>
+                                    초대는 ID 또는 휴대 전화번호로 등록할 수 있습니다.</p>
+								</div>
+							</div>
+							<div class="r-area">
+								<div class="btn-group">
+									<button class="btn sm ico-download back">양식 다운로드</button>
+								</div>
+							</div>
+						</div>
+						<div class="list-type">
+							<table>
+								<caption>콘텐츠 목록</caption>
+								<colgroup>
+									<col style="width: 4.8rem">
+                                    <col>
+                                    <col>
+                                    <col>
+								</colgroup>
+								<thead>
+									<tr>
+										<th scope="col">
+                                            <div class="checkradio">
+												<input type="checkbox" class="icon-only" id="chkAll">
+												<label for="chkAll">선택</label>
+											</div>
+                                        </th>
+										<th scope="col">회원 ID</th>
+										<th scope="col">이름</th>
+										<th scope="col">전화번호</th>
+									</tr>
+								</thead>
+								<tbody>
+									<tr>
+										<td>
+											<div class="checkradio">
+												<input type="checkbox" class="icon-only" id="chk1_1">
+												<label for="chk1_1">선택</label>
+											</div>
+										</td>
+										<td data-tit="회원 ID">user_id</td>
+										<td data-tit="이름">홍길동</td>
+										<td data-tit="전화번호">010-1234-5678</td>
+									</tr>
+									<tr>
+										<td>
+											<div class="checkradio">
+												<input type="checkbox" class="icon-only" id="chk1_2">
+												<label for="chk1_1">선택</label>
+											</div>
+										</td>
+										<td data-tit="회원 ID">user_id</td>
+										<td data-tit="이름">홍길동</td>
+										<td data-tit="전화번호">010-1234-5678</td>
+									</tr>
+								</tbody>
+							</table>
+						</div>
+                        <div class="txt-none">
+                            <figure>
+                                <img src="/resources/front/site/SITE_00000/images/common/common/txt_none.svg" alt="콘텐츠 없음">
+                            </figure>
+                            <p>추가한 학생이 없습니다.</p>
+                            <div class="btn-area">
+                                <button class="btn secondary sm ico-upload">엑셀파일로 추가하기</button>
+								<button class="btn secondary sm ico-search">학생찾기</button>
+                            </div>
+                        </div>
+                        <div class="btn-cont">
+                            <button class="btn lg">목록</button>
+                            <button type="submit" class="btn lg primary">초대하기</button>
+                        </div>
+					</div>
+				</div>
+			</div>
+			<footer class="site-footer"></footer>
+		</div>
+		<!-- toast -->
+		<div class="toast"></div>
+		<!--popup-->
+		<div class="dim"></div>
+	</body>
+</html>
resources/front/site/SITE_00000/js/common-custom.js
--- resources/front/site/SITE_00000/js/common-custom.js
+++ resources/front/site/SITE_00000/js/common-custom.js
@@ -351,6 +351,9 @@
 // const gradientColorOrange =  ['#FF8F66', '#FF6A33'];
 //const gradientColorRed =  ['#F89999', '#F23B3B'];
 
+const gradientColorMint = ['#5FDDCD', '#AEEEE8'];
+const gradientColorSky = ['#26C1D9', '#91E7F5'];
+
 const hexToRGBA = (hex, opacity) => {
     // HEX 값에서 R, G, B 값을 추출
     const r = parseInt(hex.substring(1, 3), 16);
@@ -453,6 +456,7 @@
 }
 
 
+
 function createChartDoughnutTxt(elementId, value, gradientColors) {
     const ctx = document.getElementById(elementId).getContext('2d');
 
@@ -504,6 +508,94 @@
     });
 }
 
+function createChartBar(elementId, labels, data, onClick = null, avg = false) {
+    document.getElementById(elementId).classList.add('chart-bar');
+    const canvas = document.getElementById(elementId);
+    const chartParent = canvas.parentElement;
+    const ctx = canvas.getContext('2d');
+
+    const charBarStyle = {
+        datalabels: {
+            display: true,
+            anchor: 'end',
+            align: function (context) {
+                const dataValue = context.dataset.data[context.dataIndex];
+                var totalMinus = 95;
+                return dataValue === 0 || dataValue < totalMinus ? 'end' : 'center';
+            },
+            padding: {
+                left: isMobile ? 4 : 8,
+                right: isMobile ? 4 : 8
+            },
+            formatter: function(value) {
+                return value + '%';
+            },
+            ...chartStyleLabel
+        },
+        backgroundColor: function(context) {
+            return context.dataIndex % 2 === 0
+                ? createGradient(context.chart.ctx, gradientColorMint)
+                : createGradient(context.chart.ctx, gradientColorSky);
+        },
+        borderWidth: 0,
+        borderRadius: isMobile ? 16 : 24,
+        maxBarThickness: isMobile ? 16 : 24,
+        custom: function(context) {
+            const label = labels[context.dataIndex];
+            return label && label.id ? { id: label.id } : {};
+        }
+    };
+
+    const charBarOptions = {
+        plugins: {
+            tooltip: { enabled: false },
+            legend: { display: false },
+            annotation: {
+                annotations: {
+                    avgLine: {
+                        ...chartStyleAvgLine,
+                        display: !!avg,
+                        yMin: avg || 0,
+                        yMax: avg || 0,
+                    }
+                }
+            }
+        },
+        maintainAspectRatio: false,
+        animation: false,
+        scales: {
+            x: {
+                ticks: { ...chartStyleLabelFont },
+                grid: { display: false },
+            },
+            y: {
+                beginAtZero: true,
+                border: { dash: [2, 4] },
+                ticks: {
+                    padding: isMobile ? 0 : 8,
+                    stepSize: 25,
+                    ...chartStyleLabelFont,
+                    callback: function(value) { return value + '%'; }
+                },
+                max: 100,
+                min: 0,
+            },
+        },
+        onClick: onClick ? (event, elements) => {
+            onClick(event, elements, labels, data);
+        } : null,
+    };
+
+    new Chart(ctx, {
+        type: 'bar',
+        data: {
+            labels: labels,
+            datasets: [{ data: data, ...charBarStyle }],
+        },
+        plugins: [ChartDataLabels],
+        options: charBarOptions,
+    });
+}
 
 function createChartBarWidthauto(elementId, labels, data, onClick = null, avg = false) {
     document.getElementById(elementId).classList.add('chart-bar-widthauto');
@@ -524,8 +616,8 @@
         },
         backgroundColor: function(context) {
             return context.dataIndex % 2 === 0
-            ? createGradient(context.chart.ctx, gradientColorPrimary)
-            : createGradient(context.chart.ctx, gradientColorSecondary);
+            ? createGradient(context.chart.ctx, gradientColorMint)
+            : createGradient(context.chart.ctx, gradientColorSky);
         },
         borderWidth: 0,
         borderRadius: isMobile ? 16 : 24,
Add a comment
List