mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
This adds an image feed that you can scroll through with hotkeys in the lightbox. The left and right arrow keys along with the left and right arrows will go to the prev/next image, and clicking on an image will also take a user to that image.
27 lines
954 B
HTML
27 lines
954 B
HTML
<div id="lightbox_overlay" class="overlay new-style" data-overlay="lightbox">
|
|
<div class="image-info-wrapper">
|
|
<div class="image-description">
|
|
<div class="title"></div>
|
|
<div class="user"></div>
|
|
</div>
|
|
<div class="exit">x</div>
|
|
<div class="image-actions">
|
|
<a class="button small open icon" target="_blank">
|
|
<span class="text">Open</span>
|
|
</a>
|
|
<a class="button small download icon" download>
|
|
<span class="text">Download</span>
|
|
</a>
|
|
</div>
|
|
<div class="clear-float"></div>
|
|
</div>
|
|
|
|
<div class="image-preview overlay-content"></div>
|
|
<div class="player-container"></div>
|
|
<div class="center">
|
|
<div class="arrow no-select" data-direction="prev"><</div>
|
|
<div class="image-list"></div>
|
|
<div class="arrow no-select" data-direction="next">></div>
|
|
</div>
|
|
</div>
|