-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathCustom.aspx
More file actions
51 lines (47 loc) · 1.61 KB
/
Custom.aspx
File metadata and controls
51 lines (47 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<%@ Page Language="C#" Inherits="System.Web.UI.Page" %>
<!DOCTYPE HTML>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title>jQuery File Upload Example - cleaner markup!</title>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="styles/Custom/style.css" />
</head>
<body>
<div id="fileupload">
<!-- Would like the cleaner style to look like this: -->
<div upload-target="here" action="FileTransferHandler.ashx">
<table> <!-- can use outer containers -->
<!-- semantic-style template for... template tags always invisible in css -->
<template for="error">
<tr class="ui-state-error">
<td data="name"></td> <!-- Data is filled in by attribute under the template -->
<td data="size"></td>
<td data="error" colspan="2"></td> <!-- error messages are outside of the template -->
</tr>
</template>
<template for="upload">
<tr>
<td data="name"></td>
<td data="size"></td>
<td data="progress"></td>
<td data="cancel"></td>
</tr>
</template>
<template for="file">
<td data="preview"></td>
<td><b data="name"></b></td> <!-- note: bold tag gets data -->
<td data="size"></td>
<td data="delete"></td>
</template>
</table>
</div>
</div>
<!-- TODO: upload and scaffolding scripts here! -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="scripts/Custom/jquery.iframe-transport.js"></script>
<script src="scripts/Custom/jquery.fileupload.bootstrap.js"></script> <!-- always the last script! -->
</body>
</html>