-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
88c4454
commit be96bf2
Showing
5 changed files
with
228 additions
and
156 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
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 |
---|---|---|
@@ -1,9 +1,42 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html lang="pt-BR"> | ||
<head> | ||
<title>Download PDF</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Download Falhou</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f4f4f4; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
.container { | ||
text-align: center; | ||
padding: 20px; | ||
border: 2px solid #ccc; | ||
border-radius: 10px; | ||
background-color: #fff; | ||
} | ||
|
||
h1 { | ||
color: #333; | ||
} | ||
|
||
p { | ||
color: #666; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<a href="{% url 'download_base64_pdf' %}">Download PDF</a> | ||
<div class="container"> | ||
<h1>Download Falhou</h1> | ||
<p>O download não pôde ser concluído porque o recibo não foi encontrado.</p> | ||
</div> | ||
</body> | ||
</html> | ||
</html> |
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 |
---|---|---|
@@ -1,12 +1,42 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html lang="pt-BR"> | ||
<head> | ||
<title>Report</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Download Falhou</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f4f4f4; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
.container { | ||
text-align: center; | ||
padding: 20px; | ||
border: 2px solid #ccc; | ||
border-radius: 10px; | ||
background-color: #fff; | ||
} | ||
|
||
h1 { | ||
color: #333; | ||
} | ||
|
||
p { | ||
color: #666; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Here's your report:</h1> | ||
<p>Click the link below to open the PDF report:</p> | ||
<a href="{{ pdf_url }}">View Report (report.pdf)</a> | ||
|
||
<div class="container"> | ||
<h1>Download Falhou</h1> | ||
<p>O download não pôde ser concluído porque a nota não foi encontrada.</p> | ||
</div> | ||
</body> | ||
</html> | ||
</html> |
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
Oops, something went wrong.