Add boilerplate vocab.html.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Fri, 23 Aug 2013 17:54:30 -0700
changeset 1919 6a47cbf16fd5
parent 1918 3026519e09c7
child 1920 31ff65ad10ba
Add boilerplate vocab.html.
test-suite/vocab.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/vocab.html	Fri Aug 23 17:54:30 2013 -0700
@@ -0,0 +1,109 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+  <title>JSON-LD Test Suite Vocabulary</title>
+
+  <!-- Meta Tags -->
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+
+  <!-- Style Sheets -->
+  <link rel="stylesheet" type="text/css" href="../static/css/bootstrap/bootstrap.css">
+  <link rel="stylesheet" type="text/css" href="../static/css/bootstrap/bootstrap-responsive.css">
+  <link rel="stylesheet" type="text/css" href="../static/css/bootstrap/font-awesome.css">
+  <link rel="shortcut icon" href="../favicon.ico" />
+  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+  <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.min.js"></script>
+  <script id="manifest" tile="application/ld+json" src="manifest.jsonld"></script>
+  <script id="manifest-template" type="text/x-handlebars-template">
+    <section>
+      <h3><a href="tests/{{name}}-manifest.jsonld">{{name}}</a> tests</h3>
+      <p>{{description}}</p>
+      <dl class="test-description">
+        {{#each sequence}}
+        <dt>Test {{number this}}: {{this.name}}</dt>
+        <dd>
+          {{#if this.purpose}}
+          <div>Purpose: {{this.purpose}}</div>
+          {{/if}}
+          <div>Test input: <a href="tests/{{this.input}}">{{this.input}}</a></div>
+          {{#if this.context}}
+          <div>Context: <a href="tests/{{this.context}}">{{this.context}}</a></div>
+          {{/if}}
+          {{#if this.frame}}
+          <div>Frame: <a href="tests/{{this.frame}}">{{this.frame}}</a></div>
+          {{/if}}
+          <div>Expected output: <a href="tests/{{this.input}}">{{this.input}}</a></div>
+        </dd>
+        {{/each}}
+      </dl>
+    </section>
+  </script>
+  <script>
+    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+    ga('create', 'UA-42886053-1', 'json-ld.org');
+    ga('send', 'pageview');
+  </script>
+  <style>
+    li code {display: inline;}
+  </style>
+</head>
+<body>
+  <div class="navbar navbar-static-top">
+    <div class="navbar-inner">
+      <div class="row-fluid">
+        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+          <span class="icon-bar"></span>
+          <span class="icon-bar"></span>
+          <span class="icon-bar"></span>
+        </a>
+        <a class="brand active" href="../"><img src="../images/json-ld-data-24.png" alt="JSON-LD logo"> JSON-LD</a>
+        <div class="nav-collapse">
+        <ul class="nav">
+          <li>
+            <a href="../playground/index.html"><span class="icon-beer"></span> Playground</a>
+          </li>
+          <li>
+            <a href="../learn.html"><span class="icon-book"></span> Documentation</a>
+          </li>
+          <!-- <li><a href="#"><span class="icon-beaker"></span> Developers</a></li> -->
+          <li class="dropdown">
+            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
+              <span class="icon-folder-open"></span> Specifications <b class="caret"></b>
+            </a>
+            <ul class="dropdown-menu">
+              <li class="nav-header"><strong>Latest</strong></li>
+              <li><a href="../spec/latest/json-ld/">Syntax</a></li>
+              <li><a href="../spec/latest/json-ld-api/">API</a></li>
+              <li><a href="../spec/latest/json-ld-framing/">Framing</a></li>
+              <li><a href="../spec/latest/rdf-graph-normalization/">Normalization</a></li>
+              <li class="divider"></li>
+              <li class="nav-header"><strong>Previous Drafts</strong></li>
+              <li><a href="../spec#syntax">Syntax</a></li>
+              <li><a href="../spec#api">API</a></li>
+              <li><a href="../spec#framing">Framing</a></li>
+              <li><a href="../spec#normalization">Normalization</a></li>
+            </ul>
+          </li>
+          <li><a href="../images/index.html"><span class="icon-picture"></span> Branding</a></li>
+          </ul>
+        </div>
+        <!--/.nav-collapse -->
+      </div>
+    </div>
+  </div>
+
+  <div class="hero-unit">
+    <h1>JSON-LD Test Suite Vocabulary</h1>
+    <p>TODO: this should describe the test-suite vocabulary in HTML+RDFa</p>
+  </div>
+
+<!-- Script tags -->
+<script type="text/javascript" src="../static/js/bootstrap/bootstrap.js"></script>
+</body>
+</html>