routes.html 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <!doctype html>
  2. <html class="no-js" lang="">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="x-ua-compatible" content="ie=edge">
  6. <title>time1 documentation</title>
  7. <meta name="description" content="">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="icon" type="image/x-icon" href="./images/favicon.ico">
  10. <link rel="stylesheet" href="./styles/style.css">
  11. <link rel="stylesheet" href="./styles/dark.css">
  12. </head>
  13. <body>
  14. <script>
  15. // Blocking script to avoid flickering dark mode
  16. // Dark mode toggle button
  17. var useDark = window.matchMedia('(prefers-color-scheme: dark)');
  18. var darkModeState = useDark.matches;
  19. var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
  20. var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
  21. var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
  22. function checkToggle(check) {
  23. for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
  24. $darkModeToggleSwitchers[i].checked = check;
  25. }
  26. }
  27. function toggleDarkMode(state) {
  28. if (window.localStorage) {
  29. localStorage.setItem('compodoc_darkmode-state', state);
  30. }
  31. checkToggle(state);
  32. const hasClass = document.body.classList.contains('dark');
  33. if (state) {
  34. for (var i = 0; i < $darkModeToggles.length; i++) {
  35. $darkModeToggles[i].classList.add('dark');
  36. }
  37. if (!hasClass) {
  38. document.body.classList.add('dark');
  39. }
  40. } else {
  41. for (var i = 0; i < $darkModeToggles.length; i++) {
  42. $darkModeToggles[i].classList.remove('dark');
  43. }
  44. if (hasClass) {
  45. document.body.classList.remove('dark');
  46. }
  47. }
  48. }
  49. useDark.addEventListener('change', function (evt) {
  50. toggleDarkMode(evt.matches);
  51. });
  52. if (darkModeStateLocal) {
  53. darkModeState = darkModeStateLocal === 'true';
  54. }
  55. toggleDarkMode(darkModeState);
  56. </script>
  57. <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
  58. <div class="d-flex">
  59. <a href="./" class="navbar-brand">time1 documentation</a>
  60. <button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
  61. </div>
  62. </div>
  63. <div class="xs-menu menu" id="mobile-menu">
  64. <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
  65. </div>
  66. <div class="container-fluid main">
  67. <div class="row main">
  68. <div class="d-none d-md-block menu">
  69. <compodoc-menu mode="normal"></compodoc-menu>
  70. </div>
  71. <!-- START CONTENT -->
  72. <div class="content routes">
  73. <div class="content-data">
  74. <ol class="breadcrumb">
  75. <li class="breadcrumb-item">Routes</li>
  76. </ol>
  77. <div id="body-routes"></div>
  78. <script src="./js/libs/d3.v3.min.js"></script>
  79. <script src="./js/libs/innersvg.js"></script>
  80. <script src="./js/routes/routes_index.js"></script>
  81. <script src="./js/routes.js"></script>
  82. </div><div class="search-results">
  83. <div class="has-results">
  84. <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
  85. <ul class="search-results-list"></ul>
  86. </div>
  87. <div class="no-results">
  88. <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
  89. </div>
  90. </div>
  91. </div>
  92. <!-- END CONTENT -->
  93. </div>
  94. </div>
  95. <label class="dark-mode-switch">
  96. <input type="checkbox">
  97. <span class="slider">
  98. <svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
  99. <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
  100. </svg>
  101. </span>
  102. </label>
  103. <script>
  104. var COMPODOC_CURRENT_PAGE_DEPTH = 0;
  105. var COMPODOC_CURRENT_PAGE_CONTEXT = 'routes';
  106. var COMPODOC_CURRENT_PAGE_URL = 'routes.html';
  107. var MAX_SEARCH_RESULTS = 15;
  108. </script>
  109. <script>
  110. $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
  111. checkToggle(darkModeState);
  112. if ($darkModeToggleSwitchers.length > 0) {
  113. for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
  114. $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
  115. darkModeState = !darkModeState;
  116. toggleDarkMode(darkModeState);
  117. });
  118. }
  119. }
  120. </script>
  121. <script src="./js/libs/custom-elements.min.js"></script>
  122. <script src="./js/libs/lit-html.js"></script>
  123. <script src="./js/menu-wc.js" defer></script>
  124. <script nomodule src="./js/menu-wc_es5.js" defer></script>
  125. <script src="./js/libs/bootstrap-native.js"></script>
  126. <script src="./js/libs/es6-shim.min.js"></script>
  127. <script src="./js/libs/EventDispatcher.js"></script>
  128. <script src="./js/libs/promise.min.js"></script>
  129. <script src="./js/libs/zepto.min.js"></script>
  130. <script src="./js/compodoc.js"></script>
  131. <script src="./js/tabs.js"></script>
  132. <script src="./js/menu.js"></script>
  133. <script src="./js/libs/clipboard.min.js"></script>
  134. <script src="./js/libs/prism.js"></script>
  135. <script src="./js/sourceCode.js"></script>
  136. <script src="./js/search/search.js"></script>
  137. <script src="./js/search/lunr.min.js"></script>
  138. <script src="./js/search/search-lunr.js"></script>
  139. <script src="./js/search/search_index.js"></script>
  140. <script src="./js/lazy-load-graphs.js"></script>
  141. </body>
  142. </html>