remotes/1693045480750635534/spooky-22
Aevann1 2022-05-27 19:05:07 +02:00
parent 855727fade
commit 9c9ffdfd7a
2 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@
<p>Python example:</p>
<pre> import requests
headers={"User-Agent": "bot for comments", "Authorization": "access_token_goes_here"}
headers={"Authorization": "access_token_goes_here"}
url="{{SITE_FULL}}/?sort=comments"
@ -43,7 +43,7 @@
<p>Aother python example:</p>
<pre> import requests
headers={"User-Agent": "bot for comments", "Authorization": "access_token_goes_here"}
headers={"Authorization": "access_token_goes_here"}
url="{{SITE_FULL}}/unread"
@ -85,7 +85,7 @@
<p>Python example:</p>
<pre> import requests
headers={"User-Agent": "bot for comments", "Authorization": "access_token_goes_here"}
headers={"Authorization": "access_token_goes_here"}
url="{{SITE_FULL}}/?sort=comments"
@ -100,7 +100,7 @@
<p>Aother python example:</p>
<pre> import requests
headers={"User-Agent": "bot for comments", "Authorization": "access_token_goes_here"}
headers={"Authorization": "access_token_goes_here"}
url="{{SITE_FULL}}/unread"

View File

@ -66,7 +66,7 @@
{% if v %}
{% if v.notifications_count %}
<a class="mobile-nav-icon d-md-none pl-0" href="/notifications{% if v.do_posts %}?posts=true{% elif v.do_reddit %}?reddit=true{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Notifications"><i class="fas fa-bell align-middle text-danger" {% if v.do_posts %}style="color:blue!important"{% elif v.do_reddit %}style="color:#805ad5!important"{% endif %}></i><span class="notif-count ml-1" style="padding-left: 4.5px;{% if v.do_posts %}background:blue{% elif v.do_reddit %}background:#805ad5{% endif %}">{{v.notifications_count}}</span></a>
<a class="mobile-nav-icon d-md-none" href="/notifications{% if v.do_posts %}?posts=true{% elif v.do_reddit %}?reddit=true{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Notifications"><i class="fas fa-bell align-middle text-danger" {% if v.do_posts %}style="color:blue!important"{% elif v.do_reddit %}style="color:#805ad5!important"{% endif %}></i><span class="notif-count ml-1" style="padding-left: 4.5px;{% if v.do_posts %}background:blue{% elif v.do_reddit %}background:#805ad5{% endif %}">{{v.notifications_count}}</span></a>
{% else %}
<a class="mobile-nav-icon d-md-none" href="/notifications" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Notifications"><i class="fas fa-bell align-middle text-gray-500 black"></i></a>
{% endif %}