Skip to content

Commit

Permalink
bug fix: endblock
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Jan 24, 2024
1 parent 9f76646 commit 8ec66ba
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 40 deletions.
22 changes: 11 additions & 11 deletions src/api/cookies.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from fastapi import APIRouter, Request
from fastapi.responses import HTMLResponse

from src.core.config import CONFIG, templates

router = APIRouter()


@router.get("/")
async def cookies(request: Request) -> HTMLResponse:
return templates.TemplateResponse("pages/cookies.html", {"request": request})
from fastapi import APIRouter, Request
from fastapi.responses import HTMLResponse

from src.core.config import CONFIG, templates

router = APIRouter()


@router.get("/")
async def cookies(request: Request) -> HTMLResponse:
return templates.TemplateResponse("pages/cookies.html", {"request": request})
2 changes: 1 addition & 1 deletion src/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<li class="nav-item">
<a class="nav-link text-white text-opacity-75 text-white-hover nn-cmp-show" href="{{ url_for('cookies') }}"
style="display: inline-block;">
Cookies
Privacy & Cookies Policy
</a>
</li>
</ul>
Expand Down
73 changes: 45 additions & 28 deletions src/templates/pages/cookies.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,45 @@
{% extends "base.html" %}

<div class="container-fluid">
<div class="container">
<div class="row">
<article>
<div class="card card-article card-server mb-4">
<div class="card-img text-center">
</div>
<div class="card-body">
<div class="card-icon text-center">
<img src="/static/images/logo-sm.png" alt="Bot Detector">
</div>
<h1 class="h3 mt-2 text-center">Privacy Policy & Cookies</h1>
<p class="fs-16 mt-4 bt-plugin-desc text-center">
To do.
<hr>
If your question still has not been answered - feel free to message us on
<a href="https://discord.gg/RZEf2ms4gs"><i class="fab fa-discord" aria-hidden="true"></i> Discord</a>.
</p>
<hr>
</article>
</div>
</div>
</div>


{% block content %}
{% extends "base.html" %}

{% block content %}
<div class="container-fluid">
<div class="container">
<div class="row">
<article>
<div class="card card-article card-server mb-4">
<div class="card-img text-center">
</div>
<div class="card-body">
<div class="card-icon text-center">
<img src="/static/images/logo-sm.png" alt="Bot Detector">
</div>
<h1 class="h3 mt-2 text-center">Privacy & Cookies Policy</h1>
<p class="fs-16 mt-4 bt-plugin-desc text-center">
<p>
The bot detector website does not have cookies.
</p>
<p>
The bot detector project detects the following information from players that you see in oldschool runescape when you have the plugin installed:
reported_name, reporting_name, region_id, x_coord, y_coord, z_coord, timestamp, manual_detect,
on_members_world, on_pvp_world, world_number, equip_head_id, equip_amulet_id,
equip_torso_id, equip_legs_id, equip_boots_id, equip_cape_id, equip_hands_id,
equip_weapon_id, equip_shield_id, equip_ge_value
</p>
<p>
When reporting as Anonymous user (default) than the reporting_name is not tracked.
</p>
<hr>
<p>
If your question still has not been answered - feel free to message us on
</p>

<a href="https://discord.gg/RZEf2ms4gs"><i class="fab fa-discord" aria-hidden="true"></i>
Discord</a>.
</p>
<hr>
</article>
</div>
</div>
</div>


{% endblock %}

0 comments on commit 8ec66ba

Please sign in to comment.