Cutting away the fat

Removed the gender selection thing as it was pointless, also trimmed the fat for the MOTDs and welcome messages.
This commit is contained in:
some weird guy
2023-07-25 20:59:06 -07:00
parent 5bab1f320a
commit 700b722736
11 changed files with 21 additions and 700 deletions
@@ -10,7 +10,7 @@
{% if user.is_warned %}
<div class="notice" style="background-color: #ffc783;border: 1px solid #ffb358;">
<p><b>WARNING</b>: You have been issued a warning by an administrator. No features have been restricted, as this is just a warning.
<p><b>WARNING</b>: You have been issued a warning by an administrator.
<div>
{% if user.get_warned_reason %}
<p>Reason: "{{ user.get_warned_reason }}"</p>
@@ -19,7 +19,7 @@
</div>
{% endif %}
{% if availablemotds and request.user.is_authenticated %}
{% if mesoftheday and request.user.is_authenticated %}
<div class="post-list-outline index-memo">
<h2 class="label">MOTD / News</h2>
{% for mesoftheday in mesoftheday %}
@@ -31,7 +31,7 @@
</div>
{% endif %}
{% if availablemes and not request.user.is_authenticated %}
{% if welmes and not request.user.is_authenticated %}
<div class="post-list-outline index-memo">
<h2 class="label">Welcome to Cedar!</h2>
{% for welmes in welmes %}
@@ -42,9 +42,6 @@
</div>
{% endif %}
{% if request.user.c_tokens > 0 %}<a class="big-button" href={% url "main:community-create" %}><span class="symbol-label">Create a community</span></a>{% endif %}
<!--
<iframe src="https://discord.com/widget?id=1001294283040620665&theme=dark" height="300" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
-->
{% if availableads %}
<div class="adx">
<h3>User-Generated Ad</h3>
@@ -1,9 +1,9 @@
{% extends "closedverse_main/layout.html" %}{% block main-body %}{% load closedverse_community %}
{% community_sidebar community request %}
<div class="main-column">
{% if user.is_warned and user.is_authenticated and user.is_active %}
{% if user.is_warned %}
<div class="notice" style="background-color: #ffc783;border: 1px solid #ffb358;">
<p><b>WARNING</b>: You have been issued a warning by an administrator. No features have been restricted, as this is just a warning.
<p><b>WARNING</b>: You have been issued a warning by an administrator.
<div>
{% if user.get_warned_reason %}
<p>Reason: "{{ user.get_warned_reason }}"</p>
@@ -22,4 +22,4 @@
</div>
</div>
{% endblock %}
{% endblock %}
@@ -172,14 +172,6 @@
</div>
</div>
{% endif %}
{% if profile.gender_is %}
<div class="data-content">
<h4><span>Gender</span></h4>
<div class="note">
<span>{{ profile.get_gender_is_display }}</span>
</div>
</div>
{% endif %}
{% if profile.external %}
<div class="data-content">
<h4><span>Discord Tag</span></h4>
@@ -136,26 +136,6 @@
</select>
</div>
</div>
</li>
<li>
<p class="settings-label"><label for="gender_select">Are you a girl, boy or something else?</label></p>
<div class="select-content">
<div class="select-button">
<select name="gender_select" id="gender_select">
<option value="0"{% if profile.gender_is == 0 %} selected{% endif %}>I don't know</option>
<option value="1"{% if profile.gender_is == 1 %} selected{% endif %}>Girl</option>
<option value="2"{% if profile.gender_is == 2 %} selected{% endif %}>Boy</option>
<option value="3"{% if profile.gender_is == 3 %} selected{% endif %}>Minion</option>
<option value="4"{% if profile.gender_is == 4 %} selected{% endif %}>Toaster</option>
<option value="5"{% if profile.gender_is == 5 %} selected{% endif %}>Dino</option>
<option value="6"{% if profile.gender_is == 6 %} selected{% endif %}>Truck</option>
<option value="7"{% if profile.gender_is == 7 %} selected{% endif %}>Robot</option>
<option value="8"{% if profile.gender_is == 8 %} selected{% endif %}>Monkey</option>
<option value="9"{% if profile.gender_is == 9 %} selected{% endif %}>Big chungus</option>
<option value="10"{% if profile.gender_is == 10 %} selected{% endif %}>Other</option>
</select>
</div>
</div>
</li>
<li>
<p class="settings-label"><label for="yeahs_visibility">Who should be able to see your Yeahs given?</label></p>