]> git.ipfire.org Git - pbs.git/blob - data/templates/distro-edit.html
Initial import.
[pbs.git] / data / templates / distro-edit.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("Edit distribution %s") % distro.name }}{% end block %}
4
5 {% block body %}
6 <h1>{{ _("Edit distribution %s") % distro.name }}</h1>
7
8 <form method="post" action="">
9 {{ xsrf_form_html() }}
10 <table class="form form3">
11 <tr>
12 <td class="col1">{{ _("Name") }}</td>
13 <td class="col2">
14 <input type="text" name="name" value="{{ distro.name }}" />
15 </td>
16 <td class="col3">
17 {{ _("The fancy name of the distribution.") }}
18 </td>
19 </tr>
20 <tr>
21 <td class="col1">{{ _("Identifier") }}</td>
22 <td class="col2">
23 {{ distro.sname }}
24 </td>
25 <td class="col3">
26 {{ _("Cannot be changed.") }}
27 </td>
28 </tr>
29 <tr>
30 <td class="col1">{{ _("Vendor") }}</td>
31 <td class="col2">
32 <input type="text" name="vendor" value="{{ distro.vendor }}" />
33 </td>
34 <td class="col3">
35 {{ _("From whom is the distribution from?") }}
36 </td>
37 </tr>
38 <tr>
39 <td class="col1">{{ _("Slogan") }}</td>
40 <td class="col2">
41 <input type="text" name="slogan" value="{{ distro.slogan }}" />
42 </td>
43 <td class="col3">
44 {{ _("A short sentence that characterizes the distribution.") }}
45 </td>
46 </tr>
47 <tr>
48 <td class="col1">{{ _("Architectures") }}</td>
49 <td class="col2">
50 <select name="arches" size="4" multiple>
51 {% for arch in arches %}
52 <option value="{{ arch }}" {% if arch in distro.arches %}selected="selected"{% end %}>{{ arch }}</option>
53 {% end %}
54 </select>
55 </td>
56 <td class="col3">
57 {{ _("For which architectures should the distribution be built?") }}
58 </td>
59 </tr>
60 <tr>
61 <td class="col1">{{ _("Sources") }}</td>
62 <td class="col2">
63 <select name="sources" size="4" multiple>
64 {% for source in sources %}
65 <option value="{{ source.id }}" {% if source in distro.sources %}selected="selected"{% end %}>{{ source.name }}</option>
66 {% end %}
67 </select>
68 </td>
69 <td class="col3">
70 {{ _("Which sources should be imported to the distribution?") }}
71 </td>
72 </tr>
73 <tr>
74 <td colspan="3" class="buttons">
75 <input type="submit" value="{{ _("Save") }}" />
76 </td>
77 </tr>
78 </table>
79 <div style="clear: both;">&nbsp;</div>
80 </form>
81 {% end block %}