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.

25 lines
1.1 KiB

4 years ago
  1. {% extends 'base.html' %}
  2. {% from 'bootstrap/form.html' import render_form %}
  3. {% from 'bootstrap/nav.html' import render_nav_item %}
  4. {% block content %}
  5. <div class="page-header">
  6. <h1>设置</h1>
  7. </div>
  8. <div class="row">
  9. <div class="col-md-3">
  10. <div class="nav nav-pills flex-column" role="tablist" aria-orientation="vertical">
  11. {{ render_nav_item('user.edit_profile', '编辑简介') }}
  12. {{ render_nav_item('user.change_avatar', '更改头像') }}
  13. {{ render_nav_item('user.change_password', '更改密码') }}
  14. {{ render_nav_item('user.change_email_request', '更改邮箱') }}
  15. {{ render_nav_item('user.notification_setting', '通知设置') }}
  16. {{ render_nav_item('user.privacy_setting', '隐私设置') }}
  17. {{ render_nav_item('user.delete_account', '删除账户') }}
  18. </div>
  19. </div>
  20. <div class="col-md-9">
  21. {% block setting_content %}{% endblock %}
  22. </div>
  23. </div>
  24. {% endblock %}