Subversion Repositories SmartDukaan

Rev

Rev 6514 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC 
    "-//W3C//DTD XHTML 1.1 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link type="text/css" href="../../jquery/jqueryui/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery/jquery-1.4.2.js"></script>
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.position.js"></script>
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.autocomplete.js"></script>
<script type="text/javascript" src="/content/jquery/validation/jquery.validate.js"></script>
<script>
$(document).ready(function() {
    $("#f").validate({
        rules: {
            displayName: "required",
            primeURL: "required",
            searchQuery: "required"
            }
    });
});
</script>
<style>
* { font-family: Verdana; font-size: 96%; }
label { width: 10em; float: left; }
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
p { clear: both; }
.submit { margin-left: 12em; }
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
.textarea {width: 400px; height: 200px}
</style>
<title>Create New</title>
</head>
<body>
<div>
<h1>New Special Page</h1>
<form id="f" name="f" action="/content/special-page" method="post">
    <label for="specialPageId">Special Page ID: </label>
    <span id="specialPageId" name="id"><strong><em>{New Special Page ID}</em></strong></span>
    <br></br>
        <label for="isTag">Special Page Type: </label>
    <select name="pageType"><option selected="selected" value="0">Query Type</option><option value="1">Tag Type</option></select>
    <br></br>
    <label for="displayName">Display Name: </label>
    <input id="displayName" name="displayName" type="text"/>
    <br></br>
    <label for="description">Description: </label>
    <textarea id="description" name="description" rows="5" cols="50"></textarea>
    <br></br>
    <label for="primeURL">Prime URL: </label>
    <input id="primeURL" name="primeURL" type="url" size="52"/>
    <br></br>
    <label for="saholicURL">Saholic URL: </label>
    <input id="saholicURL" name="saholicURL" size="52"/>
    <br></br>
    <label for="searchQuery">Search Query: </label>
    <input id="searchQuery" name="searchQuery" size="52"/>
    <br></br>
    <label for="pageTitle">Page Title: </label>
    <input id="pageTitle" name="pageTitle" size="52"/>
    <br/>
    <label for="metaDescription">MetaDescription: </label>
    <textarea id="metaDescription" name="metaDescription" rows="3" cols="50"></textarea>
    <br/>
    <label for="metaKeywords">MetaKeywords: </label>
    <input id="metaKeywords" name="metaKeywords" size="52"/>
    <br/>
<p></p>
<input type="button" id="cancelbutton" name="cancel" value="Cancel"/>
<input type="submit" name="create" value="Create"/>
</form>
</div>
</body>
</html>