qcobjectsnewapp 2.4.7 → 2.4.10
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/.gitlab-ci.yml +1 -0
- package/VERSION +1 -1
- package/_redirects +1 -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/packages/com.qcobjects.services.github.js +2 -2
- package/package.json +1 -1
- package/templates/components/card.tpl.html +2 -2
- package/templates/components/contentblock.tpl.html +2 -2
- package/templates/components/footer.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/octocat-icon.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/shadowed-card.tpl.html +1 -3
- 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/.gitlab-ci.yml
CHANGED
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.10
|
package/_redirects
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* /index.html 200
|
package/css/desktop/content.css
CHANGED
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
|
|
29
29
|
/* LOGIN 2 FORM */
|
|
30
30
|
|
|
31
|
-
component[name=loginform].login2 input[type=text],
|
|
32
|
-
component[name=loginform].login2 input[type=password] {
|
|
31
|
+
quick-component[name=loginform].login2 input[type=text],
|
|
32
|
+
quick-component[name=loginform].login2 input[type=password] {
|
|
33
33
|
width: 30%;
|
|
34
34
|
padding: 15px;
|
|
35
35
|
margin: 5px 0 22px 0;
|
|
@@ -39,19 +39,19 @@ component[name=loginform].login2 input[type=password] {
|
|
|
39
39
|
margin: 7px;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
component[name=loginform].login2 input[type=text]:focus,
|
|
43
|
-
component[name=loginform].login2 input[type=password]:focus {
|
|
42
|
+
quick-component[name=loginform].login2 input[type=text]:focus,
|
|
43
|
+
quick-component[name=loginform].login2 input[type=password]:focus {
|
|
44
44
|
background-color: #ddd;
|
|
45
45
|
outline: none;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
component[name=loginform].login2 form {
|
|
48
|
+
quick-component[name=loginform].login2 form {
|
|
49
49
|
width: 70% !important;
|
|
50
50
|
margin: 0 auto;
|
|
51
51
|
grid-auto-flow: column;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
component[name=loginform].login2 form breakline {
|
|
54
|
+
quick-component[name=loginform].login2 form breakline {
|
|
55
55
|
display: block;
|
|
56
56
|
}
|
|
57
57
|
|
package/css/index.css
CHANGED
|
@@ -99,7 +99,7 @@ nav {
|
|
|
99
99
|
padding: 20px;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
nav > component {
|
|
102
|
+
nav > quick-component {
|
|
103
103
|
width: 0;
|
|
104
104
|
position: fixed;
|
|
105
105
|
z-index: 1;
|
|
@@ -114,7 +114,7 @@ nav > component {
|
|
|
114
114
|
padding-bottom: 20%;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
nav > component a {
|
|
117
|
+
nav > quick-component a {
|
|
118
118
|
padding: 8px 8px 8px 32px;
|
|
119
119
|
text-decoration: none;
|
|
120
120
|
font-size: 15px;
|
|
@@ -123,7 +123,7 @@ nav > component a {
|
|
|
123
123
|
transition: 0.3s;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
nav > component a:hover {
|
|
126
|
+
nav > quick-component a:hover {
|
|
127
127
|
color: #f1f1f1;
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -169,7 +169,7 @@ nav > button.navbtn {
|
|
|
169
169
|
}
|
|
170
170
|
nav > button.navbtn::after { content: '\2630'; }
|
|
171
171
|
|
|
172
|
-
nav > component > span.closebtn {
|
|
172
|
+
nav > quick-component > span.closebtn {
|
|
173
173
|
position: fixed;
|
|
174
174
|
display: none;
|
|
175
175
|
top: 0;
|
|
@@ -178,7 +178,7 @@ nav > component > span.closebtn {
|
|
|
178
178
|
margin-left: 50px;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
nav > component > span.closebtn::after { content: "\00d7"; }
|
|
181
|
+
nav > quick-component > span.closebtn::after { content: "\00d7"; }
|
|
182
182
|
|
|
183
183
|
nav .navcontent {
|
|
184
184
|
padding-top: 20px;
|
|
@@ -261,7 +261,7 @@ nav form {
|
|
|
261
261
|
/* END TOPNAV */
|
|
262
262
|
|
|
263
263
|
/* HEADER */
|
|
264
|
-
component[name=header] {
|
|
264
|
+
quick-component[name=header] {
|
|
265
265
|
width: 100%;
|
|
266
266
|
padding-top: 80px;
|
|
267
267
|
|
|
@@ -331,8 +331,8 @@ button:not(.navbtn):hover {
|
|
|
331
331
|
/* FORM ELEMENTS FOR SIGNUP */
|
|
332
332
|
|
|
333
333
|
/* Full-width input fields */
|
|
334
|
-
component[name=signup] input[type=text],
|
|
335
|
-
component[name=signup] input[type=password] {
|
|
334
|
+
quick-component[name=signup] input[type=text],
|
|
335
|
+
quick-component[name=signup] input[type=password] {
|
|
336
336
|
width: 80%;
|
|
337
337
|
padding: 15px;
|
|
338
338
|
margin: 5px 0 22px 0;
|
|
@@ -341,24 +341,24 @@ component[name=signup] input[type=password] {
|
|
|
341
341
|
background: #f1f1f1;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
component[name=signup] input[type=checkbox] {
|
|
344
|
+
quick-component[name=signup] input[type=checkbox] {
|
|
345
345
|
margin-left: 20px;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
component[name=signup] input[type=text]:focus,
|
|
349
|
-
component[name=signup] input[type=password]:focus {
|
|
348
|
+
quick-component[name=signup] input[type=text]:focus,
|
|
349
|
+
quick-component[name=signup] input[type=password]:focus {
|
|
350
350
|
background-color: #ddd;
|
|
351
351
|
outline: none;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
component[name=signup] hr {
|
|
354
|
+
quick-component[name=signup] hr {
|
|
355
355
|
border: 1px solid #f1f1f1;
|
|
356
356
|
margin-bottom: 25px;
|
|
357
357
|
width: 100% !important;
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
/* Set a style for all buttons */
|
|
361
|
-
component[name=signup] button {
|
|
361
|
+
quick-component[name=signup] button {
|
|
362
362
|
color: white;
|
|
363
363
|
padding: 14px 20px;
|
|
364
364
|
margin: 8px 0;
|
|
@@ -368,34 +368,34 @@ component[name=signup] button {
|
|
|
368
368
|
opacity: 0.9;
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
component[name=signup] button:hover {
|
|
371
|
+
quick-component[name=signup] button:hover {
|
|
372
372
|
opacity: 1;
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
/* Extra styles for the cancel button */
|
|
376
|
-
component[name=signup] .cancelbtn {
|
|
376
|
+
quick-component[name=signup] .cancelbtn {
|
|
377
377
|
padding: 14px 20px;
|
|
378
378
|
background-color: #f44336;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
/* Float cancel and signup buttons and add an equal width */
|
|
382
|
-
component[name=footer] .cancelbtn,
|
|
383
|
-
component[name=footer] .signupbtn {
|
|
382
|
+
quick-component[name=footer] .cancelbtn,
|
|
383
|
+
quick-component[name=footer] .signupbtn {
|
|
384
384
|
float: left;
|
|
385
385
|
width: 45%;
|
|
386
386
|
margin: 0.5%;
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
/* Add padding to container elements */
|
|
390
|
-
component[name=signup] .container {
|
|
390
|
+
quick-component[name=signup] .container {
|
|
391
391
|
padding: 20px;
|
|
392
392
|
width: 87% !important;
|
|
393
393
|
height: 100%;
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
/* Clear floats */
|
|
397
|
-
component[name=signup] .clearfix::after,
|
|
398
|
-
component[name=footer] .clearfix::after {
|
|
397
|
+
quick-component[name=signup] .clearfix::after,
|
|
398
|
+
quick-component[name=footer] .clearfix::after {
|
|
399
399
|
content: "";
|
|
400
400
|
clear: both;
|
|
401
401
|
display: table;
|
|
@@ -403,8 +403,8 @@ component[name=footer] .clearfix::after {
|
|
|
403
403
|
|
|
404
404
|
/* Change styles for cancel button and signup button on extra small screens */
|
|
405
405
|
@media screen and (max-width: 300px) {
|
|
406
|
-
component[name=signup] .cancelbtn,
|
|
407
|
-
component[name=signup] .signupbtn {
|
|
406
|
+
quick-component[name=signup] .cancelbtn,
|
|
407
|
+
quick-component[name=signup] .signupbtn {
|
|
408
408
|
width: 100%;
|
|
409
409
|
}
|
|
410
410
|
}
|
package/css/mobile/content.css
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
/* Insert here your custom CSS */
|
|
28
28
|
|
|
29
29
|
/* GRID */
|
|
30
|
-
component[name=grid] {
|
|
30
|
+
quick-component[name=grid] {
|
|
31
31
|
display: grid;
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
grid-template-columns: 50% 50%;
|
|
@@ -41,8 +41,8 @@ header {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* LOGIN 2 FORM */
|
|
44
|
-
component[name=loginform].login2 input[type=text],
|
|
45
|
-
component[name=loginform].login2 input[type=password] {
|
|
44
|
+
quick-component[name=loginform].login2 input[type=text],
|
|
45
|
+
quick-component[name=loginform].login2 input[type=password] {
|
|
46
46
|
width: 80% !important;
|
|
47
47
|
padding: 15px;
|
|
48
48
|
margin: 5px 0 22px 0;
|
|
@@ -51,18 +51,18 @@ component[name=loginform].login2 input[type=password] {
|
|
|
51
51
|
background: #f1f1f1;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
component[name=loginform].login2 input[type=text]:focus,
|
|
55
|
-
component[name=loginform].login2 input[type=password]:focus {
|
|
54
|
+
quick-component[name=loginform].login2 input[type=text]:focus,
|
|
55
|
+
quick-component[name=loginform].login2 input[type=password]:focus {
|
|
56
56
|
background-color: #ddd;
|
|
57
57
|
outline: none;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
component[name=loginform].login2 form {
|
|
60
|
+
quick-component[name=loginform].login2 form {
|
|
61
61
|
width: 100% !important;
|
|
62
62
|
margin: 0 auto;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
component[name=loginform].login2 form breakline {
|
|
65
|
+
quick-component[name=loginform].login2 form breakline {
|
|
66
66
|
display: none;
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
/* NAV */
|
|
28
|
-
nav > component {
|
|
28
|
+
nav > quick-component {
|
|
29
29
|
background-color: #111;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
nav > component a {
|
|
32
|
+
nav > quick-component a {
|
|
33
33
|
font-size: 15px;
|
|
34
34
|
color: #ecffc7;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
nav > component a:hover {
|
|
37
|
+
nav > quick-component a:hover {
|
|
38
38
|
color: #f1f1f1;
|
|
39
39
|
}
|
|
40
40
|
|
package/css/theme/cyan/style.css
CHANGED
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
/* NAV */
|
|
28
|
-
nav > component {
|
|
28
|
+
nav > quick-component {
|
|
29
29
|
background-color: rgb(106, 229, 245);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
nav > component a {
|
|
32
|
+
nav > quick-component a {
|
|
33
33
|
font-size: 15px;
|
|
34
34
|
color: #28197e;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
nav > component a:hover {
|
|
37
|
+
nav > quick-component a:hover {
|
|
38
38
|
color: #4aa7dd;
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
* license document, but changing it is not allowed.
|
|
25
25
|
*/
|
|
26
26
|
/* NAV */
|
|
27
|
-
nav > component {
|
|
27
|
+
nav > quick-component {
|
|
28
28
|
background-color: rgb(228, 119, 119);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
nav > component a {
|
|
31
|
+
nav > quick-component a {
|
|
32
32
|
font-size: 15px;
|
|
33
33
|
color: rgb(228, 119, 119);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
nav > component a:hover {
|
|
36
|
+
nav > quick-component a:hover {
|
|
37
37
|
color: #8d4949;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -17,7 +17,7 @@ Package("com.qcobjects.services.github", [
|
|
|
17
17
|
description: project.description,
|
|
18
18
|
title: project.name,
|
|
19
19
|
url: project.html_url,
|
|
20
|
-
image: `https://via.placeholder.com/
|
|
20
|
+
image: `https://via.placeholder.com/170/000000/FFFFFF?text=${encodeURI(project.name)}`
|
|
21
21
|
};
|
|
22
22
|
});
|
|
23
23
|
|
|
@@ -45,7 +45,7 @@ Package("com.qcobjects.services.github", [
|
|
|
45
45
|
description: project.description,
|
|
46
46
|
title: project.name,
|
|
47
47
|
url: project.html_url,
|
|
48
|
-
image: `https://via.placeholder.com/
|
|
48
|
+
image: `https://via.placeholder.com/170/000000/FFFFFF?text=${encodeURI(project.name)}`
|
|
49
49
|
};
|
|
50
50
|
});
|
|
51
51
|
|
package/package.json
CHANGED
|
@@ -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>
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
}
|
|
8
8
|
</style>
|
|
9
9
|
<div>
|
|
10
|
-
<p>Check out the code of this app in <a href="https://github.com/QuickCorp/qcobjects-new-app"><b>GitHub</b></a></p>
|
|
11
|
-
<octocat-icon data-url="https://github.com/QuickCorp/qcobjects-new-app"></octocat-icon>
|
|
10
|
+
<p>Check out the code of this app in <a aria-label="GitHub" href="https://github.com/QuickCorp/qcobjects-new-app"><b>GitHub</b></a></p>
|
|
11
|
+
<octocat-icon data-label="GitHub" data-url="https://github.com/QuickCorp/qcobjects-new-app"></octocat-icon>
|
|
12
12
|
</div>
|
|
@@ -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>
|
|
@@ -14,9 +14,7 @@ To use this card, insert this component tag in your container file
|
|
|
14
14
|
</div>
|
|
15
15
|
<div class="container">
|
|
16
16
|
<div class="title">
|
|
17
|
-
<
|
|
18
|
-
<slot id="slot-card-title" name="card_title"></slot>
|
|
19
|
-
</h4>
|
|
17
|
+
<slot id="slot-card-title" name="card_title"></slot>
|
|
20
18
|
</div>
|
|
21
19
|
<div class="description">
|
|
22
20
|
<slot id="slot-card-description" name="card_description"></slot>
|
|
@@ -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>
|