]> git.ipfire.org Git - people/jschlag/pbs.git/blob - src/templates/mirrors-new.html
db: Cluster filelists table by package ID
[people/jschlag/pbs.git] / src / templates / mirrors-new.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("Add new mirror") }}{% end block %}
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 class="active">
16 <a href="/mirror/new">{{ _("New mirror") }}</a>
17 </li>
18 </ul>
19
20 <div class="page-header">
21 <h2>{{ _("Add a new mirror") }}</h2>
22 </div>
23
24 <form class="form-horizontal" method="POST" action="">
25 {% raw xsrf_form_html() %}
26 <fieldset>
27 <div class="control-group {% if hostname_missing %}error{% end %}">
28 <label class="control-label" for="name">{{ _("Hostname") }}</label>
29 <div class="controls">
30 <input type="text" class="input-xlarge" id="name" name="name"
31 {% if _hostname %}value="{{ _hostname }}"{% end %}>
32
33 <p class="help-block">
34 {{ _("Enter the canonical hostname of the mirror.") }}
35 </p>
36 </div>
37 </div>
38
39 <div class="control-group {% if path_invalid %}error{% end %}">
40 <label class="control-label" for="name">{{ _("Path") }}</label>
41 <div class="controls">
42 <input type="text" class="input-xlarge" id="path" name="path"
43 {% if path %}value="{{ path }}"{% end %}>
44
45 <p class="help-block">
46 {{ _("The path to the files on the server.") }}
47 </p>
48 </div>
49 </div>
50
51 <div class="form-actions">
52 <button type="submit" class="btn btn-primary">{{ _("Create new mirror") }}</button>
53 </div>
54 </fieldset>
55 </form>
56 {% end block %}