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
aa28edf5
Unverified
Commit
aa28edf5
authored
Dec 20, 2018
by
Steven Allen
Committed by
GitHub
Dec 20, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #21 from jackloughran/feat/gateway/always-show-hash
show hash if given
parents
d9fb37f9
427874e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
dir-index-uncat.html
dir-index-uncat.html
+8
-0
dir-index.html
dir-index.html
+8
-0
No files found.
dir-index-uncat.html
View file @
aa28edf5
...
...
@@ -19,6 +19,9 @@
.ipfs-icon
{
width
:
16px
;
}
.ipfs-hash
{
color
:
#999
;
}
</style>
<title>
{{ .Path }}
</title>
</head>
...
...
@@ -33,6 +36,11 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<strong>
Index of {{ .Path }}
</strong>
{{ if .Hash }}
<div
class=
"ipfs-hash"
>
{{ .Hash }}
</div>
{{ end }}
</div>
<table
class=
"table table-striped"
>
<tr>
...
...
dir-index.html
View file @
aa28edf5
...
...
@@ -17,6 +17,9 @@
.ipfs-icon
{
width
:
16px
;
}
.ipfs-hash
{
color
:
#999
;
}
</style>
<title>
{{ .Path }}
</title>
</head>
...
...
@@ -31,6 +34,11 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<strong>
Index of {{ .Path }}
</strong>
{{ if .Hash }}
<div
class=
"ipfs-hash"
>
{{ .Hash }}
</div>
{{ end }}
</div>
<table
class=
"table table-striped"
>
<tr>
...
...
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