user-profile-trust.html
ASCII text
1
{% extends "user-profile.html" %}
2
{% block title %}
3
{% trans username=user.username %}Trust {{ username }}{% endtrans %}
4
{% endblock %}
5
{% set active_page = "trust" %}
6
7
{% block content %}
8
<x-hbox class="wrap homogenous">
9
{% trans %}Trusting this user will grant them the equivalent role in all your repositories. If the role is read-write or admin, they will also be able to create new repositories on your behalf.{% endtrans %}
10
<form method="post" action="/{{ user.username }}/?action=trust-confirm" class="vbox">
11
<select id="trust-level" name="trust-level" required>
12
<option value="-1">{% trans %}Don't trust{% endtrans %}</option>
13
<option value="0">{% trans %}Read-only{% endtrans %}</option>
14
<option value="1">{% trans %}Read-write{% endtrans %}</option>
15
<option value="2">{% trans %}Administrator{% endtrans %}</option>
16
</select>
17
<label>
18
{% trans %}Enter your password to confirm{% endtrans %}
19
<input type="password" name="password">
20
</label>
21
<button type="submit" class="button">{% trans %}Trust{% endtrans %}</button>
22
</form>
23
</x-hbox>
24
{% endblock %}
25