質問編集履歴
1
タグの追加とコンパイル後のJavaScriptとHTMLのソースを追加しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -150,7 +150,139 @@
|
|
150
150
|
|
151
151
|
```
|
152
152
|
|
153
|
-
|
153
|
+
```html
|
154
|
+
|
155
|
+
<!DOCTYPE html>
|
156
|
+
|
157
|
+
<html>
|
158
|
+
|
159
|
+
<head>
|
160
|
+
|
161
|
+
<meta charset="utf-8">
|
162
|
+
|
163
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
164
|
+
|
165
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
166
|
+
|
167
|
+
<title>alq-keystone</title>
|
168
|
+
|
169
|
+
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
170
|
+
|
171
|
+
<link href="/styles/site.css" rel="stylesheet">
|
172
|
+
|
173
|
+
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.2/normalize.min.css">
|
174
|
+
|
175
|
+
</head>
|
176
|
+
|
177
|
+
<body>
|
178
|
+
|
179
|
+
<div id="header">
|
180
|
+
|
181
|
+
</div>
|
182
|
+
|
183
|
+
<div id="body" class="body clearfix">
|
184
|
+
|
185
|
+
<div class="body__container container">
|
186
|
+
|
187
|
+
<div id="react-stage" class="clearfix">
|
188
|
+
|
189
|
+
<hr>
|
190
|
+
|
191
|
+
<!--
|
192
|
+
|
193
|
+
if user && user.canAccessKeystone
|
194
|
+
|
195
|
+
p
|
196
|
+
|
197
|
+
a(href='/keystone').btn.btn-lg.btn-primary Open the Admin UI
|
198
|
+
|
199
|
+
else
|
200
|
+
|
201
|
+
p We have created a default Admin user for you with the email <strong>admin@example.com</strong> and the password <strong>admin</strong>.
|
202
|
+
|
203
|
+
p
|
204
|
+
|
205
|
+
a(href='/keystone/signin', style='margin-right: 10px').btn.btn-lg.btn-primary Sign in
|
206
|
+
|
207
|
+
| to use the Admin UI.
|
208
|
+
|
209
|
+
-->
|
210
|
+
|
211
|
+
</div>
|
212
|
+
|
213
|
+
</div>
|
214
|
+
|
215
|
+
</div>
|
216
|
+
|
217
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.0/react.min.js"></script>
|
218
|
+
|
219
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.0/react-dom.min.js"></script>
|
220
|
+
|
221
|
+
<script src="/js/jquery/jquery-1.11.3.min.js"></script>
|
222
|
+
|
223
|
+
<script src="/js/bootstrap/bootstrap-3.3.5.min.js"></script>
|
224
|
+
|
225
|
+
<script src="/js/flat-ui-pro/flat-ui-pro.min.js"></script>
|
226
|
+
|
227
|
+
<script type="text/javascript" src="/js/geojson.min.js"></script>
|
228
|
+
|
229
|
+
<script src="http://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"></script>
|
230
|
+
|
231
|
+
</body>
|
232
|
+
|
233
|
+
<script src="./dist/bundle.js"></script>
|
234
|
+
|
235
|
+
</html>
|
236
|
+
|
237
|
+
```
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
```JavaScript
|
242
|
+
|
243
|
+
"use strict";
|
244
|
+
|
245
|
+
var __extends = (this && this.__extends) || function (d, b) {
|
246
|
+
|
247
|
+
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
248
|
+
|
249
|
+
function __() { this.constructor = d; }
|
250
|
+
|
251
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
252
|
+
|
253
|
+
};
|
254
|
+
|
255
|
+
var React = require("react");
|
256
|
+
|
257
|
+
var RecordMap_1 = require("./RecordMap");
|
258
|
+
|
259
|
+
var ViewRecordMap = (function (_super) {
|
260
|
+
|
261
|
+
__extends(ViewRecordMap, _super);
|
262
|
+
|
263
|
+
function ViewRecordMap() {
|
264
|
+
|
265
|
+
_super.apply(this, arguments);
|
266
|
+
|
267
|
+
}
|
268
|
+
|
269
|
+
ViewRecordMap.prototype.render = function () {
|
270
|
+
|
271
|
+
var position = { lat: 37.4878198, lon: 139.9296657 };
|
272
|
+
|
273
|
+
return (React.createElement(RecordMap_1.RecordMap, {lat: position.lat, lon: position.lon}));
|
274
|
+
|
275
|
+
};
|
276
|
+
|
277
|
+
return ViewRecordMap;
|
278
|
+
|
279
|
+
}(React.Component));
|
280
|
+
|
281
|
+
exports.ViewRecordMap = ViewRecordMap;
|
282
|
+
|
283
|
+
//# sourceMappingURL=ViewRecordMap.js.map
|
284
|
+
|
285
|
+
```
|
154
286
|
|
155
287
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
156
288
|
|