Commit Graph

41 Commits

Author SHA1 Message Date
Marcin Rataj
3f67a8105a
feat: improved CID column
- Links to direct CIDs now have ?filename= param to preserve name and content type
- When page is loaded on DNSLink website (based on Host header) then
  there is no public gateway endpoint.
  As a replacement, clicking on a CID opens it at cid.ipfs.io

Context: https://github.com/ipfs/dir-index-html/issues/42

Closes #42
2020-09-26 02:59:44 +02:00
Jessica Schilling
02bcd0481f Minified file to top level, changes scripts and test accordingly 2020-07-27 13:49:19 -06:00
Jessica Schilling
bc0496de74 Move html and beautified css into src directory 2020-07-24 12:00:42 -06:00
Jessica Schilling
bdc382b72c Make ipfs-hash class monospace and reuse in table rows 2020-07-23 14:31:06 -06:00
Jessica Schilling
3527e53c2c Remove extraneous meta keywords 2020-07-23 14:17:10 -06:00
Kevin Neaton
deab971dd0 Use gateway URL when linking to another CID root
This is necessary to support subdomain resolution.

E.g. {cid}.ipfs.localhost
2020-07-17 23:44:55 -04:00
Kevin Neaton
ce0dceac34 Use short hash for uniform CID presentation of directory items 2020-07-14 23:25:48 -04:00
Kevin Neaton
c5d042ac5f Fix type-icon size at narrow viewport widths
The presence of additional content in the table was causing the width of the
type-icon column to be reduced. Applying the width to the column and it's
contents prevents this from happening.
2020-07-12 00:21:06 -04:00
Kevin Neaton
84cf3eb263 minify css additions 2020-07-07 09:23:43 -04:00
Kevin Neaton
51e423e4a6 Add CID column 2020-07-07 09:23:36 -04:00
Kevin Neaton
8c03fc4579 Make path components into links 2020-07-02 21:35:41 -04:00
Kevin Neaton
beb1120fde Display viewed directory's size 2020-07-01 21:50:27 -04:00
Jessica Schilling
7f75e7b86d Reverses meta content order for Facebook and others that use the og:foo tags 2020-06-22 17:27:39 -06:00
Jessica Schilling
59b8599bf5 Dynamic titles in both places 2020-06-22 17:14:30 -06:00
Jessica Schilling
972d42a4b6 Remove duplicate 2020-06-22 16:48:49 -06:00
Jessica Schilling
0bebaf505a Add social card meta tags 2020-06-22 16:39:52 -06:00
Jessica Schilling
9b59f1cc59 Add base64 favicon 2020-06-22 15:05:46 -06:00
Jessica Schilling
4bd64553db Updated link color; removed extraneous style from dir-index-uncat.html 2020-05-05 10:01:08 -06:00
Jessica Schilling
d9abf94ce7 Updated uncat linked files, minified dir-index 2020-05-04 17:03:07 -06:00
Jessica Schilling
ead870fc0a Added icons for mkv, mov, wmv per #19 2020-05-04 16:26:16 -06:00
Jessica Schilling
e8d38c971e No line breaks in file sizes; applied file icon width to parent td 2020-05-04 15:16:17 -06:00
Jessica Schilling
96ea8c91ba Alphabetized styles 2020-05-04 15:02:09 -06:00
Jessica Schilling
18f090e060 all extraneous style should be removed now 2020-05-04 14:56:47 -06:00
Jessica Schilling
b11ebc4076 Added word-break, converted px to em, misc tightening 2020-05-04 14:04:32 -06:00
Jessica Schilling
d760862f81 Update print styles 2020-05-04 13:26:52 -06:00
Jessica Schilling
d74941a62a Heavy-duty css cleanup; more to come 2020-05-04 13:26:52 -06:00
Jessica Schilling
9b847f99ec Adds meta viewport to enable responsive behavior; starts rearranging css for clarity 2020-05-04 13:26:52 -06:00
Jessica Schilling
5ee46bb638 Prettify CSS so to be able to pull it apart 2020-05-04 13:26:52 -06:00
Jessica Schilling
5fda0199aa dir-index-html only: header colors/border, updated IPFS logo, add links and bug report icon, misc styling 2020-04-21 14:39:35 -06:00
Jessica Schilling
0bd2fe1031 Revert "dir-index.html only: header colors"
This reverts commit 6681721781.
2020-04-21 14:37:19 -06:00
Jessica Schilling
67f1ee2ac4 Revert "dir-index.html only: updated IPFS logo"
This reverts commit 6895e1ca01.
2020-04-21 14:37:14 -06:00
Jessica Schilling
90445478d8 Revert "dir-index.html only: wrap up header styling, add bug report icon"
This reverts commit b976e3cbc1.
2020-04-21 14:36:51 -06:00
Jessica Schilling
b976e3cbc1 dir-index.html only: wrap up header styling, add bug report icon 2020-04-21 13:57:49 -06:00
Jessica Schilling
6895e1ca01 dir-index.html only: updated IPFS logo 2020-04-21 12:07:41 -06:00
Jessica Schilling
6681721781 dir-index.html only: header colors 2020-04-21 11:30:30 -06:00
Jack Loughran
427874e3cc show hash if given
This template will only get passed the hash value if the hash is not already being shown in the path. If a hash value is passed in, it will display under the path in grey.

License: MIT
Singed-off-by: Jack Loughran <j@ckloughran.com>
2018-12-11 07:04:50 -05:00
TUSF
5d5d7c61d2 Add "jpeg" as an alias to "jpg". 2018-07-04 01:46:07 -05:00
Stephen Whitmore
eda829e4e2 Adds url escaping of entries. 2016-03-02 16:23:09 -08:00
rht
63f5015f73 Embed directory-listing styles 2015-09-04 19:05:56 +07:00
rht
9fa10e5124 Remove 'bytes'
First part of the fix to https://github.com/ipfs/dir-index-html/issues/3
2015-08-28 19:59:31 +07:00
rht
d7dd53aac6 First commit 2015-07-17 07:41:39 +07:00