Add event information

This commit is contained in:
Hyunchul Kim 2021-02-16 21:21:34 +09:00
parent 1477f7482e
commit 60bc089a05
7 changed files with 36 additions and 6 deletions

View file

@ -61,10 +61,16 @@ html_head_event = """
<div id="fragment_wrapper">
</div>
<div id="event_description">
<div id="event_title">
<!-- this part will be load dynamically -->
</div>
<div id="event_date">
<!-- this part will be load dynamically -->
</div>
<div id="event_title">
<div id="event_place">
<!-- this part will be load dynamically -->
</div>
<div id="event_host">
<!-- this part will be load dynamically -->
</div>
<div id="event_details">

View file

@ -50,10 +50,16 @@
<div id="fragment_wrapper">
</div>
<div id="event_description">
<div id="event_title">
<!-- this part will be load dynamically -->
</div>
<div id="event_date">
<!-- this part will be load dynamically -->
</div>
<div id="event_title">
<div id="event_place">
<!-- this part will be load dynamically -->
</div>
<div id="event_host">
<!-- this part will be load dynamically -->
</div>
<div id="event_details">

View file

@ -50,10 +50,16 @@
<div id="fragment_wrapper">
</div>
<div id="event_description">
<div id="event_title">
<!-- this part will be load dynamically -->
</div>
<div id="event_date">
<!-- this part will be load dynamically -->
</div>
<div id="event_title">
<div id="event_place">
<!-- this part will be load dynamically -->
</div>
<div id="event_host">
<!-- this part will be load dynamically -->
</div>
<div id="event_details">

View file

@ -50,10 +50,16 @@
<div id="fragment_wrapper">
</div>
<div id="event_description">
<div id="event_title">
<!-- this part will be load dynamically -->
</div>
<div id="event_date">
<!-- this part will be load dynamically -->
</div>
<div id="event_title">
<div id="event_place">
<!-- this part will be load dynamically -->
</div>
<div id="event_host">
<!-- this part will be load dynamically -->
</div>
<div id="event_details">

View file

@ -3,18 +3,21 @@
"date":"2021. 1. 31. 목요일",
"title": "눈사람 만들기 라이브",
"host": "두호",
"place": "설악산",
"details": " . . , . , . . . , . . , , , .<br/><br/> . , , , . <br/>indooa@gmail.com<br/>* , .<br/><br/>1 [11 7 2-430]<br/>#__<br/>#_<br/>#__<br/>#_<br/>#___<br/>#__<br/>2 [11 21 2-430]<br/>#____<br/>#_<br/>#__<br/>#__<br/>#__<br/>#_<br/>3 [11 28 2-430]<br/>#__<br/>#___<br/>#__<br/>#___<br/>#__<br/>#__<br/>#_<br/>*[0000] ."
},
"0001":{
"date":"2021. 1. 31. 목요일",
"title": "커피를 마셔봐요",
"host": "세원",
"place": "테라로사",
"details": "커피를 마시기 전에는 속을 든든히"
},
"0002":{
"date":"2021. 1. 31. 목요일",
"title": "복식 호흡 연습하기",
"host": "원정",
"place": "거실",
"details": "복식 호흡을 하면 무엇이 좋을까요?"
}
}

View file

@ -16,4 +16,7 @@ ed_resquest.onload = function() {
document.getElementById("event_date").innerHTML = ed.date;
document.getElementById("event_title").innerHTML = `#${event_number} ${ed.title}`
document.getElementById("event_details").innerHTML = ed.details;
document.getElementById("event_place").innerHTML = ed.place;
document.getElementById("event_host").innerHTML = ed.host;
}

View file

@ -2,12 +2,12 @@ div#event_description {
margin:10px;
}
div#event_date {
div#event_title {
padding-bottom: 2px;
border-bottom: 1px solid black;
}
div#event_title {
div#event_date, div#event_host, div#event_place {
padding-top: 6px;
padding-bottom: 2px;
border-bottom: 1px solid black;