<li><%= uninstall -%></li>
<% end %>
</ul>
- <input type="submit" value="Cancel uninstalls"/>
+ <input type="submit" value="Cancel uninstalls" id="cancel-uninstall"/>
</p>
</form>
<% end %>
<li><%= download -%></li>
<% end %>
</ul>
- <input type="submit" value="Cancel pending installations"/>
+ <input type="submit" value="Cancel pending installations" id="cancel-pending-installations"/>
</p>
</form>
<% end %>
plugin = update.plugin
release = update.release
%>
- <tr class="<%= cycle('even','odd', :name => category) -%>">
+ <tr class="<%= cycle('even','odd', :name => category) -%>" id="select-<%= plugin.getKey() -%>">
<td width="150" nowrap>
<b><a href="#plugin" onClick="showPlugin('<%= plugin.getKey() -%>');"><%= h(plugin.getName()) -%></a></b>
</td>
<tr>
<td colspan="2">
<form method="post" action="<%= ApplicationController.root_context -%>/updatecenter/uninstall?key=<%= plugin.getKey() -%>" style="display: inline-block">
- <input type="submit" value="Uninstall" class="red-button"/>
+ <input type="submit" value="Uninstall" class="red-button" id="uninstall-<%= plugin.getKey() -%>"/>
</form>
</td>
</tr>
updates.each_with_index do |update, index|
release=update.release
%>
- <tr class="<%= css -%>">
+ <tr class="<%= css -%>" id="select_<%= plugin.getKey() -%>">
<td width="1%" nowrap><% if index==0 %><b><%= h(plugin.getName()) -%></b> <%= @installed_plugins[plugin.getKey()] -%> -> <% end %></td>
<td width="1%" nowrap><b><%= release.getVersion() -%></b></td>
<td width="1%" nowrap><%= release_date(release.getDate()) if release.getDate() -%></td>