92 lines
3.6 KiB
HTML
92 lines
3.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
|
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
|
|
<link rel="stylesheet" href="../css/ol.css" type="text/css">
|
|
<link rel="stylesheet" href="../resources/bootstrap/css/bootstrap.min.css" type="text/css">
|
|
<link rel="stylesheet" href="../resources/layout.css" type="text/css">
|
|
<link rel="stylesheet" href="../resources/bootstrap/css/bootstrap-responsive.min.css" type="text/css">
|
|
{{{ resources }}}
|
|
{{{ css_resource }}}
|
|
<link rel="stylesheet" href="../resources/prism/prism.css" type="text/css">
|
|
<script src="../resources/zeroclipboard/ZeroClipboard.min.js"></script>
|
|
<title>{{ title }}</title>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
|
<div class="navbar-inner">
|
|
<div class="container">
|
|
<a class="brand" href="./"><img src="../resources/logo.png"> OpenLayers 3 Examples</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container-fluid">
|
|
|
|
{{{ contents }}}
|
|
|
|
<div class="row-fluid">
|
|
|
|
<div class="span12">
|
|
<h4 id="title">{{ title }}</h4>
|
|
<p id="shortdesc">{{ shortdesc }}</p>
|
|
<div id="docs">
|
|
{{{ docs }}}
|
|
</div>
|
|
<div id="tags">{{ tags }}</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid">
|
|
<hr>
|
|
<form method="POST" target="_blank" action="http://jsfiddle.net/api/post/jquery/1.11.0/">
|
|
<input type="button" class="btn btn-info" id="copy-button" value="Copy example code">
|
|
<input type="submit" class="btn btn-primary" id="jsfiddle-button" value="Create JSFiddle">
|
|
<textarea class="hidden" name="js">{{ js_inline }}</textarea>
|
|
<textarea class="hidden" name="css">{{ css_inline }}</textarea>
|
|
<textarea class="hidden" name="html">{{ contents }}</textarea>
|
|
<input type="hidden" name="wrap" value="l">
|
|
<input type="hidden" name="resources" value="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css,https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js,https://cdnjs.cloudflare.com/ajax/libs/ol3/{{ ol_version }}/ol.css,https://cdnjs.cloudflare.com/ajax/libs/ol3/{{ ol_version }}/ol.js">
|
|
<pre><code id="example-source" class="language-markup"><!-- DOCTYPE html -->
|
|
<html>
|
|
<head>
|
|
<title>{{ title }}</title>
|
|
<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/{{ ol_version }}/ol.css" type="text/css">
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/ol3/{{ ol_version }}/ol.js"></script>
|
|
{{ resources }}
|
|
{{#if css_inline}}
|
|
<style>
|
|
{{ css_inline }}
|
|
</style>
|
|
{{/if}}
|
|
</head>
|
|
<body>
|
|
<div class="container-fluid">
|
|
|
|
{{ contents }}
|
|
</div>
|
|
<script>
|
|
{{ js_inline }}
|
|
</script>
|
|
</body>
|
|
</html></code></pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="../resources/jquery.min.js"></script>
|
|
<script src="../resources/bootstrap/js/bootstrap.min.js"></script>
|
|
<script src="../resources/example-behaviour.js"></script>
|
|
<script src="../resources/prism/prism.min.js"></script>
|
|
{{{ js_resource }}}
|
|
|
|
</body>
|
|
</html>
|