Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
dir-index-html
Commits
e8d38c97
Commit
e8d38c97
authored
May 04, 2020
by
Jessica Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No line breaks in file sizes; applied file icon width to parent td
parent
96ea8c91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
dir-index.html
dir-index.html
+9
-5
No files found.
dir-index.html
View file @
e8d38c97
...
...
@@ -527,6 +527,10 @@ td {
width
:
1.15em
;
}
.no-linebreak
{
white-space
:
nowrap
;
}
.ipfs-hash
{
color
:
#7f8491
;
}
...
...
@@ -608,8 +612,8 @@ td {
</div>
<table>
<tr>
<td>
<div
class=
"
type-icon
ipfs-_blank"
>
</div>
<td
class=
"type-icon"
>
<div
class=
"ipfs-_blank"
>
</div>
</td>
<td>
<a
href=
"{{.BackLink | urlEscape}}"
>
..
</a>
...
...
@@ -618,13 +622,13 @@ td {
</tr>
{{ range .Listing }}
<tr>
<td>
<div
class=
"
type-icon
{{iconFromExt .Name}}"
>
</div>
<td
class=
"type-icon"
>
<div
class=
"{{iconFromExt .Name}}"
>
</div>
</td>
<td>
<a
href=
"{{ .Path | urlEscape }}"
>
{{ .Name }}
</a>
</td>
<td>
{{ .Size }}
</td>
<td
class=
"no-linebreak"
>
{{ .Size }}
</td>
</tr>
{{ end }}
</table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment