index.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>staty | OSM Station Relationships</title>
  5. <meta charset="utf-8" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <link rel="shortcut icon" type="image/x-icon" href="docs/images/favicon.ico" />
  8. <link rel="stylesheet" href="https://unpkg.com/leaflet@1.5.1/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin=""/>
  9. <script src="https://unpkg.com/leaflet@1.5.1/dist/leaflet.js" integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og==" crossorigin=""></script>
  10. <script src="leaflet-heat.js"></script>
  11. <link href="https://fonts.googleapis.com/css?family=Nunito:600&display=swap" rel="stylesheet">
  12. <style>
  13. body {
  14. padding: 0;
  15. margin: 0;
  16. font-family: sans-serif;
  17. }
  18. html, body {
  19. height: 100%;
  20. width: 100%;
  21. }
  22. #attr-tbl tr {
  23. background-color: #c0f7c0;
  24. }
  25. .stat-label {
  26. white-space: nowrap;
  27. background: transparent;
  28. }
  29. #attr-tbl .err-10 {
  30. background-color: #ff0000;
  31. }
  32. #attr-tbl .err-9 {
  33. background-color: #ff1010;
  34. }
  35. #attr-tbl .err-8 {
  36. background-color: #f92424;
  37. }
  38. #attr-tbl .err-7 {
  39. background-color: #f93838;
  40. }
  41. #attr-tbl .err-6 {
  42. background-color: #f56262;
  43. }
  44. #attr-tbl .err-5 {
  45. background-color: #f38484;
  46. }
  47. .attr-err-info {
  48. margin-top:5px;
  49. font-size: 13px;
  50. font-style: italic;
  51. }
  52. .leaflet-popup-content-wrapper {
  53. border-radius: 5px;
  54. }
  55. #attr-tbl {
  56. margin-top: 10px;
  57. }
  58. #sugg .sugtit {
  59. font-style: normal;
  60. font-weight: bold;
  61. }
  62. #sugg {
  63. margin-top: 8px;
  64. padding-top: 4px;
  65. border-top: solid 1px #AAA;
  66. color: blue;
  67. font-style: italic;
  68. }
  69. #logo {
  70. font-family: 'Nunito', sans-serif;
  71. font-size: 50px;
  72. position: absolute;
  73. z-index:1000;
  74. top: 0.3em;
  75. right: 1em;
  76. text-shadow: -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
  77. color: #fff;
  78. opacity: 0.7;
  79. }
  80. .leaflet-control-zoom {
  81. font-family: 'Nunito', sans-serif;
  82. }
  83. .leaflet-control-zoom-in,
  84. .leaflet-control-zoom-out {
  85. border-radius: 25px !important;
  86. border: 1px solid #333;
  87. opacity: 0.7;
  88. }
  89. .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
  90. border: none;
  91. background: transparent;
  92. }
  93. .leaflet-popup {left: -20px !important;}
  94. .leaflet-popup-tip-container {
  95. left: 20px;
  96. }
  97. .leaflet-popup-tip {
  98. box-shadow: none !important;
  99. }
  100. .leaflet-popup:before
  101. {
  102. content: "";
  103. position: absolute;
  104. border: 13px solid transparent;
  105. border-bottom-color: white;
  106. bottom: 0px;
  107. margin-left: -13px;
  108. }
  109. .attrval {
  110. font-weight: bold;
  111. }
  112. </style>
  113. </head>
  114. <body>
  115. <div id="logo">staty</div>
  116. <div id="map" style="width: 100%;height: 100%;"></div>
  117. <script src="script.js">
  118. </script>
  119. </body>
  120. </html>