DotaNoobs main site.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.6 KiB

11 years ago
  1. {% extends "layout.html" %}
  2. {% block title %}Profile - {{ user.nickname }}{% endblock %}
  3. {% block content %}
  4. <div class="uk-grid" data-uk-grid-margin>
  5. <div class="uk-width-2-3">
  6. <h2 class="uk-float-left"><img class="" src="{{ user.avatar }}" />&nbsp;{{ user.nickname }}</h2>
  7. </div>
  8. <div class="uk-width-1-3 uk-text-center">
  9. </div>
  10. <!--Main content area -->
  11. <div class="uk-width-large-2-3 uk-width-medium-1-1 uk-panel">
  12. <em>This user profile is set to private.</em>
  13. </div>
  14. <!-- Side bar -->
  15. <div class="uk-width-large-1-3 uk-width-medium-1-1 uk-panel uk-panel-box uk-panel-box-secondary">
  16. <div class="uk-container-center uk-text-center">
  17. <span class="uk-text-bold">Current Hero</span><br/>
  18. <span>{{ user.random_hero['localized_name'] }}</span><br/>
  19. <a href={{ url_for('user_random_hero', userid=user.id) }}>
  20. <img src="{{ url_for('static', filename=hero_image_large(user.random_hero)) }}" class="dn-hero-icon" /><br/>
  21. <span>View A-Z Progress</span>
  22. </a>
  23. </div>
  24. <ul class="uk-list uk-list-space uk-list-striped uk-text-center">
  25. <li>Completed <span id='rands'>{{ user.random_heroes.completed | length }}</span> heroes in A-Z</li>
  26. <li>Has <span id='points_total'>0</span> doobs points</li>
  27. <li>Last seen at <span class='date'> {{ user.last_seen | js_datetime }}</span></li>
  28. <li>Doob since <span class='date'> {{ user.created | js_datetime }}</span></li>
  29. </ul>
  30. </div>
  31. </div>
  32. {% endblock %}