Subversion Repositories SmartDukaan

Rev

Rev 2768 | Rev 3081 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2768 mandeep.dh 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
<link type="text/css" href="../../jquery/jqueryui/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" />
8
<script type="text/javascript" src="../../jquery/jquery-1.4.2.js"></script>
9
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.core.js"></script>
10
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.widget.js"></script>
11
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.position.js"></script>
12
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.autocomplete.js"></script>
13
<script type="text/javascript" src="/content/jquery/validation/jquery.validate.js"></script>
14
<script>
15
$(document).ready(function() {
16
    $("#f").validate({
17
        rules: {
18
            displayName: "required",
19
            primeURL: "required",
20
            searchQuery: "required"
21
            }
22
    });
23
});
24
</script>
25
<style>
26
* { font-family: Verdana; font-size: 96%; }
27
label { width: 10em; float: left; }
28
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
29
p { clear: both; }
30
.submit { margin-left: 12em; }
31
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
32
.textarea {width: 400px; height: 200px}
33
</style>
34
<title>Create New</title>
35
</head>
36
<body>
37
<div>
2838 mandeep.dh 38
<h1>New Special Page</h1>
39
<form id="f" name="f" action="/content/special-page" method="post">
40
    <label for="specialPageId">Special Page ID: </label>
41
    <span id="specialPageId" name="id"><strong><em>{New Special Page ID}</em></strong></span>
2768 mandeep.dh 42
    <br></br>
43
    <label for="displayName">Display Name: </label>
44
    <input id="displayName" name="displayName" type="text"/>
45
    <br></br>
46
    <label for="description">Description: </label>
47
    <textarea id="description" name="description" rows="5" cols="50"></textarea>
48
    <br></br>
49
    <label for="primeURL">Prime URL: </label>
50
    <input id="primeURL" name="primeURL" type="url" size="52"/>
51
    <br></br>
52
    <label for="saholicURL">Saholic URL: </label>
53
    <input id="saholicURL" name="saholicURL" type="url" size="52"/>
54
    <br></br>
55
    <label for="searchQuery">Search Query: </label>
56
    <input id="searchQuery" name="searchQuery" size="52"/>
57
    <br></br>
58
    <label for="pageTitle">Page Title: </label>
59
    <input id="pageTitle" name="pageTitle" size="52"/>
60
    <br/>
61
    <label for="metaDescription">MetaDescription: </label>
62
    <textarea id="metaDescription" name="metaDescription" rows="3" cols="50"></textarea>
63
    <br/>
64
    <label for="metaKeywords">MetaKeywords: </label>
65
    <input id="metaKeywords" name="metaKeywords" size="52"/>
66
    <br/>
67
<p></p>
68
<input type="button" id="cancelbutton" name="cancel" value="Cancel"/>
69
<input type="submit" name="create" value="Create"/>
70
</form>
71
</div>
72
</body>
73
</html>