Fix: add timer content to homepage
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
// load maestro timer password and show it
|
||||
|
||||
$("#timer_short_url").html(
|
||||
"<span class='text-secondary'>자격증 타이머 앱 <span class='font-weight-bold'>바로 실행 URL</span> :</span><br/>"
|
||||
+ "http://www.chocomae.com/timer/" + maestroInfo.maestroName
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
|
||||
function onErrorPlayerName(message) {
|
||||
showErrorMessage(message, "error");
|
||||
|
||||
$("#player_name").select();
|
||||
$("#player_name").focus();
|
||||
}
|
||||
|
||||
function onErrorPlayerPW(message) {
|
||||
showErrorMessage(message, "error");
|
||||
|
||||
$("#entercode").select();
|
||||
$("#entercode").focus();
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<div class="row mx-1">
|
||||
|
||||
<div class="col-5">
|
||||
<h5 class="my-3">자격증 타이머</h5>
|
||||
|
||||
<!--
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text" id="timer-password">비밀번호</span>
|
||||
</div>
|
||||
<input type="text" class="form-control" placeholder="새로운 비밀번호 입력" aria-label="timer password" aria-describedby="submit-password">
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-primary" type="button" id="submit-password" onClick="updatePassword()">수정</button>
|
||||
</div>
|
||||
</div>
|
||||
<small class="form-text text-muted">1~8 글자 / [ 한글,영문,숫자,-,_ ]</small>
|
||||
-->
|
||||
|
||||
<div id="timer_short_url" class="col-sm pr-0 my-auto"></div>
|
||||
<br/>
|
||||
|
||||
<form class="mx-2">
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="player_name" class="col-sm-3 col-form-label">비밀번호</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control col-sm-9" id="player_name" placeholder="새로운 비밀번호 입력">
|
||||
<small class="form-text text-muted">2~8자리의 숫자</small>
|
||||
<button type="button" class="col-sm-7 btn btn-primary btn-lg mt-3" onClick="editPassword()">수정</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user