Fix some invalid html markup and some inconsistencies

This commit is contained in:
Maximilian Krög
2022-08-21 01:10:52 +02:00
parent c5f8629f65
commit 559712f728
14 changed files with 44 additions and 39 deletions

View File

@@ -4,7 +4,7 @@ var version = obj.packageInfo.version;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta charset="UTF-8">
<title>OpenLayers v<?js= version ?> API - <?js= title ?></title>
<script src="scripts/prettify/prettify.js"></script>
<script src="scripts/prettify/lang-css.js"></script>

View File

@@ -4,16 +4,16 @@ title: Geolocation Tracking with Orientation
shortdesc: Example of a geolocated and oriented map.
tags: "fullscreen, geolocation, orientation, mobile"
---
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="./theme/ol.css" type="text/css">
<link rel="stylesheet" href="./theme/site.css" type="text/css">
<title>Mobile Geolocation Tracking with Orientation</title>
<style type="text/css">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./theme/ol.css">
<link rel="stylesheet" type="text/css" href="./theme/site.css">
<style>
html, body, .map {
margin: 0;
padding: 0;
@@ -34,7 +34,6 @@ tags: "fullscreen, geolocation, orientation, mobile"
left: 10px;
}
</style>
<script src="https://unpkg.com/elm-pep@1.0.6/dist/elm-pep.js"></script>
</head>
<body>
<div id="map" class="map"></div>
@@ -44,7 +43,8 @@ tags: "fullscreen, geolocation, orientation, mobile"
<button id="geolocate">Geolocate Me!</button>
<button id="simulate">Simulate</button>
</div>
<script src="common.js"></script>
<script src="https://unpkg.com/elm-pep@1.0.6/dist/elm-pep.js"></script>
<script src="geolocation-orientation.js"></script>
<script src="common.js"></script>
</body>
</html>

View File

@@ -20,5 +20,5 @@ tags: "hitTolerance"
<option value="10">10 Pixels</option>
</select>
&nbsp; Area: &nbsp;
<canvas id="circle" style="vertical-align: middle" />
<canvas id="circle" style="vertical-align: middle"></canvas>
</form>

View File

@@ -1,8 +1,9 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<title>OpenLayers Examples</title>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/fontawesome.min.css" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/solid.css" crossorigin="anonymous">
@@ -39,8 +40,6 @@
background-color: #f8f9fa !important;
}
</style>
<title>OpenLayers Examples</title>
</head>
<body>

View File

@@ -7,14 +7,14 @@ cloak:
- key: AlEoTLTlzFB6Uf4Sy-ugXcRO21skQO7K8eObA5_L-8d20rjqZJLs2nkO1RMjGSPN
value: Your Bing Maps Key from https://www.bingmapsportal.com/ here
---
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<title>Mobile full screen example</title>
<link rel="stylesheet" href="../theme/ol.css" type="text/css">
<style type="text/css">
<link rel="stylesheet" type="text/css" href="../theme/ol.css">
<style>
html, body, .map {
margin: 0;
padding: 0;

View File

@@ -1,7 +1,8 @@
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../theme/ol.css" type="text/css">
<meta charset="UTF-8">
<title>Map</title>
<link rel="stylesheet" type="text/css" href="../theme/ol.css">
<style>
body {
margin: 0;

View File

@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<title>{{ title }}</title>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/fontawesome.min.css" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/solid.css" crossorigin="anonymous">
@@ -10,11 +11,10 @@
<link rel="stylesheet" type="text/css" href="/theme/ol.css">
<link rel="stylesheet" type="text/css" href="/theme/site.css">
{{#each css.local}}
<link rel="stylesheet" href="{{{ . }}}" type="text/css">
<link rel="stylesheet" type="text/css" href="{{{ . }}}">
{{/each}}
<link rel="icon" type="image/svg+xml" href="/theme/img/logo-light.svg" media="(prefers-color-scheme: light)" />
<link rel="icon" type="image/svg+xml" href="/theme/img/logo-dark.svg" media="(prefers-color-scheme: dark)" />
<title>{{ title }}</title>
</head>
<body>
<header class="navbar navbar-expand-md navbar-dark mb-3 py-0 fixed-top" role="navigation">

View File

@@ -41,6 +41,7 @@ Open the `index.html` file in a text editor. It should look something like this
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quick Start</title>
</head>
<body>
<div id="map"></div>

View File

@@ -3,7 +3,7 @@ title: Welcome
layout: default.hbs
uncontained: true
head:
- <link rel="stylesheet" href="./theme/index.css" type="text/css">
- <link rel="stylesheet" type="text/css" href="./theme/index.css">
---
<div id='map'></div>
<div class='container'>

View File

@@ -1,7 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<link rel="stylesheet" href="/ol/ol.css" type="text/css">
<meta charset="UTF-8">
<title>linestring-style-css-filter</title>
<link rel="stylesheet" type="text/css" href="/ol/ol.css">
<style>
html, body {
margin: 0;
@@ -25,5 +27,4 @@
<div id="map"></div>
<script src="main.js"></script>
</body>
</script>
</html>

View File

@@ -1,6 +1,8 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>map-text-align</title>
<style>
html, body {
margin: 0;
@@ -22,5 +24,4 @@
<div id="map"></div>
<script src="main.js"></script>
</body>
</script>
</html>

View File

@@ -1,6 +1,8 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>render-context</title>
<style>
html, body {
margin: 0;
@@ -14,5 +16,4 @@
<canvas id="canvas"></canvas>
<script src="main.js"></script>
</body>
</script>
</html>

View File

@@ -1,7 +1,9 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<link rel="stylesheet" href="/ol/ol.css" type="text/css">
<meta charset="UTF-8">
<title>default</title>
<link rel="stylesheet" type="text/css" href="/ol/ol.css">
<style>
html, body {
margin: 0;
@@ -36,5 +38,4 @@
<div id="map"></div>
<script src="main.js"></script>
</body>
</script>
</html>