-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d9c339
commit 5a525ff
Showing
13 changed files
with
204 additions
and
70 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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,24 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col"> | ||
<h3 class="post-category">Control your subscribes {{ current_user.nickname }} </h3> | ||
|
||
</div> | ||
</div> | ||
|
||
{% for follow in follows %} | ||
<div class="row"> | ||
<div class="col"> | ||
<a href="/author/{{ follow.id }}" class="story-link" style="font-family: 'Lexend Giga', sans-serif; font-size: 20px;"> | ||
<h2> {{ follow.nickname }} <i class="fas fa-heart"></i></h2> | ||
</a> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
|
||
|
||
</div> | ||
{% 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,21 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
|
||
<h3 class="username" style="text-align: center;">{{ name }}</h3> | ||
<h3 class="username" style="text-align: center;">{{ fc }} subscribers</h3> | ||
<form method='post'> | ||
<div class="row"> | ||
<div class="col-6" style="justify-content: center; margin: 0 auto;"> | ||
{% if not sub %} | ||
<input type="submit" class="btn btn-block btn-primary" name='subscribe-button' value="Subscribe" style="margin:5% 0 5% 0; background-color:orangered;"> | ||
{% else %} | ||
<input type="submit" class="btn btn-block btn-primary" name='subscribe-button' value="Unsubscribe" style="margin:5% 0 5% 0;background-color:darkgray;"> | ||
{% endif %} | ||
</div> | ||
</div> | ||
|
||
</form> | ||
|
||
|
||
{% 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
Oops, something went wrong.