]>
Commit | Line | Data |
---|---|---|
940227cb MT |
1 | {% extends "admin-base.html" %} |
2 | ||
3 | {% block content %} | |
4 | <div class="post"> | |
5 | <h3>{{ _("Create new mirror") }}</h3> | |
6 | <form name="mirror" method="post"> | |
7 | {{ xsrf_form_html() }} | |
8 | <input type="hidden" name="id" value="{{ mirror.id }}"> | |
9 | ||
10 | <table> | |
11 | <tr> | |
12 | <td>{{ _("Hostname") }}</td> | |
13 | <td><input type="text" name="hostname" value="{{ mirror.hostname }}" /></td> | |
14 | </tr> | |
15 | <tr> | |
16 | <td>{{ _("Path") }}</td> | |
17 | <td><input type="text" name="path" value="{{ mirror.path }}" /></td> | |
18 | </tr> | |
19 | <tr> | |
20 | <td>{{ _("Owner") }}</td> | |
21 | <td><input type="text" name="owner" value="{{ mirror.owner }}" /></td> | |
22 | </tr> | |
23 | <tr> | |
24 | <td>{{ _("Location") }}</td> | |
25 | <td><input type="text" name="location" value="{{ mirror.location }}" /></td> | |
26 | </tr> | |
27 | <tr> | |
28 | <td>{{ _("File mirror") }}</td> | |
29 | <td> | |
30 | <select name="releases"> | |
31 | <option value="Y" {% if mirror.releases == "Y" %}selected{% end %}>{{ _("yes") }}</option> | |
32 | <option value="N" {% if mirror.releases == "N" %}selected{% end %}>{{ _("no") }}</option> | |
33 | </select> | |
34 | </td> | |
35 | </tr> | |
36 | <tr> | |
37 | <td>{{ _("Pakfire 2 mirror") }}</td> | |
38 | <td> | |
39 | <select name="pakfire2"> | |
40 | <option value="Y" {% if mirror.pakfire2 == "Y" %}selected{% end %}>{{ _("yes") }}</option> | |
41 | <option value="N" {% if mirror.pakfire2 == "N" %}selected{% end %}>{{ _("no") }}</option> | |
42 | </select> | |
43 | </td> | |
44 | </tr> | |
45 | <tr> | |
46 | <td>{{ _("Pakfire 3 mirror") }}</td> | |
47 | <td> | |
48 | <select name="pakfire3"> | |
49 | <option value="Y" {% if mirror.pakfire3 == "Y" %}selected{% end %}>{{ _("yes") }}</option> | |
50 | <option value="N" {% if mirror.pakfire3 == "N" %}selected{% end %}>{{ _("no") }}</option> | |
51 | </select> | |
52 | </td> | |
53 | </tr> | |
54 | <tr> | |
55 | <td>{{ _("Disabled?") }}</td> | |
56 | <td> | |
57 | <select name="disabled"> | |
58 | <option value="Y" {% if mirror.disabled == "Y" %}selected{% end %}>{{ _("yes") }}</option> | |
59 | <option value="N" {% if mirror.disabled == "N" %}selected{% end %}>{{ _("no") }}</option> | |
60 | </select> | |
61 | </td> | |
62 | </tr> | |
63 | <tr> | |
64 | <td colspan="2"> | |
65 | <input type="submit" value="{{ _("Save") }}" /> | |
66 | </td> | |
67 | </tr> | |
68 | </table> | |
69 | </form> | |
70 | </div> | |
71 | {% end block %} |