Browse Source

게시판 view 화면

Seo 4 years ago
parent
commit
793590665c
1 changed files with 36 additions and 29 deletions
  1. 36 29
      src/main/webapp/WEB-INF/jsp/board/content.jsp

+ 36 - 29
src/main/webapp/WEB-INF/jsp/board/content.jsp

@@ -36,56 +36,63 @@
                                     <div class="card-body">
                                         <table class="table mobile-table">
                                             <colgroup>
-<%--                                                 <col style="width:20%"> --%>
-<%--                                                 <col style="width:80%"> --%>
-        <col style="width:10%">
-        <%-- <col style="width:50%">
-        <col style="width:10%">
-        <col style="width:35%"> --%>
+                                                <col style="width:75%">
+                                                <col style="width:">
+                                                <col style="width:">
                                             </colgroup>
                                             
                                             <tr>
-                                                <th>번호</th>
-                                                <td colspan="5">
-                                                    1
-                                                </td>
+                                                <td>No. 132</td>
+                                                <th class="text-center">작성자</th>
+                                                <td>보건복지부(mohw)</td>
                                             </tr>
+                                            
                                             <tr>
-                                                <th>제목</th>
-                                                <td>ㄴㅇㄹㄴㅇㄹ</td>
-                                                <th style="width:10%">작성자</th>
-                                                <td colspan="1">
-                                                    df
-                                                </td>
+                                                <td class="text-bold text-info">생활치료센터 공지를 알려 드립니다.</td>
+                                                <th class="text-center">작성일</th>
+                                                <td>2020-12-12 11:25</td>
                                             </tr>
+                                            
                                             <tr>
-                                                <td colspan="5">
-                                                    <div style="float: right;">
-                                                        sdfsdf
+                                                <td colspan="3">
+                                                    <div style="min-height:200px;">
+                                                        ^오^ 생활치료센터 공지사항입니다<br/>
+                                                        ^오^ 생활치료센터 공지사항입니다<br/>
+                                                        ^오^ 생활치료센터 공지사항입니다<br/>
                                                     </div>
-                                                    
-                                                    
                                                 </td>
                                             </tr>
+                                            
                                             <tr>
-                                                <th>내용</th>
-                                                <td style="white-space: pre;">내에에ㅔ에에용</td>
+                                                <td colspan="3">
+                                                    <span class="badge bg-primary">첨부파일</span>
+                                                    <a href="/{download-path}/{file-name}" class="text-dark" target="_blank">공지문.xlsx</a>
+                                                </td>
                                             </tr>
+                                        </table>
+                                        
+                                        <table class="mt-3 table mobile-table">
+                                            <colgroup>
+                                                <col style="width:10%">
+                                                <col style="width:">
+                                            </colgroup>
                                             
                                             <tr>
-                                                <th>첨부파일</th>
-                                                <td>
-                                                    <!-- <input type="file" name="fileName" > -->
-                                                </td>
+                                                <th>이전글 ▲</th>
+                                                <td>이전 공지글 제목</td>
+                                            </tr>
+                                            <tr>
+                                                <th>다음글 ▼</th>
+                                                <td>다음 공지글 제목</td>
                                             </tr>
                                         </table>
                                         
                                         <div class="row mt-3">
                                             <div class="col-12">
                                                 <div class="text-right">
-                                                    <button type="button" class="btn btn-outline-primary w100" onclick="history.back();">취소</button>
-                                                    <button type="submit" class="btn btn-primary w100">삭제</button>
                                                     <button type="submit" class="btn btn-primary w100">수정</button>
+                                                    <button type="submit" class="btn btn-danger w100">삭제</button>
+                                                    <button type="button" class="btn btn-outline-primary w100" onclick="history.back();">목록</button>
                                                 </div>
                                             </div>
                                         </div>