index.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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, .oldmemberstit, .newmemberstit {
  59. font-style: normal;
  60. font-weight: bold;
  61. }
  62. #group-stations-new, #group-stations-old {
  63. margin-top: 8px;
  64. padding-top: 4px;
  65. border-top: solid 1px #AAA;
  66. }
  67. #group-stations-new div {
  68. background-color: #0000ff36;
  69. border-left: solid 4px #0000ff;
  70. padding: 2px;
  71. margin: 2px;
  72. padding-left: 5px;
  73. }
  74. #group-stations-old div {
  75. background-color: #00ff0036;
  76. border-left: solid 4px #00ff00;
  77. padding: 2px;
  78. margin: 2px;
  79. padding-left: 5px;
  80. }
  81. #sugg {
  82. margin-top: 8px;
  83. padding-top: 4px;
  84. border-top: solid 1px #AAA;
  85. color: blue;
  86. font-style: italic;
  87. }
  88. #logo {
  89. font-family: 'Nunito', sans-serif;
  90. font-size: 50px;
  91. position: absolute;
  92. z-index:1000;
  93. top: 0.3em;
  94. right: 1em;
  95. text-shadow: -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
  96. color: #fff;
  97. opacity: 0.7;
  98. }
  99. .leaflet-control-zoom {
  100. font-family: 'Nunito', sans-serif;
  101. }
  102. .leaflet-control-zoom-in,
  103. .leaflet-control-zoom-out {
  104. border-radius: 25px !important;
  105. border: 1px solid #333;
  106. opacity: 0.7;
  107. }
  108. .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
  109. border: none;
  110. background: transparent;
  111. }
  112. .leaflet-popup {left: -20px !important;}
  113. .leaflet-popup-tip-container {
  114. left: 20px;
  115. }
  116. .leaflet-popup-tip {
  117. box-shadow: none !important;
  118. }
  119. .leaflet-popup:before
  120. {
  121. content: "";
  122. position: absolute;
  123. border: 13px solid transparent;
  124. border-bottom-color: white;
  125. bottom: 0px;
  126. margin-left: -13px;
  127. }
  128. .attrval {
  129. font-weight: bold;
  130. }
  131. .grouplink {
  132. cursor: pointer;
  133. text-decoration: underline
  134. }
  135. </style>
  136. </head>
  137. <body>
  138. <div id="logo">staty</div>
  139. <div id="map" style="width: 100%;height: 100%;"></div>
  140. <script src="script.js">
  141. </script>
  142. </body>
  143. </html>