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.

65 lines
3.6 KiB

10 years ago
  1. {% extends "layout.html" %}
  2. {% block title %}Account linking 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 Linked Accounts</h2>
  7. </div>
  8. <div class="uk-width-1-3 uk-text-center">
  9. <a href="{{ url_for('user_settings') }}" class="uk-button">Back to Settings <i class="uk-icon-star-o"></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="enable_stats">
  14. {{ form.hidden_tag() }}
  15. <fieldset data-uk-margin>
  16. <div class="uk-form-row">
  17. <h3 class="">Link Teamspeak Account</h3>
  18. {% if g.user.teamspeak_id %} <span class="uk-text-success"><i class="uk-icon-check"></i> Already verified</span> {% endif %}
  19. </div>
  20. <div class="uk-form-row">
  21. <label class="uk-form-label">Teamspeak ID: <a href="#tsid_modal" data-uk-modal> <i class="uk-icon-question-circle" data-uk-tooltip title="Click for help"></i> </a></label> <br/>
  22. {{ form.teamspeak_id }}
  23. <div id="tsid_modal" class="uk-modal">
  24. <div class="uk-modal-dialog">
  25. <a class="uk-modal-close uk-close"></a>
  26. Enter your Teamspeak Unique Client ID into this field (note: this is NOT your Teamspeak name). You can access
  27. your TSID as follows:
  28. <br/>
  29. <ol class="">
  30. <li>Click on the "Settings" menu at the top of your Teamspeak client</li>
  31. <li>Select "Identities" from the drop-down menu.</li>
  32. <li>Copy your "Unique ID"</li>
  33. <li>Close this modal-window with the little X (upper right)</li>
  34. <li>Paste your "Unique ID" into the <em>Teamspeak ID</em> field</li>
  35. <br /><br />
  36. <img src="{{ url_for('static', filename='img/ts3-identities-menu.png') }}" />
  37. <br />
  38. <img src="{{ url_for('static', filename='img/ts3-identities-copy.png') }}" />
  39. </ol>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="uk-form-row">
  44. <h3 class="">Link Forum Board Account</h3>
  45. {% if g.user.forum_id %} <span class="uk-text-success"><i class="uk-icon-check"></i> Already verified</span> {% endif %}
  46. </div>
  47. <div class="uk-form-row">
  48. <label class="uk-form-label">Forum Username:</label><br/>
  49. {{ form.forum_username }}
  50. </div>
  51. <div class="uk-form-row">
  52. <label class="uk-form-label">Forum Password:</label><br/>
  53. {{ form.forum_password }}
  54. </div>
  55. <div class="uk-form-controls uk-margin-top">
  56. <button class="uk-button uk-button-success" type="submit">Save</button>
  57. <a class="uk-button" href="{{ url_for('user_profile', userid=g.user.id) }}">Cancel</a>
  58. </div>
  59. </fieldset>
  60. </form>
  61. </div>
  62. </div>
  63. {% endblock %}