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<x-vbox class="nopad"> 31<label for="description">{% trans %}Description{% endtrans %}</label> 32<textarea id="description" name="description" rows="4">{% if repo.info %}{{ repo.info }}{% endif %}</textarea> 33</x-vbox> 34<button type="submit">Update</button> 35</x-vbox> 36</form> 37</section> 38</article> 39</x-vbox> 40</x-frame> 41</x-vbox> 42{% endblock %} 43