p4help.html #2

  • //
  • guest/
  • sven_erik_knop/
  • P4JsApi/
  • p4help.html
  • View
  • Commits
  • Open Download .zip Download (1 KB)
<html> 
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>P4 Help</title>
		<link rel="stylesheet" type="text/css" href="css/p4help.css" />
		<script type="text/javascript" src="js/p4help.js"></script>
	</head>
	
	<body onLoad="initialHelp();"> 
		<table id="topRow" border="1" cellpadding="10">
			<tr>
				<td><a href='#' onclick="doHelp('');">Overview</a></td>
				<td><a href='#' onclick="doHelp('simple');">Simple Commands</a></td>
				<td><a href='#' onclick="doHelp('commands');">All Commands</a></td>
				<td><a href='#' onclick="doHelp('administration');">Administration</a></td>
				<td><a href='#' onclick="doHelp('replication');">Replication</a></td>
				<td><a href='#' onclick="doHelp('undoc');">Unsupported Features</a></td>
			</tr>
		</table>
		<hr>
		<form name="p4help">
			<table> 
				<tr>
					<td>Enter command here:</td>
					<td><input type="text" name="command" onKeyPress="if (event.which == 13) return false;" onChange="help();"></td>
					<td><input id="goback" type = "button" disabled="disabled" value = "Back" onClick="goBack();"></td>
					<td><input id="goforward" type = "button" disabled="disabled" value = "Forward" onClick="goForward();"></td>
				</tr>
			</table>
		</form>
		<hr>
		<div id="helptext"></div>
	</body> 
</html>
# Change User Description Committed
#2 11262 Sven Erik Knop Updated p4help to work with newer versions of P4V.
Also added additional 'p4 info' output at the bottom of the main page.
#1 7772 Sven Erik Knop First attempt at a 'p4 help' browser built into P4V.
You need to:

create and edit your centralsettings.js file
point a protection table entry towards it
add these three files to your depot or to a local drive accessible by the server
enable applets in P4V

Have fun.