* Mördercommit ;-)
[project/luci.git] / modules / admin-core / src / view / admin_system / packages.htm
1 <%+header%>
2 <h1><%:system System%></h1>
3 <h2><%:packages Paketverwaltung%></h2>
4
5 <br />
6
7 <% if install or remove or update or upgrade then %>
8 <div class="code"><strong><%:status Status%>:</strong><br />
9 <% if update then %>
10 <%:packages_update Paketlisten aktualisieren%>: <% if update == 0 then %><span class="ok"><%:ok OK%></span><% else %><span class="error"><%:error Fehler%> (<%:code Code%> <%=update%>)</span><% end %><br />
11 <% end %>
12 <% if upgrade then%>
13 <%:packages_upgrade Installierte Pakete aktualisieren%>: <% if upgrade == 0 then %><span class="ok"><%:ok OK%></span><% else %><span class="error"><%:error Fehler%> (<%:code Code%> <%=upgrade%>)</span><% end %><br />
14 <% end %>
15 <% if install then for k,v in pairs(install) do %>
16 <%:packages_install Installation von%> '<%=k%>': <% if v == 0 then %><span class="ok"><%:ok OK%></span><% else %><span class="error"><%:error Fehler%> (<%:code Code%> <%=v%>)</span><% end %><br />
17 <% end end %>
18 <% if remove then for k,v in pairs(remove) do %>
19 <%:packages_remove Deinstallation von%> '<%=k%>': <% if v == 0 then %><span class="ok"><%:ok OK%></span><% else %><span class="error"><%:error Fehler%> (<%:code Code%> <%=v%>)</span><% end %><br />
20 <% end end %>
21 </div>
22 <br />
23 <% end %>
24
25 <div>
26 <a href="<%=controller%>/admin/system/ipkg"><%:packages_ipkg Paketlisten und Installationsziele bearbeiten%></a><br />
27 <a href="<%=controller%>/admin/system/packages?update=1"><%:packages_updatelist Paketlisten aktualisieren%></a><br />
28 <a href="<%=controller%>/admin/system/packages?upgrade=1"><%:packages_upgrade Installierte Pakete aktualisieren%></a>
29 </div>
30
31 <br />
32 <br />
33
34 <form method="post" action="<%=controller%>/admin/system/packages">
35 <div>
36 <span class="bold"><%:packages_installurl Paket herunterladen und installieren%>:</span><br />
37 <input type="text" name="url" size="30" value="" />
38 <input type="submit" name="submit" value="<%:ok OK%>" />
39 </div>
40
41 <br />
42 <br />
43
44 <div>
45 <span class="bold"><%:filter Filter%>:</span>
46 <input type="text" name="query" size="20" value="<%=query%>" />
47 <input type="submit" name="search" value="<%:packages_search Paket suchen%>" />
48 <input type="submit" name="submit" value="<%:packages_do Aktionen ausführen%>" />
49 </div>
50
51 <br />
52 <br />
53
54 <div>
55 <table style="font-size: 0.8em">
56 <tr>
57 <th><%:packages_name Paketname%></th>
58 <th><%:version Version%></th>
59 <th><%:install Installieren%></th>
60 <th><%:delete Löschen%></th>
61 <th><%:descr Beschreibung%></th>
62 </tr>
63 <% for k, pkg in pairs(pkgs) do %>
64 <tr>
65 <td><%=pkg.Package%></td>
66 <td><%=pkg.Version%></td>
67 <td><% if not pkg.Status or not pkg.Status.installed then %><input type="checkbox" name="install.<%=pkg.Package%>" value="1" /><% else %><%:installed installiert%><% end %></td>
68 <td><% if pkg.Status and pkg.Status.installed then %><input type="checkbox" name="remove.<%=pkg.Package%>" value="1" /><% else %><%:notinstalled nicht installiert%><% end %></td>
69 <td><%=pkg.Description%></td>
70 </tr>
71 <% end %>
72 </table>
73 </div>
74 <br />
75 <input type="submit" name="submit" value="<%:packages_do Aktionen ausführen%>" />
76 </form>
77 <%+footer%>