~bhournbuckle/bzr4j/tc-fixclone-trunk

« back to all changes in this revision

Viewing changes to bzr4teamcity/src/main/resources/buildServerResources/bazaarSettings.jsp

  • Committer: Patrick Woodworth
  • Date: 2010-01-15 12:24:09 UTC
  • Revision ID: patrick@woodworth.org-20100115122409-td13mb4m0o94d23o
Unifying exec architecture and revamping build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<%@include file="/include.jsp"%>
2
 
<%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>
3
 
<jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>
4
 
<script type="text/javascript">
5
 
function updateBranchName(repoPath) {
6
 
  if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
7
 
    $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
8
 
  }
9
 
}
10
 
</script>
11
 
<table class="runnerFormTable">
12
 
 
13
 
  <l:settingsGroup title="General Settings">
14
 
  <tr>
15
 
    <th><label for="bzrCommandPath">Bzr command path: <l:star/></label></th>
16
 
    <td><props:textProperty name="bzrCommandPath" className="longField" />
17
 
      <span class="error" id="error_bzrCommandPath"></span></td>
18
 
  </tr>
19
 
  <tr>
20
 
    <th><label for="repositoryPath">Pull changes from: <l:star/></label></th>
21
 
    <td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/>
22
 
      <span class="error" id="error_repositoryPath"></span></td>
23
 
  </tr>
24
 
  <tr>
25
 
    <th><label for="branchName">Branch name: </label></th>
26
 
    <td><props:textProperty name="branchName" /></td>
27
 
  </tr>
28
 
  </l:settingsGroup>
29
 
  <l:settingsGroup title="Authorization settings">
30
 
  <tr>
31
 
    <td colspan="2">You may require to provide authorization settings if you need to tag / label sources in the remote repository.</td>
32
 
  </tr>
33
 
  <tr>
34
 
    <th><label for="username">User name:</label></th>
35
 
    <td><props:textProperty name="username"/></td>
36
 
  </tr>
37
 
  <tr>
38
 
    <th><label for="secure:password">Password:</label></th>
39
 
    <td><props:passwordProperty name="secure:password"/></td>
40
 
  </tr>
41
 
  </l:settingsGroup>
42
 
  
43
 
</table>
 
1
<%@include file="/include.jsp"%>
 
2
<%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>
 
3
<jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>
 
4
<script type="text/javascript">
 
5
function updateBranchName(repoPath) {
 
6
  if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
 
7
    $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
 
8
  }
 
9
}
 
10
</script>
 
11
<table class="runnerFormTable">
 
12
 
 
13
  <l:settingsGroup title="General Settings">
 
14
  <tr>
 
15
    <th><label for="bzrCommandPath">Bzr command path: <l:star/></label></th>
 
16
    <td><props:textProperty name="bzrCommandPath" className="longField" />
 
17
      <span class="error" id="error_bzrCommandPath"></span></td>
 
18
  </tr>
 
19
  <tr>
 
20
    <th><label for="repositoryPath">Pull changes from: <l:star/></label></th>
 
21
    <td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/>
 
22
      <span class="error" id="error_repositoryPath"></span></td>
 
23
  </tr>
 
24
  <tr>
 
25
    <th><label for="branchName">Branch name: </label></th>
 
26
    <td><props:textProperty name="branchName" /></td>
 
27
  </tr>
 
28
  </l:settingsGroup>
 
29
  <l:settingsGroup title="Authorization settings">
 
30
  <tr>
 
31
    <td colspan="2">You may require to provide authorization settings if you need to tag / label sources in the remote repository.</td>
 
32
  </tr>
 
33
  <tr>
 
34
    <th><label for="username">User name:</label></th>
 
35
    <td><props:textProperty name="username"/></td>
 
36
  </tr>
 
37
  <tr>
 
38
    <th><label for="secure:password">Password:</label></th>
 
39
    <td><props:passwordProperty name="secure:password"/></td>
 
40
  </tr>
 
41
  </l:settingsGroup>
 
42
 
 
43
</table>