пенис пенис елда
This commit is contained in:
@@ -6,6 +6,30 @@
|
||||
<title>Достижения - CS2 Simulator</title>
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<style>
|
||||
.achievement-card.secret {
|
||||
border-color: #8b5cf6;
|
||||
background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), transparent);
|
||||
}
|
||||
.achievement-card.secret.unlocked {
|
||||
border-color: #8b5cf6;
|
||||
background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), transparent);
|
||||
}
|
||||
.achievement-card.secret .achievement-icon {
|
||||
background: rgba(139, 92, 246, 0.1);
|
||||
}
|
||||
.achievement-card.secret.unlocked .achievement-icon {
|
||||
background: rgba(139, 92, 246, 0.2);
|
||||
}
|
||||
.achievement-card .secret-badge {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
font-size: 0.65rem;
|
||||
background: rgba(139, 92, 246, 0.2);
|
||||
color: #a78bfa;
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.achievements-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -218,10 +242,19 @@
|
||||
|
||||
<div class="achievements-grid" id="achievementsGrid">
|
||||
{% for ach in achievements %}
|
||||
<div class="achievement-card {{ 'unlocked' if ach.unlocked else 'locked' }}"
|
||||
<div class="achievement-card {{ 'unlocked' if ach.unlocked else 'locked' }} {{ 'secret' if ach.hidden else '' }}"
|
||||
data-category="{{ ach.category }}">
|
||||
{% if ach.hidden and not ach.unlocked %}
|
||||
<div class="achievement-icon">❓</div>
|
||||
<div class="achievement-info">
|
||||
<div class="achievement-title">???</div>
|
||||
<div class="achievement-desc">Хммм... похоже что я не знаю как его открыть</div>
|
||||
<div class="secret-badge">🔒 Секрет</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="achievement-icon">{{ ach.icon }}</div>
|
||||
<div class="achievement-info">
|
||||
{% if ach.hidden %}<div class="secret-badge">🤫 Секрет</div>{% endif %}
|
||||
<div class="achievement-title">{{ ach.title }}</div>
|
||||
<div class="achievement-desc">{{ ach.description }}</div>
|
||||
{% if ach.reward_amount > 0 %}
|
||||
@@ -230,7 +263,7 @@
|
||||
<div class="achievement-progress">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill {{ 'complete' if ach.unlocked else '' }}"
|
||||
style="width: {{ (ach.progress / ach.requirement_value * 100)|round }}%"></div>
|
||||
style="width: {{ (ach.progress / ach.requirement_value * 100)|round if ach.requirement_value > 0 else 100 }}%"></div>
|
||||
</div>
|
||||
<div class="progress-text">
|
||||
{% if ach.unlocked %}
|
||||
@@ -241,6 +274,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user