index.html 5.3 KB

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