2 ~ Copyright 2000-2011 JetBrains s.r.o.
\r
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
\r
5 ~ you may not use this file except in compliance with the License.
\r
6 ~ You may obtain a copy of the License at
\r
8 ~ http://www.apache.org/licenses/LICENSE-2.0
\r
10 ~ Unless required by applicable law or agreed to in writing, software
\r
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
\r
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 ~ See the License for the specific language governing permissions and
\r
14 ~ limitations under the License.
\r
16 <%@ include file="/include-internal.jsp" %>
\r
17 <jsp:useBean id="tools" type="java.util.Collection<jetbrains.buildServer.nuget.server.toolRegistry.tab.LocalTool>" scope="request"/>
\r
18 <jsp:useBean id="installerUrl" type="java.lang.String" scope="request"/>
\r
20 <c:set var="installedPluginsCount" value="${fn:length(tools)}"/>
\r
22 TeamCity NuGet plugin requires to configure NuGet.Exe Command Line clients.
\r
24 <strong><c:out value="${installedPluginsCount}"/></strong>
\r
25 plugin<bs:s val="${installedPluginsCount}"/> installed.
\r
28 <h2 class="noBorder">Installed NuGet Versions</h2>
\r
30 <c:when test="${installedPluginsCount eq 0}">
\r
31 <div>There are no installed NuGet.exe</div>
\r
34 <table class="dark borderBottom" cellpadding="0" cellspacing="0" style="width: 30em;">
\r
37 <th class="header" style="width: 66%">Version</th>
\r
38 <th class="header"></th>
\r
42 <c:forEach var="tool" items="${tools}">
\r
44 <td><c:out value="${tool.version}"/></td>
\r
47 <c:when test="${tool.state.installed}">
\r
48 <a href="#">Remove</a>
\r
50 <c:when test="${tool.state.installing}">
\r
51 <bs:commentIcon text="Messages"/>
\r
63 <div class="addNew">
\r
64 <a href="#" onclick="return BS.NuGet.InstallPopup.show();">
\r
66 <c:if test="${installedPluginsCount gt 0}">addintional versions of</c:if>
\r
67 NuGet.exe Command Line
\r
68 <forms:saving id="nugetInstallLinkSaving"/>
\r
73 formId="nugetInstallForm"
\r
74 title="Install NuGet.exe Command Line"
\r
76 closeCommand="BS.NuGet.InstallPopup.close();"
\r
77 saveCommand="BS.NuGet.InstallPopup.save();">
\r
78 <c:set var="actualInstallerUrl"><c:url value="${installerUrl}"/></c:set>
\r
79 <bs:refreshable containerId="nugetInstallFormResresh" pageUrl="${actualInstallerUrl}">
\r
80 <jsp:include page="installTool-loading.jsp"/>
\r
83 <div class="popupSaveButtonsBlock">
\r
84 <a href="javascript://" onclick="BS.NuGet.InstallPopup.close();" class="cancel">Cancel</a>
\r
85 <input class="submitButton" type="button" value="Install" id="agentPoolNameApplyButton" onclick="BS.NuGet.InstallPopup.save();"/>
\r