@moreonion/foundist 2.1.1 → 3.0.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/.vscode/settings.json +16 -0
- package/README.md +5 -9
- package/package.json +6 -28
- package/src/html/basic-action-page-cover-1col.html +27 -27
- package/src/html/basic-action-page-cover-2col-reversed.html +27 -27
- package/src/html/basic-action-page-cover-2col.html +27 -27
- package/src/html/basic-action-page-cover-banner.html +27 -27
- package/src/html/basic-action-page-reversed.html +22 -23
- package/src/html/basic-action-page-with-banner-reversed.html +27 -27
- package/src/html/basic-action-page-with-banner.html +27 -27
- package/src/html/basic-action-page-with-callouts.html +28 -28
- package/src/html/basic-action-page.html +22 -23
- package/src/html/build-index.html +9 -0
- package/src/html/dev-index.html +49 -0
- package/src/html/donation-action-page.html +20 -20
- package/src/html/e2t-action-page.html +25 -28
- package/src/html/includes/accordion.html +25 -25
- package/src/html/includes/basic-form-with-errors.html +28 -26
- package/src/html/includes/basic-form.html +11 -7
- package/src/html/includes/cookiebar.html +5 -5
- package/src/html/includes/donate-form.html +11 -8
- package/src/html/includes/e2t-single-form.html +29 -27
- package/src/html/includes/form-items/_macros.html +76 -0
- package/src/html/includes/form-items/checkboxes.html +18 -18
- package/src/html/includes/form-items/country-select-options.html +253 -0
- package/src/html/includes/form-items/donation-amount.html +63 -64
- package/src/html/includes/form-items/donation-interval.html +14 -13
- package/src/html/includes/form-items/fake-field.html +2 -2
- package/src/html/includes/form-items/fieldset.html +9 -7
- package/src/html/includes/form-items/file-upload.html +7 -7
- package/src/html/includes/form-items/giftaid.html +16 -0
- package/src/html/includes/form-items/inline-radios.html +14 -14
- package/src/html/includes/form-items/opt-in-checkbox.html +5 -5
- package/src/html/includes/form-items/opt-in-radios.html +7 -7
- package/src/html/includes/form-items/payment-icons.html +17 -17
- package/src/html/includes/form-items/paymethod-selector.html +24 -24
- package/src/html/includes/form-items/radios-with-error.html +8 -8
- package/src/html/includes/form-items/radios.html +14 -14
- package/src/html/includes/form-items/select-with-error.html +257 -257
- package/src/html/includes/form-items/textarea.html +2 -2
- package/src/html/includes/form-items/webform-steps.html +13 -13
- package/src/html/includes/language-switcher.html +10 -10
- package/src/html/includes/login-form.html +5 -3
- package/src/html/includes/menu.html +3 -3
- package/src/html/includes/overlay.html +4 -4
- package/src/html/includes/pagination.html +13 -13
- package/src/html/includes/pgbar-thermometer.html +8 -8
- package/src/html/includes/pgbar.html +5 -5
- package/src/html/includes/recent-supporters-agregated.html +32 -32
- package/src/html/includes/recent-supporters-comments.html +31 -31
- package/src/html/includes/recent-supporters-empty.html +3 -3
- package/src/html/includes/recent-supporters.html +26 -26
- package/src/html/includes/share-buttons.html +30 -28
- package/src/html/includes/sticky-button.html +1 -1
- package/src/html/includes/teasers.html +25 -5
- package/src/html/includes/toggle-element-show-more.html +3 -3
- package/src/html/includes/toggle-element-toggle.html +2 -2
- package/src/html/login-page.html +5 -7
- package/src/html/snippets-demo.html +13 -15
- package/src/html/teaser-page.html +7 -7
- package/src/html/templates/action-page-cover-1col.html +12 -83
- package/src/html/templates/action-page-cover-banner.html +15 -85
- package/src/html/templates/action-page-reversed.html +16 -82
- package/src/html/templates/action-page.html +21 -80
- package/src/html/templates/base.html +31 -0
- package/src/html/templates/page.html +93 -0
- package/src/html/templates/share-page.html +3 -0
- package/src/html/thank-you-page-cover-1col.html +14 -14
- package/src/html/thank-you-page-cover-2col.html +17 -13
- package/src/html/thank-you-page-cover-banner.html +14 -14
- package/src/html/thank-you-page-with-banner.html +14 -14
- package/src/html/thank-you-page.html +15 -15
- package/src/html/typography-static-page.html +18 -20
- package/src/js/foundist.js +33 -12
- package/src/scss/_settings.scss +3 -3
- package/src/scss/components/_settings.scss +6 -2
- package/src/scss/form/_fields.scss +19 -0
- package/src/scss/form/_settings.scss +6 -2
- package/src/scss/layout/_cover.scss +3 -2
- package/src/scss/main.scss +2 -0
- package/src/scss/typography/_settings.scss +2 -0
- package/src/html/empty-action-page.html +0 -29
- package/src/html/empty-static-page.html +0 -21
- package/src/html/includes/form-items/country-select.html +0 -258
- package/src/html/includes/form-items/email.html +0 -4
- package/src/html/includes/form-items/first-name.html +0 -4
- package/src/html/includes/form-items/last-name.html +0 -4
- package/src/html/includes/form-items/password.html +0 -5
- package/src/html/includes/form-items/submit-button.html +0 -2
- package/src/html/includes/form-items/text-with-description.html +0 -5
- package/src/html/includes/form-items/text-with-error.html +0 -5
- package/src/html/includes/teaser.html +0 -17
- package/src/html/index.html +0 -51
- package/src/html/templates/action-page-cover-2col-reversed.html +0 -97
- package/src/html/templates/action-page-cover-2col.html +0 -97
- package/src/html/templates/action-page-with-banner-reversed.html +0 -91
- package/src/html/templates/action-page-with-banner.html +0 -91
- package/src/html/templates/static-page-cover-1col.html +0 -80
- package/src/html/templates/static-page-cover-2col.html +0 -88
- package/src/html/templates/static-page-cover-banner.html +0 -81
- package/src/html/templates/static-page-with-banner.html +0 -77
- package/src/html/templates/static-page.html +0 -73
- package/src/html/templates/teaser-page.html +0 -73
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
|
|
1
|
+
{% extends "src/html/templates/action-page.html" %}
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
{% set layout = "banner" %}
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
{% block page_title %}Take action now!{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block banner %}
|
|
6
8
|
<img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
|
|
7
|
-
|
|
9
|
+
{% endblock %}
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
{% block top %}
|
|
10
12
|
<p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
|
|
11
|
-
|
|
13
|
+
{% endblock %}
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
{% block form_intro %}
|
|
14
16
|
<h2>Signup now!</h2>
|
|
15
17
|
<p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
|
|
16
|
-
|
|
18
|
+
{% endblock %}
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
{% block progress_bar %}
|
|
21
|
+
{% include "src/html/includes/pgbar.html" %}
|
|
22
|
+
{% endblock %}
|
|
21
23
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
{% block form %}
|
|
25
|
+
{% include "src/html/includes/basic-form.html" %}
|
|
26
|
+
{% endblock %}
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
{% block recent_supporters %}
|
|
29
|
+
{% include "src/html/includes/recent-supporters.html" %}
|
|
30
|
+
{% endblock %}
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
{% block content_top %}
|
|
31
33
|
<div class="media-stretch">
|
|
32
|
-
|
|
34
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
33
35
|
</div>
|
|
34
|
-
|
|
36
|
+
{% endblock %}
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
{% block content %}
|
|
37
39
|
<h2>Cougar British shorthair turkish angora</h2>
|
|
38
40
|
<p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
|
|
39
41
|
<p>A very wise cat once said:</p>
|
|
40
42
|
<blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
|
|
41
43
|
<p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
<block name="footer">
|
|
45
|
-
<include src="menu.html"></include>
|
|
46
|
-
</block>
|
|
44
|
+
{% endblock %}
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
{% block footer %}
|
|
47
|
+
{% include "src/html/includes/menu.html" %}
|
|
48
|
+
{% endblock %}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
|
|
1
|
+
{% extends "src/html/templates/action-page.html" %}
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
{% set layout = "default" %}
|
|
4
|
+
|
|
5
|
+
{% block page_title %}Take action now!{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block messages %}
|
|
4
8
|
<div class="callout success" data-closable="">
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
<h2 class="show-for-sr">Status message</h2>
|
|
10
|
+
Some message with a <a href="#">link</a>.
|
|
11
|
+
<button class="close-button" aria-label="Dismiss alert" type="button" data-close=""></button>
|
|
8
12
|
</div>
|
|
9
|
-
|
|
13
|
+
{% endblock %}
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<block name="top">
|
|
15
|
+
{% block top %}
|
|
14
16
|
<p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
|
|
15
|
-
|
|
17
|
+
{% endblock %}
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
{% block form_intro %}
|
|
18
20
|
<h2>Signup now!</h2>
|
|
19
21
|
<p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
|
|
20
|
-
|
|
22
|
+
{% endblock %}
|
|
21
23
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
{% block progress_bar %}
|
|
25
|
+
{% include "src/html/includes/pgbar.html" %}
|
|
26
|
+
{% endblock %}
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
{% block form %}
|
|
29
|
+
{% include "src/html/includes/basic-form-with-errors.html" %}
|
|
30
|
+
{% endblock %}
|
|
29
31
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
{% block recent_supporters %}
|
|
33
|
+
{% include "src/html/includes/recent-supporters.html" %}
|
|
34
|
+
{% endblock %}
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
{% block content_top %}
|
|
35
37
|
<div class="media-stretch">
|
|
36
|
-
|
|
38
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
37
39
|
</div>
|
|
38
|
-
|
|
40
|
+
{% endblock %}
|
|
39
41
|
|
|
40
|
-
|
|
42
|
+
{% block content %}
|
|
41
43
|
<h2>Cougar British shorthair turkish angora</h2>
|
|
42
44
|
<p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
|
|
43
45
|
<p>A very wise cat once said:</p>
|
|
44
46
|
<blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
|
|
45
47
|
<p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</extends>
|
|
48
|
+
{% endblock %}
|
|
@@ -1,41 +1,40 @@
|
|
|
1
|
-
|
|
1
|
+
{% extends "src/html/templates/action-page.html" %}
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
{% set layout = "default" %}
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
{% block page_title %}Take action now!{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block top %}
|
|
6
8
|
<p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
|
|
7
|
-
|
|
9
|
+
{% endblock %}
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
{% block form_intro %}
|
|
10
12
|
<h2>Signup now!</h2>
|
|
11
13
|
<p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
|
|
12
|
-
|
|
14
|
+
{% endblock %}
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
{% block progress_bar %}
|
|
17
|
+
{% include "src/html/includes/pgbar.html" %}
|
|
18
|
+
{% endblock %}
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
{% block form %}
|
|
21
|
+
{% include "src/html/includes/basic-form.html" %}
|
|
22
|
+
{% endblock %}
|
|
21
23
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
{% block recent_supporters %}
|
|
25
|
+
{% include "src/html/includes/recent-supporters.html" %}
|
|
26
|
+
{% endblock %}
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
{% block content_top %}
|
|
27
29
|
<div class="media-stretch">
|
|
28
|
-
|
|
30
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
29
31
|
</div>
|
|
30
|
-
|
|
32
|
+
{% endblock %}
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
{% block content %}
|
|
33
35
|
<h2>Cougar British shorthair turkish angora</h2>
|
|
34
36
|
<p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
|
|
35
37
|
<p>A very wise cat once said:</p>
|
|
36
38
|
<blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
|
|
37
39
|
<p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
|
|
38
|
-
|
|
39
|
-
</block>
|
|
40
|
-
|
|
41
|
-
</extends>
|
|
40
|
+
{% endblock %}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{% extends "./templates/page.html" %}
|
|
2
|
+
|
|
3
|
+
{% block page_title %}{{ settings.site_name }}{% endblock %}
|
|
4
|
+
|
|
5
|
+
{% block content %}
|
|
6
|
+
<p>Documentation for <a href="https://get.foundation/sites/docs/">Foundation</a></p>
|
|
7
|
+
<h2>Example pages</h2>
|
|
8
|
+
<ul class="no-bullet">
|
|
9
|
+
<li><a href="src/html/basic-action-page.html">Basic action page</a></li>
|
|
10
|
+
<li><a href="src/html/e2t-action-page.html">Email to target page</a></li>
|
|
11
|
+
<li><a href="src/html/donation-action-page.html">Donation page</a></li>
|
|
12
|
+
<li><a href="src/html/thank-you-page.html">Thank you page</a></li>
|
|
13
|
+
<li><a href="src/html/thank-you-page.html#overlay">Thank you page with overlay</a></li>
|
|
14
|
+
<li><a href="src/html/login-page.html">Login page</a></li>
|
|
15
|
+
<li><a href="src/html/teaser-page.html">Teasers</a></li>
|
|
16
|
+
<li><a href="src/html/basic-action-page-with-callouts.html">Basic action page with callout messages</a></li>
|
|
17
|
+
<li><a href="src/html/typography-static-page.html">Typographic elements</a></li>
|
|
18
|
+
<li><a href="src/html/snippets-demo.html">Snippets demo</a></li>
|
|
19
|
+
</ul>
|
|
20
|
+
<h3>Layout variations</h3>
|
|
21
|
+
<h4 class="h6">A: Standard (2 columns)  <small>default</small></h4>
|
|
22
|
+
<ul class="no-bullet">
|
|
23
|
+
<li><a href="src/html/basic-action-page.html">Basic action page</a></li>
|
|
24
|
+
<li><a href="src/html/basic-action-page-reversed.html">Basic action page reversed</a></li>
|
|
25
|
+
<li><a href="src/html/thank-you-page.html">Thank you page</a></li>
|
|
26
|
+
</ul>
|
|
27
|
+
<h4 class="h6">B: Banner image (2 columns)  <small>banner</small></h4>
|
|
28
|
+
<ul class="no-bullet">
|
|
29
|
+
<li><a href="src/html/basic-action-page-with-banner.html">Basic action page</a></li>
|
|
30
|
+
<li><a href="src/html/basic-action-page-with-banner-reversed.html">Basic action page reversed</a></li>
|
|
31
|
+
<li><a href="src/html/thank-you-page-with-banner.html">Thank you page</a></li>
|
|
32
|
+
</ul>
|
|
33
|
+
<h4 class="h6">C: Fixed background image (2 columns)  <small>cover-2col</small></h4>
|
|
34
|
+
<ul class="no-bullet">
|
|
35
|
+
<li><a href="src/html/basic-action-page-cover-2col.html">Basic action page</a></li>
|
|
36
|
+
<li><a href="src/html/basic-action-page-cover-2col-reversed.html">Basic action page reversed</a></li>
|
|
37
|
+
<li><a href="src/html/thank-you-page-cover-2col.html">Thank you page</a></li>
|
|
38
|
+
</ul>
|
|
39
|
+
<h4 class="h6">D: Fixed banner image (2 columns)  <small>cover-banner</small></h4>
|
|
40
|
+
<ul class="no-bullet">
|
|
41
|
+
<li><a href="src/html/basic-action-page-cover-banner.html">Basic action page</a></li>
|
|
42
|
+
<li><a href="src/html/thank-you-page-cover-banner.html">Thank you page</a></li>
|
|
43
|
+
</ul>
|
|
44
|
+
<h4 class="h6">E: Fixed background image (1 column)  <small>cover-1col</small></h4>
|
|
45
|
+
<ul class="no-bullet">
|
|
46
|
+
<li><a href="src/html/basic-action-page-cover-1col.html">Basic action page</a></li>
|
|
47
|
+
<li><a href="src/html/thank-you-page-cover-1col.html">Thank you page</a></li>
|
|
48
|
+
</ul>
|
|
49
|
+
{% endblock %}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
{% extends "src/html/templates/action-page.html" %}
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
{% set layout = "default" %}
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
{% block page_title %}Donate now!{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block top %}
|
|
6
8
|
<p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
|
|
7
|
-
|
|
9
|
+
{% endblock %}
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
<h2>
|
|
11
|
+
{% block form_intro %}
|
|
12
|
+
<h2>Signup now!</h2>
|
|
11
13
|
<p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
|
|
12
|
-
|
|
14
|
+
{% endblock %}
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
{% block progress_bar %}
|
|
17
|
+
{% include "src/html/includes/pgbar-thermometer.html" %}
|
|
18
|
+
{% endblock %}
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
{% block form %}
|
|
21
|
+
{% include "src/html/includes/donate-form.html" %}
|
|
22
|
+
{% endblock %}
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
{% block content_top %}
|
|
23
25
|
<div class="media-stretch">
|
|
24
|
-
|
|
26
|
+
<img src="http://placekitten.com/860/460" alt="test image with cats" crossorigin="">
|
|
25
27
|
</div>
|
|
26
|
-
|
|
28
|
+
{% endblock %}
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
{% block content %}
|
|
29
31
|
<h2>Cougar British shorthair turkish angora</h2>
|
|
30
32
|
<p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</extends>
|
|
33
|
+
{% endblock %}
|
|
@@ -1,43 +1,40 @@
|
|
|
1
|
-
|
|
1
|
+
{% extends "src/html/templates/action-page.html" %}
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
{% set layout = "default" %}
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
{% block page_title %}Email your MP!{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block top %}
|
|
6
8
|
<p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
|
|
7
|
-
|
|
9
|
+
{% endblock %}
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
<h2>
|
|
11
|
+
{% block form_intro %}
|
|
12
|
+
<h2>Signup now!</h2>
|
|
11
13
|
<p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<block name="progress-bar">
|
|
15
|
-
</block>
|
|
14
|
+
{% endblock %}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
{% block form %}
|
|
17
|
+
{% include "src/html/includes/e2t-single-form.html" %}
|
|
18
|
+
{% endblock %}
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
{% block recent_supporters %}
|
|
21
|
+
{% include "src/html/includes/recent-supporters-comments.html" %}
|
|
22
|
+
{% endblock %}
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
{% block content_top %}
|
|
26
25
|
<div class="media-stretch">
|
|
27
|
-
|
|
26
|
+
<img src="http://placekitten.com/860/460" alt="test image with cats" crossorigin="">
|
|
28
27
|
</div>
|
|
29
|
-
|
|
28
|
+
{% endblock %}
|
|
30
29
|
|
|
31
|
-
|
|
30
|
+
{% block content %}
|
|
32
31
|
<h2>Cougar British shorthair turkish angora</h2>
|
|
33
32
|
<p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
|
|
34
33
|
<div class="letter">
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
<h5>Give cats a chance</h5>
|
|
35
|
+
<p>A very wise cat once said: ignore the squirrels, you'll never catch them anyway. Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor.</p>
|
|
36
|
+
<p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p>
|
|
37
|
+
<p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
|
|
38
|
+
<p>Yours,<br>Kitty the Cat</p>
|
|
40
39
|
</div>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</extends>
|
|
40
|
+
{% endblock %}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
<ul class="accordion" data-accordion data-allow-all-closed="true" data-multi-expand="true">
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
<li class="accordion-item is-active" data-accordion-item>
|
|
3
|
+
<a href="#" class="accordion-title">Accordion 1</a>
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
<div class="accordion-content" data-tab-content>
|
|
6
|
+
<p>Panel 1. Lorem ipsum dolor</p>
|
|
7
|
+
<p>Starts in the open state due to using the <code>is-active</code> state class.</p>
|
|
8
|
+
</div>
|
|
9
|
+
</li>
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
<li class="accordion-item" data-accordion-item>
|
|
12
|
+
<a href="#" class="accordion-title">Accordion 2 has a very long and not very interesting title (but it wraps the line to see how it is wrapping)</a>
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
<div class="accordion-content" data-tab-content>
|
|
15
|
+
<p>Panel 2. Lorem ipsum dolor</p>
|
|
16
|
+
<a href="#">Nowhere to Go</a>
|
|
17
|
+
</div>
|
|
18
|
+
</li>
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
<li class="accordion-item" data-accordion-item>
|
|
21
|
+
<a href="#" class="accordion-title">Accordion 3</a>
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
</ul>
|
|
23
|
+
<div class="accordion-content" data-tab-content>
|
|
24
|
+
<p>Panel 3. Lorem ipsum dolor</p>
|
|
25
|
+
<ol>
|
|
26
|
+
<li>This is an ordered list</li>
|
|
27
|
+
<li>It is the last item in the accordion container</li>
|
|
28
|
+
</ol>
|
|
29
|
+
</div>
|
|
30
|
+
</li>
|
|
31
|
+
</ul>
|
|
@@ -1,28 +1,30 @@
|
|
|
1
|
+
{% from "./form-items/_macros.html" import input, select, button %}
|
|
2
|
+
|
|
1
3
|
<div id="form">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
4
|
+
<!-- serverside error -->
|
|
5
|
+
<div class="callout alert" data-closable="">
|
|
6
|
+
<h2 class="show-for-sr">Error message</h2>
|
|
7
|
+
<ul>
|
|
8
|
+
<li>First name field is required.</li>
|
|
9
|
+
<li>Last name field is required.</li>
|
|
10
|
+
<li>Email address field is required.</li>
|
|
11
|
+
<li>Do you want to receive our newsletter? field is required.</li>
|
|
12
|
+
</ul>
|
|
13
|
+
<button class="close-button" aria-label="Dismiss alert" type="button" data-close=""></button>
|
|
14
|
+
</div>
|
|
15
|
+
<!-- client side error that’s not displayed on the field -->
|
|
16
|
+
<div class="messages error clientside-error">
|
|
17
|
+
<ul>
|
|
18
|
+
<li>
|
|
19
|
+
<label for="email" generated="true" class="error">The value in Email address is not a valid email address.</label>
|
|
20
|
+
</li>
|
|
21
|
+
</ul>
|
|
22
|
+
</div>
|
|
23
|
+
<!-- form with clientside validation errors on individual fields -->
|
|
24
|
+
<form method="post" accept-charset="UTF-8" novalidate="novalidate">
|
|
25
|
+
{{ input("Textfield", error="Some error message for this field.") }}
|
|
26
|
+
{{ select("Country", error="That’s not right.", hide_label=true) }}
|
|
27
|
+
{% include "./form-items/radios-with-error.html" %}
|
|
28
|
+
{{ button("Take action now!", class="expanded primary button large")}}
|
|
29
|
+
</form>
|
|
28
30
|
</div>
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
{% from "./form-items/_macros.html" import input, select, hidden, button %}
|
|
2
|
+
|
|
1
3
|
<div id="form">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
<form method="post" accept-charset="UTF-8" novalidate="novalidate">
|
|
5
|
+
{{ input("First name", {size: 60, maxlength: 128, placeholder: "First name"}) }}
|
|
6
|
+
{{ input("Last name", {size: 60, maxlength: 128}) }}
|
|
7
|
+
{{ input("Email address", {type: "email", id: "email", size: 60, required: "required"}) }}
|
|
8
|
+
{{ select("Country", hide_label=true) }}
|
|
9
|
+
{% include "./form-items/opt-in-radios.html" %}
|
|
10
|
+
{{ hidden("token") }}
|
|
11
|
+
{{ button("Take action now!", class="expanded primary button large") }}
|
|
12
|
+
</form>
|
|
9
13
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<section id="cookiebar">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
<div class="grid-container">
|
|
3
|
+
<p>Cats can’t have cookies! Says who? <a href="#">More info</a></p>
|
|
4
|
+
<button data-block class="small secondary button">Meow</button>
|
|
5
|
+
<button data-accept class="small button">OK</button>
|
|
6
|
+
</div>
|
|
7
7
|
</section>
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
<form method="post" accept-charset="UTF-8" novalidate="novalidate">
|
|
3
|
-
<include src="form-items/donation-interval.html"></include>
|
|
4
|
-
<include src="form-items/donation-amount.html"></include>
|
|
5
|
-
<br>
|
|
6
|
-
<include src="form-items/paymethod-selector.html"></include>
|
|
1
|
+
{% from "./form-items/_macros.html" import button %}
|
|
7
2
|
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
<div id="form">
|
|
4
|
+
<form method="post" accept-charset="UTF-8" novalidate="novalidate">
|
|
5
|
+
{% include "./form-items/donation-interval.html" %}
|
|
6
|
+
{% include "./form-items/donation-amount.html" %}
|
|
7
|
+
{% include "./form-items/giftaid.html" %}
|
|
8
|
+
<br>
|
|
9
|
+
{% include "./form-items/paymethod-selector.html" %}
|
|
10
|
+
{{ button("Donate now!", class="expanded primary button large") }}
|
|
11
|
+
{% include "./form-items/payment-icons.html" %}
|
|
12
|
+
</form>
|
|
10
13
|
</div>
|