1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 21:44:21 +00:00
This commit is contained in:
Steffo 2018-06-04 18:53:25 +02:00
parent 43487b125f
commit 7e5656338d
3 changed files with 12 additions and 7 deletions

View file

@ -433,7 +433,7 @@ async def cmd_shuffle(channel: discord.Channel, author: discord.Member, params:
await client.send_message(channel, "⚠ Non ci sono video in coda!") await client.send_message(channel, "⚠ Non ci sono video in coda!")
return return
random.shuffle(voice_queue) random.shuffle(voice_queue)
await client.send_message("♠️ ♦️ ♣️ ♥️ Shuffle completo!") await client.send_message(channel, "♠️ ♦️ ♣️ ♥️ Shuffle completo!")
async def queue_predownload_videos(): async def queue_predownload_videos():

View file

@ -199,10 +199,11 @@ input[type="text"], input[type="password"] {
} }
.dota { .dota {
padding: 18px; padding: 15px;
border: 3px solid #000000;
grid-row-gap: 5px; grid-row-gap: 5px;
grid-template-columns: 20% 80%; grid-template-columns: 20% 80%;
background-image: linear-gradient(to bottom, #801717, #a11d21); background-image: linear-gradient(to bottom, #440b0b, #631013);
color: #ffffff; color: #ffffff;
.player { .player {
@ -241,6 +242,10 @@ input[type="text"], input[type="password"] {
text-align: center; text-align: center;
} }
.wins.number {
color: #ffb600;
}
.rank { .rank {
grid-column: 2; grid-column: 2;
grid-row-start: 2; grid-row-start: 2;

View file

@ -10,18 +10,18 @@
Vittorie Vittorie
</div> </div>
<div class="number wins"> <div class="number wins">
{{ dota.wins }} <span>{{ dota.wins }}</span>
</div> </div>
<div class="rank"> <div class="rank">
{% if dota.rank_tier is none %} {% if dota.rank_tier is none %}
<img class="medal" src="https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png"> <img class="medal" src="https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png">
Non classificato <span class="text">Non classificato</span>
{% elif dota.rank_tier < 10 %} {% elif dota.rank_tier < 10 %}
<img class="medal" src="https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png"> <img class="medal" src="https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png">
{{ dota.rank_tier }} piazzamenti completati <span class="text">{{ dota.rank_tier }} piazzamenti completati</span>
{% else %} {% else %}
<img class="medal" src="{{ dota.get_rank_icon_url() }}">{% if dota.get_rank_stars_url() %}<img class="stars" src="{{ dota.get_rank_stars_url() }}">{% endif %} <img class="medal" src="{{ dota.get_rank_icon_url() }}">{% if dota.get_rank_stars_url() %}<img class="stars" src="{{ dota.get_rank_stars_url() }}">{% endif %}
{{ dota.get_rank_name() }}[{{ dota.get_rank_number() }}] <span class="text">{{ dota.get_rank_name() }}[{{ dota.get_rank_number() }}]</span>
{% endif %} {% endif %}
</div> </div>
</div> </div>