diff --git a/templates/portal/login.html b/templates/portal/login.html new file mode 100644 index 0000000..28907b7 --- /dev/null +++ b/templates/portal/login.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} +{% block title %}Player Portal — KittyRec INDEV{% endblock %} +{% block content %} +
+
+
+ KittyRec +

Player Portal

+

Sign in with your game account

+
+ {% if error %} +
{{ error }}
+ {% endif %} +
+ +
+ + +
+
+ + +
+ +
+
+
+{% endblock %} diff --git a/templates/portal/profile.html b/templates/portal/profile.html new file mode 100644 index 0000000..77477a9 --- /dev/null +++ b/templates/portal/profile.html @@ -0,0 +1,141 @@ +{% extends "base.html" %} +{% block title %}{{ profile.DisplayName }} — KittyRec INDEV{% endblock %} +{% block head %} + +{% endblock %} + +{% block content %} +
+
🐱
+
+

{{ profile.DisplayName }}

+

@{{ profile.Username }}

+
+ Level {{ profile.Level }} + {% if profile.Developer %} + ⭐ Developer + {% endif %} + {{ profile.XP | int }} XP +
+
+
+
+

+ {{ profile.XP % 10000 }} / 10 000 XP to Level {{ profile.Level + 1 }} +

+
+
+ Sign out +
+
+ +{% if profile.Bio %} +
+
Bio
+

{{ profile.Bio }}

+
+{% endif %} + +
+
+

🎁 Gift Boxes ({{ gifts | length }} pending)

+ {% if gifts %} + + {% endif %} +
+ + {% if not gifts %} +

+ No pending gifts — play some games to earn them! +

+ {% else %} +
+ {% for g in gifts %} +
+
+ + {% if g.GiftRarity == 3 %}🌟 + {% elif g.GiftRarity == 2 %}💎 + {% elif g.GiftRarity == 1 %}🟢 + {% else %}📦{% endif %} + + + {% if g.GiftRarity == 3 %}Epic + {% elif g.GiftRarity == 2 %}Rare + {% elif g.GiftRarity == 1 %}Uncommon + {% else %}Common{% endif %} + +
+ {% if g.EquipmentPrefabName %} +
{{ g.EquipmentPrefabName | replace('[','') | replace(']','') }}
+ {% else %} +
XP Reward
+ {% endif %} +
+{{ g.Xp }} XP
+ {% if g.Message %}
{{ g.Message }}
{% endif %} + +
+ {% endfor %} +
+ {% endif %} +
+{% endblock %} + +{% block scripts %} + +{% endblock %}