Browse Source

Adding a page to copy and paste all icons.

Dave Gandy 9 years ago
parent
commit
b38d6e46c7
1 changed files with 46 additions and 0 deletions
  1. 46 0
      src/test/all.html

+ 46 - 0
src/test/all.html

@@ -0,0 +1,46 @@
+---
+relative_path: ../../
+---
+
+<!DOCTYPE html>
+<html>
+  <head>
+    <link rel="stylesheet" href="{{ page.relative_path }}assets/css/site.css">
+    <link rel="stylesheet" href="{{ page.relative_path }}assets/font-awesome/css/font-awesome.css">
+    <script src="https://use.fonticons.com/ffe176a3.js"></script>
+  </head>
+
+  <body>
+    <div class="container">
+      <div>
+        <h1>All</h1>
+        {% for icon in icons %}
+        <i class="fa">&#x{{ icon.unicode }}</i>
+        {% endfor %}
+      </div>
+
+      <div>
+        <h1>Non-Brand</h1>
+
+        {% for icon in icons %}
+          {% unless icon.categories contains "Brand Icons" %}
+            <i class="fa">&#x{{ icon.unicode }}</i>
+          {% endunless %}
+        {% endfor %}
+      </div>
+
+      <div>
+        <h1>Brand</h1>
+
+        {% for icon in icons %}
+          {% if icon.categories contains "Brand Icons" %}
+          <i class="fa">&#x{{ icon.unicode }}</i>
+          {% endif %}
+        {% endfor %}
+      </div>
+
+
+    </div>
+  </body>
+
+</html>