This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ htmltxt|safe }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |