This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from eunseoJeong/main
[BE][은서] :: 게시판마다 post구현
- Loading branch information
Showing
10 changed files
with
939 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
{% block title %} 동아리게시판 업로드{% endblock %} | ||
{% block link %}{% static 'css/boardform.css' %}{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div id="board_name"> | ||
<h2>동아리게시판 업로드</h2> | ||
</div> | ||
|
||
<div class="boardcontainner"> | ||
<form id="form" action = "{%url 'club_post'%}" method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<div id="title"> | ||
<a>제목</a> | ||
<input id="input" type="text" name="title"> | ||
</div> | ||
<div class="imageset"> | ||
<label for="chooseFile"> | ||
👉 CLICK HERE! 👈 | ||
</label> | ||
</div> | ||
<input type="file" id="chooseFile" name="image" accept="image/*" onchange="loadFile(this)"> | ||
|
||
<div id="text"> | ||
<div id="atag"><a>본문</a></div> | ||
<textarea style="resize: none" rows="20" cols="30" name="body"></textarea> | ||
</div> | ||
<div id="submit"> | ||
<input type="submit" value="글쓰기"> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</div> | ||
<!-- <form action = "{%url 'notice_post'%}" method = "POST" enctype = "multipart/form-data"> | ||
{% csrf_token %} | ||
<input type = "text" name = "title" placeholder="제목"> | ||
<!-- <input type = "text" name = "author" placeholder="작성자"> --> | ||
<!-- <textarea name = "body" cols = "100" row = "100" placeholder="내용"></textarea> | ||
첨부파일: <input type = "file" name = "image"> | ||
<button type = "submit">작성하기</button> | ||
</form> | ||
</body> --> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
{% block title %} 공모전게시판 업로드{% endblock %} | ||
{% block link %}{% static 'css/boardform.css' %}{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div id="board_name"> | ||
<h2>공모전게시판 업로드</h2> | ||
</div> | ||
|
||
<div class="boardcontainner"> | ||
<form id="form" action = "{%url 'contest_post'%}" method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<div id="title"> | ||
<a>제목</a> | ||
<input id="input" type="text" name="title"> | ||
</div> | ||
<div class="imageset"> | ||
<label for="chooseFile"> | ||
👉 CLICK HERE! 👈 | ||
</label> | ||
</div> | ||
<input type="file" id="chooseFile" name="image" accept="image/*" onchange="loadFile(this)"> | ||
|
||
<div id="text"> | ||
<div id="atag"><a>본문</a></div> | ||
<textarea style="resize: none" rows="20" cols="30" name="body"></textarea> | ||
</div> | ||
<div id="submit"> | ||
<input type="submit" value="글쓰기"> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</div> | ||
<!-- <form action = "{%url 'notice_post'%}" method = "POST" enctype = "multipart/form-data"> | ||
{% csrf_token %} | ||
<input type = "text" name = "title" placeholder="제목"> | ||
<!-- <input type = "text" name = "author" placeholder="작성자"> --> | ||
<!-- <textarea name = "body" cols = "100" row = "100" placeholder="내용"></textarea> | ||
첨부파일: <input type = "file" name = "image"> | ||
<button type = "submit">작성하기</button> | ||
</form> | ||
</body> --> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
{% block title %} 자유게시판 업로드{% endblock %} | ||
{% block link %}{% static 'css/boardform.css' %}{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div id="board_name"> | ||
<h2>자유게시판 업로드</h2> | ||
</div> | ||
|
||
<div class="boardcontainner"> | ||
<form id="form" action = "{%url 'free_post'%}" method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<div id="title"> | ||
<a>제목</a> | ||
<input id="input" type="text" name="title"> | ||
</div> | ||
<div class="imageset"> | ||
<label for="chooseFile"> | ||
👉 CLICK HERE! 👈 | ||
</label> | ||
</div> | ||
<input type="file" id="chooseFile" name="image" accept="image/*" onchange="loadFile(this)"> | ||
|
||
<div id="text"> | ||
<div id="atag"><a>본문</a></div> | ||
<textarea style="resize: none" rows="20" cols="30" name="body"></textarea> | ||
</div> | ||
<div id="submit"> | ||
<input type="submit" value="글쓰기"> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</div> | ||
<!-- <form action = "{%url 'notice_post'%}" method = "POST" enctype = "multipart/form-data"> | ||
{% csrf_token %} | ||
<input type = "text" name = "title" placeholder="제목"> | ||
<!-- <input type = "text" name = "author" placeholder="작성자"> --> | ||
<!-- <textarea name = "body" cols = "100" row = "100" placeholder="내용"></textarea> | ||
첨부파일: <input type = "file" name = "image"> | ||
<button type = "submit">작성하기</button> | ||
</form> | ||
</body> --> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
{% block title %} 졸업생게시판 업로드{% endblock %} | ||
{% block link %}{% static 'css/boardform.css' %}{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div id="board_name"> | ||
<h2>졸업생게시판 업로드</h2> | ||
</div> | ||
|
||
<div class="boardcontainner"> | ||
<form id="form" action = "{%url 'graduate_post'%}" method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<div id="title"> | ||
<a>제목</a> | ||
<input id="input" type="text" name="title"> | ||
</div> | ||
<div class="imageset"> | ||
<label for="chooseFile"> | ||
👉 CLICK HERE! 👈 | ||
</label> | ||
</div> | ||
<input type="file" id="chooseFile" name="image" accept="image/*" onchange="loadFile(this)"> | ||
|
||
<div id="text"> | ||
<div id="atag"><a>본문</a></div> | ||
<textarea style="resize: none" rows="20" cols="30" name="body"></textarea> | ||
</div> | ||
<div id="submit"> | ||
<input type="submit" value="글쓰기"> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</div> | ||
<!-- <form action = "{%url 'notice_post'%}" method = "POST" enctype = "multipart/form-data"> | ||
{% csrf_token %} | ||
<input type = "text" name = "title" placeholder="제목"> | ||
<!-- <input type = "text" name = "author" placeholder="작성자"> --> | ||
<!-- <textarea name = "body" cols = "100" row = "100" placeholder="내용"></textarea> | ||
첨부파일: <input type = "file" name = "image"> | ||
<button type = "submit">작성하기</button> | ||
</form> | ||
</body> --> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
{% block title %} 중고서적게시판 업로드{% endblock %} | ||
{% block link %}{% static 'css/boardform.css' %}{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div id="board_name"> | ||
<h2>중고서적게시판 업로드</h2> | ||
</div> | ||
|
||
<div class="boardcontainner"> | ||
<form id="form" action = "{%url 'market_post'%}" method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<div id="title"> | ||
<a>제목</a> | ||
<input id="input" type="text" name="title"> | ||
</div> | ||
<div class="imageset"> | ||
<label for="chooseFile"> | ||
👉 CLICK HERE! 👈 | ||
</label> | ||
</div> | ||
<input type="file" id="chooseFile" name="image" accept="image/*" onchange="loadFile(this)"> | ||
|
||
<div id="text"> | ||
<div id="atag"><a>본문</a></div> | ||
<textarea style="resize: none" rows="20" cols="30" name="body"></textarea> | ||
</div> | ||
<div id="submit"> | ||
<input type="submit" value="글쓰기"> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</div> | ||
<!-- <form action = "{%url 'notice_post'%}" method = "POST" enctype = "multipart/form-data"> | ||
{% csrf_token %} | ||
<input type = "text" name = "title" placeholder="제목"> | ||
<!-- <input type = "text" name = "author" placeholder="작성자"> --> | ||
<!-- <textarea name = "body" cols = "100" row = "100" placeholder="내용"></textarea> | ||
첨부파일: <input type = "file" name = "image"> | ||
<button type = "submit">작성하기</button> | ||
</form> | ||
</body> --> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{% extends 'base.html' %} | ||
{% load static %} | ||
|
||
{% block title %} 스터디게시판 업로드{% endblock %} | ||
{% block link %}{% static 'css/boardform.css' %}{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div id="board_name"> | ||
<h2>스터디게시판 업로드</h2> | ||
</div> | ||
|
||
<div class="boardcontainner"> | ||
<form id="form" action = "{%url 'study_post'%}" method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<div id="title"> | ||
<a>제목</a> | ||
<input id="input" type="text" name="title"> | ||
</div> | ||
<div class="imageset"> | ||
<label for="chooseFile"> | ||
👉 CLICK HERE! 👈 | ||
</label> | ||
</div> | ||
<input type="file" id="chooseFile" name="image" accept="image/*" onchange="loadFile(this)"> | ||
|
||
<div id="text"> | ||
<div id="atag"><a>본문</a></div> | ||
<textarea style="resize: none" rows="20" cols="30" name="body"></textarea> | ||
</div> | ||
<div id="submit"> | ||
<input type="submit" value="글쓰기"> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</div> | ||
<!-- <form action = "{%url 'notice_post'%}" method = "POST" enctype = "multipart/form-data"> | ||
{% csrf_token %} | ||
<input type = "text" name = "title" placeholder="제목"> | ||
<!-- <input type = "text" name = "author" placeholder="작성자"> --> | ||
<!-- <textarea name = "body" cols = "100" row = "100" placeholder="내용"></textarea> | ||
첨부파일: <input type = "file" name = "image"> | ||
<button type = "submit">작성하기</button> | ||
</form> | ||
</body> --> | ||
{% endblock %} |
Oops, something went wrong.