diff --git a/iwm_browser/templates/levelInfo.html b/iwm_browser/templates/levelInfo.html index 7f68c9d..4c15e93 100644 --- a/iwm_browser/templates/levelInfo.html +++ b/iwm_browser/templates/levelInfo.html @@ -27,23 +27,45 @@
Level
-
-
-
-
-
{{ map['Name'] }}
-
Difficulty: {{ '▲' * map['AverageUserDifficulty']|int }}
- -
{{ map['NumThumbsUp'] }} 👍 {{ map['NumThumbsDown'] }} 👎
- {% if map['Description'] != ''%}
{{ map['Description'] }}
{% endif %} -
Code:
-
-
-
First Clear: {{ map['FirstClearUsername'] }}
- {% set BestTime = convert_times(map['BestTimePlaytime']) %} -
Best Time: {{ map['BestTimeUsername'] }} [{{ BestTime[0] }}:{{ BestTime[1] }}:{{ BestTime[2] }}]
+
+
+
+
+ +
Difficulty: {{ '▲' * map['AverageUserDifficulty']|int }}
+ +
{{ map['NumThumbsUp'] }} 👍 {{ map['NumThumbsDown'] }} 👎
+
Replays visible: {{ "always" if map['ReplayVisibility'] == 2 }}{{ "after clear" if map['ReplayVisibility'] == 0 }}
+
Gems : {{ map['DragonCoins'] }}
+ {% if map['Description'] != ''%}
{{ map['Description'] }}
{% endif %} +
+
+
+ Full server response + + + + {% for value in map %} + + + + {% endfor %} + +
KeyValue
{{value}}{{map[value]}}
+ +
+
+
+ + {% set BestTime = convert_times(map['BestTimePlaytime']) %} + {% set BestFullTime = convert_times(map['BestFullTimePlaytime']) %} +
Best Time: {{ map['BestTimeUsername'] }} [{{ BestTime[0] }}:{{ BestTime[1] }}:{{ BestTime[2] }}]
+ {% if map['BestFullTimeUserID'] != 0 %}
Best 100% Time: {{ map['BestFullTimeUsername'] }} [{{ BestFullTime[0] }}:{{ BestFullTime[1] }}:{{ BestFullTime[2] }}]{{ "(illegal time)" if not map['DragonCoins'] }}
{% endif %} +
+
+