aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp
diff options
context:
space:
mode:
authorGravatar KillyMXI2017-06-21 20:25:04 +0300
committerGravatar KillyMXI2017-06-21 21:49:48 +0300
commit0b6a7c341ecf0dc04f9708f727b8cc134dbd7e85 (patch)
tree56ccdeecf3549aa1c2e250074a9d09112ef00ca8 /juick-www/src/main/webapp
parent4df1f1aa6f104df1161954b7def736373e14ca65 (diff)
juick-www: better lightbox(dialog), fixed "no lightbox in user blog",
photo-512 - used on page, photo-1024 - used in lightbox if smaller screen dimension is under 1280, p (original size) - used in lightbox on huge screens.
Diffstat (limited to 'juick-www/src/main/webapp')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/blog.html9
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/index.html3
2 files changed, 2 insertions, 10 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/blog.html b/juick-www/src/main/webapp/WEB-INF/views/blog.html
index 88fe6641..bddaa4e5 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/blog.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/blog.html
@@ -25,17 +25,12 @@
{{ tags(msg.user.name, msg.tags | tagsList) }}
</div>
</header>
-
+ <p>{{ msg | formatMessage }}</p>
{% if msg.AttachmentType is not empty %}
- <p class="ir"><a href="//i.juick.com/photos-512/{{ msg.mid }}.{{ msg.AttachmentType }}"
- onclick="return showPhotoDialog('{{ msg.mid }}.{{ msg.AttachmentType }}')">
+ <p class="ir"><a href="//i.juick.com/p/{{ msg.mid }}.{{ msg.AttachmentType }}" data-fname="{{ msg.mid }}.{{ msg.AttachmentType }}">
<img src="//i.juick.com/photos-512/{{ msg.mid }}.{{ msg.AttachmentType }}" alt=""/></a>
</p>
{% endif %}
- <p>{{ msg | formatMessage }}</p>
- {% if msg.AttachmentType is not empty %}
- <div class="irbr"></div>
- {% endif %}
<nav class="l">
{% if visitor.uid > 0 %}
<a href="/post?body=!+%23{{ msg.mid }}" class="a-like">{{ i18n("messages","message.recommend") }}</a>
diff --git a/juick-www/src/main/webapp/WEB-INF/views/index.html b/juick-www/src/main/webapp/WEB-INF/views/index.html
index 082a5464..9299ccf8 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/index.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/index.html
@@ -31,9 +31,6 @@
<img src="//i.juick.com/photos-512/{{ msg.mid }}.{{ msg.AttachmentType }}" alt=""/></a>
</p>
{% endif %}
- {% if msg.AttachmentType is not empty %}
- <div class="irbr"></div>
- {% endif %}
<nav class="l">
{% if visitor.uid > 0 %}
<a href="/post?body=!+%23{{ msg.mid }}" class="a-like">{{ i18n("messages","message.recommend") }}</a>