qcobjectsnewapp 2.4.5 → 2.4.9
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/.eslintrc.js +7 -0
- package/.gitlab-ci.yml +2 -1
- package/Dockerfile +55 -10
- package/README.md +11 -1
- package/VERSION +1 -1
- package/config.json +38 -0
- package/css/desktop/container.css +1 -1
- package/css/desktop/content.css +6 -6
- package/css/index.css +22 -22
- package/css/mobile/content.css +7 -7
- package/css/theme/basic/style.css +3 -3
- package/css/theme/cyan/style.css +3 -3
- package/css/theme/redlight/style.css +3 -3
- package/js/init.js +7 -8
- package/js/packages/com.qcobjects.installer.js +10 -13
- package/js/packages/com.qcobjects.services.github.js +89 -108
- package/js/packages/org.quickcorp.custom.components.js +5 -20
- package/js/packages/org.quickcorp.custom.controllers.js +109 -120
- package/js/packages/org.quickcorp.custom.effects.js +7 -11
- package/js/packages/org.quickcorp.custom.js +1 -1
- package/js/packages/org.quickcorp.custom.models.js +9 -10
- package/js/packages/org.quickcorp.custom.views.js +7 -11
- package/package.json +13 -10
- package/spec/testsSpec.js +25 -29
- package/sw.js +122 -122
- package/templates/components/card.tpl.html +2 -2
- package/templates/components/contentblock.tpl.html +2 -2
- package/templates/components/layout-basic.tpl.html +9 -9
- package/templates/components/loading.tpl.html +2 -2
- package/templates/components/login2.tpl.html +1 -1
- package/templates/components/product.tpl.html +2 -2
- package/templates/components/section1.tpl.html +1 -1
- package/templates/components/section2.tpl.html +1 -1
- package/templates/components/signup-form.tpl.html +3 -3
- package/templates/components/signup.tpl.html +2 -2
- package/templates/components/signupform.tpl.html +2 -2
- package/templates/components/signuppage.tpl.html +4 -4
- package/templates/components/signupsuccessful.tpl.html +2 -2
- package/templates/components/topmenu.tpl.html +1 -1
- package/.eslintrc.json +0 -8
package/spec/testsSpec.js
CHANGED
|
@@ -1,44 +1,40 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
/* eslint-disable no-undef */
|
|
2
3
|
|
|
3
|
-
describe(
|
|
4
|
-
require(
|
|
4
|
+
describe("QCObjects Main Test", function () {
|
|
5
|
+
require("qcobjects");
|
|
5
6
|
|
|
6
|
-
it(
|
|
7
|
-
Class(
|
|
8
|
-
_new_: (o) => {
|
|
9
|
-
let main = this
|
|
10
|
-
}
|
|
11
|
-
})
|
|
7
|
+
it("Class Declaration Test Spec", function () {
|
|
8
|
+
Class("Main", Object, {});
|
|
12
9
|
|
|
13
|
-
expect(Main).toEqual(ClassFactory(
|
|
14
|
-
logger.debug(
|
|
10
|
+
expect(Main).toEqual(ClassFactory("Main"));
|
|
11
|
+
logger.debug("Class Declaration Test Spec... OK");
|
|
15
12
|
});
|
|
16
13
|
|
|
17
|
-
it(
|
|
18
|
-
|
|
19
|
-
expect(typeof __main__.__instanceID).toEqual(
|
|
20
|
-
expect(__main__.__classType).toEqual(
|
|
21
|
-
logger.debug(
|
|
14
|
+
it("Main intance Test Spec", function () {
|
|
15
|
+
const __main__ = New(Main, {});
|
|
16
|
+
expect(typeof __main__.__instanceID).toEqual("number");
|
|
17
|
+
expect(__main__.__classType).toEqual("Main");
|
|
18
|
+
logger.debug("Main intance Test Spec... OK");
|
|
22
19
|
});
|
|
23
20
|
|
|
24
|
-
it(
|
|
25
|
-
expect(Component).toEqual(ClassFactory(
|
|
26
|
-
logger.debug(
|
|
21
|
+
it("Existence of Component Class", function () {
|
|
22
|
+
expect(Component).toEqual(ClassFactory("Component"));
|
|
23
|
+
logger.debug("Existence of Component Class... OK");
|
|
27
24
|
});
|
|
28
25
|
|
|
29
|
-
it(
|
|
30
|
-
expect(Effect).toEqual(ClassFactory(
|
|
31
|
-
logger.debug(
|
|
26
|
+
it("Existence of Effect Class", function () {
|
|
27
|
+
expect(Effect).toEqual(ClassFactory("Effect"));
|
|
28
|
+
logger.debug("Existence of Effect Class... OK");
|
|
32
29
|
});
|
|
33
30
|
|
|
34
|
-
it(
|
|
35
|
-
expect(typeof global.__definition).toEqual(
|
|
36
|
-
logger.debug(
|
|
31
|
+
it("global as QCObjects global", function () {
|
|
32
|
+
expect(typeof global.__definition).toEqual("object");
|
|
33
|
+
logger.debug("global as QCObjects global... OK");
|
|
37
34
|
});
|
|
38
35
|
|
|
39
|
-
it(
|
|
40
|
-
expect(
|
|
41
|
-
logger.debug(
|
|
36
|
+
it("Existence of QCObjects SDK", function () {
|
|
37
|
+
expect(Object.hasOwnProperty.call(global, "_sdk_")).toEqual(true);
|
|
38
|
+
logger.debug("Existence of QCObjects SDK... OK");
|
|
42
39
|
});
|
|
43
|
-
|
|
44
|
-
})
|
|
40
|
+
});
|
package/sw.js
CHANGED
|
@@ -25,130 +25,130 @@
|
|
|
25
25
|
"use strict";
|
|
26
26
|
const version = "1.2.93";
|
|
27
27
|
const appName = "qcobjectsnewapp";
|
|
28
|
-
const cacheSufix = (Math.round(Date.now()/(1000*3600))).toString(); // 1 hour
|
|
28
|
+
const cacheSufix = (Math.round(Date.now() / (1000 * 3600))).toString(); // 1 hour
|
|
29
29
|
const cacheName = `qcobjects-app-${appName}-${version}-${cacheSufix}`;
|
|
30
|
-
const
|
|
30
|
+
const startUrl = "/?homescreen=1";
|
|
31
31
|
caches.delete(cacheName); // force to reload cache for the first time the sw is loaded
|
|
32
32
|
self.addEventListener("install", e => {
|
|
33
33
|
e.waitUntil(
|
|
34
34
|
caches.open(cacheName).then(cache => {
|
|
35
|
-
return cache.addAll([`${
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
35
|
+
return cache.addAll([`${startUrl}`,
|
|
36
|
+
"/",
|
|
37
|
+
"Dockerfile",
|
|
38
|
+
"LICENSE.txt",
|
|
39
|
+
"README.md",
|
|
40
|
+
"VERSION",
|
|
41
|
+
"app.js",
|
|
42
|
+
"coverage/lcov-report/base.css",
|
|
43
|
+
"coverage/lcov-report/block-navigation.js",
|
|
44
|
+
"coverage/lcov-report/favicon.png",
|
|
45
|
+
"coverage/lcov-report/index.html",
|
|
46
|
+
"coverage/lcov-report/prettify.css",
|
|
47
|
+
"coverage/lcov-report/prettify.js",
|
|
48
|
+
"coverage/lcov-report/sort-arrow-sprite.png",
|
|
49
|
+
"coverage/lcov-report/sorter.js",
|
|
50
|
+
"coverage/lcov-report/testsSpec.js.html",
|
|
51
|
+
"coverage/lcov.info",
|
|
52
|
+
"css/components/button.css",
|
|
53
|
+
"css/components/card.css",
|
|
54
|
+
"css/components/hero/hero-call-to-action.css",
|
|
55
|
+
"css/components/hero/hero-overlay.css",
|
|
56
|
+
"css/components/hero/hero-two-column-form.css",
|
|
57
|
+
"css/components/modal.css",
|
|
58
|
+
"css/desktop/container.css",
|
|
59
|
+
"css/desktop/content.css",
|
|
60
|
+
"css/desktop/footer.css",
|
|
61
|
+
"css/desktop/index.css",
|
|
62
|
+
"css/desktop/navbar.css",
|
|
63
|
+
"css/desktop/sidebar.css",
|
|
64
|
+
"css/index.css",
|
|
65
|
+
"css/mobile/content.css",
|
|
66
|
+
"css/mobile/footer.css",
|
|
67
|
+
"css/mobile/index.css",
|
|
68
|
+
"css/mobile/navbar.css",
|
|
69
|
+
"css/mobile/sidebar.css",
|
|
70
|
+
"css/modern-base.css",
|
|
71
|
+
"css/theme/basic/style.css",
|
|
72
|
+
"css/theme/cyan/style.css",
|
|
73
|
+
"css/theme/redlight/style.css",
|
|
74
|
+
"css/theme/xtra/style.css",
|
|
75
|
+
"favicon.ico",
|
|
76
|
+
"humans.txt",
|
|
77
|
+
"img/Q_web copy.png",
|
|
78
|
+
"img/Q_web-white.png",
|
|
79
|
+
"img/Q_web.png",
|
|
80
|
+
"img/Q_web.svg",
|
|
81
|
+
"img/icons/icon-128x128.png",
|
|
82
|
+
"img/icons/icon-144x144.png",
|
|
83
|
+
"img/icons/icon-152x152.png",
|
|
84
|
+
"img/icons/icon-192x192.png",
|
|
85
|
+
"img/icons/icon-384x384.png",
|
|
86
|
+
"img/icons/icon-512x512.png",
|
|
87
|
+
"img/icons/icon-72x72.png",
|
|
88
|
+
"img/icons/icon-96x96.png",
|
|
89
|
+
"img/logo-qcobjects-white-powered-quickcorp.svg",
|
|
90
|
+
"img/logo-qcobjects-white.svg",
|
|
91
|
+
"img/logo.png",
|
|
92
|
+
"img/placeholder.svg",
|
|
93
|
+
"img/screenshots/screenshot1.png",
|
|
94
|
+
"img/screenshots/screenshot1.webp",
|
|
95
|
+
"img/screenshots/screenshot2.png",
|
|
96
|
+
"img/screenshots/screenshot2.webp",
|
|
97
|
+
"index.html",
|
|
98
|
+
"js/init.js",
|
|
99
|
+
"js/packages/com.qcobjects.installer.js",
|
|
100
|
+
"js/packages/org.quickcorp.custom.components.js",
|
|
101
|
+
"js/packages/org.quickcorp.custom.controllers.js",
|
|
102
|
+
"js/packages/org.quickcorp.custom.effects.js",
|
|
103
|
+
"js/packages/org.quickcorp.custom.js",
|
|
104
|
+
"js/packages/org.quickcorp.custom.models.js",
|
|
105
|
+
"js/packages/org.quickcorp.custom.views.js",
|
|
106
|
+
"manifest.json",
|
|
107
|
+
"qcobjectsnewapp.iml",
|
|
108
|
+
"robots.txt",
|
|
109
|
+
"spec/support/jasmine.json",
|
|
110
|
+
"spec/testsSpec.js",
|
|
111
|
+
"templates/components/article1.tpl.html",
|
|
112
|
+
"templates/components/article2.tpl.html",
|
|
113
|
+
"templates/components/article3.tpl.html",
|
|
114
|
+
"templates/components/article4.tpl.html",
|
|
115
|
+
"templates/components/blank.tpl.html",
|
|
116
|
+
"templates/components/card.tpl.html",
|
|
117
|
+
"templates/components/contentblock.tpl.html",
|
|
118
|
+
"templates/components/footer.tpl.html",
|
|
119
|
+
"templates/components/footer2.tpl.html",
|
|
120
|
+
"templates/components/header.tpl.html",
|
|
121
|
+
"templates/components/hero/hero-call-to-action.tpl.html",
|
|
122
|
+
"templates/components/hero/hero-overlay.tpl.html",
|
|
123
|
+
"templates/components/hero/hero-two-column-form.tpl.html",
|
|
124
|
+
"templates/components/install-button.tpl.html",
|
|
125
|
+
"templates/components/layout-basic.tpl.html",
|
|
126
|
+
"templates/components/loading.tpl.html",
|
|
127
|
+
"templates/components/loadingfooter.tpl.html",
|
|
128
|
+
"templates/components/login-button.tpl.html",
|
|
129
|
+
"templates/components/login2.tpl.html",
|
|
130
|
+
"templates/components/loginform.tpl.html",
|
|
131
|
+
"templates/components/modal.tpl.html",
|
|
132
|
+
"templates/components/nav.tpl.html",
|
|
133
|
+
"templates/components/pages/page1.tpl.html",
|
|
134
|
+
"templates/components/pages/page2.tpl.html",
|
|
135
|
+
"templates/components/pages/page3.tpl.html",
|
|
136
|
+
"templates/components/product.tpl.html",
|
|
137
|
+
"templates/components/profile.tpl.html",
|
|
138
|
+
"templates/components/section1.tpl.html",
|
|
139
|
+
"templates/components/section2.tpl.html",
|
|
140
|
+
"templates/components/shadowed-card.tpl.html",
|
|
141
|
+
"templates/components/signin-button.tpl.html",
|
|
142
|
+
"templates/components/signup-form.tpl.html",
|
|
143
|
+
"templates/components/signup.tpl.html",
|
|
144
|
+
"templates/components/signupbuttons.tpl.html",
|
|
145
|
+
"templates/components/signupform.tpl.html",
|
|
146
|
+
"templates/components/signuppage.tpl.html",
|
|
147
|
+
"templates/components/signupsuccessful.tpl.html",
|
|
148
|
+
"templates/components/signupsuccessfulfooter.tpl.html",
|
|
149
|
+
"templates/components/splashscreen.tpl.html",
|
|
150
|
+
"templates/components/topmenu.tpl.html"])
|
|
151
|
+
.then(() => self.skipWaiting());
|
|
152
152
|
})
|
|
153
153
|
);
|
|
154
154
|
});
|
|
@@ -160,9 +160,9 @@ self.addEventListener("activate", event => {
|
|
|
160
160
|
self.addEventListener("fetch", event => {
|
|
161
161
|
event.respondWith(
|
|
162
162
|
caches.open(cacheName)
|
|
163
|
-
.then(cache => cache.match(event.request, {ignoreSearch: true}))
|
|
163
|
+
.then(cache => cache.match(event.request, { ignoreSearch: true }))
|
|
164
164
|
.then(response => {
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
return response || fetch(event.request);
|
|
166
|
+
})
|
|
167
167
|
);
|
|
168
168
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<component name="shadowed-card" shadowed="true" data-title="{{title}}" effectClass="MainTransitionEffect" apply-effect-to=observe
|
|
1
|
+
<quick-component name="shadowed-card" shadowed="true" data-title="{{title}}" effectClass="MainTransitionEffect" apply-effect-to=observe
|
|
2
2
|
data-description="{{description}}" data-image="{{image}}" data-price="{{price}}">
|
|
3
3
|
|
|
4
4
|
<img slot="logo" src="img/{{image}}" alt="Avatar" style="width:100%">
|
|
5
5
|
<b slot="card_title">{{title}}</b>
|
|
6
6
|
<div slot="card_description">{{description}}</div>
|
|
7
7
|
|
|
8
|
-
</component>
|
|
8
|
+
</quick-component>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</style>
|
|
13
13
|
|
|
14
14
|
<header>
|
|
15
|
-
<component name="header" shadowed="true" controllerClass="HeaderController" effectClass="MainTransitionEffect">
|
|
15
|
+
<quick-component name="header" shadowed="true" controllerClass="HeaderController" effectClass="MainTransitionEffect">
|
|
16
16
|
<routing path="#author" name="blank"></routing>
|
|
17
17
|
<routing path="#about-of" name="blank"></routing>
|
|
18
18
|
<routing path="^#signup$" name="blank"></routing>
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
<routing path="^#two-column-header$" name="hero/hero-two-column-form"></routing>
|
|
28
28
|
<routing path="^#$" name="header"></routing>
|
|
29
29
|
<routing path="" name="header"></routing>
|
|
30
|
-
</component>
|
|
30
|
+
</quick-component>
|
|
31
31
|
</header>
|
|
32
32
|
<aside>
|
|
33
33
|
<nav>
|
|
34
34
|
<span class="topnav">
|
|
35
|
-
<component name="topmenu">
|
|
35
|
+
<quick-component name="topmenu">
|
|
36
36
|
<routing path="#author" name="blank"></routing>
|
|
37
37
|
<routing path="#about-of" name="blank"></routing>
|
|
38
38
|
<routing path="#page1" name="blank"></routing>
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
<routing path="#signin" name="blank"></routing>
|
|
43
43
|
<routing path="#" name="topmenu"></routing>
|
|
44
44
|
<routing path="" name="topmenu"></routing>
|
|
45
|
-
</component>
|
|
45
|
+
</quick-component>
|
|
46
46
|
</span>
|
|
47
47
|
<button aria-label="nav button" role="button" tabindex="-1" class="navbtn" onclick="global.sideNavController.toggle()"></button>
|
|
48
|
-
<component name="nav" controllerClass="SideNavController"></component>
|
|
48
|
+
<quick-component name="nav" controllerClass="SideNavController"></quick-component>
|
|
49
49
|
</nav>
|
|
50
50
|
</aside>
|
|
51
51
|
<main role="main">
|
|
52
52
|
<section>
|
|
53
|
-
<component name="contentblock" effectClass="MainTransitionEffect">
|
|
53
|
+
<quick-component name="contentblock" effectClass="MainTransitionEffect">
|
|
54
54
|
<routing path="#author" name="pages/author"></routing>
|
|
55
55
|
<routing path="#about-of" name="pages/about-of"></routing>
|
|
56
56
|
<routing path="#page1" name="pages/page1"></routing>
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
<routing path="#signin" name="login2"></routing>
|
|
64
64
|
<routing path="#" name="contentblock"></routing>
|
|
65
65
|
<routing path="" name="contentblock"></routing>
|
|
66
|
-
</component>
|
|
66
|
+
</quick-component>
|
|
67
67
|
</section>
|
|
68
68
|
</main>
|
|
69
69
|
<footer>
|
|
70
|
-
<component name="footer" shadowed="true" effectClass="MainTransitionEffect">
|
|
70
|
+
<quick-component name="footer" shadowed="true" effectClass="MainTransitionEffect">
|
|
71
71
|
<routing path="#author" name="blank"></routing>
|
|
72
72
|
<routing path="#about-of" name="blank"></routing>
|
|
73
73
|
<routing path="^#signup$" name="signupbuttons"></routing>
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
<routing path="#page3" name="blank"></routing>
|
|
79
79
|
<routing path="#" name="footer"></routing>
|
|
80
80
|
<routing path="" name="footer"></routing>
|
|
81
|
-
</component>
|
|
81
|
+
</quick-component>
|
|
82
82
|
</footer>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<component name="loading_message" template-source="none">
|
|
1
|
+
<quick-component name="loading_message" template-source="none">
|
|
2
2
|
<div style="border:1px solid #ccc;border-radius:20px;padding:5%">
|
|
3
3
|
<div >
|
|
4
4
|
<h1>Loading</h1>
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
</div>
|
|
11
11
|
</div>
|
|
12
|
-
</component>
|
|
12
|
+
</quick-component>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<component name="shadowed-card" shadowed="true" data-title="{{title}}"
|
|
1
|
+
<quick-component name="shadowed-card" shadowed="true" data-title="{{title}}"
|
|
2
2
|
data-description="{{description}}" data-image="{{image}}">
|
|
3
3
|
|
|
4
4
|
<img slot="logo" src="img/{{image}}" alt="Avatar" style="width:100%">
|
|
@@ -6,4 +6,4 @@ data-description="{{description}}" data-image="{{image}}">
|
|
|
6
6
|
<div style="min-height:205px" slot="card_description">{{description}}</div>
|
|
7
7
|
<div slot="card-button" style="display:grid; grid-template-columns: 50% 50%;padding:10px;bottom:0;"><p style="float:left">By this course for </p><button onclick="location.href='#coursedetail'" style="float:right">{{price}}</button></div>
|
|
8
8
|
|
|
9
|
-
</component>
|
|
9
|
+
</quick-component>
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
/* Float cancel and signup buttons and add an equal width */
|
|
88
|
-
component[name=footer] .cancelbtn,
|
|
89
|
-
component[name=footer] .signupbtn {
|
|
88
|
+
quick-component[name=footer] .cancelbtn,
|
|
89
|
+
quick-component[name=footer] .signupbtn {
|
|
90
90
|
float: left;
|
|
91
91
|
width: 45%;
|
|
92
92
|
margin: .5%;
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
|
|
102
102
|
/* Clear floats */
|
|
103
103
|
.clearfix::after,
|
|
104
|
-
component[name=footer] .clearfix::after {
|
|
104
|
+
quick-component[name=footer] .clearfix::after {
|
|
105
105
|
content: "";
|
|
106
106
|
clear: both;
|
|
107
107
|
display: table;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<component name="signup-form" shadowed="true">
|
|
1
|
+
<quick-component name="signup-form" shadowed="true">
|
|
2
2
|
<h1 slot="title">This is a custom form title</h1>
|
|
3
3
|
<p slot="subtitle">This is a custom text:</p>
|
|
4
4
|
<label slot="field-control" id="name_label" required for="name"><b>🧑 Full Name</b></label>
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
<label slot="field-control" for="comment" id="comment_label"><b>📝 Comment</b></label>
|
|
9
9
|
<textarea slot="field-control" name="comment" title="Please write a comment" rows="10" cols="100" data-field="comment" aria-labelledby="comment_label"></textarea>
|
|
10
10
|
<p slot="field-control">By submitting this form you agree to our <a href="#" style="color:dodgerblue">Terms & Privacy</a>.</p>
|
|
11
|
-
</component>
|
|
11
|
+
</quick-component>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<component name="signup" controllerClass="SignupController" >
|
|
1
|
+
<quick-component name="signup" controllerClass="SignupController" >
|
|
2
2
|
<routing path="#signup" name="signup"></routing>
|
|
3
3
|
<routing path="#signupsuccessful" name="signupsuccessful"></routing>
|
|
4
|
-
</component>
|
|
4
|
+
</quick-component>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<main role= “main”>
|
|
2
2
|
<section>
|
|
3
|
-
<component name="contentblock">
|
|
3
|
+
<quick-component name="contentblock">
|
|
4
4
|
<routing path="#signup" name="signup"></routing>
|
|
5
|
-
</component>
|
|
5
|
+
</quick-component>
|
|
6
6
|
</section>
|
|
7
7
|
</main>
|
|
8
8
|
<footer>
|
|
9
|
-
<component name="footer">
|
|
9
|
+
<quick-component name="footer">
|
|
10
10
|
<routing path="#signup" name="signupbuttons"></routing>
|
|
11
|
-
</component>
|
|
11
|
+
</quick-component>
|
|
12
12
|
</footer>
|
|
@@ -3,11 +3,11 @@ p.success::before{
|
|
|
3
3
|
content: "\2705 "
|
|
4
4
|
}
|
|
5
5
|
</style>
|
|
6
|
-
<component name="loading_message" template-source="none">
|
|
6
|
+
<quick-component name="loading_message" template-source="none">
|
|
7
7
|
<div style="border:1px solid #ccc;border-radius:20px;padding:5%">
|
|
8
8
|
<div >
|
|
9
9
|
<h1>Success!</h1>
|
|
10
10
|
<p class="success">We received your contact information and one of our executives will be in touch with you soon!</p>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
|
-
</component>
|
|
13
|
+
</quick-component>
|