Changeset - d1fe144a2688
[Not reviewed]
0 2 0
Christopher Neugebauer - 5 years ago 2019-06-15 21:33:16
_@chrisjrn.com
Add newsletter signup
2 files changed with 38 insertions and 8 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/static_pages/homepage.html
Show inline comments
...
 
@@ -42,9 +42,39 @@
 
    <div class="container homepage-block-footer">
 
      <p class="">
 
        {% comment %}
 
        <span class="wrap-break">Talk proposal submissions are now open, until August 8th.</span>
 
        <span class="wrap-break">Submit your proposal now!</span>
 
        {% endcomment %}
 
        <span class="wrap-break">Talk proposal submissions open soon!</span>
 
      </p>
 
      <div class="row">
 
        <div class="col-md-8">
 
          <p class="">
 
            {% comment %}
 
            <span class="wrap-break">Talk proposal submissions are now open, until August 9th.</span>
 
            <span class="wrap-break">Submit your proposal now!</span>
 
            {% endcomment %}
 
            <span class="wrap-break">Talk proposal submissions open soon!</span>
 
          </p>
 
        </div>
 
        <div class="col-md-4  email-signup-panel">
 
          <div class="panel panel-default">
 
            <div class="panel-heading">
 
              <h2 class="panel-title homepage-title">Sign up for our newsletter</h4>
 
            </div>
 
            <div class="panel-body">
 
              <form
 
                class="form-inline"
 
                action="https://tinyletter.com/northbaypython" method="post" target="popupwindow" onsubmit="window.open('https://tinyletter.com/northbaypython', 'popupwindow', 'scrollbars=yes,width=800,height=600');return true">
 
                <div class="form-group">
 
                  <span>
 
                    <label class="hidden-accessible" for="tlemail">Email address:</label>
 
                  </span>
 
                  <span>
 
                    <input class="form-control" type="email" name="email" id="tlemail" placeholder="E-mail address"/>
 
                  </span>
 
                </div>
 
                <span>
 
                  <input class="btn btn-primary" type="submit" value="Subscribe" />
 
                </span>
 

	
 
                <input type="hidden" value="1" name="embed"/>
 
              </form>
 
            </div>
 
          </div>
 
        </div>
 
      </div>
 
    </div>
static/scss/custom.scss
Show inline comments
...
 
@@ -294,3 +294,3 @@ $homepage-block-smaller-min-height: 360px;
 
  color: white;
 
  text-shadow: 1px 1px $gray-dark;
 
  //text-shadow: 1px 1px $gray-dark;
 

	
0 comments (0 inline, 0 general)