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.

41 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="{{ 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. <form class="uk-form uk-form-width-large" action="" method="post" name="settings">
  13. {{ form.hidden_tag() }}
  14. <fieldset data-uk-margin>
  15. <legend>Settings</legend>
  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"><input type="checkbox" disabled> Show Big Logo</label></li>
  20. <li><label class="uk-form-label"><input type="checkbox" disabled> Nonexistant Setting</label></li>
  21. </ul>
  22. </div>
  23. <div class="uk-form-row">
  24. <label class="uk-form-label">Twitch.tv Username:</label> <br/>
  25. {{ form.twitch(placeholder="e.g. shaneomad") }}
  26. </div>
  27. <div class="uk-form-row">
  28. <label class="uk-form-label">Biography text:</label><br/>
  29. {{ 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.') }}
  30. </div>
  31. <div class="uk-form-controls uk-margin-top">
  32. <button class="uk-button uk-button-success" type="submit">Save</button>
  33. <a class="uk-button" href="{{ url_for('user_profile', userid=g.user.id) }}">Cancel</a>
  34. </div>
  35. </fieldset>
  36. </form>
  37. </div>
  38. </div>
  39. {% endblock %}