modified: app.py

modified:   templates/user_contact.html
This commit is contained in:
SimolZimol
2025-08-24 22:55:26 +02:00
parent ae57673029
commit 56592159c1
2 changed files with 7 additions and 3 deletions

2
app.py
View File

@@ -996,7 +996,7 @@ def user_contact():
))
connection.commit()
flash("Your message has been submitted successfully! We'll process it and get back to you within 15 minutes via Discord DM.", "success")
flash("Your message has been submitted successfully! We'll process it and get back to you within 15 minutes.", "success")
cursor.close()
connection.close()

View File

@@ -74,6 +74,8 @@
height: 60px;
border-radius: 50%;
border: 2px solid #667eea;
object-fit: cover;
background: #2d3748;
}
.user-details h5 {
@@ -251,7 +253,9 @@
{% if user_info %}
<div class="user-info-card">
<img src="{{ user_info.avatar_url }}" alt="Avatar" class="user-avatar">
<img src="{{ user_info.profile_picture or '/static/default_profile.png' }}"
alt="Avatar" class="user-avatar"
onerror="this.onerror=null; this.src='/static/default_profile.png';">
<div class="user-details">
<h5>{{ user_info.global_name or user_info.username }}</h5>
<p><i class="fab fa-discord"></i> {{ user_info.username }}#{{ user_info.discriminator }} (ID: {{ user_info.id }})</p>
@@ -274,7 +278,7 @@
<h6><i class="fas fa-info-circle"></i> How it works</h6>
<ul style="color: #a0aec0; margin: 0; padding-left: 1.5rem;">
<li>Your Discord information is automatically included with your message</li>
<li>Messages are sent directly to the bot administrator via Discord DM</li>
<li>Messages are sent directly to the bot administrator</li>
<li>We typically respond within 24 hours</li>
<li>For urgent issues, please join our Discord server for faster support</li>
</ul>