diff mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 45:4059fcc5473e

ask for credentials on mercurial settings page
author Pavel.Sher
date Sat, 06 Sep 2008 17:46:28 +0400
parents 7944e8985ebd
children 99e757f2527b
line wrap: on
line diff
--- a/mercurial-server/resources/buildServerResources/mercurialSettings.jsp	Fri Sep 05 01:15:29 2008 +0400
+++ b/mercurial-server/resources/buildServerResources/mercurialSettings.jsp	Sat Sep 06 17:46:28 2008 +0400
@@ -3,7 +3,7 @@
 <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>
 <table class="runnerFormTable">
 
-  <l:settingsGroup title="Mercurial Settings">
+  <l:settingsGroup title="General Settings">
   <tr>
     <th><label for="hgCommandPath">HG command path: <l:star/></label></th>
     <td><props:textProperty name="hgCommandPath" className="longField" />
@@ -15,5 +15,18 @@
       <span class="error" id="error_repositoryPath"></span></td>
   </tr>
   </l:settingsGroup>
+  <l:settingsGroup title="Authorization settings">
+  <tr>
+    <td colspan="2">You may require to provide authorization settings if you need to tag / label sources in the remote repository.</td>
+  </tr>
+  <tr>
+    <th><label for="username">User name:</label></th>
+    <td><props:textProperty name="username"/></td>
+  </tr>
+  <tr>
+    <th><label for="secure:password">Password:</label></th>
+    <td><props:passwordProperty name="secure:password"/></td>
+  </tr>
+  </l:settingsGroup>
   
 </table>