forked from forgejo/forgejo
Almost done diff page
This commit is contained in:
parent
4b9eef50c9
commit
dd6246877d
9 changed files with 83 additions and 210 deletions
|
@ -65,12 +65,12 @@
|
|||
<tbody>
|
||||
{{range .Sections}}
|
||||
{{range .Lines}}
|
||||
<tr class="same-code nl-1 ol-1">
|
||||
<tr class="{{DiffLineTypeToStr .Type}}-code nl-1 ol-1">
|
||||
<td class="lines-num lines-num-old">
|
||||
<span rel="L1"></span>
|
||||
<span rel="L1">{{if .LeftIdx}}{{.LeftIdx}}{{end}}</span>
|
||||
</td>
|
||||
<td class="lines-num lines-num-new">
|
||||
<span rel="L1"></span>
|
||||
<span rel="L1">{{if .RightIdx}}{{.RightIdx}}{{end}}</span>
|
||||
</td>
|
||||
<td class="lines-code">
|
||||
<pre>{{.Content}}</pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue