1 {% extends
"../base.html" %}
3 {% block title %}{{ _(
"Manage mirror %s") % mirror.hostname }}{% end block %}
6 <ul class=
"breadcrumb">
8 <a href=
"/">{{ _(
"Home") }}
</a>
9 <span class=
"divider">/
</span>
12 <a href=
"/mirrors">{{ _(
"Mirrors") }}
</a>
13 <span class=
"divider">/
</span>
16 <a href=
"/mirror/{{ mirror.hostname }}">{{ mirror.hostname }}
</a>
17 <span class=
"divider">/
</span>
20 <a href=
"/mirror/{{ mirror.hostname }}/edit">{{ _(
"Manage") }}
</a>
24 <div class=
"page-header">
25 <h2>{{ _(
"Manage mirror: %s") % mirror.hostname }}
</h2>
28 <form class=
"form-horizontal" method=
"POST" action=
"">
29 {% raw xsrf_form_html() %}
31 <div class=
"control-group">
32 <label class=
"control-label" for=
"name">{{ _(
"Hostname") }}
</label>
33 <div class=
"controls">
34 <input type=
"text" class=
"input-xlarge" id=
"name" name=
"name" value=
"{{ mirror.hostname }}">
36 <p class=
"help-block">
37 {{ _(
"The canonical hostname.") }}
42 <div class=
"control-group">
43 <label class=
"control-label">{{ _(
"Supports HTTPS") }}
</label>
44 <div class=
"controls">
45 <label class=
"checkbox">
46 <input type=
"checkbox" name=
"supports_https" {% if mirror.supports_https %}checked{% end %}
>
47 {{ _(
"Check if this mirror server supports HTTPS.") }}
54 <legend>{{ _(
"Contact information") }}
</legend>
56 <div class=
"control-group">
57 <label class=
"control-label" for=
"owner">{{ _(
"Owner") }}
</label>
58 <div class=
"controls">
59 <input type=
"text" class=
"input-xlarge" id=
"owner" name=
"owner" value=
"{{ mirror.owner }}">
61 <p class=
"help-block">
62 {{ _(
"The owner of the mirror server.") }}
67 <div class=
"control-group">
68 <label class=
"control-label" for=
"contact">{{ _(
"Contact address") }}
</label>
69 <div class=
"controls">
70 <input type=
"text" class=
"input-xlarge" id=
"contact" name=
"contact" value=
"{{ mirror.contact }}">
72 <p class=
"help-block">
73 {{ _(
"An email address to contact an administrator of the mirror.") }}
75 <em>{{ _(
"This won't be made public.") }}
</em>
80 <div class=
"form-actions">
81 <button type=
"submit" class=
"btn btn-primary">{{ _(
"Save changes") }}
</button>
82 <a class=
"btn" href=
"/mirror/{{ mirror.hostname }}">{{ _(
"Cancel") }}
</a>