parse-dashboard 4.2.0-alpha.4 → 4.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Parse-Dashboard/app.js
CHANGED
|
@@ -184,22 +184,22 @@ module.exports = function(config, options) {
|
|
|
184
184
|
</div>`
|
|
185
185
|
}
|
|
186
186
|
res.send(`<!DOCTYPE html>
|
|
187
|
+
<html>
|
|
187
188
|
<head>
|
|
188
189
|
<link rel="shortcut icon" type="image/x-icon" href="${mountPath}favicon.ico" />
|
|
189
190
|
<base href="${mountPath}"/>
|
|
190
191
|
<script>
|
|
191
192
|
PARSE_DASHBOARD_PATH = "${mountPath}";
|
|
192
193
|
</script>
|
|
193
|
-
</head>
|
|
194
|
-
<html>
|
|
195
194
|
<title>Parse Dashboard</title>
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
</
|
|
195
|
+
</head>
|
|
196
|
+
<body>
|
|
197
|
+
<div id="login_mount"></div>
|
|
198
|
+
${errors}
|
|
199
|
+
<script id="csrf" type="application/json">"${req.csrfToken()}"</script>
|
|
200
|
+
<script src="${mountPath}bundles/login.bundle.js"></script>
|
|
201
|
+
</body>
|
|
202
|
+
</html>
|
|
203
203
|
`);
|
|
204
204
|
});
|
|
205
205
|
|
|
@@ -212,20 +212,20 @@ module.exports = function(config, options) {
|
|
|
212
212
|
res.append('username', req.user.matchingUsername);
|
|
213
213
|
}
|
|
214
214
|
res.send(`<!DOCTYPE html>
|
|
215
|
+
<html>
|
|
215
216
|
<head>
|
|
216
217
|
<link rel="shortcut icon" type="image/x-icon" href="${mountPath}favicon.ico" />
|
|
217
218
|
<base href="${mountPath}"/>
|
|
218
219
|
<script>
|
|
219
220
|
PARSE_DASHBOARD_PATH = "${mountPath}";
|
|
220
221
|
</script>
|
|
221
|
-
</head>
|
|
222
|
-
<html>
|
|
223
222
|
<title>Parse Dashboard</title>
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
</
|
|
223
|
+
</head>
|
|
224
|
+
<body>
|
|
225
|
+
<div id="browser_mount"></div>
|
|
226
|
+
<script src="${mountPath}bundles/dashboard.bundle.js"></script>
|
|
227
|
+
</body>
|
|
228
|
+
</html>
|
|
229
229
|
`);
|
|
230
230
|
});
|
|
231
231
|
});
|