|
|
|
|
@ -22,7 +22,7 @@
@@ -22,7 +22,7 @@
|
|
|
|
|
{{if .blobBase}} |
|
|
|
|
<span class="side"> |
|
|
|
|
<p class="side-header">{{ctx.Locale.Tr "repo.diff.file_before"}}</p> |
|
|
|
|
<span class="before-container"><img class="image-before"></span> |
|
|
|
|
<span class="before-container"><img alt class="image-before"></span> |
|
|
|
|
<p> |
|
|
|
|
<span class="bounds-info-before"> |
|
|
|
|
{{ctx.Locale.Tr "repo.diff.file_image_width"}}: <span class="text bounds-info-width"></span> |
|
|
|
|
@ -37,7 +37,7 @@
@@ -37,7 +37,7 @@
|
|
|
|
|
{{if .blobHead}} |
|
|
|
|
<span class="side"> |
|
|
|
|
<p class="side-header">{{ctx.Locale.Tr "repo.diff.file_after"}}</p> |
|
|
|
|
<span class="after-container"><img class="image-after"></span> |
|
|
|
|
<span class="after-container"><img alt class="image-after"></span> |
|
|
|
|
<p> |
|
|
|
|
<span class="bounds-info-after"> |
|
|
|
|
{{ctx.Locale.Tr "repo.diff.file_image_width"}}: <span class="text bounds-info-width"></span> |
|
|
|
|
@ -55,9 +55,9 @@
@@ -55,9 +55,9 @@
|
|
|
|
|
<div class="ui bottom attached tab image-diff-container" data-tab="diff-swipe-{{.file.NameHash}}"> |
|
|
|
|
<div class="diff-swipe"> |
|
|
|
|
<div class="swipe-frame"> |
|
|
|
|
<span class="before-container"><img class="image-before"></span> |
|
|
|
|
<span class="before-container"><img alt class="image-before"></span> |
|
|
|
|
<span class="swipe-container"> |
|
|
|
|
<span class="after-container"><img class="image-after"></span> |
|
|
|
|
<span class="after-container"><img alt class="image-after"></span> |
|
|
|
|
</span> |
|
|
|
|
<span class="swipe-bar"> |
|
|
|
|
<span class="handle top-handle"></span> |
|
|
|
|
@ -70,8 +70,8 @@
@@ -70,8 +70,8 @@
|
|
|
|
|
<div class="diff-overlay"> |
|
|
|
|
<input type="range" min="0" max="100" value="50"> |
|
|
|
|
<div class="overlay-frame"> |
|
|
|
|
<span class="before-container"><img class="image-before"></span> |
|
|
|
|
<span class="after-container"><img class="image-after"></span> |
|
|
|
|
<span class="before-container"><img alt class="image-before"></span> |
|
|
|
|
<span class="after-container"><img alt class="image-after"></span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|