Skip to content

Commit

Permalink
pridani subscribe do newsletteru (pyvec#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
messa committed Jun 23, 2018
1 parent ce63b27 commit 86cb8f7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyworking_cz/static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ button.btn {
}

button.btn.btn-show-more-events,
.btn.btn-subscribe,
.btn.btn-back {
color: #c01;
border-color: #c01;
Expand Down
2 changes: 2 additions & 0 deletions pyworking_cz/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ <h2 class='ws-title'>Workshops</h2>
Každý workshop je na nějaké téma z&nbsp;praxe, dopoledne je přednáška a odpoledne samostatná práce pod vedením zkušených koučů.
</p>

{% include 'mailchimp_subscribe.html' %}

{% macro show_event(event) %}
<p>
<span class='event-title'>
Expand Down
20 changes: 20 additions & 0 deletions pyworking_cz/templates/mailchimp_subscribe.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup">
<form action="https://pyladies.us14.list-manage.com/subscribe/post?u=7876931419c06d06b9d0f1600&amp;id=6869b8d331" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<p><strong>Přihlašte se k odběru newsletteru</strong></p>
<div class="mc-field-group">
<label for="mce-EMAIL">E-mailová adresa:</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_7876931419c06d06b9d0f1600_6869b8d331" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" class='btn btn-subscribe' value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->

0 comments on commit 86cb8f7

Please sign in to comment.