Skip to content

Commit

Permalink
Swap inline and download links in web UI
Browse files Browse the repository at this point in the history
  • Loading branch information
un-def committed Jun 17, 2019
1 parent 574605f commit 26f52d0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions templates/web/file-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@
links with extension
</label>
{% end %}
<div class="row{% if extension then %} ext-off{% end %}">
<a href="{* dl_link *}">download</a>
<input type="text" value="{{ dl_link }}" readonly>
</div>
<div class="row{% if extension then %} ext-off{% end %}">
<a href="{* il_link *}">inline</a>
<input type="text" value="{{ il_link }}" readonly>
</div>
<div class="row{% if extension then %} ext-off{% end %}">
<a href="{* dl_link *}">download</a>
<input type="text" value="{{ dl_link }}" readonly>
</div>
{% if extension then %}
<div class="row ext-on">
<a href="{* dl_link *}{{ extension }}">download</a>
<input type="text" value="{{ dl_link }}{{ extension }}" readonly>
</div>
<div class="row ext-on">
<a href="{* il_link *}{{ extension }}">inline</a>
<input type="text" value="{{ il_link }}{{ extension }}" readonly>
</div>
<div class="row ext-on">
<a href="{* dl_link *}{{ extension }}">download</a>
<input type="text" value="{{ dl_link }}{{ extension }}" readonly>
</div>
{% end %}
<div class="row">
<a href="{* ln_link *}">links page</a>
Expand Down

0 comments on commit 26f52d0

Please sign in to comment.