質問編集履歴
1
タグの追加とコンパイル後のJavaScriptとHTMLのソースを追加しました。
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -74,7 +74,73 @@
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
```
|
|
77
|
+
```html
|
|
78
|
+
<!DOCTYPE html>
|
|
79
|
+
<html>
|
|
80
|
+
<head>
|
|
81
|
+
<meta charset="utf-8">
|
|
82
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
83
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
84
|
+
<title>alq-keystone</title>
|
|
85
|
+
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
|
86
|
+
<link href="/styles/site.css" rel="stylesheet">
|
|
87
|
+
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.2/normalize.min.css">
|
|
88
|
+
</head>
|
|
89
|
+
<body>
|
|
90
|
+
<div id="header">
|
|
91
|
+
</div>
|
|
92
|
+
<div id="body" class="body clearfix">
|
|
93
|
+
<div class="body__container container">
|
|
94
|
+
<div id="react-stage" class="clearfix">
|
|
95
|
+
<hr>
|
|
96
|
+
<!--
|
|
97
|
+
if user && user.canAccessKeystone
|
|
98
|
+
p
|
|
99
|
+
a(href='/keystone').btn.btn-lg.btn-primary Open the Admin UI
|
|
100
|
+
else
|
|
101
|
+
p We have created a default Admin user for you with the email <strong>admin@example.com</strong> and the password <strong>admin</strong>.
|
|
102
|
+
p
|
|
103
|
+
a(href='/keystone/signin', style='margin-right: 10px').btn.btn-lg.btn-primary Sign in
|
|
104
|
+
| to use the Admin UI.
|
|
105
|
+
-->
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.0/react.min.js"></script>
|
|
110
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.0/react-dom.min.js"></script>
|
|
111
|
+
<script src="/js/jquery/jquery-1.11.3.min.js"></script>
|
|
112
|
+
<script src="/js/bootstrap/bootstrap-3.3.5.min.js"></script>
|
|
113
|
+
<script src="/js/flat-ui-pro/flat-ui-pro.min.js"></script>
|
|
114
|
+
<script type="text/javascript" src="/js/geojson.min.js"></script>
|
|
115
|
+
<script src="http://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"></script>
|
|
116
|
+
</body>
|
|
117
|
+
<script src="./dist/bundle.js"></script>
|
|
118
|
+
</html>
|
|
119
|
+
```
|
|
77
120
|
|
|
121
|
+
```JavaScript
|
|
122
|
+
"use strict";
|
|
123
|
+
var __extends = (this && this.__extends) || function (d, b) {
|
|
124
|
+
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
125
|
+
function __() { this.constructor = d; }
|
|
126
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
127
|
+
};
|
|
128
|
+
var React = require("react");
|
|
129
|
+
var RecordMap_1 = require("./RecordMap");
|
|
130
|
+
var ViewRecordMap = (function (_super) {
|
|
131
|
+
__extends(ViewRecordMap, _super);
|
|
132
|
+
function ViewRecordMap() {
|
|
133
|
+
_super.apply(this, arguments);
|
|
134
|
+
}
|
|
135
|
+
ViewRecordMap.prototype.render = function () {
|
|
136
|
+
var position = { lat: 37.4878198, lon: 139.9296657 };
|
|
137
|
+
return (React.createElement(RecordMap_1.RecordMap, {lat: position.lat, lon: position.lon}));
|
|
138
|
+
};
|
|
139
|
+
return ViewRecordMap;
|
|
140
|
+
}(React.Component));
|
|
141
|
+
exports.ViewRecordMap = ViewRecordMap;
|
|
142
|
+
//# sourceMappingURL=ViewRecordMap.js.map
|
|
143
|
+
```
|
|
78
144
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
|
79
145
|
[言語]
|
|
80
146
|
JavaScript
|