|
|
@ -41,16 +41,11 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
|
|
<!--<link rel="resource" type="application/l10n" href="locale/locale.properties">-->
|
|
|
|
<!--<link rel="resource" type="application/l10n" href="locale/locale.properties">-->
|
|
|
|
<link rel="resource" type="application/l10n" href="{{ url_for('static', filename='locale/locale.properties') }}">
|
|
|
|
<link rel="resource" type="application/l10n" href="{{ url_for('static', filename='locale/locale.properties') }}">
|
|
|
|
<script src="{{ url_for('static', filename='js/libs/l10n.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/libs/l10n.js') }}"></script>
|
|
|
|
<!--<script src="l10n.js"></script>-->
|
|
|
|
|
|
|
|
<!--script src="{{ url_for('static', filename='js/libs/debugger.js') }}"></script-->
|
|
|
|
|
|
|
|
<!--<script src="debugger.js"></script>-->
|
|
|
|
|
|
|
|
<script src="{{ url_for('static', filename='js/libs/pdf.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/libs/pdf.js') }}"></script>
|
|
|
|
<!--<script src="pdf.js"></script>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
var DEFAULT_URL = "{{ url_for('serve_book', book_id=pdffile, book_format='pdf') }}";
|
|
|
|
var DEFAULT_URL = "{{ url_for('serve_book', book_id=pdffile, book_format='pdf') }}";
|
|
|
|
var PDFWORKER_LOCATION="{{ url_for('static', filename='js/libs/pdf.worker.js') }}";
|
|
|
|
var PDFWORKER_LOCATION="{{ url_for('static', filename='js/libs/pdf.worker.js') }}";
|
|
|
|
// var IMAGE_LOCATION="{{ url_for('static', filename='css/../images') }}";
|
|
|
|
|
|
|
|
var IMAGE_LOCATION="{{ url_for('static', filename='/images/') }}";
|
|
|
|
var IMAGE_LOCATION="{{ url_for('static', filename='/images/') }}";
|
|
|
|
var PDFWORKER_LOCATION_JS="{{ url_for('static', filename='js/libs/pdf.worker') }}";
|
|
|
|
var PDFWORKER_LOCATION_JS="{{ url_for('static', filename='js/libs/pdf.worker') }}";
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
@ -420,8 +415,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<div class="mozPrintCallback-dialog-box">
|
|
|
|
<div class="mozPrintCallback-dialog-box">
|
|
|
|
<!-- TODO: Localise the following strings -->
|
|
|
|
{{_('Preparing document for printing...')}}
|
|
|
|
Preparing document for printing...
|
|
|
|
|
|
|
|
<div class="progress-row">
|
|
|
|
<div class="progress-row">
|
|
|
|
<progress value="0" max="100"></progress>
|
|
|
|
<progress value="0" max="100"></progress>
|
|
|
|
<span class="relative-progress">0%</span>
|
|
|
|
<span class="relative-progress">0%</span>
|
|
|
|