annotate mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 57:99e757f2527b

branches support
author Pavel.Sher
date Sun, 26 Oct 2008 16:23:50 +0300
parents 4059fcc5473e
children b328c6b6526d
rev   line source
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
1 <%@include file="/include.jsp"%>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
2 <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
3 <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
4 <script type="text/javascript">
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
5 function updateBranchName(repoPath) {
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
6 if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
7 $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
8 }
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
9 }
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
10 </script>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
11 <table class="runnerFormTable">
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
12
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
13 <l:settingsGroup title="General Settings">
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
14 <tr>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
15 <th><label for="hgCommandPath">HG command path: <l:star/></label></th>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
16 <td><props:textProperty name="hgCommandPath" className="longField" />
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
17 <span class="error" id="error_hgCommandPath"></span></td>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
18 </tr>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
19 <tr>
13
26505742bae5 disable test connection
Pavel.Sher
parents: 0
diff changeset
20 <th><label for="repositoryPath">Pull changes from: <l:star/></label></th>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
21 <td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
22 <span class="error" id="error_repositoryPath"></span></td>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
23 </tr>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
24 <tr>
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
25 <th><label for="branchName">Branch name: </label></th>
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
26 <td><props:textProperty name="branchName" /></td>
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
27 </tr>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
28 </l:settingsGroup>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
29 <l:settingsGroup title="Authorization settings">
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
30 <tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
31 <td colspan="2">You may require to provide authorization settings if you need to tag / label sources in the remote repository.</td>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
32 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
33 <tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
34 <th><label for="username">User name:</label></th>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
35 <td><props:textProperty name="username"/></td>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
36 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
37 <tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
38 <th><label for="secure:password">Password:</label></th>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
39 <td><props:passwordProperty name="secure:password"/></td>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
40 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
41 </l:settingsGroup>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
42
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
43 </table>