forked from MarseyWorld/MarseyWorld
sfd
parent
d5be93399c
commit
37432cc602
|
@ -12,6 +12,12 @@ from files.classes.mod_logs import ACTIONTYPES, ACTIONTYPES2
|
|||
site = environ.get("DOMAIN").strip()
|
||||
site_name = environ.get("SITE_NAME").strip()
|
||||
|
||||
|
||||
@app.get("/privacy")
|
||||
@auth_desired
|
||||
def privacy(v):
|
||||
return render_template(f"privacy.html", v=v)
|
||||
|
||||
@app.get("/emojis")
|
||||
@auth_desired
|
||||
def emojis(v):
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
{% extends "default.html" %}
|
||||
|
||||
{% block title %}
|
||||
<title>{{'SITE_NAME' | app_config}} - API</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<pre>
|
||||
|
||||
|
||||
</pre>
|
||||
<h1>Privacy Policy</h1>
|
||||
<p>Last updated: December 28, 2021</p>
|
||||
<p>This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information when You use the Service and tells You about Your privacy rights and how the law protects You.</p>
|
||||
|
@ -133,4 +145,5 @@
|
|||
<li>
|
||||
<p>By visiting this page on our website: <a href="https://rdrama.net/contact" rel="external nofollow noopener" target="_blank">https://rdrama.net/contact</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
{% endblock %}
|
|
@ -22,7 +22,7 @@
|
|||
<div class="body w-lg-100">
|
||||
<p>Change how many posts appear on every page.</p>
|
||||
<div class="input-group mb2">
|
||||
<select id='frontsize' class="form-control" form="profile-settings" name="frontsize" onchange="post_toast('/settings/profile?frontsize='+document.getElementById('frontsize').value)">
|
||||
<select autocomplete="off" id='frontsize' class="form-control" form="profile-settings" name="frontsize" onchange="post_toast('/settings/profile?frontsize='+document.getElementById('frontsize').value)">
|
||||
{% for entry in [25, 50, 100] %}
|
||||
<option value="{{entry}}"{{' selected' if v.frontsize==entry}}>{{entry}}</option>
|
||||
{% endfor %}
|
||||
|
@ -47,7 +47,7 @@
|
|||
<div class="body w-lg-100">
|
||||
<p>Change the default sorting for comments.</p>
|
||||
<div class="input-group mb2">
|
||||
<select id='defaultsortingcomments' class="form-control" form="profile-settings" name="defaultsortingcomments" onchange="post_toast('/settings/profile?defaultsortingcomments='+document.getElementById('defaultsortingcomments').value)">
|
||||
<select autocomplete="off" id='defaultsortingcomments' class="form-control" form="profile-settings" name="defaultsortingcomments" onchange="post_toast('/settings/profile?defaultsortingcomments='+document.getElementById('defaultsortingcomments').value)">
|
||||
{% for entry in ["new", "old", "top", "bottom", "controversial"] %}
|
||||
<option value="{{entry}}"{{' selected' if v.defaultsortingcomments==entry}}>{{entry}}</option>
|
||||
{% endfor %}
|
||||
|
@ -66,7 +66,7 @@
|
|||
<div class="body w-lg-100">
|
||||
<p>Change the default sorting for posts.</p>
|
||||
<div class="input-group mb2">
|
||||
<select id='defaultsorting' class="form-control" form="profile-settings" name="defaultsorting" onchange="post_toast('/settings/profile?defaultsorting='+document.getElementById('defaultsorting').value)">
|
||||
<select autocomplete="off" id='defaultsorting' class="form-control" form="profile-settings" name="defaultsorting" onchange="post_toast('/settings/profile?defaultsorting='+document.getElementById('defaultsorting').value)">
|
||||
{% for entry in ["hot", "new", "old", "top", "bottom", "controversial", "comments"] %}
|
||||
<option value="{{entry}}"{{' selected' if v.defaultsorting==entry}}>{{entry}}</option>
|
||||
{% endfor %}
|
||||
|
@ -85,7 +85,7 @@
|
|||
<div class="body w-lg-100">
|
||||
<p>Change the default time filter for posts.</p>
|
||||
<div class="input-group mb2">
|
||||
<select id='defaulttime' class="form-control" form="profile-settings" name="defaulttime" onchange="post_toast('/settings/profile?defaulttime='+document.getElementById('defaulttime').value)">
|
||||
<select autocomplete="off" id='defaulttime' class="form-control" form="profile-settings" name="defaulttime" onchange="post_toast('/settings/profile?defaulttime='+document.getElementById('defaulttime').value)">
|
||||
{% for entry in ["hour", "day", "week", "month", "year", "all"] %}
|
||||
<option value="{{entry}}"{{' selected' if v.defaulttime==entry}}>{{entry}}</option>
|
||||
{% endfor %}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<div class="body w-lg-100">
|
||||
<p>Choose your quadrant.</p>
|
||||
<div class="input-group mb2">
|
||||
<select id='quadrant' class="form-control" form="profile-settings" name="quadrant" onchange="post_toast('/settings/profile?quadrant='+document.getElementById('quadrant').value, '1')">
|
||||
<select autocomplete="off" id='quadrant' class="form-control" form="profile-settings" name="quadrant" onchange="post_toast('/settings/profile?quadrant='+document.getElementById('quadrant').value, '1')">
|
||||
{% for entry in ["Centrist", "LibLeft", "LibRight", "AuthLeft", "AuthRight", "LibCenter", "AuthCenter", "Left", "Right"] %}
|
||||
<option value="{{entry}}" {% if v.quadrant==entry %} selected {% endif %}>
|
||||
{{entry}}
|
||||
|
@ -110,7 +110,7 @@
|
|||
<div class="body w-lg-100">
|
||||
<p>Change the theme for the website.</p>
|
||||
<div class="input-group mb2">
|
||||
<select id='theme' class="form-control" form="profile-settings" name="theme" onchange="post_toast('/settings/profile?theme='+document.getElementById('theme').value, '1')">
|
||||
<select autocomplete="off" id='theme' class="form-control" form="profile-settings" name="theme" onchange="post_toast('/settings/profile?theme='+document.getElementById('theme').value, '1')">
|
||||
{% if v.background %}
|
||||
{% set entries = ["transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"] %}
|
||||
{% else %}
|
||||
|
@ -161,7 +161,7 @@
|
|||
<div class="body w-lg-100">
|
||||
<p>Change the background for the website.</p>
|
||||
<div class="input-group mb2">
|
||||
<select id='backgroundSelector' class="form-control" form="profile-settings" name="background" onchange="updatebgselection();">
|
||||
<select autocomplete="off" id='backgroundSelector' class="form-control" form="profile-settings" name="background" onchange="updatebgselection();">
|
||||
{% for entry in ["fantasy", "solarpunk", "pixelart"] %}
|
||||
<option value="{{entry}}">
|
||||
{{entry}}
|
||||
|
|
Loading…
Reference in New Issue