Subversion Repositories SmartDukaan

Rev

Rev 20424 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20424 Rev 20427
Line 1... Line 1...
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<html>
2
<html>
3
<head>
3
<head>
4
	<script type="text/javascript" src="/hotspot/js/jquery-1.4.2.js"></script>
4
	<script type="text/javascript" src="/js/jquery-1.4.2.js"></script>
5
    <script type="text/javascript" src="/hotspot/js/jquery.validate.js"></script>
5
    <script type="text/javascript" src="/js/jquery.validate.js"></script>
6
	<script type="text/javascript">
6
	<script type="text/javascript">
7
     function showHide(option) {
7
     function showHide(option) {
8
     if (option.value == 'True') {
8
     if (option.value == 'True') {
9
         document.getElementById('image-map-div').style.display = 'block';
9
         document.getElementById('image-map-div').style.display = 'block';
10
        }
10
        }
Line 39... Line 39...
39
	 });
39
	 });
40
	});
40
	});
41
	$(document).ready(function() {
41
	$(document).ready(function() {
42
  //alert("document ready");
42
  //alert("document ready");
43
  $('#cancelbutton').click(function(e) {
43
  $('#cancelbutton').click(function(e) {
44
    window.location.href = '/hotspot/banner';
44
    window.location.href = '/banner';
45
  });
45
  });
46
});
46
});
47
	</script>
47
	</script>
48
<script>
48
<script>
49
$(function() {
49
$(function() {
Line 70... Line 70...
70
</head>
70
</head>
71
<body>
71
<body>
72
<a href="/banner">Back to listing</a>
72
<a href="/banner">Back to listing</a>
73
<h2>New Banner</h2>
73
<h2>New Banner</h2>
74
<div style="padding-bottom: 20px;" id="upload-form">
74
<div style="padding-bottom: 20px;" id="upload-form">
75
<form id="uploadFileToMyFolder" name="banner" action="/hotspot/banner" onsubmit="return validateForm()" enctype="multipart/form-data" method="post">
75
<form id="uploadFileToMyFolder" name="banner" action="/banner" onsubmit="return validateForm()" enctype="multipart/form-data" method="post">
76
	  <label for="imagePath">Image Path : </label>
76
	  <label for="imagePath">Image Path : </label>
77
	  <input name="userImage" id="file" type="file">
77
	  <input name="userImage" id="file" type="file">
78
	  <br></br>
78
	  <br></br>
79
	  <label for="bannerName">Banner Name : </label>
79
	  <label for="bannerName">Banner Name : </label>
80
      <input id="bannerName" name="bannerName" type="text"/>
80
      <input id="bannerName" name="bannerName" type="text"/>