-
-
- 특급
-
-
-
- 고급
-
+
+
+
+
+
+
@@ -573,4 +570,40 @@
border-style: none;
}
+ /*! Light */
+ #light {
+ background-color: #000;
+ box-shadow: 0 0 5px rgba(0,0,0, .8);
+ overflow: hidden;
+ padding: 0 0 4px;
+ width: 40px;
+ margin-left: 30px;
+ transform:rotate(270deg);
+ }
+
+ #light span {
+ border-radius: 50px;
+ display: block;
+ height: 30px;
+ margin: 4px auto 0;
+ opacity: .5;
+ width: 30px;
+ }
+
+ /*! Light colours */
+ #red { background-color: red; }
+ #orange { background-color: orange; }
+ #green { background-color: green; }
+
+ /*! Active states */
+ #light span.active { opacity: 1; }
+ #light #red.active { box-shadow: 0 0 10px red; }
+ #light #orange.active { box-shadow: 0 0 10px orange; }
+ #light #green.active { box-shadow: 0 0 10px green; }
+
+ /*! Toggle button */
+ button {
+ margin-top: 10px;
+ }
+
\ No newline at end of file
Index: arms/js/dashboard.js
===================================================================
diff -u -r3d54c076bf4e88d2ccc2222716327f81260f3f37 -re8efc03c257065bfbde1c05a6edee0de5d15e238
--- arms/js/dashboard.js (.../dashboard.js) (revision 3d54c076bf4e88d2ccc2222716327f81260f3f37)
+++ arms/js/dashboard.js (.../dashboard.js) (revision e8efc03c257065bfbde1c05a6edee0de5d15e238)
@@ -70,6 +70,26 @@
makePdServiceSelectBox();
//버전 멀티 셀렉트 박스 이니시에이터
makeVersionMultiSelectBox();
+
+ $('button').on('click', function() {
+ // Caching
+ var self = $('.active');
+
+ // Check if another element exists after the currently active one otherwise
+ // find the parent and start again
+ if (self.next().length) {
+ self
+ .removeClass('active')
+ .next()
+ .addClass('active');
+ } else {
+ self
+ .removeClass('active')
+ .parent()
+ .find('span:first')
+ .addClass('active');
+ }
+ });
})
.catch(function () {
console.error('플러그인 로드 중 오류 발생');