Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmishra committed Jul 3, 2021
2 parents e79a270 + 37453ca commit 17e96fc
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# DevExplorer

![Python Support](https://img.shields.io/badge/Python-3.6--3.9-blue)
![DevExplorerVersion](https://img.shields.io/badge/DevExplorer-v2.0-brightgreen)
![DevExplorerVersion](https://img.shields.io/badge/DevExplorer-v3.0-important)
![Platform](https://img.shields.io/badge/Platform-Windows%2C%20Linux%2C%20Mac-informational)
![License](https://img.shields.io/badge/license-MIT%20License-cyan)
![Pylint](https://img.shields.io/badge/Pylint-9.75%2F10-blueviolet)
![Pylint](https://img.shields.io/badge/Pylint%20-9.96-blueviolet)

A easy, simple to use platform for developers/explorers to get their daily news feed, explore the world with our maps and post blogs to make your own stories, informative blogs, coding tutorials, and really anything you want! If you liked my site please consider voting it!

Expand Down
Binary file modified main/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file modified main/__pycache__/forms.cpython-37.pyc
Binary file not shown.
Binary file modified main/__pycache__/models.cpython-37.pyc
Binary file not shown.
Binary file modified main/__pycache__/routes.cpython-37.pyc
Binary file not shown.
Binary file added main/site.db
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions main/templates/post-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<!-- Displaying the post's content -->
<h2 style="font-weight: 700;">{{ post.title }}</h2>
<div class="card-body" style="margin: 0; padding: 0;">
<a href="" style="text-decoration: none; color: orangered; font-weight: bolder;">
<img src="{{ url_for('static', filename='profile_pics/' ~ post.author.profile_picture) }}" alt="DP" width="32"
<a href="{{ url_for('user_info', username=post.author.username) }}" style="text-decoration: none; color: orangered; font-weight: bolder;">
<img src="{{ url_for('static', filename='profile_pics/' ~ post.author.profile_picture) }}" class="rounded-circle" alt="DP" width="32"
height="32">&ensp;{{ post.author.username }}
</a>
</div>
Expand All @@ -41,7 +41,7 @@ <h2 style="font-weight: 700;">{{ post.title }}</h2>
<br>

<p>{{ post.content|markdown }}</p>

</div>

<br><br>
Expand Down
10 changes: 5 additions & 5 deletions main/templates/posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="col-auto">
<div class="card cards" style="box-shadow: 1px 1px 30px black; border: none; width: 612px;">
<div class="card-body" style="margin: 0; padding: 0;">
<img src="{{ url_for('static', filename='profile_pics/' ~ i.author.profile_picture) }}" alt="DP" width="32"
<img src="{{ url_for('static', filename='profile_pics/' ~ i.author.profile_picture) }}" class="rounded-circle" alt="DP" width="32"
height="32">&ensp;{{ i.author.username }}
</div>

Expand All @@ -48,13 +48,13 @@ <h5 class="card-title" style="font-weight: 600;">
<img src="{{ url_for('static', filename='profile_pics/' ~ i.author.profile_picture) }}" alt="DP"
width="32" height="32">&ensp;{{ i.author.username }}
</div>

<br>

<span class="text-muted" style="margin-bottom: 10px;">Posted On: {{ i.date_posted.date() }}</span>

<br>

<h5 class="card-title" style="font-weight: 600;">
{{ i.title }}
</h5>
Expand Down

0 comments on commit 17e96fc

Please sign in to comment.