-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get sign up component to look right (#2998)
* new signup component * update to bannered-campaign-page to signups as option * updated campaign/views.py to handle signup data (=>sqs/basket)
- Loading branch information
Showing
19 changed files
with
454 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{% with wrapper_class="py-5" %} | ||
|
||
<div class="donate-banner {{wrapper_class}}"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<h3 class="h3-heading dark-theme mb-0">We all love the Web. Join Mozilla in defending it.</h3> | ||
<h4 class="h3-heading dark-theme mb-4">Let’s protect the world’s largest resource for future generations.</h4> | ||
<div> | ||
<a href="https://donate.mozilla.org?utm_source=foundation.mozilla.org&utm_medium=referral&utm_content=footer-cta" target="_blank" rel="noopener noreferrer" c class="btn btn-secondary dark-theme">Donate now</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<footer class="site-footer {{wrapper_class}}"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-5"> | ||
<div class="join-us dark-theme mb-5" data-theme="dark-theme" data-layout="side-button"></div> | ||
<div class="my-5"> | ||
<a class="logo" href="https://mozilla.org"><img src="/_images/mozilla-block-white.svg"></a> | ||
</div> | ||
</div> | ||
<div class="col-md-6 offset-md-1"> | ||
<div class="row"> | ||
<div class="col-md-4"> | ||
<h5 class="h5-heading dark-theme">More about us</h5> | ||
<ul class="d-flex"> | ||
<li class="mr-3"><a class="" href="https://twitter.com/mozilla"><img src="/_images/glyphs/twitter-dark-theme.svg" alt="Twitter"><span class="sr-only">Twitter</span></a></li> | ||
<li class="mr-3"><a class="" href="https://www.instagram.com/mozilla/"><img src="/_images/glyphs/instagram-dark-theme.svg" alt="Instagram"><span class="sr-only">Instagram</span></a></li> | ||
<li class="mr-3"><a class="" href="https://www.github.com/mozilla/foundation.mozilla.org/"><img src="/_images/glyphs/github-dark-theme.svg" alt="Github"><span class="sr-only">Github</span></a></li> | ||
</ul> | ||
</div> | ||
<div class="col-md-8"> | ||
<ul class="link-list list-unstyled mb-0"> | ||
<li class="mb-2"><a id="donate-footer-btn" href="https://donate.mozilla.org/?utm_source=foundation.mozilla.org&utm_medium=referral&utm_content=footer" target="_blank" rel="noopener noreferrer" class="dark-theme">Donate</a></li> | ||
<li class="mb-2"><a href="https://mozilla.org/en-US/about/legal/" class="dark-theme">Legal</a></li> | ||
<li class="mb-2"><a href="https://creativecommons.org/licenses/by/4.0" class="dark-theme">License</a></li> | ||
<li class="mb-2"><a href="https://www.mozilla.org/about/governance/policies/participation/" class="dark-theme">Participation Guidelines</a></li> | ||
<li class="mb-2"><a href="https://mozilla.org/en-US/privacy/websites/" class="dark-theme">Privacy</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<hr class="mt-3 mt-md-5" /> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<p class="dark-theme">Mozilla is a global non-profit dedicated to putting you in control of your online experience and shaping the future of the web for the public good.</p> | ||
<p class="dark-theme mb-0">Visit us at <a href="https://mozilla.org">mozilla.org</a></p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
|
||
{% endwith %} |
26 changes: 26 additions & 0 deletions
26
network-api/networkapi/wagtailpages/migrations/0067_auto_20190410_1229.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.20 on 2019-04-10 19:29 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('wagtailpages', '0066_auto_20190409_0906'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='banneredcampaignpage', | ||
name='signup', | ||
field=models.ForeignKey(blank=True, help_text='Choose an existing, or create a new, sign-up form', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='bcpage', to='wagtailpages.Signup'), | ||
), | ||
migrations.AlterField( | ||
model_name='banneredcampaignpage', | ||
name='cta', | ||
field=models.ForeignKey(blank=True, help_text='Choose an existing, or create a new, pettition form', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='bcpage', to='wagtailpages.Petition'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
network-api/networkapi/wagtailpages/templates/wagtailpages/tags/cta/signup.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.