]> git.ipfire.org Git - people/jschlag/pbs.git/blame - src/templates/mirrors/edit.html
Merge branch 'master' of git://git.ipfire.org/pbs
[people/jschlag/pbs.git] / src / templates / mirrors / edit.html
CommitLineData
d72a55be 1{% extends "../base.html" %}
f6e6ff79 2
25afb794 3{% block title %}{{ _("Manage mirror %s") % mirror.hostname }}{% end block %}
f6e6ff79
MT
4
5{% block body %}
6 <ul class="breadcrumb">
7 <li>
8 <a href="/">{{ _("Home") }}</a>
9 <span class="divider">/</span>
10 </li>
11 <li>
12 <a href="/mirrors">{{ _("Mirrors") }}</a>
13 <span class="divider">/</span>
14 </li>
15 <li>
5aa556bf 16 <a href="/mirror/{{ mirror.hostname }}">{{ mirror.hostname }}</a>
f6e6ff79
MT
17 <span class="divider">/</span>
18 </li>
19 <li class="active">
5aa556bf 20 <a href="/mirror/{{ mirror.hostname }}/edit">{{ _("Manage") }}</a>
f6e6ff79
MT
21 </li>
22 </ul>
23
24 <div class="page-header">
25afb794 25 <h2>{{ _("Manage mirror: %s") % mirror.hostname }}</h2>
f6e6ff79
MT
26 </div>
27
25afb794
MT
28 <form class="form-horizontal" method="POST" action="">
29 {% raw xsrf_form_html() %}
30 <fieldset>
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 }}">
f6e6ff79 35
25afb794
MT
36 <p class="help-block">
37 {{ _("The canonical hostname.") }}
38 </p>
39 </div>
40 </div>
f6e6ff79 41
25afb794 42 <div class="control-group">
3163c789 43 <label class="control-label">{{ _("Supports HTTPS") }}</label>
25afb794
MT
44 <div class="controls">
45 <label class="checkbox">
3163c789
MT
46 <input type="checkbox" name="supports_https" {% if mirror.supports_https %}checked{% end %}>
47 {{ _("Check if this mirror server supports HTTPS.") }}
25afb794
MT
48 </label>
49 </div>
50 </div>
51 </fieldset>
f6e6ff79 52
25afb794
MT
53 <fieldset>
54 <legend>{{ _("Contact information") }}</legend>
f6e6ff79 55
25afb794
MT
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 }}">
f6e6ff79 60
25afb794
MT
61 <p class="help-block">
62 {{ _("The owner of the mirror server.") }}
63 </p>
64 </div>
65 </div>
f6e6ff79 66
25afb794
MT
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 }}">
f6e6ff79 71
25afb794
MT
72 <p class="help-block">
73 {{ _("An email address to contact an administrator of the mirror.") }}
74 <br>
75 <em>{{ _("This won't be made public.") }}</em>
76 </p>
77 </div>
78 </div>
f6e6ff79 79
25afb794
MT
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>
83 </div>
84 </fieldset>
85 </form>
f6e6ff79 86{% end block %}