1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00
royalnet/templates/minis/steam.html

50 lines
2.3 KiB
HTML
Raw Normal View History

2018-06-05 08:34:59 +00:00
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<style>
@font-face { font-family: "Motiva Sans"; src: url("https://steamcommunity-a.akamaihd.net/public/shared/fonts/MotivaSans-Regular.ttf") format("truetype"); font-style: normal; font-weight: normal; }
</style>
<div class="game-panel">
<div class="game-grid steam">
<div class="player">
2018-06-13 21:32:26 +00:00
<a href="http://steamcommunity.com/profiles/{{ record.steam_id }}">
<img src="{{ record.avatar_url() }}" class="player-image">
<span class="player-name">{{ record.persona_name }}</span>
2018-06-05 08:34:59 +00:00
</a>
</div>
<div class="buttons">
2018-06-13 21:32:26 +00:00
<a href="steam://friends/add/{{ record.steam_id }}">
2018-06-05 08:34:59 +00:00
<div class="button add-friend-button">
<i class="fas fa-user-plus"></i>
</div>
</a>
2018-06-13 21:32:26 +00:00
<a href="steam://friends/message/{{ record.steam_id }}">
2018-06-05 08:34:59 +00:00
<div class="button message-button">
<i class="fas fa-comment-alt"></i>
</div>
</a>
2018-06-13 21:32:26 +00:00
<a href="https://steamdb.info/calculator/{{ record.steam_id }}" target="_blank">
2018-06-05 08:34:59 +00:00
<div class="button calculator-button">
<i class="fas fa-calculator"></i>
</div>
</a>
2018-06-13 21:32:26 +00:00
{% if record.trade_token %}
<a href="{{ record.trade_token }}" target="_blank">
2018-06-05 08:34:59 +00:00
<div class="button trade-button">
<i class="fas fa-handshake"></i>
</div>
</a>
{% endif %}
</div>
2018-06-13 21:32:26 +00:00
{% if record.most_played_game_id %}
<a href="https://store.steampowered.com/app/{{ record.most_played_game_id }}/">
2018-06-05 08:34:59 +00:00
<div class="game-banner">
2019-01-03 13:13:23 +00:00
<img class="game-image" src="https://steamcdn-a.akamaihd.net/steam/apps/{{ record.most_played_game_id }}/header.jpg" alt="{{ record.most_played_game_id }}">
2018-06-05 08:34:59 +00:00
</div>
</a>
2019-01-02 17:20:05 +00:00
{% else %}
<div class="game-banner">
2019-01-03 13:43:54 +00:00
<div class="game-image"></div>
2019-01-02 17:20:05 +00:00
</div>
2018-06-05 08:34:59 +00:00
{% endif %}
</div>
</div>