| 2276 |
rajveer |
1 |
<!DOCTYPE html PUBLIC
|
|
|
2 |
"-//W3C//DTD XHTML 1.1 Transitional//EN"
|
|
|
3 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
4 |
|
|
|
5 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
6 |
<head>
|
|
|
7 |
<title>Create New</title>
|
|
|
8 |
<link type="text/css" href="../jquery/jqueryui/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" />
|
|
|
9 |
<script type="text/javascript" src="../jquery/jquery-1.4.2.js"></script>
|
|
|
10 |
<script type="text/javascript" src="../jquery/jqueryui/ui/jquery.ui.core.js"></script>
|
|
|
11 |
<script type="text/javascript" src="../jquery/jqueryui/ui/jquery.ui.widget.js"></script>
|
|
|
12 |
<script type="text/javascript" src="../jquery/jqueryui/ui/jquery.ui.position.js"></script>
|
|
|
13 |
<script type="text/javascript" src="../jquery/jqueryui/ui/jquery.ui.autocomplete.js"></script>
|
|
|
14 |
<script type="text/javascript" src="../jquery/jquery.chained.js"></script>
|
|
|
15 |
<script type="text/javascript" src="/content/jquery/validation/jquery.validate.js"></script>
|
|
|
16 |
<script>
|
|
|
17 |
$(document).ready(function() {
|
|
|
18 |
$("#f").validate({
|
|
|
19 |
rules: {
|
|
|
20 |
name: "required",
|
|
|
21 |
content: "required",
|
|
|
22 |
terms: "required"
|
|
|
23 |
}
|
|
|
24 |
});
|
|
|
25 |
});
|
|
|
26 |
</script>
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
<style>
|
|
|
30 |
|
|
|
31 |
* { font-family: Verdana; font-size: 96%; }
|
|
|
32 |
label { width: 10em; float: left; }
|
|
|
33 |
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
|
|
|
34 |
p { clear: both; }
|
|
|
35 |
.submit { margin-left: 12em; }
|
|
|
36 |
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
|
|
|
37 |
.textarea {width: 400px; height: 200px}
|
|
|
38 |
</style>
|
|
|
39 |
</head>
|
|
|
40 |
<body>
|
|
|
41 |
<div>
|
|
|
42 |
<h1>New Helpdoc</h1>
|
|
|
43 |
<form id="f" name="f" action="/content/helpdoc" method="post">
|
|
|
44 |
<label for="helpdocId">Helpdoc ID: </label>
|
|
|
45 |
<span id="helpdocId" name="helpdocId"><strong><em>{New Helpdoc ID}</em></strong></span>
|
|
|
46 |
<br></br>
|
|
|
47 |
<label for="name">Helpdoc Name: </label>
|
|
|
48 |
<input id="name" name="name"/>
|
|
|
49 |
<br></br>
|
|
|
50 |
<label for="content">Helpdoc Content: </label>
|
|
|
51 |
<!--<input type="text" id="content" name="content" class="textbox" value="" />-->
|
|
|
52 |
|
|
|
53 |
<textarea row="30" column="200" class="textarea" id="content" name="content"></textarea>
|
|
|
54 |
|
|
|
55 |
<br></br>
|
|
|
56 |
<label for="terms">Terms: </label>
|
|
|
57 |
<input id="terms" name="terms"/>
|
|
|
58 |
<br></br>
|
|
|
59 |
<label for="helpdocIds">Related Helpdocs: </label>
|
|
|
60 |
<input id="helpdocIds" name="helpdocIds"/>
|
|
|
61 |
<br></br>
|
|
|
62 |
<p></p>
|
|
|
63 |
<input type="button" id="cancelbutton" name="cancel" value="Cancel"/>
|
|
|
64 |
<input type="submit" name="create" value="Create"/>
|
|
|
65 |
</form>
|
|
|
66 |
</div>
|
|
|
67 |
|
|
|
68 |
</body>
|
|
|
69 |
</html>
|