Version 1
[yaffs-website] / node_modules / videojs-font / templates / html.hbs
diff --git a/node_modules/videojs-font/templates/html.hbs b/node_modules/videojs-font/templates/html.hbs
new file mode 100644 (file)
index 0000000..389a79f
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+       <meta charset="UTF-8">
+       <title>{{fontName}}</title>
+       <link href="css/videojs-icons.css" rel="stylesheet">
+
+  <style>
+    body {
+      text-align: center;
+    }
+
+    header {
+      /*text-align: center;*/
+    }
+
+    .preview {
+      display: inline-block;
+      border: 1px solid #ccc;
+      text-align: center;
+      width: 150px;
+      margin: 10px;
+      padding: 10px;
+    }
+
+    .preview-icon {
+      width: 100%;
+      font-size: 200%;
+    }
+  </style>
+</head>
+<body>
+  <header>
+          <h1>{{fontName}} Icons</h1>
+     <p>All icons prefixed by <code>vjs-icon-</code></p>
+   </header>
+  {{#each names}}
+       <div class="preview">
+               <div class="preview-icon">
+                       <span class="vjs-icon-{{this}}"></span>
+               </div>
+               <span>{{this}}</span>
+       </div>
+       {{/each}}
+</body>
+</html>