Skip to content

Commit

Permalink
댓글 출력 위해 화면변경
Browse files Browse the repository at this point in the history
  • Loading branch information
DOEKYONG committed Apr 18, 2023
1 parent 3c7f3bf commit 1f00945
Showing 1 changed file with 7 additions and 34 deletions.
41 changes: 7 additions & 34 deletions src/main/resources/templates/qna/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,21 @@ <h2 class="qna-title">{{article.title}}</h2>
<p class="qna-comment-count"><strong>2</strong>개의 의견</p>
<div class="qna-comment-slipp-articles">

{{#replyList}}
<article class="article" id="answer-1405">
<div class="article-header">
<div class="article-header-thumb">
<img src="https://graph.facebook.com/v2.3/1324855987/picture" class="article-author-thumb" alt="">
</div>
<div class="article-header-text">
<a href="/users/1/자바지기" class="article-author-name">자바지기</a>
<a href="/users/1/자바지기" class="article-author-name">{{replyWriter}}</a>
<a href="#answer-1434" class="article-header-time" title="퍼머링크">
2016-01-12 14:06
{{date}}
</a>
</div>
</div>
<div class="article-doc comment-doc">
<p>이 글만으로는 원인 파악하기 힘들겠다. 소스 코드와 설정을 단순화해서 공유해 주면 같이 디버깅해줄 수도 있겠다.</p>
<p>{{replyContents}}</p>
</div>
<div class="article-util">
<ul class="article-util-list">
Expand All @@ -88,38 +89,10 @@ <h2 class="qna-title">{{article.title}}</h2>
</ul>
</div>
</article>
<article class="article" id="answer-1406">
<div class="article-header">
<div class="article-header-thumb">
<img src="https://graph.facebook.com/v2.3/1324855987/picture" class="article-author-thumb" alt="">
</div>
<div class="article-header-text">
<a href="/users/1/자바지기" class="article-author-name">자바지기</a>
<a href="#answer-1434" class="article-header-time" title="퍼머링크">
2016-01-12 14:06
</a>
</div>
</div>
<div class="article-doc comment-doc">
<p>이 글만으로는 원인 파악하기 힘들겠다. 소스 코드와 설정을 단순화해서 공유해 주면 같이 디버깅해줄 수도 있겠다.</p>
</div>
<div class="article-util">
<ul class="article-util-list">
<li>
<a class="link-modify-article" href="/questions/413/answers/1405/form">수정</a>
</li>
<li>
<form class="form-delete" action="/questions/413/answers/1405" method="POST">
<input type="hidden" name="_method" value="DELETE">
<button type="submit" class="delete-answer-button">삭제</button>
</form>
</li>
</ul>
</div>
</article>
<form class="submit-write">
{{/replyList}}
<form class="submit-write" action="/article/{{article.index}}/reply">
<div class="form-group" style="padding:14px;">
<textarea class="form-control" placeholder="Update your status"></textarea>
<textarea class="form-control" name="contents" placeholder="Update your status"></textarea>
</div>
<button class="btn btn-success pull-right" type="button">답변하기</button>
<div class="clearfix" />
Expand Down

0 comments on commit 1f00945

Please sign in to comment.