index.html 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>SUI</title>
  5. <meta charset="utf-8">
  6. <meta http-equiv="Default-Style" content="">
  7. <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
  8. <link type="text/css" rel="stylesheet" href="./assets/css/styles.css" media="screen,projection"/>
  9. <link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700,900" rel="stylesheet">
  10. <script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.1/handlebars.min.js"></script>
  11. <script src="https://code.iconify.design/1/1.0.0-rc7/iconify.min.js"></script>
  12. </head>
  13. <body onload="loadFunctions()">
  14. <section id="modal">
  15. <div>
  16. <header id="modal-header">
  17. <h1>Options</h1>
  18. <a href="#" title="Close" class="modal-close">
  19. <span class="iconify" data-icon="mdi-close"></span>
  20. </a>
  21. </header>
  22. <h2>Color themes</h2>
  23. <div id="modal-theme">
  24. <button data-theme="blackboard" class="theme-button theme-blackboard">Blackboard</button>
  25. <button data-theme="gazette" class="theme-button theme-gazette">Gazette</button>
  26. <button data-theme="espresso" class="theme-button theme-espresso">Espresso</button>
  27. <button data-theme="cab" class="theme-button theme-cab">Cab</button>
  28. <button data-theme="cloud" class="theme-button theme-cloud">Cloud</button>
  29. <button data-theme="lime" class="theme-button theme-lime">Lime</button>
  30. <button data-theme="passion" class="theme-button theme-passion">Passion</button>
  31. <button data-theme="blues" class="theme-button theme-blues">Blues</button>
  32. <button data-theme="chalk" class="theme-button theme-chalk">Chalk</button>
  33. <button data-theme="tron" class="theme-button theme-tron">Tron</button>
  34. <button data-theme="paper" class="theme-button theme-paper">Paper</button>
  35. </div>
  36. <h2>Search options</h2>
  37. <section id="providers">
  38. <script type="text/handlebars-template" id="providers-template">
  39. <table>
  40. <tr>
  41. <th>Website</th>
  42. <th>Prefix</th>
  43. </tr>
  44. {{#providers}}
  45. <tr>
  46. <td><a href="{{url}}">{{name}}</a></td>
  47. <td>{{prefix}}</td>
  48. </tr>
  49. {{/providers}}
  50. </table>
  51. </script>
  52. </section>
  53. <header id="modal-footer">
  54. <a href="https://github.com/jeroenpardon/"><span class="iconify" data-icon="mdi-github-box"></span></a>
  55. <a href="https://materialdesignicons.com/"><span class="iconify" data-icon="mdi-material-design"></a></span>
  56. </header>
  57. </div>
  58. </section>
  59. <main id="container" class="fade">
  60. <section id="search">
  61. <input name="keywords" type="text" id="keywords" size="50" spellcheck="false" autofocus="true" onkeydown="handleKeyPress(event)">
  62. </section>
  63. <section id="header">
  64. <h2 id="header_date"></h2>
  65. <h1 id="header_greet"></h1>
  66. </section>
  67. <section id="apps">
  68. <script type="text/handlebars-template" id="apps-template">
  69. <h3>Applications</h3>
  70. <div id="apps_loop">
  71. {{#apps}}
  72. <div class="apps_item">
  73. <div class="apps_icon">
  74. <span class="iconify icon" data-icon="mdi-{{icon}}"></span>
  75. </div>
  76. <div class="apps_text">
  77. <a href="https://{{url}}">{{name}}</a>
  78. <span id="app-address">{{url}}</span>
  79. </div>
  80. </div>
  81. {{/apps}}
  82. </div>
  83. </script>
  84. </section>
  85. <section id="links">
  86. <script type="text/handlebars-template" id="links-template">
  87. <h3>Bookmarks</h3>
  88. <div id="links_loop">
  89. {{#bookmarks}}
  90. <div id="links_item">
  91. <h4>{{category}}</h4>
  92. {{#links}}
  93. <a href="{{url}}" class="theme_color-border theme_text-select">{{name}}</a>
  94. {{/links}}
  95. </div>
  96. {{/bookmarks}}
  97. </div>
  98. </script>
  99. </section>
  100. </main>
  101. <div id="modal_init">
  102. <a class="btn" href="#modal">
  103. <span class="iconify icon" data-icon="mdi-xbox-controller-menu"></span>
  104. </a>
  105. </div>
  106. <script src="./assets/js/data.js" type="text/javascript"></script>
  107. <script src="./assets/js/script.js" type="text/javascript"></script>
  108. <script src="./assets/js/themer.js" type="text/javascript"></script>
  109. <script src="./assets/js/search.js" type="text/javascript"></script>
  110. </body>
  111. </html>