]> git.ipfire.org Git - people/jschlag/pbs.git/blob - data/templates/mirrors-new.html
Second import.
[people/jschlag/pbs.git] / data / templates / mirrors-new.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("Create 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 <h1>
22 {{ _("Create a new mirror") }}
23 </h1>
24 </div>
25
26 <div class="row">
27 <div class="span6 offset3">
28 <form class="form-horizontal" method="POST" action="">
29 {{ xsrf_form_html() }}
30 <fieldset>
31 <div class="control-group {% if hostname_missing %}error{% end %}">
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="{{ _hostname }}">
35
36 <p class="help-block">
37 {{ _("Enter the canonical hostname of the mirror.") }}
38 </p>
39 </div>
40 </div>
41
42 <div class="control-group {% if path_invalid %}error{% end %}">
43 <label class="control-label" for="name">{{ _("Path") }}</label>
44 <div class="controls">
45 <input type="text" class="input-xlarge" id="path" name="path" value="{{ path }}">
46
47 <p class="help-block">
48 {{ _("The path to the files on the server.") }}
49 </p>
50 </div>
51 </div>
52
53 <div class="form-actions">
54 <button type="submit" class="btn btn-primary">{{ _("Create new mirror") }}</button>
55 </div>
56 </fieldset>
57 </form>
58 </div>
59 </div>
60 {% end block %}