Skip to content

Commit

Permalink
Fix styles for not login
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSangHan committed May 2, 2020
1 parent 9f2584b commit 8f8b43e
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 27 deletions.
1 change: 1 addition & 0 deletions feedpage/static/feedpage/partial.css
Expand Up @@ -461,6 +461,7 @@
} */

.comment-input-wrap {
margin-top: 20px;
border-bottom: 3px solid black;
}

Expand Down
6 changes: 3 additions & 3 deletions feedpage/templates/feedpage/creator.html
Expand Up @@ -331,7 +331,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -399,7 +399,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -498,7 +498,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down
6 changes: 3 additions & 3 deletions feedpage/templates/feedpage/creator_ajax.html
Expand Up @@ -230,7 +230,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -298,7 +298,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -397,7 +397,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down
6 changes: 3 additions & 3 deletions feedpage/templates/feedpage/index.html
Expand Up @@ -239,7 +239,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -307,7 +307,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -406,7 +406,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down
6 changes: 3 additions & 3 deletions feedpage/templates/feedpage/index_ajax.html
Expand Up @@ -230,7 +230,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -298,7 +298,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -397,7 +397,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down
6 changes: 3 additions & 3 deletions feedpage/templates/feedpage/myreaction.html
Expand Up @@ -283,7 +283,7 @@ <h2 class="link-black">{{ upvote.feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -351,7 +351,7 @@ <h2 class="link-black">{{ upvote.feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -450,7 +450,7 @@ <h2 class="link-black">{{ upvote.feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down
6 changes: 3 additions & 3 deletions feedpage/templates/feedpage/myreaction_ajax.html
Expand Up @@ -231,7 +231,7 @@ <h2 class="link-black">{{ upvote.feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -299,7 +299,7 @@ <h2 class="link-black">{{ upvote.feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -398,7 +398,7 @@ <h2 class="link-black">{{ upvote.feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down
6 changes: 3 additions & 3 deletions feedpage/templates/feedpage/mysubscribe.html
Expand Up @@ -263,7 +263,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -331,7 +331,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -430,7 +430,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down
6 changes: 3 additions & 3 deletions feedpage/templates/feedpage/mysubscribe_ajax.html
Expand Up @@ -228,7 +228,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -296,7 +296,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -395,7 +395,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down
6 changes: 3 additions & 3 deletions feedpage/templates/feedpage/show.html
Expand Up @@ -223,7 +223,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -291,7 +291,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down Expand Up @@ -372,7 +372,7 @@ <h2 class="link-black">{{ feed.title }}</h2>
{% endif %}
</div>
{% else %}
<div class="ml-auto more-btn">
<div class="ml-auto comment-heart-btn">
<a href="/accounts/login/">
<i class="material-icons comment-heart v-center m-auto link-grey ml-1">favorite_border</i>
</a>
Expand Down

0 comments on commit 8f8b43e

Please sign in to comment.