Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tools.ethertoff
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
27
Issues
27
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
osp
tools.ethertoff
Commits
e3654337
Commit
e3654337
authored
Aug 14, 2019
by
gijs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check image exists
parent
3315e87f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
+17
-15
contour/templates/contour/event.html
contour/templates/contour/event.html
+17
-15
No files found.
contour/templates/contour/event.html
View file @
e3654337
...
@@ -94,21 +94,23 @@
...
@@ -94,21 +94,23 @@
<section
data-container-panel-toggle=
"previous"
><img
src=
"{% static 'contour/images/arrow-left-white.svg' %}"
></section>
<section
data-container-panel-toggle=
"previous"
><img
src=
"{% static 'contour/images/arrow-left-white.svg' %}"
></section>
<section
data-container-panel-toggle=
"next"
><img
src=
"{% static 'contour/images/arrow-right-white.svg' %}"
></section>
<section
data-container-panel-toggle=
"next"
><img
src=
"{% static 'contour/images/arrow-right-white.svg' %}"
></section>
{% for key, image in combined_images %}
{% for key, image in combined_images %}
<figure
class=
"full"
data-image-index=
"{{ key }}"
data-panel=
"image-{{ key }}"
>
{% if image and image.image %}
<div
class=
"panel-toggle"
>
<figure
class=
"full"
data-image-index=
"{{ key }}"
data-panel=
"image-{{ key }}"
>
<!-- <div class="panel-toggle-handle">
<div
class=
"panel-toggle"
>
<img src="/static/contour/images/arrow-left-no-tail.svg" class="icon">
<!-- <div class="panel-toggle-handle">
</div> -->
<img src="/static/contour/images/arrow-left-no-tail.svg" class="icon">
</div>
</div> -->
{% if image.image|isGIF %}
</div>
<img
src=
"{{ image.image.url }}"
class=
"main-image"
>
{% if image.image|isGIF %}
{% else %}
<img
src=
"{{ image.image.url }}"
class=
"main-image"
>
<img
src=
"{% thumbnail image.image 1500x1500 %}"
class=
"main-image"
>
{% else %}
{% endif %}
<img
src=
"{% thumbnail image.image 1500x1500 %}"
class=
"main-image"
>
{% if image.credit %}
<section
class=
"image-credit"
>
{{ image.credit }}
</section>
{% endif %}
{% endif %}
{% if image.author %}
<section
class=
"image-credit"
>
{{ image.author }}
</section>
{% endif %}
{% if image.credit %}
<section
class=
"image-credit"
>
{{ image.credit }}
</section>
{% endif %}
</figure>
{% if image.author %}
<section
class=
"image-credit"
>
{{ image.author }}
</section>
{% endif %}
{% endfor %}
</figure>
{% endfor %}
{% endif %}
</section>
</section>
<div
class=
"panel-toggle"
>
<div
class=
"panel-toggle"
>
<div
class=
"panel-toggle-handle"
>
<div
class=
"panel-toggle-handle"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment