create constants and ui for packages upload runner
[teamcity/dotNetPackagesSupport.git] / nuget-server / resources / publish / editPublish.jsp
1 <%--\r
2   ~ Copyright 2000-2011 JetBrains s.r.o.\r
3   ~\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
7   ~\r
8   ~ http://www.apache.org/licenses/LICENSE-2.0\r
9   ~\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
15   --%>\r
16 <%@ taglib prefix="forms" tagdir="/WEB-INF/tags/forms" %>\r
17 <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>\r
18 <%@ taglib prefix="l" tagdir="/WEB-INF/tags/layout" %>\r
19 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>\r
20 <jsp:useBean id="ib" class="jetbrains.buildServer.nuget.server.publish.PublishBean" scope="request"/>\r
21 \r
22 <l:settingsGroup title="NuGet settings">\r
23   <tr>\r
24     <th>Path to NuGet.exe<l:star/></th>\r
25     <td>\r
26       <props:textProperty name="${ib.nuGetPathKey}" className="longField"/>\r
27       <span class="smallNote">Specify path to NuGet.exe</span>\r
28       <span class="error" id="error_${ib.nuGetPathKey}"></span>\r
29     </td>\r
30   </tr>\r
31   <tr>\r
32     <th>Package Sources</th>\r
33     <td>\r
34       <props:textProperty name="${ib.nuGetSourceKey}" className="longField"/>\r
35       <span class="smallNote">\r
36         Specify NuGet package sources to push package.\r
37         Leave blank to let NuGet decided what package repository to use (nuget.org by default).\r
38       </span>\r
39       <span class="error" id="error_${ib.nuGetSourceKey}"></span>\r
40     </td>\r
41   </tr>\r
42   <tr>\r
43     <th>API key:<l:star/></th>\r
44     <td>\r
45       <props:textProperty name="${ib.apiKey}" className="longField"/>\r
46       <span class="smallNote">\r
47         Specify API key to access NuGet source.\r
48       </span>\r
49       <span class="error" id="error_${ib.apiKey}"></span>\r
50     </td>\r
51   </tr>\r
52 </l:settingsGroup>\r
53 \r
54 <l:settingsGroup title="Packages">\r
55   <tr>\r
56     <th>Packages to uploads:<l:star/></th>\r
57     <td>\r
58       <props:multilineProperty name="${ib.nuGetPublishFilesKey}" linkTitle="Packages files"\r
59                                cols="60" rows="5"\r
60                                expanded="${true}"/>\r
61       <span>Specify NuGet package files to push to NuGet Feed. Each file on new line.</span>\r
62       <span class="error" id="error_${ib.nuGetPublishFilesKey}"></span>\r
63     </td>\r
64   </tr>\r
65   \r
66   <tr>\r
67     <th>Options:</th>\r
68     <td>\r
69       <props:checkboxProperty name="${ib.nuGetPublishCreateOnlyKey}"/>\r
70       Only upload package but do not pusblish it to feed.\r
71       <span class="smallNote">\r
72         Specifies if the package should be created and uploaded to the server but not published to the server.\r
73       </span>\r
74     </td>\r
75   </tr>\r
76 </l:settingsGroup>