File: rekorHomePage.html

package info (click to toggle)
rekor 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,684 kB
  • sloc: sh: 1,649; makefile: 147; sql: 80
file content (46 lines) | stat: -rw-r--r-- 1,554 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en-us">

<head>
  <meta property="og:title" content="sigstore" />
  <meta property="og:description" content="A non-profit, public good software signing &amp; transparency service" />
  <meta property="og:type" content="website" />
  <meta property="og:url" content="/" />
  <meta name="description" content="A non-profit, public good software signing &amp; transparency service" />
  <meta charset="utf-8">
  <title>sigstore</title>

  <link href="https://fonts.googleapis.com/css?family=Catamaran:400,600" rel="stylesheet">
</head>

<body>
  <h1>
    Rekor Server
  </h1>
  <h2>
    A non-profit, public good software signing &amp; transparency service.
    <p>To learn more visit <a href="https://sigstore.dev">Sigstore project page</a></p>
  </h2>

  <p>Currently storing <span id="count">some</span> items.</p>

  <footer>
    <p>Copyright © sigstore a Series of LF Projects, LLC For web site terms of use, trademark policy and general project
      policies please see <a href="https://lfprojects.org">https://lfprojects.org</a>.</p>
  </footer>

  <script type="text/javascript">
const url = '/api/v1/log/';
function update() {
  fetch(url, {headers: {'Accept': 'application/json'}}).then((resp) => {
    resp.json().then((j) => {
      let count = j.treeSize;
      document.getElementById('count').innerText = count;
    }).catch(console.error);
  }).catch(console.error);
}
update(); // Update immediately on page load.
setInterval(update, 10000); // Update the counter every 10 seconds.
  </script>
</body>
</html>