You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.6 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title data-i18n="dashboardPageName"></title>
  6. <style>
  7. body {
  8. margin: 0;
  9. border: 0;
  10. padding: 0;
  11. font: 15px sans-serif;
  12. position: relative;
  13. width: 100vw;
  14. height: 100vh;
  15. overflow: hidden;
  16. }
  17. #dashboard-nav {
  18. margin: 0;
  19. border: 0;
  20. padding: 0;
  21. position: absolute;
  22. top: 0;
  23. width: 100vw;
  24. height: 50px;
  25. z-index: 10;
  26. }
  27. #dashboard-nav-widgets {
  28. margin: 0;
  29. border-bottom: 1px solid #ccc;
  30. padding: 4px 0 0 0;
  31. white-space: nowrap;
  32. background-color: white;
  33. }
  34. #dashboard-nav-widgets span {
  35. padding: 0 0.5em;
  36. font-size: larger;
  37. }
  38. .tabButton {
  39. margin: 0;
  40. border: 1px solid #ccc;
  41. border-top-left-radius: 3px;
  42. border-top-right-radius: 3px;
  43. padding: 4px;
  44. display: inline-block;
  45. position: relative;
  46. top: 1px;
  47. color: black;
  48. background-color: #eee;
  49. font: inherit;
  50. cursor: pointer;
  51. text-decoration: none;
  52. }
  53. .tabButton:focus {
  54. outline: 0;
  55. }
  56. .tabButton:active,.tabButton:visited {
  57. color: inherited;
  58. }
  59. .tabButton.selected {
  60. border-bottom: 1px solid white;
  61. background-color: white;
  62. }
  63. iframe {
  64. margin: 0;
  65. border: 0;
  66. padding: 0;
  67. background-color: transparent;
  68. overflow: auto;
  69. position: absolute;
  70. top: 50px;
  71. width: 100%;
  72. height: calc(100% - 50px);
  73. }
  74. </style>
  75. <link href='css/common.css' rel='stylesheet' type='text/css'>
  76. </head>
  77. <body>
  78. <div id="dashboard-nav">
  79. <div id="dashboard-nav-widgets">
  80. <span>µMatrix</span>
  81. <a class="tabButton" id="settings" href="#settings" data-dashboard-panel-url="settings.html" data-i18n="settingsPageName"></a>
  82. <a class="tabButton" id="privacy" href="#privacy" data-dashboard-panel-url="privacy.html" data-i18n="privacyPageName"></a>
  83. <a class="tabButton" id="user-rules" href="#user-rules" data-dashboard-panel-url="user-rules.html" data-i18n="userRulesPageName"></a>
  84. <a class="tabButton" id="hosts-files" href="#hosts-files" data-dashboard-panel-url="hosts-files.html" data-i18n="ubiquitousRulesPageName"></a>
  85. <a class="tabButton" id="statistics" href="#statistics" data-dashboard-panel-url="info.html" data-i18n="statsPageName"></a>
  86. <a class="tabButton" id="about" href="#about" data-dashboard-panel-url="about.html" data-i18n="aboutPageName"></a>
  87. </div>
  88. </div>
  89. <iframe src=""></iframe>
  90. <script src="js/udom.js"></script>
  91. <script src="js/i18n.js"></script>
  92. <script src="js/dashboard.js"></script>
  93. </body>
  94. </html>