dir-index-uncat.html 4.95 KB
Newer Older
rht's avatar
rht committed
1 2 3 4
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
Jessica Schilling's avatar
Jessica Schilling committed
5
  <meta name="description" content="A directory of files hosted on the distributed, decentralized web using IPFS">
6 7
  <meta property="og:title" content="Files on IPFS">
  <meta property="og:description" content="{{ .Path }}">
Jessica Schilling's avatar
Jessica Schilling committed
8 9
  <meta property="og:type" content="website">
  <meta property="og:image" content="https://gateway.ipfs.io/ipfs/QmSDeYAe9mga6NdTozAZuyGL3Q1XjsLtvX28XFxJH8oPjq">
10
  <meta name="twitter:title" content="{{ .Path }}">
Jessica Schilling's avatar
Jessica Schilling committed
11 12 13 14 15 16 17
  <meta name="twitter:description" content="A directory of files hosted on the distributed, decentralized web using IPFS">
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:image" content="https://gateway.ipfs.io/ipfs/QmSDeYAe9mga6NdTozAZuyGL3Q1XjsLtvX28XFxJH8oPjq">
  <meta name="twitter:creator" content="@ipfs">
  <meta name="twitter:site" content="@ipfs">
  <meta name="image" content="https://gateway.ipfs.io/ipfs/QmSDeYAe9mga6NdTozAZuyGL3Q1XjsLtvX28XFxJH8oPjq">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
Jessica Schilling's avatar
Jessica Schilling committed
18
  <link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlo89/56ZQ/8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUjDu1lo89/6mhTP+zrVP/nplD/5+aRK8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHNiIS6Wjz3/ubFY/761W/+vp1D/urRZ/8vDZf/GvmH/nplD/1BNIm8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AAAAAAAAAAAAAAAAAAAAop5G/6KeRtcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/n8AAPgfAADwDwAAwAMAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAwAMAAPAPAAD4HwAA/n8AAA==" />
rht's avatar
rht committed
19
  <!-- TODO: seed these - maybe like the starter ex or the webui? -->
20
  <link rel="stylesheet" href="gw-assets/style.css"/>
21
  <!-- Icon art is https://fileicons.org/ -->
22
  <link rel="stylesheet" href="gw-assets/icons.css">
rht's avatar
rht committed
23 24 25 26
  <title>{{ .Path }}</title>
</head>
<body>
  <div id="header" class="row">
27
    <div class="" style="float:left; padding: 0 15px; width: 160px;">
rht's avatar
rht committed
28 29
      <div id="logo" class="ipfs-logo">&nbsp;</div>
    </div>
30 31 32 33 34 35 36 37 38
    <div id="header-menu">
      <div class="header-menu-item"><a href="https://ipfs.io" target="_blank" rel="noopener noreferrer">About IPFS</a></div>
      <div class="header-menu-item"><a href="https://ipfs.io#install" target="_blank" rel="noopener noreferrer">Install IPFS</a></div>
      <div class="header-menu-item" id="bug-report">
        <a href="https://github.com/ipfs/dir-index-html/issues/" target="_blank" rel="noopener noreferrer">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18.4 21"><circle cx="7.5" cy="4.8" r="1"/><circle cx="11.1" cy="4.8" r="1"/><path d="M12.7 8.4c-0.5-1.5-1.9-2.5-3.5-2.5 -1.6 0-3 1-3.5 2.5H12.7z"/><path d="M8.5 9.7H5c-0.5 0.8-0.7 1.7-0.7 2.7 0 2.6 1.8 4.8 4.2 5.2V9.7z"/><path d="M13.4 9.7H9.9v7.9c2.4-0.4 4.2-2.5 4.2-5.2C14.1 11.4 13.9 10.5 13.4 9.7z"/><circle cx="15.7" cy="12.9" r="1"/><circle cx="15.1" cy="15.4" r="1"/><circle cx="15.3" cy="10.4" r="1"/><circle cx="2.7" cy="12.9" r="1"/><circle cx="3.3" cy="15.4" r="1"/><circle cx="3.1" cy="10.4" r="1"/></svg>
        </a>
      </div>
    </div>
rht's avatar
rht committed
39 40 41 42 43 44
  </div>
  <br/>
  <div class="col-xs-12">
    <div class="panel panel-default">
      <div class="panel-heading">
        <strong>Index of {{ .Path }}</strong>
Jack Loughran's avatar
Jack Loughran committed
45 46 47 48 49
        {{ if .Hash }}
        <div class="ipfs-hash">
          {{ .Hash }}
        </div>
        {{ end }}
rht's avatar
rht committed
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
      </div>
      <table class="table table-striped">
        <tr>
          <td class="narrow">
            <div class="ipfs-icon ipfs-_blank">&nbsp;</div>
          </td>
          <td class="padding">
            <a href="{{.BackLink}}">..</a>
          </td>
          <td></td>
        </tr>
        {{ range .Listing }}
        <tr>
          <td>
            <div class="ipfs-icon {{iconFromExt .Name}}">&nbsp;</div>
          </td>
          <td>
            <a href="{{ .Path }}">{{ .Name }}</a>
          </td>
          <td>{{ .Size }}</td>
        </tr>
      {{ end }}
      </table>
    </div>
  </div>
</body>
</html>