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.

40 lines
2.0 KiB

  1. {% extends "layout.html" %}
  2. {% block title %}Settings for {{ g.user.nickname }} - DotaNoobs {% 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="{{ g.user.avatar }}" />&nbsp;{{ g.user.nickname }}'s Settings</h2>
  7. </div>
  8. <div class="uk-width-1-3 uk-text-center">
  9. <a href="{{ url_for('enable_statistics') }}" class="uk-button uk-button-danger">Enable Statistics <i class="uk-icon-star"></i></a>
  10. </div>
  11. <!--Main content area -->
  12. <div class="uk-width-1-1 uk-panel">
  13. <form class="uk-form uk-form-width-large" action="" method="post" name="settings">
  14. {{ form.hidden_tag() }}
  15. <fieldset data-uk-margin>
  16. <div class="uk-form-row">
  17. <ul class="uk-list">
  18. <li><label class="uk-form-label"> {{ form.public }} Public Profile</label></li>
  19. <li><label class="uk-form-label"> {{ form.logo }} Hide Big Logo</label></li>
  20. </ul>
  21. </div>
  22. <div class="uk-form-row">
  23. <label class="uk-form-label">Twitch.tv Username:</label> <br/>
  24. {{ form.twitch(placeholder="e.g. shaneomad") }}
  25. </div>
  26. <div class="uk-form-row">
  27. <label class="uk-form-label">Biography text:</label><br/>
  28. {{ form.bio_text(rows=14, class='uk-width-1-1', data=g.user.bio_text, placedholder='What you place here is displayed in your profile when other users view it.') }}
  29. </div>
  30. <div class="uk-form-controls uk-margin-top">
  31. <button class="uk-button uk-button-success" type="submit">Save</button>
  32. <a class="uk-button" href="{{ url_for('user_profile', userid=g.user.id) }}">Cancel</a>
  33. </div>
  34. </fieldset>
  35. </form>
  36. </div>
  37. </div>
  38. {% endblock %}