repo-settings.html
ASCII text
1{% extends "repo.html" %} 2{% set active_page = "settings" %} 3 4{% block title %} 5{% trans username=username, repository=repository %}Settings of {{ username }}/{{ repository }}{% endtrans %} 6{% endblock %} 7{% block content %} 8<x-vbox> 9<x-frame style="--width: 896px;" class="flexible-space"> 10<x-vbox> 11<article class="card"> 12<section class="card-main"> 13<form method="post"> 14<x-vbox> 15<x-hbox> 16<label>{% trans %}Visibility:{% endtrans %}</label> 17<label> 18{% trans %}Public{% endtrans %} 19<input type="radio" name="visibility" value="2" {% if repo.visibility == 2 %}checked{% endif %}> 20</label> 21<label> 22{% trans %}Unlisted{% endtrans %} 23<input type="radio" name="visibility" value="1" {% if repo.visibility == 1 %}checked{% endif %}> 24</label> 25<label> 26{% trans %}Private{% endtrans %} 27<input type="radio" name="visibility" value="0" {% if repo.visibility == 0 %}checked{% endif %}> 28</label> 29</x-hbox> 30<button type="submit">Update</button> 31</x-vbox> 32</form> 33</section> 34</article> 35</x-vbox> 36</x-frame> 37</x-vbox> 38{% endblock %} 39