Add loading gif
parent
51f3f94452
commit
1bec7f0ea4
|
@ -28,15 +28,18 @@
|
|||
|
||||
document.onreadystatechange = function () {
|
||||
if (document.readyState == "complete") {
|
||||
EPUBJS.filePath = "js/libs/";
|
||||
EPUBJS.filePath = "/static/js/reader/libs/";
|
||||
EPUBJS.cssPath = window.location.href.replace(window.location.hash, '').replace('index.html', '') + "css/";
|
||||
// fileStorage.filePath = EPUBJS.filePath;
|
||||
|
||||
window.reader = ePubReader("moby-dick/");
|
||||
window.reader = ePubReader("https://unglue.it/download_ebook/30881/", {restore: true});
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<!-- File Storage -->
|
||||
<script src="/static/js/reader/libs/localforage.min.js"></script>
|
||||
|
||||
<!-- Full Screen -->
|
||||
<script src="/static/js/reader/libs/screenfull.min.js"></script>
|
||||
|
||||
|
@ -53,7 +56,6 @@
|
|||
|
||||
{% with work.id as work_id %}
|
||||
<body>
|
||||
<div>{{work}}</div>
|
||||
<div id="sidebar">
|
||||
<div id="panels">
|
||||
<input id="searchBox" placeholder="search" type="search">
|
||||
|
@ -103,7 +105,7 @@
|
|||
<div id="viewer"></div>
|
||||
<div id="next" class="arrow">›</div>
|
||||
|
||||
<div id="loader"><img src="img/loader.gif"></div>
|
||||
<div id="loader"><img src="/static/images/reader/loader.gif"></div>
|
||||
</div>
|
||||
<div class="modal md-effect-1" id="settings-modal">
|
||||
<div class="md-content">
|
||||
|
|
|
@ -415,7 +415,7 @@ def work(request, work_id, action='display'):
|
|||
'cover_width': cover_width_number,
|
||||
'action': action,
|
||||
'formset': formset,
|
||||
'kwform': subjectselectform()
|
||||
'kwform': SubjectSelectForm()
|
||||
})
|
||||
|
||||
def edition_uploads(request, edition_id):
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue