index.html 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Femtocrank</title>
  5. <meta charset = "UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <link rel = "shortcut icon" href = "tests/logo.png" type = "image/png" />
  8. <link rel = "stylesheet" type = "text/css" href = "style.css" />
  9. <link rel = "stylesheet" type = "text/css" href = "dark.css" />
  10. </head>
  11. <body>
  12. <header class = "show">
  13. <div class = "logo-and-title">
  14. <img src = "tests/logo.png" alt = "SimpleApp Logo" class = "logo">
  15. <h1 class = "show">FemtoCrank</h1>
  16. </div>
  17. <nav class = "fg1">
  18. <ul role = "menubar">
  19. <li><a href = "index.html" class = "active">Demo page</a></li>
  20. <li><a href = "tests/simple.html">Simple app</a></li>
  21. <li><a href = "tests/sidebar-app.html">Sidebar app</a></li>
  22. <li><a href = "tests/login.html">Login</a></li>
  23. <li>
  24. <span><a href="#">Dropdown</a></span>
  25. <div>
  26. <ul>
  27. <li><a href = "#">foo</a></li>
  28. <li><a href = "#">bar</a></li>
  29. </ul>
  30. </div>
  31. </li>
  32. </ul>
  33. </nav>
  34. </header>
  35. <main class = "grid gc-xl">
  36. <section class = "with-header-and-content">
  37. <div class = "section-header">
  38. <h2>Introduction</h2>
  39. </div>
  40. <div class = "section-content padding">
  41. <p>This is a very simple theme of James Read's personal preferences, which tries to be bright and simple.</p>
  42. <p>The examples below show the color choices in context.</p>
  43. <div class = "annotation">
  44. <div class = "annotation-key">
  45. fyi
  46. </div>
  47. <div class = "annotation-val">
  48. This is an annotation.
  49. </div>
  50. </div>
  51. </div>
  52. </section>
  53. <section class = "with-header-and-content">
  54. <div class = "section-header">
  55. <h2>Content</h2>
  56. </div>
  57. <div class = "section-content padding">
  58. <p>
  59. This is content. <a href = "foo.html">This is an internal link</a>. <a href = "https://google.com">This is an external link</a>.
  60. </p>
  61. </div>
  62. <div class = "section-subheader">
  63. <h3>Subsection</h3>
  64. </div>
  65. <div class = "section-content padding">
  66. <p>This is a subsection.</p>
  67. <p>It has some more content.</p>
  68. </section>
  69. <section>
  70. <h2>Properties</h2>
  71. <dl>
  72. <dt>Name</dt>
  73. <dd>Alice</dd>
  74. <dt>Age</dt>
  75. <dd>30</dd>
  76. <dt>Location</dt>
  77. <dd>London</dd>
  78. <dt>Occupation</dt>
  79. <dd>Software Engineer</dd>
  80. </dl>
  81. </section>
  82. <section>
  83. <h2>Code</h2>
  84. <pre class = "show">
  85. This is code.
  86. function foo() {
  87. console.log("bar");
  88. }
  89. </pre>
  90. </section>
  91. <section>
  92. <h2>Inline Notifications</h2>
  93. <p class = "info show inline-notification">
  94. <strong>INFO:</strong> This is an info message.
  95. </p>
  96. <p class = "note show inline-notification">
  97. <strong>NOTE:</strong>
  98. This is a note.
  99. </p>
  100. <p class = "success show inline-notification">
  101. <strong>SUCCESS:</strong>
  102. This is a success message.
  103. </p>
  104. <p class = "important show inline-notification">
  105. <strong>IMPORTANT:</strong>
  106. This is an important message.
  107. </p>
  108. <p class = "warning show inline-notification">
  109. <strong>WARNING:</strong>
  110. This is a warning message.
  111. </p>
  112. <p class = "severe show inline-notification">
  113. <strong>SEVERE:</strong>
  114. This is a severe message.
  115. </p>
  116. <p class = "critical show inline-notification">
  117. <strong>CRITICAL: </strong> This is a critical message.
  118. </p>
  119. </section>
  120. <section>
  121. <h2>Forms</h2>
  122. <p>This is a form.</p>
  123. <form>
  124. <label for = "name">Name</label>
  125. <input type = "text" id = "name" name = "name" />
  126. <span class = "fake-label">Role</span>
  127. <div class = "radio-group">
  128. <label>
  129. <input type = "radio" name = "role" value = "sales" />
  130. <span>Sales</span>
  131. </label>
  132. <label>
  133. <input type = "radio" name = "role" value = "engineerig" />
  134. <span>Engineering</span>
  135. </label>
  136. <label>
  137. <input type = "radio" name = "role" value = "hr" />
  138. <span>HR</span>
  139. </label>
  140. </div>
  141. <label for = "salary">Salary</label>
  142. <select id = "salary" name = "salary">
  143. <option value = "0">Select a salary</option>
  144. <option value = "10000">£10,000</option>
  145. <option value = "20000">£20,000</option>
  146. <option value = "30000">£30,000</option>
  147. <option value = "40000">£40,000</option>
  148. <option value = "50000">£50,000</option>
  149. </select>
  150. <fieldset>
  151. <button type = "submit">Submit</button>
  152. <button type = "cancel">Cancel</button>
  153. <button type = "reset">Reset</button>
  154. <button type = "submit" disabled>Disabled</button>
  155. </fieldset>
  156. </form>
  157. <p>
  158. <strong>Note:</strong> A more complete example can be found in the <a href = "tests/simple.html">SimpleApp</a> demo.
  159. </p>
  160. </section>
  161. <section>
  162. <h2>Stats</h2>
  163. <p>Stats updated in the last decade.</p>
  164. <div class = "grid-boxed">
  165. <div class = "stat-display">
  166. <span class = "subtle">Hits</span>
  167. <span class = "stat">1,000</span>
  168. </div>
  169. <div class = "stat-display">
  170. <span class = "subtle">Unique visitors</span>
  171. <span class = "stat">137</span>
  172. </div>
  173. <div class = "stat-display">
  174. <span class = "subtle">Conversions</span>
  175. <span class = "stat">1.5%</span>
  176. </div>
  177. </div>
  178. </section>
  179. <section>
  180. <h2>Menus</h2>
  181. <p>This section shows menus.</p>
  182. <ul role = "menubar">
  183. <li>
  184. <span class = "submenu"><a href="#">Menu 1</a></span>
  185. <div>
  186. <ul>
  187. <li><a href = "#">One</a></li>
  188. <li><a href = "#">Two</a></li>
  189. <li><a href = "#">Three</a></li>
  190. </ul>
  191. </div>
  192. </li>
  193. <li>
  194. <span class = "submenu"><a href="#">Menu 2</a></span>
  195. <div>
  196. <ul>
  197. <li><a href = "#">One</a></li>
  198. <li><a href = "#">Two</a></li>
  199. <li><a href = "#">Three</a></li>
  200. </ul>
  201. </div>
  202. </li>
  203. </ul>
  204. </section>
  205. <section>
  206. <h2>Table</h2>
  207. <p>This section shows tables.</p>
  208. <table class = "row-hover">
  209. <thead>
  210. <th>ID</th>
  211. <th>Forename</th>
  212. <th>Surname</th>
  213. </thead>
  214. <tbody>
  215. <tr>
  216. <td>1</td>
  217. <td>Bob</td>
  218. <td>Smith</td>
  219. </tr>
  220. </tbody>
  221. </table>
  222. </section>
  223. </main>
  224. <footer>
  225. <span>This is the footer.</span>
  226. </footer>
  227. <script src = "annotate.js"></script>
  228. </body>
  229. </html>