exampleparser.py now produces examples/example-list.js which is used by examples/example-list.html
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7111 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>OpenLayers Examples</title>
|
<title>OpenLayers Examples</title>
|
||||||
<link rel="stylesheet" href="../examples/style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
html, body {
|
html, body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -59,8 +59,8 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script type="text/javascript" src="./Jugl.js"></script>
|
<script type="text/javascript" src="Jugl.js"></script>
|
||||||
<script type="text/javascript" src="examples2.js"></script>
|
<script type="text/javascript" src="example-list.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// import
|
// import
|
||||||
var Jugl = window["http://jugl.tschaub.net/trunk/lib/Jugl.js"];
|
var Jugl = window["http://jugl.tschaub.net/trunk/lib/Jugl.js"];
|
||||||
@@ -157,8 +157,8 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="toc">
|
<div id="toc">
|
||||||
<p id="instructions">
|
<p id="instructions">
|
||||||
<label for="keywords">Filter by keywords</label>
|
<label for="keywords">Filter by keywords</label><br />
|
||||||
<input type="text" id="keywords" /><br />
|
<input type="text" id="keywords" />
|
||||||
<span id="count"></span>
|
<span id="count"></span>
|
||||||
<a href="javascript:void showAll();">show all</a>
|
<a href="javascript:void showAll();">show all</a>
|
||||||
</p>
|
</p>
|
||||||
@@ -116,7 +116,7 @@ if __name__ == "__main__":
|
|||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
outFile = open(sys.argv[1],'w')
|
outFile = open(sys.argv[1],'w')
|
||||||
else:
|
else:
|
||||||
outFile = open('../doc/examples2.js','w')
|
outFile = open('../examples/example-list.js','w')
|
||||||
|
|
||||||
examplesLocation = '../examples'
|
examplesLocation = '../examples'
|
||||||
print 'Reading examples from %s and writing out to %s' % (examplesLocation, outFile.name)
|
print 'Reading examples from %s and writing out to %s' % (examplesLocation, outFile.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user