1 {% extends
"../base.html" %}
3 {% block title %}{{ _(
"Manage mirror %s") % mirror.hostname }}{% end block %}
7 <div class=
"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
8 <nav aria-label=
"breadcrumb" role=
"navigation">
9 <ol class=
"breadcrumb">
10 <li class=
"breadcrumb-item"><a href=
"/">{{ _(
"Home") }}
</a></li>
11 <li class=
"breadcrumb-item"><a href=
"/mirrors">{{ _(
"Mirrors") }}
</a></li>
12 <li class=
"breadcrumb-item">
13 <a href=
"/mirror/{{ mirror.hostname }}">{{ mirror.hostname }}
</a>
15 <li class=
"breadcrumb-item active">
16 <a href=
"/mirror/{{ mirror.hostname }}/edit">{{ _(
"Manage") }}
</a>
24 <div class=
"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
25 <h2 style=
"word-wrap: break-word;">
26 {{ _(
"Manage mirror: %s") % mirror.hostname }}
32 <div class=
"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
33 <form method=
"POST" action=
"">
34 {% raw xsrf_form_html() %}
36 <div class=
"form-group">
37 <label for=
"name">{{ _(
"Hostname") }}
</label>
38 <input type=
"text" class=
"form-control" id=
"name" name=
"name"
39 aria-describedby=
"nameHelp" value=
"{{ mirror.hostname }}">
40 <small id=
"nameHelp" class=
"form-text text-muted">
41 {{ _(
"The canonical hostname.") }}
44 <div class=
"form-check">
45 <label class=
"form-check-label">
46 <input class=
"form-check-input" type=
"checkbox" name=
"supports_https" {% if mirror.supports_https %}checked{% end %}
>
47 {{ _(
"Check if this mirror server supports HTTPS.") }}
52 <legend>{{ _(
"Contact information") }}
</legend>
53 <div class=
"form-group">
54 <label for=
"owner">{{ _(
"Owner") }}
</label>
55 <input type=
"text" class=
"form-control" id=
"owner" name=
"owner"
56 aria-describedby=
"ownerHelp" placeholder=
"{{ _("Owner
") }}" value=
"{{ mirror.owner }}">
57 <small id=
"ownerHelp" class=
"form-text text-muted">
58 {{ _(
"The owner of the mirror server.") }}
61 <div class=
"form-group">
62 <label for=
"contact">{{ _(
"Contact address") }}
</label>
63 <input type=
"text" class=
"form-control" id=
"contact" name=
"contact"
64 aria-describedby=
"contactHelp" placeholder=
"{{ _("Contact address
") }}" value=
"{{ mirror.contact }}">
65 <small id=
"contactHelp" class=
"form-text text-muted">
66 {{ _(
"An email address to contact an administrator of the mirror.") }}
68 <em>{{ _(
"This won't be made public.") }}
</em>
73 <button type=
"submit" class=
"btn btn-primary">{{ _(
"Save changes") }}
</button>
74 <a class=
"btn" href=
"/mirror/{{ mirror.hostname }}">{{ _(
"Cancel") }}
</a>