diff options
author | Derek Stevens <nilix@nilfm.cc> | 2023-01-31 21:28:42 -0700 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2023-02-05 15:10:25 +0530 |
commit | e782f36f196006f4fad6747811a5c883151e5102 (patch) | |
tree | b63cdd5ab51d99229babc8dbec0b4efae85c4486 /templates/file.html | |
parent | 7a512b1da60ca92203ec93ecce8b0debfe6da913 (diff) | |
download | legit-e782f36f196006f4fad6747811a5c883151e5102.tar.gz legit-e782f36f196006f4fad6747811a5c883151e5102.tar.bz2 legit-e782f36f196006f4fad6747811a5c883151e5102.zip |
add style tweaks
Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Diffstat (limited to '')
-rw-r--r-- | templates/file.html | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/templates/file.html b/templates/file.html index ab432d3..82a3384 100644 --- a/templates/file.html +++ b/templates/file.html @@ -8,18 +8,22 @@ {{ template "nav" . }} <main> <p>{{ .path }}</p> - <div class="file-wrapper"> - <div class="line-numbers"> - {{- range .linecount }} + <table class="file-wrapper"> + <tbody><tr> + <td class="line-numbers"> + <pre> + {{- range .linecount }} <a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a> - {{- end -}} - </div> - <div class="file-content"> - <span></span> + {{- end -}} + </pre> + </td> + <td class="file-content"> <pre> {{- .content -}} </pre> - </div> + </td> + </tbody></tr> + </table> </main> </body> </html> |