fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie komunikatów o błędach, gdy nie zostanie wpisana nazwa użytkownika lub opis...
[redakcja.git]
/
project
/
templates
/
explorer
/
file_html.html
diff --git
a/project/templates/explorer/file_html.html
b/project/templates/explorer/file_html.html
index
7e126f0
..
b0d16b6
100644
(file)
--- a/
project/templates/explorer/file_html.html
+++ b/
project/templates/explorer/file_html.html
@@
-15,11
+15,7
@@
var lastScroll = -1000;
function checkScroll() {
var lastScroll = -1000;
function checkScroll() {
- console.log('checkScroll', $('#images').scrollTop(), lastScroll);
-
if (Math.abs($('#images').scrollTop() - lastScroll) > 300) {
if (Math.abs($('#images').scrollTop() - lastScroll) > 300) {
- console.log('checking!');
-
var container = $('#images');
lastScroll = container.scrollTop();
var container = $('#images');
lastScroll = container.scrollTop();
@@
-54,9
+50,7
@@
<div id="tabs"><a href="{% url file_xml hash %}">Źródło</a><a href="{% url file_html hash %}" class="active">HTML</a><div style="padding: 3px; margin-left: 10px">{{ image_folders_form.folders }}</div><div style="clear: both; height: 0; width: 0"> </div></div>
<div id="images">
<div id="tabs"><a href="{% url file_xml hash %}">Źródło</a><a href="{% url file_html hash %}" class="active">HTML</a><div style="padding: 3px; margin-left: 10px">{{ image_folders_form.folders }}</div><div style="clear: both; height: 0; width: 0"> </div></div>
<div id="images">
- <div class="image-box">
- <p>Aby zobaczyć obrazki wybierz folder z obrazkami powyżej.</p>
- </div>
+ <p>Aby zobaczyć obrazki wybierz folder z obrazkami powyżej.</p>
</div>
<div id="file-text">
{{ object|safe }}
</div>
<div id="file-text">
{{ object|safe }}