[go: nahoru, domu]

Skip to content

Commit

Permalink
stickers 링크 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
SEO-YS committed Apr 17, 2023
2 parents 4edf421 + 107e679 commit b36a603
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 12 deletions.
8 changes: 8 additions & 0 deletions stickers/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,13 @@
path('sticker_page', stickers.sticker_page, name='sticker_page'),
path('sticker_save', stickers.sticker_save, name='sticker_save'),
path('sticker_save_open', stickers.sticker_save_open, name='sticker_save_open'),
path('sticker_select',stickers.sticker_select, name='sticker_select'),
path('sticker_select_popup1',stickers.sticker_select_popup1, name='sticker_select_popup1'),
path('sticker_select_popup2',stickers.sticker_select_popup2, name='sticker_select_popup2'),
path('sticker_select_popup3',stickers.sticker_select_popup3, name='sticker_select_popup3'),
path('sticker_select_popup4',stickers.sticker_select_popup4, name='sticker_select_popup4'),




]
17 changes: 15 additions & 2 deletions stickers/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@
from django.http import HttpResponse
# Create your views here.


def sticker_select(request):
return render(request, "stickers/sticker_select.html")
def sticker_select_popup1(request):
return render(request, "stickers/sticker_select_popup1.html")
def sticker_select_popup2(request):
return render(request, "stickers/sticker_select_popup2.html")
def sticker_select_popup3(request):
return render(request, "stickers/sticker_select_popup3.html")
def sticker_select_popup4(request):
return render(request, "stickers/sticker_select_popup4.html")
def sticker_edit(request):
return render(request, "stickers/sticker_edit.html")

Expand All @@ -16,4 +25,8 @@ def sticker_save(request):
return render(request, "stickers/sticker_save.html")

def sticker_save_open(request):
return render(request, "stickers/sticker_save_open.html")
return render(request, "stickers/sticker_save_open.html")




2 changes: 1 addition & 1 deletion templates/mainpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<h2>Tilburg Club</h2>
<p>Tilburg Club의 내용</p>
</a>
<a href="#" class="accent2">
<a href="stickers/sticker_select" class="accent2">
<h2>Sticker On Face</h2>
<p>Sticker On Face의 내용</p>
</a>
Expand Down
2 changes: 1 addition & 1 deletion templates/stickers/sticker_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1></h1>
<p id="fixed"></p>
<button onclick="javascript:window.close()";>이미지업로드</button>
<br>
<button1 onclick="javascript:window.close()";>완료</button>
<button onclick="javascript:window.close()";>완료</button>
<a href="#" onclick="window.open('/templates/sticker_save.html',1150,550)">완료</a>
<br>
<div class="fixed"></div>
Expand Down
1 change: 1 addition & 0 deletions templates/stickers/sticker_edit_open.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<!DOCTYPE html>
<html lang="en">
<head>
Expand Down
8 changes: 4 additions & 4 deletions templates/stickers/sticker_select.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h3><a href="">-프로젝트</a> <br>
<div class="container">
<div class="image" id="jisoo-cat">
<img src="/static/images/jisoo_cat.png" style="cursor: pointer"
onclick="window.open('sticker_select_popup1.html', 'asdfo8or', 'scrollbars=yes, width=800, height=605, top=10, left=20');"
onclick="window.open('/stickers/sticker_select_popup1', 'asdfo8or', 'scrollbars=yes, width=800, height=605, top=10, left=20');"
alt ="jisoo-cat" width="170">

<h3>딸기 든 냐옹이</h3>
Expand All @@ -51,15 +51,15 @@ <h3>딸기 든 냐옹이</h3>

<div class="image" id="jisoo-bear">
<img src="/static/images/jisoo_bear.jpg" style="cursor: pointer"
onclick="window.open('sticker_select_popup2.html', 'asdfo8or', 'scrollbars=yes, width=800, height=605, top=10, left=20');"
onclick="window.open('/stickers/sticker_select_popup2', 'asdfo8or', 'scrollbars=yes, width=800, height=605, top=10, left=20');"
alt ="jisoo-bear" width="170">
<h3>파랑 곰돌이</h3>
<p>파랑 곰돌이가 <br> 되어보세요>. </p>
</div>
<br>
<div class="image" id="jisoo-bearnose">
<img src="/static/images/jisoo_bear_nose.jpg" style="cursor: pointer"
onclick="window.open('sticker_select_popup3.html', 'asdfo8or', 'scrollbars=yes, width=800, height=605, top=10, left=20');"
onclick="window.open('/stickers/sticker_select_popup3', 'asdfo8or', 'scrollbars=yes, width=800, height=605, top=10, left=20');"
alt ="jisoo-bearnose" width="170">
<h3>곰돌이</h3>
<p>곰돌이가 <br> 되어보세요~ </p>
Expand All @@ -68,7 +68,7 @@ <h3>곰돌이</h3>

<div class="image" id="jisoo-bat">
<img src="/static/images/jisoo_bat.jpg" style="cursor: pointer"
onclick="window.open('sticker_select_popup4.html', 'asdfo8or', 'scrollbars=yes, width=800, height=605, top=10, left=20');"
onclick="window.open('/stickers/sticker_select_popup4', 'asdfo8or', 'scrollbars=yes, width=800, height=605, top=10, left=20');"
alt="jisoo-bat" width="170">
<h3>핑크 박쮜</h3>
<p>핑크 박쮜가 <br> 되어보세요~</p>
Expand Down
2 changes: 1 addition & 1 deletion templates/stickers/sticker_select_popup1.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1>딸기 든 냐옹이</h1>
<h4>귀여운 딸기와 핑크 고양이 프레임을 <br> 이용하여 사진을 꾸며보세요~</h4>
</div>
<div>
<button onclick=""><b>사용하기</b></button>
<button onclick="window.open('/stickers/sticker_edit')"><b>사용하기</b></button>
</div>
</div>
</body>
2 changes: 1 addition & 1 deletion templates/stickers/sticker_select_popup2.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1>파랑 곰돌이</h1>
<h4> 파란 곰돌이귀와 곰돌이 코가 있는 필터를 <br> 이용하여 사진을 꾸며보세요~</h4>
</div>
<div>
<button onclick=""><b>사용하기</b></button>
<button onclick="window.open('/stickers/sticker_edit')"><b>사용하기</b></button>
</div>
</div>
</body>
2 changes: 1 addition & 1 deletion templates/stickers/sticker_select_popup3.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1>곰돌이</h1>
<h4> 귀여운 갈색 곰돌이 코 필터를 <br> 이용하여 사진을 꾸며보세요~</h4>
</div>
<div>
<button onclick=""><b>사용하기</b></button>
<button onclick="window.open('/stickers/sticker_edit')"><b>사용하기</b></button>
</div>
</div>
</body>
2 changes: 1 addition & 1 deletion templates/stickers/sticker_select_popup4.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1>핑크 박쮜</h1>
<h4> 사랑스러운 핑크색 악마뿔과 날개를 <br> 이용하여 사진을 꾸며보세요~</h4>
</div>
<div>
<button onclick=""><b>사용하기</b></button>
<button onclick="window.open('/stickers/sticker_edit')"><b>사용하기</b></button>
</div>
</div>
</body>

0 comments on commit b36a603

Please sign in to comment.