Web editor: improve edit file and diff preview
This commit is contained in:
12
templates/repo/editor/diff_preview_new.tmpl
Normal file
12
templates/repo/editor/diff_preview_new.tmpl
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user