Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Added templates folder
Browse files Browse the repository at this point in the history
  • Loading branch information
aih committed Feb 22, 2012
1 parent 63d787f commit c8204ee
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/converted.html
@@ -0,0 +1 @@
{{ htmltxt|safe }}
69 changes: 69 additions & 0 deletions templates/pdf_form.html
@@ -0,0 +1,69 @@
{% load upload_tags %}
<!DOCTYPE HTML>
<!--
/*
* jQuery File Upload Plugin HTML Example 5.0.5
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://creativecommons.org/licenses/MIT/
*/
-->
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title>Convert PDF</title>
<link rel="stylesheet" href="{{ STATIC_URL }}jqueryui/1.8.14/themes/base/jquery.ui.all.css" id="theme">
<link rel="stylesheet" href="{{ STATIC_URL }}jquery.fileupload-ui.css">
<link rel="stylesheet" href="{{ STATIC_URL }}style.css">
<link rel="stylesheet" href="{{ STATIC_URL }}thumbnail-scaling.css">
</head>
<body>
<div id="doctitle" class="title">Upload Files to Convert from PDF to HTML</div>
<div id="fileupload">
<form method="post" action="" enctype="multipart/form-data">
<div class="fileupload-buttonbar">
{% csrf_token %}
<label class="fileinput-button">
<span>Add files...</span>
<input type="file" name="file" multiple>
</label>
<button type="submit" class="start">Start upload</button>
<button type="reset" class="cancel">Cancel upload</button>
<button type="button" class="delete">Delete files</button>
</div>
</form>
<div class="fileupload-content">
<table class="files"></table>
<div class="fileupload-progressbar"></div>
</div>
<div class="notes">
<span >
NOTES:
<ul>
<li>Max # of files: 5</li>
<li>Max file size: 1 MB</li>
<li>You can also drag and drop files on some (modern) browsers</li>
<li>This site is for demonstration purposes only. We make no guarantee about the quality of the conversion or availability of files: please download any files you wish to keep.</li>
</ul>

</span>
</div>
<div id="htmllinks">
<ul class="linkslist">
</ul>
</div>
<div id="download"></div>
{% upload_js %}
<script src="{{ STATIC_URL }}jquery-1.6.2.min.js"></script>
<script src="{{ STATIC_URL }}jquery-ui-1.8.14.custom.min.js"></script>
<script src="{{ STATIC_URL }}jquery.templates/beta1/jquery.tmpl.min.js"></script>
<script src="{{ STATIC_URL }}jquery.iframe-transport.js"></script>
<script src="{{ STATIC_URL }}jquery.fileupload.js"></script>
<script src="{{ STATIC_URL }}jquery.fileupload-ui.js"></script>
<script src="{{ STATIC_URL }}application.js"></script>
</body>
</html>

0 comments on commit c8204ee

Please sign in to comment.