Blame progit/templates/user_settings.html
|
Pierre-Yves Chibon |
68537a |
{% extends "master.html" %}
|
|
Pierre-Yves Chibon |
68537a |
{% from "_formhelper.html" import render_field_in_cell %}
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
{% block title %}Settings {{username}}{% endblock %}
|
|
Pierre-Yves Chibon |
68537a |
{%block tag %}users{% endblock %}
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
{% block content %}
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
Setting {{ user.user }}
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
<section class="user_settings"></section>
|
|
Pierre-Yves Chibon |
68537a |
<form action="{{ url_for('user_settings') }}" method="post"></form>
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
Full name
|
|
Pierre-Yves Chibon |
68537a |
{{ user.fullname }}
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
Emails
|
|
Pierre-Yves Chibon |
68537a |
{% for email in user.emails %}
|
|
Pierre-Yves Chibon |
68537a |
{% if loop.first %}
|
|
Pierre-Yves Chibon |
68537a |
{{ email.email }}
|
|
Pierre-Yves Chibon |
286faf |
{% elif loop.last %}
|
|
Pierre-Yves Chibon |
286faf |
|
|
Pierre-Yves Chibon |
286faf |
|
|
Pierre-Yves Chibon |
286faf |
{{ email.email }}
|
|
Pierre-Yves Chibon |
68537a |
{% else %}
|
|
Pierre-Yves Chibon |
286faf |
|
|
Pierre-Yves Chibon |
286faf |
|
|
Pierre-Yves Chibon |
68537a |
{{ email.email }}
|
|
Pierre-Yves Chibon |
68537a |
{% endif %}
|
|
Pierre-Yves Chibon |
68537a |
{% endfor %}
|
|
Pierre-Yves Chibon |
286faf |
|
|
Pierre-Yves Chibon |
286faf |
|
|
Pierre-Yves Chibon |
68537a |
{{ render_field_in_cell(form.ssh_key) }}
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
<input class="submit positive button" type="submit" value="Update">
|
|
Pierre-Yves Chibon |
68537a |
<input class="button" onclick="history.back();" type="button" value="Cancel">
|
|
Pierre-Yves Chibon |
68537a |
{{ form.csrf_token }}
|
|
Pierre-Yves Chibon |
286faf |
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
68537a |
|
|
Pierre-Yves Chibon |
2156d2 |
<section class="user_links"></section>
|
|
Pierre-Yves Chibon |
2156d2 |
|
|
Pierre-Yves Chibon |
2156d2 |
Public profile page
|
|
Pierre-Yves Chibon |
2156d2 |
|
|
Pierre-Yves Chibon |
2156d2 |
|
|
Pierre-Yves Chibon |
68537a |
{% endblock %}
|