From 296de4d2353e52f8f9a08045f09ab4d5e2bbf775 Mon Sep 17 00:00:00 2001
From: wyu <kknd09321@nate.com>
Date: 수, 08 12월 2021 13:27:40 +0900
Subject: [PATCH] 이슈 제목 on/off 버튼이 on 상태로 변경 안되게 수정

---
 src/main/webapp/scripts/app/issue/issueAddTableConfig.controller.js |   18 +++++++++---------
 src/main/webapp/views/issue/issueAddTableConfig.html                |    2 +-
 src/main/webapp/assets/styles/main.css                              |   29 +++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+), 10 deletions(-)

diff --git a/src/main/webapp/assets/styles/main.css b/src/main/webapp/assets/styles/main.css
index 7d975ee..27d63ec 100644
--- a/src/main/webapp/assets/styles/main.css
+++ b/src/main/webapp/assets/styles/main.css
@@ -28696,6 +28696,27 @@
     transition: .4s;
 }
 
+.slider-disabled {
+    position: absolute;
+    cursor: pointer;
+    top: 0;
+    left: 0;
+    right: 0;
+    bottom: 0;
+    background-color: #2196F3;
+}
+
+.slider-disabled:before {
+    position: absolute;
+    content: "";
+    height: 18px;
+    width: 18px;
+    left: 30px;
+    bottom: 4px;
+    background-color: white;
+}
+
+
 input:checked + .slider {
     background-color: #2196F3;
 }
@@ -28718,6 +28739,14 @@
     border-radius: 50%;
 }
 
+.slider-disabled.round {
+    border-radius: 34px;
+}
+
+.slider-disabled.round:before {
+    border-radius: 50%;
+}
+
 .tab {
     position: relative;
     margin-top: 20px;
diff --git a/src/main/webapp/scripts/app/issue/issueAddTableConfig.controller.js b/src/main/webapp/scripts/app/issue/issueAddTableConfig.controller.js
index 0f8743d..912fcc2 100644
--- a/src/main/webapp/scripts/app/issue/issueAddTableConfig.controller.js
+++ b/src/main/webapp/scripts/app/issue/issueAddTableConfig.controller.js
@@ -26,63 +26,63 @@
                         name : $filter("translate")("issue.issueTitle"), // �씠�뒋 �젣紐�
                         key : "ISSUE_TITLE",
                         width : "width-140-p",
-                        position : 1,
+                        position : 0,
                         display : true,
                         checkboxShow : false
                     }, {
                         name : $filter("translate")("common.priority"), // �슦�꽑�닚�쐞
                         key : "PRIORITY",
                         width : "width-80-p",
-                        position : 2,
+                        position : 1,
                         display : true,
                         checkboxShow : true
                     }, {
                         name : $filter("translate")("common.importance"), // 以묒슂�룄
                         key : "SEVERITY",
                         width : "width-80-p",
-                        position : 3,
+                        position : 2,
                         display : true,
                         checkboxShow : true
                     }, {
                         name : $filter("translate")("issue.issueType"), // �씠�뒋 ���엯
                         key : "ISSUE_TYPE",
                         width : "width-140-p",
-                        position : 4,
+                        position : 3,
                         display : true,
                         checkboxShow : true
                     }, {
                         name : $filter("translate")("common.assigneeTeam"), // �떞�떦遺��꽌
                         key : "ASSIGNEE_TEAM",
                         width : "width-100-p",
-                        position : 5,
+                        position : 4,
                         display : true,
                         checkboxShow : true
                     }, {
                         name : $filter("translate")("common.countDownIssue"), // �븯�쐞�씠�뒋 移댁슫�듃
                         key : "COUNT_DOWN_ISSUE",
                         width : "width-100-p",
-                        position : 6,
+                        position : 5,
                         display : false,
                         checkboxShow : true
                     }, {
                         name : $filter("translate")("common.register"), // �벑濡앹옄
                         key : "REGISTER",
                         width : "width-100-p",
-                        position : 7,
+                        position : 6,
                         display : false,
                         checkboxShow : true
                     }, {
                         name : $filter("translate")("common.period"), // 湲곌컙
                         key : "PERIOD",
                         width : "width-140-p",
-                        position : 8,
+                        position : 7,
                         display : false,
                         checkboxShow : true
                     }, {
                         name : $filter("translate")("common.lastChangeDate"), // 理쒓렐 蹂�寃쎌씪
                         key : "MODIFY_DATE",
                         width : "width-100-p",
-                        position : 9,
+                        position : 8,
                         display : false,
                         checkboxShow : true
                     }, {
diff --git a/src/main/webapp/views/issue/issueAddTableConfig.html b/src/main/webapp/views/issue/issueAddTableConfig.html
index 4d77ebc..b8743f5 100644
--- a/src/main/webapp/views/issue/issueAddTableConfig.html
+++ b/src/main/webapp/views/issue/issueAddTableConfig.html
@@ -74,7 +74,7 @@
                         </select>
                     <td class="text-center">
                         <!-- �씠�뒋 �젣紐� �몴�떆 踰꾪듉 disabled -->
-                        <label ng-if="!issueTableConfig.checkboxShow" class='switch'><input  type="text" ng-model="issueTableConfig.display"><span class='slider round'></span ></label>
+                        <label ng-if="!issueTableConfig.checkboxShow" class='switch'><input type="checkbox" ><span class='slider-disabled round'></span></label>
                         <!-- �굹癒몄� 踰꾪듉 �몴�떆 -->
                         <label ng-if="issueTableConfig.checkboxShow" class='switch'><input type="checkbox" ng-model="issueTableConfig.display"><span class='slider round'></span ></label>
                     </td>

--
Gitblit v1.8.0