|
@@ -9,10 +9,14 @@ $( function(){
|
|
|
submitHandler: function(form) {
|
|
|
if( $( "#healthForm" ).find( "input[type='checkbox']:checked" ).length == 0 ) {
|
|
|
$( "div.error-msg" ).text( "한 개 이상의 증상을 입력하셔야 합니다. (Please enter at least one symptom)" );
|
|
|
+
|
|
|
} else {
|
|
|
$( "button[type='submit'].confirm" ).prop( "disabled", true ).css("background", "#DBDBDB");
|
|
|
form.submit();
|
|
|
}
|
|
|
+
|
|
|
+ document.documentElement.scrollTop = document.documentElement.scrollHeight;
|
|
|
+ $( "div.error-msg" ).focus();
|
|
|
}
|
|
|
});
|
|
|
|
|
@@ -34,19 +38,19 @@ $( function(){
|
|
|
<div class="device_tab">
|
|
|
<ul>
|
|
|
<li>
|
|
|
- <a href="./1" class="one">체온<span class="eng">body temperature</span></a>
|
|
|
+ <a href="./1" class="one" title="체온 (body temperature)"><span aria-hidden="true">체온</span><span class="eng" aria-hidden="true">body temperature</span></a>
|
|
|
</li>
|
|
|
<li>
|
|
|
- <a href="./2" class="two">혈압/맥박수<span class="eng">blood pressure/heart rate</span></a>
|
|
|
+ <a href="./2" class="two" title="혈압/맥박수 (blood pressure/heart rate)"><span aria-hidden="true">혈압/맥박수</span><span class="eng" aria-hidden="true">blood pressure/heart rate</span></a>
|
|
|
</li>
|
|
|
<li>
|
|
|
- <a href="./3" class="three">산소포화도<span class="eng">oxygen</span></a>
|
|
|
+ <a href="./3" class="three" title="산소포화도 (oxygen)"><span aria-hidden="true">산소포화도</span><span class="eng" aria-hidden="true">oxygen</span></a>
|
|
|
</li>
|
|
|
<li>
|
|
|
- <a href="./4" class="four">혈당<span class="eng">blood sugar</span></a>
|
|
|
+ <a href="./4" class="four" title="혈당 (blood sugar)"><span aria-hidden="true">혈당</span><span class="eng" aria-hidden="true">blood sugar</span></a>
|
|
|
</li>
|
|
|
<li>
|
|
|
- <a href="./5" class="five active">임상증상<span class="eng">symptom</span></a>
|
|
|
+ <a href="./5" class="five active" title="임상증상 (symptom)"><span aria-hidden="true">임상증상</span><span class="eng" aria-hidden="true">symptom</span></a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
@@ -59,73 +63,73 @@ $( function(){
|
|
|
<ul class="circle half">
|
|
|
<li>
|
|
|
<input type="checkbox" id="coughCheck" name="coughCheck" value="Y">
|
|
|
- <label for="coughCheck"><span></span>기침</label>
|
|
|
- <div class="symptom-eng">(cough)</div>
|
|
|
+ <label for="coughCheck" title="기침(cough)"><span></span>기침</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(cough)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="dyspneaCheck" name="dyspneaCheck" value="Y">
|
|
|
- <label for="dyspneaCheck"><span></span>호흡곤란</label>
|
|
|
- <div class="symptom-eng">(Shortness of breath)</div>
|
|
|
+ <label for="dyspneaCheck" title="호흡곤란(Shortness of breath)"><span></span>호흡곤란</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Shortness of breath)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="coldFitCheck" name="coldFitCheck" value="Y">
|
|
|
- <label for="coldFitCheck"><span></span>오한</label>
|
|
|
- <div class="symptom-eng">(Chills)</div>
|
|
|
+ <label for="coldFitCheck" title="오한(Chills)"><span></span>오한</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Chills)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="musclePainCheck" name="musclePainCheck" value="Y">
|
|
|
- <label for="musclePainCheck"><span></span>근육통</label>
|
|
|
- <div class="symptom-eng">(Muscle pain)</div>
|
|
|
+ <label for="musclePainCheck" title="근육통(Muscle pain)"><span></span>근육통</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Muscle pain)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="headacheCheck" name="headacheCheck" value="Y">
|
|
|
- <label for="headacheCheck"><span></span>두통</label>
|
|
|
- <div class="symptom-eng">(Headache)</div>
|
|
|
+ <label for="headacheCheck" title="두통(Headache)"><span></span>두통</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Headache)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="soreThroatCheck" name="soreThroatCheck" value="Y">
|
|
|
- <label for="soreThroatCheck"><span></span>인후통</label>
|
|
|
- <div class="symptom-eng">(Sore throat)</div>
|
|
|
+ <label for="soreThroatCheck" title="인후통(Sore throat)"><span></span>인후통</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Sore throat)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="smellPalateCheck" name="smellPalateCheck" value="Y">
|
|
|
- <label for="smellPalateCheck"><span></span>후각/미각손실</label>
|
|
|
- <div class="symptom-eng">(Loss of smell and taste)</div>
|
|
|
+ <label for="smellPalateCheck" title="후각/미각손실(Loss of smell and taste)"><span></span>후각/미각손실</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Loss of smell and taste)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="fatigueCheck" name="fatigueCheck" value="Y">
|
|
|
- <label for="fatigueCheck"><span></span>피로</label>
|
|
|
- <div class="symptom-eng">(Fatigue)</div>
|
|
|
+ <label for="fatigueCheck" title="피로(Fatigue)"><span></span>피로</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Fatigue)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="appetiteLossCheck" name="appetiteLossCheck" value="Y">
|
|
|
- <label for="appetiteLossCheck"><span></span>식욕감소</label>
|
|
|
- <div class="symptom-eng">(Decreased appetite)</div>
|
|
|
+ <label for="appetiteLossCheck" title="식욕감소(Decreased appetite)"><span></span>식욕감소</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Decreased appetite)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="sputumCheck" name="sputumCheck" value="Y">
|
|
|
- <label for="sputumCheck"><span></span>가래</label>
|
|
|
- <div class="symptom-eng">(Phlegm)</div>
|
|
|
+ <label for="sputumCheck" title="가래(Phlegm)"><span></span>가래</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Phlegm)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="vomitingCheck" name="vomitingCheck" value="Y">
|
|
|
- <label for="vomitingCheck"><span></span>구토</label>
|
|
|
- <div class="symptom-eng">(throw up)</div>
|
|
|
+ <label for="vomitingCheck" title="구토(throw up)"><span></span>구토</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(throw up)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="diarrheaCheck" name="diarrheaCheck" value="Y">
|
|
|
- <label for="diarrheaCheck"><span></span>설사</label>
|
|
|
- <div class="symptom-eng">(Diarrhea)</div>
|
|
|
+ <label for="diarrheaCheck" title="설사(Diarrhea)"><span></span>설사</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Diarrhea)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="dizzinessCheck" name="dizzinessCheck" value="Y">
|
|
|
- <label for="dizzinessCheck"><span></span>어지러움</label>
|
|
|
- <div class="symptom-eng">(Whirl)</div>
|
|
|
+ <label for="dizzinessCheck" title="어지러움(Whirl)"><span></span>어지러움</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Whirl)</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<input type="checkbox" id="noseCheck" name="noseCheck" value="Y">
|
|
|
- <label for="noseCheck"><span></span>콧물/코막힘</label>
|
|
|
- <div class="symptom-eng">(Runny nose and stuffy nose)</div>
|
|
|
+ <label for="noseCheck" title="콧물/코막힘(Runny nose and stuffy nose)"><span></span>콧물/코막힘</label>
|
|
|
+ <div class="symptom-eng" aria-hidden="true">(Runny nose and stuffy nose)</div>
|
|
|
</li>
|
|
|
<li class="full">
|
|
|
<input type="checkbox" id="etcCheck" name="etcCheck" value="Y">
|
|
@@ -139,14 +143,14 @@ $( function(){
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="error-msg tac mt20 error"></div>
|
|
|
+ <div class="error-msg tac mt20 error" tabindex="0"></div>
|
|
|
|
|
|
<div class="btn_group">
|
|
|
<ul>
|
|
|
<li>
|
|
|
<input type="hidden" name="phrType" value="symptom">
|
|
|
|
|
|
- <button type="submit" class="confirm"><span class="check">기록하기(Submit)</span></button>
|
|
|
+ <button type="button" onclick="$('#healthForm').submit();" class="confirm"><span class="check">기록하기(Submit)</span></button>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|