2.1 Responsive still bug
parent
280ea233d4
commit
fec18da750
|
@ -59,7 +59,6 @@
|
||||||
|
|
||||||
<!-- Page Content -->
|
<!-- Page Content -->
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
|
||||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
|
||||||
|
@ -70,12 +69,14 @@
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="container shadow border border-primary m-sm-3 rounded" style="height: 280px;">
|
<div class="row border border-primary rounded">
|
||||||
<div class="row bg-primary" style="height: 40px;">
|
<div class="col-sm-12 bg-primary">
|
||||||
<div class="m-auto text-white footer">Cek Protokol Kesehatan</div>
|
<div class="text-white text-center">Cek Protokol Kesehatan</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row controls" style="height: 240px;">
|
<div class="col-sm-12" style="min-height: 150px;">
|
||||||
<div id="question-container" class="mx-3 my-auto hide">
|
<br>
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div id="question-container" class="col-sm-10 hide">
|
||||||
<p id="question" class="text-primary">Question</p>
|
<p id="question" class="text-primary">Question</p>
|
||||||
<div id="answer-buttons" class="btn-grid">
|
<div id="answer-buttons" class="btn-grid">
|
||||||
<button type="button" class="btn btn-outline-primary">Answer 1</button>
|
<button type="button" class="btn btn-outline-primary">Answer 1</button>
|
||||||
|
@ -83,22 +84,26 @@
|
||||||
<button type="button" class="btn btn-outline-primary">Answer 1</button>
|
<button type="button" class="btn btn-outline-primary">Answer 1</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
</div>
|
||||||
<div id="result-container" class="justify-content-center hide">
|
<br>
|
||||||
<div id="kondisi" class="btn btn-outline-info">Kondisi 1:</div>
|
<div id="result-container" class="row justify-content-sm-center hide">
|
||||||
<br><br>
|
<div id="kondisi" type="button" class="btn col-sm-10 btn-outline-info">Kondisi 1:</div>
|
||||||
<div id="prosedur-sign" class="btn-group" data-toggle="popover" data-placement="top">
|
<div class="w-100"></div>
|
||||||
<button id="prosedur" type="button" class="btn btn-outline-info">Prosedur 1:</button>
|
<br>
|
||||||
<button type="button" class="btn btn-info">?</button>
|
<div id="prosedur-sign" class="btn-group col-sm-10" data-toggle="popover" data-trigger="focus" data-placement="top">
|
||||||
|
<div id="prosedur" type="button" class="col-sm-11 btn btn-outline-info">Prosedur 1:</div>
|
||||||
|
<div type="button" class="col-sm-1 btn btn-info">?</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center justify-content-end">
|
||||||
<button id="start-btn" type="button" class="justify-content-center btn btn-primary">Start Test</button>
|
<button id="start-btn" type="button" class="justify-content-center btn btn-primary">Start Test</button>
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -135,7 +135,7 @@ function showResult() {
|
||||||
setPopAtt(resultPSign, "Anda mungkin menjadi carrier COVID 19, diharapkan untuk tetap di rumah sekaligus menjaga jarak dengan keluarga")
|
setPopAtt(resultPSign, "Anda mungkin menjadi carrier COVID 19, diharapkan untuk tetap di rumah sekaligus menjaga jarak dengan keluarga")
|
||||||
break;
|
break;
|
||||||
case "3":
|
case "3":
|
||||||
resultProsedur.innerHTML = 'Prosedur 3 : Direkomendasikan untuk di rumah selama pandemi berlangsung atau menunggu pandemi dapat diatur'
|
resultProsedur.innerHTML = 'Prosedur 3 : Direkomendasikan untuk selalu di rumah selama pandemi berlangsung'
|
||||||
setPopAtt(resultPSign, "Anda berpeluang besar mengalami kondisi kritis jika terkena COVID 19, mohon menahan diri selama pandemi")
|
setPopAtt(resultPSign, "Anda berpeluang besar mengalami kondisi kritis jika terkena COVID 19, mohon menahan diri selama pandemi")
|
||||||
break;
|
break;
|
||||||
case "4":
|
case "4":
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
.btn-grid {
|
.btn-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, auto);
|
grid-template-columns: repeat(1, auto);
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue