Skip to content
Open

Home #26

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
b5a2764
save
ssoy0514 Aug 20, 2022
8d87699
sign up, login, logout
sophiahyj Aug 20, 2022
19607fc
diary form
ssoy0514 Aug 20, 2022
e6f137e
db에 일기 저장 성공
ssoy0514 Aug 20, 2022
0465773
signup 문제 해결 중
sophiahyj Aug 20, 2022
6058bb3
make random rendering space background
syrius527 Aug 20, 2022
9c616cb
test
sophiahyj Aug 20, 2022
e78b288
update random rendering space background
syrius527 Aug 20, 2022
cef8866
final
ssoy0514 Aug 20, 2022
2205218
merging from home branch
syrius527 Aug 20, 2022
f29f87b
detail added
sophiahyj Aug 20, 2022
44acdeb
merging from main
ssoy0514 Aug 20, 2022
b6a2b53
js to mjs
ssoy0514 Aug 20, 2022
79251e8
gif add
sophiahyj Aug 20, 2022
156219c
left ones
ssoy0514 Aug 20, 2022
2ffd3ec
confilct handling
sophiahyj Aug 20, 2022
919a42c
js to mjs
syrius527 Aug 20, 2022
d659cca
conflict handling
syrius527 Aug 20, 2022
f47fe9c
btn modify
sophiahyj Aug 20, 2022
0d33d11
내가 먼저 push
sophiahyj Aug 20, 2022
72d9353
save
syrius527 Aug 20, 2022
fe8793c
conflict handling
syrius527 Aug 20, 2022
8aba63a
index
sophiahyj Aug 20, 2022
d84a5d6
background -> base
syrius527 Aug 20, 2022
7b21532
conflict handling
syrius527 Aug 20, 2022
56130cf
delete background legacy
syrius527 Aug 20, 2022
35b9fc3
index clean
sophiahyj Aug 20, 2022
7b22028
Merge branch 'main' of https://github.com/sophiahyj/AstroDiary into r…
sophiahyj Aug 20, 2022
f6cbf78
detail page
sophiahyj Aug 20, 2022
68da96f
일기 작성 페이지 css 절반
ssoy0514 Aug 20, 2022
a2eeec5
일기 작성 페이지 css 절반2
ssoy0514 Aug 20, 2022
f32016b
index 충돌 해결..i think
ssoy0514 Aug 20, 2022
f33c015
index update
sophiahyj Aug 20, 2022
86aec97
db 저장 성공 및 가운데 정렬 css
ssoy0514 Aug 20, 2022
e6c898c
conflict ok
sophiahyj Aug 20, 2022
02f8589
detail css
sophiahyj Aug 20, 2022
f772bb1
index css 마무리
ssoy0514 Aug 21, 2022
ce6f226
conflict handling
ssoy0514 Aug 21, 2022
e3f97c7
save
syrius527 Aug 21, 2022
23a4118
conflict handling
syrius527 Aug 21, 2022
c513e04
index conflict
syrius527 Aug 21, 2022
1f21644
Merge branch 'main' of https://github.com/sophiahyj/AstroDiary into f…
syrius527 Aug 21, 2022
3ba4ae3
pull from main
ssoy0514 Aug 21, 2022
01f531e
index update
ssoy0514 Aug 21, 2022
029f9d7
index static edit
syrius527 Aug 21, 2022
172612e
mobile local test setting
ssoy0514 Aug 21, 2022
6838868
Merge branch 'main' of https://github.com/sophiahyj/AstroDiary into home
ssoy0514 Aug 21, 2022
41445e2
commit
ssoy0514 Aug 21, 2022
6593a4e
마이페이지css까지만
JHLvJz Aug 21, 2022
46b916d
base directory ..
JHLvJz Aug 21, 2022
770c26e
db migrate
JHLvJz Aug 21, 2022
8034ab3
conflict handling
JHLvJz Aug 21, 2022
43d7654
base extend
JHLvJz Aug 21, 2022
305fb48
중간과정
ssoy0514 Aug 21, 2022
9ee7621
conflict handling
ssoy0514 Aug 21, 2022
d003770
login signup integrate
syrius527 Aug 21, 2022
a4fb4b3
merging
syrius527 Aug 21, 2022
a6407f6
Merge branch 'main' of https://github.com/sophiahyj/AstroDiary into f…
syrius527 Aug 21, 2022
c9b75f7
ㅠㅠ
ssoy0514 Aug 21, 2022
383cba6
conflict handling
ssoy0514 Aug 21, 2022
0b3fe4b
Merge branch 'main' of https://github.com/sophiahyj/AstroDiary into home
ssoy0514 Aug 21, 2022
f4055ff
css
ssoy0514 Aug 21, 2022
e0916c0
conflict
ssoy0514 Aug 21, 2022
d32609e
going on fishing event
syrius527 Aug 21, 2022
eaa8fff
merging
syrius527 Aug 21, 2022
c741556
css 마무리
ssoy0514 Aug 21, 2022
dbb0b8c
index css conflict 해결
ssoy0514 Aug 21, 2022
82ff4d0
fishing animation
syrius527 Aug 21, 2022
0514cc4
merging
syrius527 Aug 21, 2022
1f95a72
css
ssoy0514 Aug 21, 2022
e882374
conflict handling
ssoy0514 Aug 21, 2022
d4b6702
Merge branch 'main' of https://github.com/sophiahyj/AstroDiary into home
ssoy0514 Aug 21, 2022
31a9e3a
random done
syrius527 Aug 21, 2022
96e7a89
save
syrius527 Aug 22, 2022
02c27f0
1
ssoy0514 Aug 27, 2022
d50ede9
2
ssoy0514 Aug 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions diaryProject/Account/static/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
img {
max-width: 200px;
max-height: 200px;
margin: 0 auto;
border-radius: 50%;
}
30 changes: 30 additions & 0 deletions diaryProject/Account/static/signup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@


.login_btn {
width: 100px;
height: 40px;
left: 68px;
top: 505px;
background: #896AC9;
border-radius: 12px;
border: 0px;
font-weight: bolder;
color: white;
font-size: 20px;
}

.signup_btn {
display: flex;
justify-content: center;
}

.signup {
text-decoration: underline;
text-underline-position: under;
text-decoration-color: #896AC9;
margin-left: -150px;
}

.login {
color: #A5ADB2;
}
28 changes: 28 additions & 0 deletions diaryProject/Account/templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{% extends 'base.html' %}
{% load static %}
{% block style %}
{% comment %} 여기에 연결할 css <link/> 추가 {% endcomment %}
{% endblock style %}
{% block js %}
{% comment %} 여기에 연결할 js <script/> 추가 {% endcomment %}
{% endblock js %}
{% block content %}
<div class="navbar_container">
<li class="navbar_logo">
<img src="#">
</li>
{% if user.is_authenticated %}
<span class="navbar_menu_item">안녕하세요! {{user.username}} 님!</span>
<img class="profile_pic" src="{{request.user.profile.profile_pic.url}}">
<a href="{% url 'logout' %}">Logout</a>
{% else %}
<li class="navbar_menu_item">
<a href="{% url 'login' %}">Login</a>
</li>
<li class="navbar_menu_item">
<a href="{% url 'signup' %}">Sign Up</a>
</li>
{% endif %}
</div>

{% endblock content %}
40 changes: 40 additions & 0 deletions diaryProject/Account/templates/signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{% extends 'base.html' %}
{% load static %}
{% block style %}
<link rel="stylesheet" type="text/css" href="{% static 'signup.css' %}">
{% endblock style %}
{% block content %}
<div class="navbar">
<div class="logo">
<img src="../static/images/우주 일기.png">
</div>
</div>

<div class="container">
<div class="title">
<a class="login" href="{% url 'login' %}" style="margin-top: 30px;">Login</a>
<a href="{% url 'signup' %}" class="signup" style="margin-top: 30px;">Sign Up</a>
</div>
<section id="signup">
<form method="POST">
{% csrf_token %}
{% if error %}
<p class="error">{{error}}</p>
{% endif %}
<div class="signupbox">
<!-- <p>Profile Picture</p>
<input name="image" type="file"> -->
<p>Username</p>
<input type="text" name="username">
<p>Password</p>
<input type="password" name="password">
<br>
<br>
<div class="signup_btn">
<button>Sign Up</button>
</div>
</div>
</form>
</section>
</div>
{% endblock content %}
18 changes: 10 additions & 8 deletions diaryProject/MyPage/static/calendar.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

.day {
padding-top: 8px;
padding-bottom: 3px;
width: calc(98%/7);
/* padding-bottom: 3px; */
width: calc(98% / 7);
padding-left: 0.5px;
text-align: center;
transition: all .3s;
transition: all 0.3s;
color: white;
font-weight: bold;
}
Expand All @@ -36,7 +36,7 @@
background-color: white;
border: 1px solid black;
border-radius: 5px;
transition: all .3s;
transition: all 0.3s;
font-weight: bold;
}

Expand All @@ -50,17 +50,19 @@
width: 20px;
height: 20px;
border: none;
font-size: 16px;
font-size: 16px;
line-height: 15px;
background-color: transparent;
cursor: pointer;
}

.day:nth-child(7n+1), .date:nth-child(7n+1) {
.day:nth-child(7n + 1),
.date:nth-child(7n + 1) {
color: #d13e3e;
}

.day:nth-child(7n), .date:nth-child(7n) {
.day:nth-child(7n),
.date:nth-child(7n) {
color: #396ee2;
}

Expand Down Expand Up @@ -89,4 +91,4 @@

.event-itm {
font-size: 0;
}
}
31 changes: 15 additions & 16 deletions diaryProject/MyPage/static/mypage.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
.profile {
width: 100px;
height: 100px;
border-radius: 100%;
border: 10px solid #fadc72;
border-radius: 100%;
border: 10px solid #fadc72;
background-color: white;
margin-left: 40px;
margin-top: 10%;
}

.name-wrap {
Expand All @@ -31,6 +32,7 @@
}

.level-name {
margin-top: 5%;
background-color: #fadc72;
padding: 4px 4px;
border-radius: 10px;
Expand All @@ -44,18 +46,16 @@
flex-direction: row;
}


.fishing-bag > img {
margin-top: 0%;
margin-top: 10%;
margin-left: 20px;
width: 85%;
width: 50%;
height: 90%;
}

.calendar {
width: 90%;
margin: 0px auto;
height: 40%;
margin: 5% auto;
background-color: rgba(255, 255, 255, 0.384);
border-radius: 10px;
}
Expand Down Expand Up @@ -85,10 +85,9 @@
margin: 0px auto;
}


.main-btn img {
position: absolute;
width: 100%;
width: 100%;
height: 140%;
margin: 0px auto;
}
Expand All @@ -99,7 +98,6 @@
height: 140%;
margin: 0px auto;
opacity: 60%;

}

.flex-col {
Expand All @@ -115,7 +113,6 @@
}

.calendar_nav {

display: flex;
flex-direction: row;
justify-content: center;
Expand Down Expand Up @@ -149,14 +146,16 @@
font-size: 20px;
}


.monthly-total {
position: relative;
margin-top: 5%;
width: 90%;
height: 60%;
width: 100%;
height: 55%;
background-color: white;
border-radius: 10px;
margin-right: 20px;
margin-right: 10%;
position: relative;
}

.fishing-rod > img {
bottom: 30px;
}
Loading