@reldens/cms 0.10.0 → 0.11.0
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/install/success.html
CHANGED
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
2
|
+
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<title>Reldens CMS - Installation</title>
|
|
5
|
-
<meta
|
|
6
|
-
<
|
|
7
|
-
<
|
|
5
|
+
<meta charset="utf-8"/>
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes, viewport-fit=cover"/>
|
|
7
|
+
<meta name="theme-color" content="#000000"/>
|
|
8
|
+
<link rel="stylesheet" href="/install-assets/css/installer.css"/>
|
|
8
9
|
</head>
|
|
9
10
|
<body>
|
|
10
|
-
<div class="wrapper">
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
11
|
+
<div class="wrapper">
|
|
12
|
+
<div class="header">
|
|
13
|
+
<h1 class="title">
|
|
14
|
+
<strong>Reldens CMS</strong> - Installation
|
|
15
|
+
</h1>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="content">
|
|
18
|
+
<div class="forms-container">
|
|
19
|
+
<div class="row">
|
|
20
|
+
Installation completed!
|
|
21
|
+
<p>
|
|
22
|
+
Default data<br/>
|
|
23
|
+
username: root
|
|
24
|
+
email: root@cms-admin.com
|
|
25
|
+
password: root
|
|
26
|
+
</p>
|
|
27
|
+
</div>
|
|
26
28
|
</div>
|
|
27
29
|
</div>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
<div class="footer">
|
|
31
|
+
<div class="copyright">
|
|
32
|
+
©{{currentYear}} Reldens CMS
|
|
33
|
+
</div>
|
|
32
34
|
</div>
|
|
33
35
|
</div>
|
|
34
|
-
|
|
36
|
+
<script type="text/javascript" defer src="/install-assets/js/installer.js"/>
|
|
35
37
|
</body>
|
|
36
38
|
</html>
|
package/lib/installer.js
CHANGED
|
@@ -214,7 +214,7 @@ class Installer
|
|
|
214
214
|
if(successFileContent){
|
|
215
215
|
successContent = this.renderEngine.render(
|
|
216
216
|
successFileContent,
|
|
217
|
-
{adminPath: templateVariables['app-admin-path']}
|
|
217
|
+
{adminPath: templateVariables['app-admin-path'], currentYear: new Date().getFullYear()},
|
|
218
218
|
);
|
|
219
219
|
}
|
|
220
220
|
return res.send(successContent);
|
|
@@ -6,7 +6,7 @@ VALUES (
|
|
|
6
6
|
1,
|
|
7
7
|
'root@cms-admin.com',
|
|
8
8
|
'root',
|
|
9
|
-
'
|
|
9
|
+
'879abc0494b36a09f184fd8308ea18f2643d71263f145b1e40e2ec3546d42202:6a186aff4d69daadcd7940a839856b394b12f0aec64a5df745c83cf9d881dc9dcb121b03d946872571f214228684216df097305b68417a56403299b8b2388db3',
|
|
10
10
|
99,
|
|
11
11
|
'1'
|
|
12
12
|
);
|
package/package.json
CHANGED
package/templates/page.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html lang="{{locale}}">
|
|
3
3
|
<head>
|
|
4
4
|
<title>{{title}}</title>
|
|
5
|
-
<meta charset="utf-8"
|
|
5
|
+
<meta charset="utf-8"/>
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes, viewport-fit=cover"/>
|
|
7
7
|
<meta name="theme-color" content="#000000"/>
|
|
8
8
|
<meta name="description" content="{{description}}"/>
|