-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from NewcastleRSE/dev
Dev
- Loading branch information
Showing
12 changed files
with
383 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* This file was automatically generated by Strapi. | ||
* Any modifications made will be discarded. | ||
*/ | ||
import documentation from "@strapi/plugin-documentation/strapi-admin"; | ||
import i18N from "@strapi/plugin-i18n/strapi-admin"; | ||
import sentry from "@strapi/plugin-sentry/strapi-admin"; | ||
import usersPermissions from "@strapi/plugin-users-permissions/strapi-admin"; | ||
import importExportEntries from "strapi-plugin-import-export-entries/strapi-admin"; | ||
import { renderAdmin } from "@strapi/strapi/admin"; | ||
|
||
renderAdmin(document.getElementById("strapi"), { | ||
plugins: { | ||
documentation: documentation, | ||
i18n: i18N, | ||
sentry: sentry, | ||
"users-permissions": usersPermissions, | ||
"import-export-entries": importExportEntries, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<!-- | ||
This file was automatically generated by Strapi. | ||
Any modifications made will be discarded. | ||
--> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, viewport-fit=cover" | ||
/> | ||
<meta name="robots" content="noindex" /> | ||
<meta name="referrer" content="same-origin" /> | ||
<title>Strapi Admin</title> | ||
<style> | ||
html, | ||
body, | ||
#strapi { | ||
height: 100%; | ||
} | ||
body { | ||
margin: 0; | ||
-webkit-font-smoothing: antialiased; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="strapi"></div> | ||
<noscript | ||
><div class="strapi--root"> | ||
<div class="strapi--no-js"> | ||
<style type="text/css"> | ||
.strapi--root { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
left: 0; | ||
bottom: 0; | ||
background: #fff; | ||
} | ||
|
||
.strapi--no-js { | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
text-align: center; | ||
font-family: helvetica, arial, sans-serif; | ||
} | ||
</style> | ||
<h1>JavaScript disabled</h1> | ||
<p> | ||
Please | ||
<a href="https://www.enable-javascript.com/">enable JavaScript</a> | ||
in your browser and reload the page to proceed. | ||
</p> | ||
</div> | ||
</div></noscript | ||
> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
module.exports = ({ env }) => ({ | ||
apiToken: { | ||
salt: env('API_TOKEN_SALT', 'example-salt') | ||
}, | ||
auth: { | ||
secret: env('ADMIN_JWT_SECRET', '9204ad6a287f37cef017b31743b4028a'), | ||
secret: env('ADMIN_JWT_SECRET', 'example-secret'), | ||
}, | ||
transfer: { | ||
token: { | ||
salt: env('TRANSFER_TOKEN_SALT', 'example-salt'), | ||
} | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.