Skip to content

Commit 6a66793

Browse files
committed
refactoring html
1 parent 60af6d9 commit 6a66793

File tree

2 files changed

+3
-80
lines changed

2 files changed

+3
-80
lines changed

webapp/index.html

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -140,83 +140,6 @@
140140
</div>
141141
</div>
142142

143-
<!--login modal-->
144-
<!--
145-
<div id="loginModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
146-
<div class="modal-dialog">
147-
<div class="modal-content">
148-
<div class="modal-header">
149-
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
150-
<h2 class="text-center"><img src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=100" class="img-circle"><br>Login</h2>
151-
</div>
152-
<div class="modal-body">
153-
<form class="form col-md-12 center-block">
154-
<div class="form-group">
155-
<label for="userId">사용자 아이디</label>
156-
<input class="form-control" name="userId" placeholder="User ID">
157-
</div>
158-
<div class="form-group">
159-
<label for="password">비밀번호</label>
160-
<input type="password" class="form-control" name="password" placeholder="Password">
161-
</div>
162-
<div class="form-group">
163-
<button class="btn btn-primary btn-lg btn-block">로그인</button>
164-
<span class="pull-right"><a href="#registerModal" role="button" data-toggle="modal">회원가입</a></span>
165-
</div>
166-
</form>
167-
</div>
168-
<div class="modal-footer">
169-
<div class="col-md-12">
170-
<button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
171-
</div>
172-
</div>
173-
</div>
174-
</div>
175-
</div>
176-
-->
177-
178-
<!--register modal-->
179-
<!--
180-
<div id="registerModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
181-
<div class="modal-dialog">
182-
<div class="modal-content">
183-
<div class="modal-header">
184-
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
185-
<h2 class="text-center"><img src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=100" class="img-circle"><br>회원가입</h2>
186-
</div>
187-
<div class="modal-body">
188-
<form class="form col-md-12 center-block">
189-
<div class="form-group">
190-
<label for="userId">사용자 아이디</label>
191-
<input class="form-control" id="userId" name="userId" placeholder="User ID">
192-
</div>
193-
<div class="form-group">
194-
<label for="password">비밀번호</label>
195-
<input type="password" class="form-control" id="password" name="password" placeholder="Password">
196-
</div>
197-
<div class="form-group">
198-
<label for="name">이름</label>
199-
<input class="form-control" id="name" name="name" placeholder="Name">
200-
</div>
201-
<div class="form-group">
202-
<label for="email">이메일</label>
203-
<input type="email" class="form-control" id="email" name="email" placeholder="Email">
204-
</div>
205-
<div class="form-group">
206-
<button class="btn btn-primary btn-lg btn-block">회원가입</button>
207-
</div>
208-
</form>
209-
</div>
210-
<div class="modal-footer">
211-
<div class="col-md-12">
212-
<button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
213-
</div>
214-
</div>
215-
</div>
216-
</div>
217-
</div>
218-
-->
219-
220143
<!-- script references -->
221144
<script src="js/jquery-2.2.0.min.js"></script>
222145
<script src="js/bootstrap.min.js"></script>

webapp/qna/show.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,15 @@ <h2 class="qna-title">InitializingBean implements afterPropertiesSet() 호출되
170170
<a class="link-modify-article" href="/questions/413/answers/1405/form">수정</a>
171171
</li>
172172
<li>
173-
<form class="form-delete" action="/questions/413/answers/1405" method="POST">
173+
<form class="delete-answer-form" action="/questions/413/answers/1405" method="POST">
174174
<input type="hidden" name="_method" value="DELETE">
175175
<button type="submit" class="delete-answer-button">삭제</button>
176176
</form>
177177
</li>
178178
</ul>
179179
</div>
180180
</article>
181-
<form class="submit-write">
181+
<form class="answer-form">
182182
<div class="form-group" style="padding:14px;">
183183
<textarea class="form-control" placeholder="Update your status"></textarea>
184184
</div>
@@ -210,7 +210,7 @@ <h2 class="qna-title">InitializingBean implements afterPropertiesSet() 호출되
210210
<div class="article-util">
211211
<ul class="article-util-list">
212212
<li>
213-
<a class="link-modify-article" href="/api/qna/updateAnswer/{3}">수정</a>
213+
<a class="link-modify-article" href="/api/questions/{3}/answers/{4}/form">수정</a>
214214
</li>
215215
<li>
216216
<form class="delete-answer-form" action="/api/questions/{3}/answers/{4}" method="POST">

0 commit comments

Comments
 (0)