aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/editor/diff_preview_new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/editor/diff_preview_new.tmpl')
-rw-r--r--templates/repo/editor/diff_preview_new.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/repo/editor/diff_preview_new.tmpl b/templates/repo/editor/diff_preview_new.tmpl
new file mode 100644
index 0000000000..34abfe1823
--- /dev/null
+++ b/templates/repo/editor/diff_preview_new.tmpl
@@ -0,0 +1,12 @@
+<div id="file-content" class="ui attached table segment">
+ <div class="file-view code-view has-emoji">
+ <table>
+ <tbody>
+ <tr>
+ <td class="lines-num"></td>
+ <td class="lines-code"><pre><code><ol class="linenums">{{.FileContent}}</ol></code></pre></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>