Просмотр исходного кода

건강기록정보 블루투스 연동 ui수정

junekeunsong 4 лет назад
Родитель
Сommit
b90b895381

+ 26 - 8
src/main/webapp/WEB-INF/jsp/mobile/health/health1.jsp

@@ -49,6 +49,14 @@ $( function(){
             }
         }
     });
+
+//     if( isMobile() ){
+//         if( checkDevice() == "ios" ) {
+//             $("#bluetoothBtn").hide();
+//         }
+//     } else {
+//         alert("App에서만 사용가능한 기능입니다.");
+//     }
 });
 
 /*
@@ -72,6 +80,11 @@ div.bluetooth .switch {position: relative;display: inline-block;width: 60px;heig
 div.bluetooth .switch input {opacity: 0;width: 0;height: 0;}
 div.bluetooth span.insert-type{cursor:pointer;vertical-align:middle;font-weight:600;}
 div.bluetooth span.readonly{color:#999999;font-weight:500;}
+.examination .history {text-align: center;
+    padding-bottom: 15px;
+    border-bottom: 1px solid #ddd;
+    margin-top: 15px;}
+.examination .history a {padding: 10px 15px}
 </style>
 </head>
 <body>
@@ -102,16 +115,21 @@ div.bluetooth span.readonly{color:#999999;font-weight:500;}
                     </li>
                 </ul>
             </div>
-            
-            <div class="bluetooth">
-                <span class="insert-type direct">직접입력</span>
-                <label class="switch">
-                  <input type="checkbox" class="checkbt" id="bluetooth-checkbox">
-                  <span class="slider round"></span>
-                </label>
-                <span class="insert-type device">기기연동</span>
+            <div id="bluetoothBtn" class="examination">
+                <div class="history">
+                    <a href="javascript:;" onclick="phrValue( 'getPhrValue', phrCallBackType );">블루투스 기기 연동</a>
+                </div>
             </div>
             
+<!--             <div class="bluetooth"> -->
+<!--                 <span class="insert-type direct">직접입력</span> -->
+<!--                 <label class="switch"> -->
+<!--                   <input type="checkbox" class="checkbt" id="bluetooth-checkbox"> -->
+<!--                   <span class="slider round"></span> -->
+<!--                 </label> -->
+<!--                 <span class="insert-type device">기기연동</span> -->
+<!--             </div> -->
+            
             <form id="healthForm" method="post" action="./insert">
                 <div class="health">
                     <div class="part">

+ 19 - 8
src/main/webapp/WEB-INF/jsp/mobile/health/health2.jsp

@@ -145,6 +145,11 @@ div.bluetooth .switch {position: relative;display: inline-block;width: 60px;heig
 div.bluetooth .switch input {opacity: 0;width: 0;height: 0;}
 div.bluetooth span.insert-type{cursor:pointer;vertical-align:middle;font-weight:600;}
 div.bluetooth span.readonly{color:#999999;font-weight:500;}
+.examination .history {text-align: center;
+    padding-bottom: 15px;
+    border-bottom: 1px solid #ddd;
+    margin-top: 15px;}
+.examination .history a {padding: 10px 15px}
 </style>
 </head>
 <body>
@@ -175,16 +180,22 @@ div.bluetooth span.readonly{color:#999999;font-weight:500;}
                     </li>
                 </ul>
             </div>
-            
-            <div class="bluetooth">
-                <span class="insert-type direct">직접입력</span>
-                <label class="switch">
-                  <input type="checkbox" class="checkbt" id="bluetooth-checkbox">
-                  <span class="slider round"></span>
-                </label>
-                <span class="insert-type device">기기연동</span>
+
+            <div id="bluetoothBtn" class="examination">
+                <div class="history">
+                    <a href="javascript:;" onclick="phrValue( 'getPhrValue', phrCallBackType );">블루투스 기기 연동</a>
+                </div>
             </div>
             
+<!--             <div class="bluetooth"> -->
+<!--                 <span class="insert-type direct">직접입력</span> -->
+<!--                 <label class="switch"> -->
+<!--                   <input type="checkbox" class="checkbt" id="bluetooth-checkbox"> -->
+<!--                   <span class="slider round"></span> -->
+<!--                 </label> -->
+<!--                 <span class="insert-type device">기기연동</span> -->
+<!--             </div> -->
+            
             <form id="healthForm" method="post" action="./insert">
                 <div class="health">
                     <div class="part">

+ 18 - 7
src/main/webapp/WEB-INF/jsp/mobile/health/health3.jsp

@@ -67,6 +67,11 @@ div.bluetooth .switch {position: relative;display: inline-block;width: 60px;heig
 div.bluetooth .switch input {opacity: 0;width: 0;height: 0;}
 div.bluetooth span.insert-type{cursor:pointer;vertical-align:middle;font-weight:600;}
 div.bluetooth span.readonly{color:#999999;font-weight:500;}
+.examination .history {text-align: center;
+    padding-bottom: 15px;
+    border-bottom: 1px solid #ddd;
+    margin-top: 15px;}
+.examination .history a {padding: 10px 15px}
 </style>
 </head>
 <body>
@@ -98,15 +103,21 @@ div.bluetooth span.readonly{color:#999999;font-weight:500;}
                 </ul>
             </div>
             
-            <div class="bluetooth">
-                <span class="insert-type direct">직접입력</span>
-                <label class="switch">
-                  <input type="checkbox" class="checkbt" id="bluetooth-checkbox">
-                  <span class="slider round"></span>
-                </label>
-                <span class="insert-type device">기기연동</span>
+            <div id="bluetoothBtn" class="examination">
+                <div class="history">
+                    <a href="javascript:;" onclick="phrValue( 'getPhrValue', phrCallBackType );">블루투스 기기 연동</a>
+                </div>
             </div>
             
+<!--             <div class="bluetooth"> -->
+<!--                 <span class="insert-type direct">직접입력</span> -->
+<!--                 <label class="switch"> -->
+<!--                   <input type="checkbox" class="checkbt" id="bluetooth-checkbox"> -->
+<!--                   <span class="slider round"></span> -->
+<!--                 </label> -->
+<!--                 <span class="insert-type device">기기연동</span> -->
+<!--             </div> -->
+            
             <form id="healthForm" method="post" action="./insert">
                 <div class="health">
                     <div class="part">

+ 18 - 7
src/main/webapp/WEB-INF/jsp/mobile/health/health4.jsp

@@ -67,6 +67,11 @@ div.bluetooth .switch {position: relative;display: inline-block;width: 60px;heig
 div.bluetooth .switch input {opacity: 0;width: 0;height: 0;}
 div.bluetooth span.insert-type{cursor:pointer;vertical-align:middle;font-weight:600;}
 div.bluetooth span.readonly{color:#999999;font-weight:500;}
+.examination .history {text-align: center;
+    padding-bottom: 15px;
+    border-bottom: 1px solid #ddd;
+    margin-top: 15px;}
+.examination .history a {padding: 10px 15px}
 </style>
 </head>
 <body>
@@ -98,15 +103,21 @@ div.bluetooth span.readonly{color:#999999;font-weight:500;}
                 </ul>
             </div>
             
-            <div class="bluetooth">
-                <span class="insert-type direct">직접입력</span>
-                <label class="switch">
-                  <input type="checkbox" class="checkbt" id="bluetooth-checkbox">
-                  <span class="slider round"></span>
-                </label>
-                <span class="insert-type device">기기연동</span>
+            <div id="bluetoothBtn" class="examination">
+                <div class="history">
+                    <a href="javascript:;" onclick="phrValue( 'getPhrValue', phrCallBackType );">블루투스 기기 연동</a>
+                </div>
             </div>
             
+<!--             <div class="bluetooth"> -->
+<!--                 <span class="insert-type direct">직접입력</span> -->
+<!--                 <label class="switch"> -->
+<!--                   <input type="checkbox" class="checkbt" id="bluetooth-checkbox"> -->
+<!--                   <span class="slider round"></span> -->
+<!--                 </label> -->
+<!--                 <span class="insert-type device">기기연동</span> -->
+<!--             </div> -->
+            
             <form id="healthForm" method="post" action="./insert">
                 <div class="health">
                     <div class="part">