@abtnode/router-templates 1.5.13 → 1.15.17

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.
@@ -4,7 +4,7 @@ module.exports = (blocklet, nodeInfo) => {
4
4
  return getCommonTemplate({
5
5
  title: 'Error',
6
6
  pageTitle: 'Please come back later',
7
- content: `Blocklet is not running.`,
7
+ content: 'Blocklet is not running.',
8
8
  nodeInfo,
9
9
  });
10
10
  };
package/lib/common.js CHANGED
@@ -9,7 +9,7 @@ module.exports = ({ title = '', pageTitle = '', content = '', nodeInfo = {}, ref
9
9
  <head>
10
10
  <meta charset="UTF-8">
11
11
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
12
- <title>${title} - ABT Node</title>
12
+ <title>${title} - Blocklet Server</title>
13
13
  <style>
14
14
  html {
15
15
  font-size: 16px;
@@ -51,11 +51,11 @@ module.exports = ({ title = '', pageTitle = '', content = '', nodeInfo = {}, ref
51
51
  </h2>
52
52
  ${button}
53
53
  <div class="documentation">
54
- Checkout ABT Node Documentation: <a
54
+ Checkout Blocklet Server Documentation: <a
55
55
  href="https://docs.arcblock.io/en/abtnode/">https://docs.arcblock.io/en/abtnode/</a>
56
56
  </div>
57
57
  <div style="margin-top: 100px;font-size: 12px;color: #fff;line-height: 1.4;">
58
- <div>ABT Node version: ${nodeInfo.version}, mode: ${nodeInfo.mode}</div>
58
+ <div>Blocklet Server version: ${nodeInfo.version}, mode: ${nodeInfo.mode}</div>
59
59
  </div>
60
60
  </center>
61
61
  </body>
package/lib/welcome.js CHANGED
@@ -3,7 +3,7 @@ module.exports = (nodeInfo = {}) => `<!DOCTYPE html>
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Welcome - ABT Node</title>
6
+ <title>Welcome - Blocklet Server</title>
7
7
  <style>
8
8
  html {
9
9
  font-size: 16px;
@@ -29,13 +29,13 @@ module.exports = (nodeInfo = {}) => `<!DOCTYPE html>
29
29
  <body>
30
30
  <center>
31
31
  <h1>Congratulations!</h1>
32
- <h2>Your ABT Node is up and running!</h2>
32
+ <h2>Your Blocklet Server is up and running!</h2>
33
33
  <div>
34
34
  <a href="/${(nodeInfo.routing.adminPath || '').replace(/^\//, '')}">Node Dashboard</a>
35
35
  <a href="https://docs.arcblock.io/en/abtnode/">Documentation</a>
36
36
  </div>
37
37
  <div style="margin-top: 100px;font-size: 12px;color: #fff;line-height: 1.4;">
38
- <div>ABT Node version: ${nodeInfo.version}, mode: ${nodeInfo.mode}</div>
38
+ <div>Blocklet Server version: ${nodeInfo.version}, mode: ${nodeInfo.mode}</div>
39
39
  </div>
40
40
  </center>
41
41
  </body>
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.5.13",
6
+ "version": "1.15.17",
7
7
  "description": "Provide page templates for ABT Node router",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,10 +19,10 @@
19
19
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "@blocklet/meta": "1.5.13"
22
+ "@blocklet/meta": "1.15.17"
23
23
  },
24
24
  "devDependencies": {
25
25
  "jest": "^27.3.1"
26
26
  },
27
- "gitHead": "abb145ffccdab4a9496a9e8a4dbc617306e17b84"
27
+ "gitHead": "22715c3ea74d0230f3413162a17f491614b6735a"
28
28
  }