-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
160 lines (131 loc) · 5.46 KB
/
index.html
File metadata and controls
160 lines (131 loc) · 5.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WFS & WMS testing</title>
<!--<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">-->
<!--<link href="bower_components/bootstrap/dist/css/bootstrap-theme.min.css" rel="stylesheet">-->
<!--<link rel="stylesheet" href="css/ol.css" type="text/css"/>-->
<!--<link rel="stylesheet" href="bower_components/highlightjs/styles/default.css">-->
<!--<script type="text/javascript" charset="utf-8" src="js/ol-debug.js"></script>-->
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="//openlayers.org/en/v3.1.1/css/ol.css" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="//openlayers.org/en/v3.1.1/build/ol-debug.js"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/default.min.css">
<link rel="stylesheet" href="css/style.css" type="text/css"/>
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">HitGS</a>
</div>
<p class="navbar-text">GeoServer WFS & WMS caller</p>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col-sm-5">
<form>
<div class="form-group">
<label for="txtServer">Server:</label>
<input type="text" id="txtServer" class="form-control"/>
</div>
<div class="form-group">
<label for="txtLayerName">Layer:</label>
<input type="text" id="txtLayerName" class="form-control"/>
<span id="lblErrorLayerName" class="error"></span>
</div>
<div class="form-group">
<label for="ddlRequestType">Request Type:</label>
<select name="ddlRequestType" id="ddlRequestType" class="form-control">
<option value="WMS">WMS</option>
<option value="WFS">WFS</option>
</select>
</div>
<div class="form-group" id="wfsgroupOperation">
<label>Operation:</label>
<div class="form-control">
<label class="radio-inline">
<input type="radio" name="request" value="GetCapabilities" checked="checked"/> GetCapabilities
</label>
<label class="radio-inline">
<input type="radio" name="request" value="GetFeature"/> GetFeature
</label>
<label class="radio-inline">
<input type="radio" name="request" value="GetFeatureInfo"/> GetFeatureInfo
</label>
</div>
</div>
<div class="form-group">
<label for="txtCQL">CQL:</label>
<textarea name="txtCQL" id="txtCQL" rows="2" class="form-control"></textarea>
</div>
<div class="form-group">
<label for="txtViewParams">ViewParams:</label>
<textarea name="txtViewParams" id="txtViewParams" rows="2" class="form-control"></textarea>
</div>
<div class="form-group" id="wfsgroupOutputFormat">
<label for="ddlOutputFormat">Output Format:</label>
<select name="ddlOutputFormat" id="ddlOutputFormat" class="form-control">
<option value="json">JSON</option>
<option value="xml">XML</option>
</select>
</div>
<div class="form-group" id="wfsgroupMaxFeatures">
<label for="txtMaxFeatures">Maximum features:</label>
<input type="text" id="txtMaxFeatures" class="form-control" value="10"/>
</div>
<div class="form-group" id="wfsgroupResultType">
<label for="cbResultTypeHits">Result Type:</label>
<div class="form-control">
<label class="checkbox-inline">
<input type="checkbox" id="cbResultTypeHits"/> Hits
</label>
</div>
</div>
<div class="form-group">
<label for="txtRequest"></label>
<button type="button" id="btnSubmit" class="form-control btn btn-primary has-spinner">
<span class="glyphicon glyphicon-refresh spinner" aria-hidden="true"></span>
Submit to Server
</button>
</div>
</form>
</div>
<div class="col-sm-7">
<form>
<div class="form-group">
<label for="txtRequest">Request URL:</label>
<input type="text" id="txtRequest" class="form-control"/>
</div>
<div class="form-group" id="wfsgroupResult">
<label for="txtResult">Result:</label>
<div id="txtResult" class="form-control"></div>
<!--<textarea name="txtResult" class="form-control" id="txtResult" cols="60" rows="10"></textarea>-->
</div>
<div class="form-group">
<label for="map">Openlayers:</label>
<div id="map" class="form-control"></div>
</div>
</form>
</div>
</div>
<!--<script src="bower_components/jquery/jquery.min.js"></script>-->
<!--<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>-->
<!--<script src="bower_components/highlightjs/highlight.pack.js"></script>-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script type="text/javascript" src="js/core.js"></script>
</body>
</html>