forked from rDrama/rDrama
vcx
parent
855727fade
commit
9c9ffdfd7a
|
@ -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"
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue