Changeset - 76c4029e3f8c
[Not reviewed]
0 6 1
Christopher Neugebauer - 3 years ago 2018-06-29 22:18:01
chrisjrn@gmail.com
Initial 2018ification
7 files changed with 90 insertions and 110 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/_footer.html
Show inline comments
...
 
@@ -6,24 +6,27 @@
 
    <div class="circle">
 
      <div class="fill" style="background-image: url('{% static "images/logo.svg" %}');"></div>
 
    </div>
 
  </div>
 

	
 
  <div class="footer-copy">
 
    <p>&copy; 2017 North Bay Python, member project of <a href="https://sfconservancy.org" >Software Freedom Conservancy</a>, a 501(c)(3) charity.</p>
 
    <p>&copy; 2018 North Bay Python, member project of <a href="https://sfconservancy.org" >Software Freedom Conservancy</a>, a 501(c)(3) charity.</p>
 

	
 
    {% sponsors "platinum" as platinum %}
 

	
 
    {% comment %}
 
    <p>We acknowledge the support of our Platinum sponsor{{ platinum|length|pluralize}},
 
      {% for sponsor in platinum %}
 
        {% if forloop.last and not forloop.first %}
 
          and
 
        {% endif %}
 
        {{ sponsor }}{% if forloop.last %}.{% endif %}
 
      {% endfor %}
 

	
 
      {% endcomment %}
 

	
 
    <p>
 
      <a href="https://facebook.com/northbaypython">Facebook</a>
 
      | <a href="https://twitter.com/northbaypython">Twitter</a>
 
      | <a href="https://www.youtube.com/channel/UCLc1vUexbRTlRBJcUG9U6ug">YouTube</a>
 
      | <a href="https://webchat.freenode.net/?channels=%23nbpy">IRC</a>
 
      | <a href="/accessibility">Accessibility</a>
pinaxcon/templates/_homepage_speakers_snippet.html
Show inline comments
 
new file 100644
 
<h1>Speakers</h1>
 

	
 
<div class="row speaker-list">
 

	
 
  <div class="speaker" >
 
    <div class="image-alignment">
 
      <div class="circle" style="border: 0;">
 
          <div class="fill" style="background-image: url('{% static "images/brandon.jpg" %}');"></div>
 
      </div>
 
    </div>
 
    <h4>Brandon Rhodes</h4>
 
    <span class="presentation-title">Keynote Speaker</span>
 
  </div>
 

	
 
  <div class="speaker" >
 
    <div class="image-alignment">
 
      <div class="circle" style="border: 0;">
 
          <div class="fill" style="background-image: url('{% static "images/cczona.jpg" %}');"></div>
 
      </div>
 
    </div>
 
    <h4>Carina C. Zona</h4>
 
    <span class="presentation-title">Keynote Speaker</span>
 
  </div>
 

	
 
  {% speakers as speakers %}
 
  {% for speaker in speakers %}
 
    <div class="speaker" >
 
      <div class="image-alignment">
 
        <div class="circle" style="border: 0;">
 
          {% if speaker.photo %}
 
            <div class="fill" style="background-image: url('{% thumbnail speaker.photo '600x600' %}');"></div>
 
          {% else %}
 
            <div class="fill" style="background-image: url('{% static "images/website-background.svg" %}');"></div>
 
          {% endif %}
 
        </div>
 
      </div>
 
      {% for presentation in speaker.presentations.all %}
 
        <a href="{% url "schedule_presentation_detail" presentation.id %}">
 
        <h4>{{ speaker.conferencespeaker.name }}</h4>
 
          <span class="presentation-title">{{ presentation.title }}</span>
 
        </a>
 
      {% endfor %}
 
    </div>
 
  {% endfor %}
 

	
 
  <div class="speaker" >
 
    <div class="image-alignment">
 
      <div class="circle" style="border: 0;">
 
          <div class="fill" style="background-image: url('{% static "images/vmbrasseur.jpg" %}');"></div>
 
      </div>
 
    </div>
 
    <h4>VM Brasseur</h4>
 
    <span class="presentation-title">Speaker Training</span>
 
  </div>
 

	
 
</div>
 
</div>
 

	
 
<div class="homepage-block-footer full-width">
 
<div class="container">
 
  <div class="row">
 
    <div class="col-md-4">
 
      <a class="btn btn-lg btn-primary btn-shadow" href="/schedule">See the schedule</a>
 
    </div>
 
  </div>
 
</div>
pinaxcon/templates/static_pages/homepage.html
Show inline comments
...
 
@@ -16,25 +16,25 @@
 
  <div class="jumbotron homepage-block light">
 
    <div class="homepage-block-bg website-background"></div>
 
    <div class="hills main"></div>
 
    <div class="container homepage-block-content">
 
      <div class="tight-headings">
 
        <h1>North Bay Python</h1>
 
        <h2 class="homepage-subtitle">A Python conference north of the Golden Gate</h2>
 
        <h2 class="homepage-subtitle">A one-track Python conference in a live music venue, north of the Golden Gate</h2>
 
      </div>
 

	
 
      <div class="row">
 
        <div class="col-md-6">
 
          <h3>
 
            The Mystic Theatre</br>
 
            Petaluma, California
 
          </h3>
 

	
 
          <h4>
 
            December 2 &amp; 3, 2017<br/>
 
            Tickets on sale from $50
 
            November 3 &amp; 4, 2018<br/>
 
            Call for Proposals closes August 15th
 
          </h4>
 
        </div>
 
        <div class="col-md-4 col-md-offset-2 email-signup-panel">
 
          <div class="panel panel-default">
 
            <div class="panel-heading">
 
              <h2 class="panel-title">Sign up for our low-volume announcements newsletter!</h4>
...
 
@@ -64,114 +64,40 @@
 
      </div>
 

	
 
    </div>
 

	
 
    <div class="container homepage-block-footer">
 
      <div>
 
        <a class="btn btn-primary btn-lg" href="/attend">Buy a Ticket!</a>
 
        <a class="btn btn-primary btn-lg" href="/program/call-for-proposals">Propose a talk!</a>
 
        <a class="btn btn-default btn-lg " href="https://twitter.com/northbaypython">Twitter</a>
 
        <a class="btn btn-default btn-lg" href="https://facebook.com/northbaypython">Facebook</a>
 
      </div>
 
    </div>
 
  </div>
 

	
 
  <div class="jumbotron homepage-block white">
 
    <div class="container homepage-block-content">
 
      <h1>Speakers</h1>
 

	
 
      <div class="row speaker-list">
 

	
 
        <div class="speaker" >
 
          <div class="image-alignment">
 
            <div class="circle" style="border: 0;">
 
                <div class="fill" style="background-image: url('{% static "images/brandon.jpg" %}');"></div>
 
            </div>
 
          </div>
 
          <h4>Brandon Rhodes</h4>
 
          <span class="presentation-title">Keynote Speaker</span>
 
        </div>
 

	
 
        <div class="speaker" >
 
          <div class="image-alignment">
 
            <div class="circle" style="border: 0;">
 
                <div class="fill" style="background-image: url('{% static "images/cczona.jpg" %}');"></div>
 
            </div>
 
          </div>
 
          <h4>Carina C. Zona</h4>
 
          <span class="presentation-title">Keynote Speaker</span>
 
        </div>
 

	
 
        {% speakers as speakers %}
 
        {% for speaker in speakers %}
 
          <div class="speaker" >
 
            <div class="image-alignment">
 
              <div class="circle" style="border: 0;">
 
                {% if speaker.photo %}
 
                  <div class="fill" style="background-image: url('{% thumbnail speaker.photo '600x600' %}');"></div>
 
                {% else %}
 
                  <div class="fill" style="background-image: url('{% static "images/website-background.svg" %}');"></div>
 
                {% endif %}
 
              </div>
 
            </div>
 
            {% for presentation in speaker.presentations.all %}
 
              <a href="{% url "schedule_presentation_detail" presentation.id %}">
 
              <h4>{{ speaker.conferencespeaker.name }}</h4>
 
                <span class="presentation-title">{{ presentation.title }}</span>
 
              </a>
 
            {% endfor %}
 
          </div>
 
        {% endfor %}
 

	
 
        <div class="speaker" >
 
          <div class="image-alignment">
 
            <div class="circle" style="border: 0;">
 
                <div class="fill" style="background-image: url('{% static "images/vmbrasseur.jpg" %}');"></div>
 
            </div>
 
          </div>
 
          <h4>VM Brasseur</h4>
 
          <span class="presentation-title">Speaker Training</span>
 
        </div>
 

	
 
      </div>
 
    </div>
 

	
 
    <div class="homepage-block-footer full-width">
 
      <div class="container">
 
        <div class="row">
 
          <div class="col-md-4">
 
            <a class="btn btn-lg btn-primary btn-shadow" href="/schedule">See the schedule</a>
 
          </div>
 
        </div>
 
      </div>
 
    </div>
 
  </div>
 

	
 

	
 
  <div class="jumbotron homepage-block dark">
 
    <div class="homepage-block-bg mystic-background"></div>
 
    <div class="container homepage-block-content">
 
      <h1>Downtown Petaluma</h1>
 

	
 
      <p>North Bay Python's home is Petaluma, a delightfully quaint dairy town, nestled on a river at the edge of California's Wine Country. Here's what you can look forward to:</p>
 

	
 
      <ul>
 
        <li>An historic venue with countless restaurants and coffee shops in walking distance</li>
 
        <li>World-famous craft food and drink producers on your doorstep</li>
 
        <li>Charming <a href="/attend/hotels">small-town hotels</a>, as close as one block away</li>
 
        <li>Charming small-town hotels, as close as one block away</li>
 
      </ul>
 

	
 
      <p>&hellip; and it's <a href="/attend/travel">only an hour away from San Francisco</a> (on a good day).</p>
 
      <p>&hellip; and it's only an hour away from San Francisco (on a good day).</p>
 
    </div>
 

	
 
    <div class="homepage-block-footer full-width">
 
      <div class="container">
 
        <div class="row">
 
          <div class="col-md-4">
 
            <a class="btn btn-lg btn-primary btn-shadow" href="/about/petaluma">Learn More</a>
 
            <a class="btn btn-lg btn-info" href="/attend/hotels">Hotels</a>
 
            <a class="btn btn-lg btn-info" href="/attend/travel">Travel</a>
 
          </div>
 

	
 
          <div class="col-md-8 text-right photo-attribution">
 
            Image credit: <a href="https://www.instagram.com/p/BU-G5dGAkHt">Mystic Theatre</a>, &copy; 2017 Christopher Neugebauer (<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC BY-SA 2.0</a>)
 
          </div>
 
        </div>
static/images/hills-footer.svg
Show inline comments
...
 
@@ -13,13 +13,13 @@
 
   width="80.292168mm"
 
   height="40.067833mm"
 
   viewBox="0 0 284.49982 141.97264"
 
   id="svg4324"
 
   version="1.1"
 
   inkscape:version="0.91 r13725"
 
   sodipodi:docname="hills-footer.svg">
 
   sodipodi:docname="hills-to-ground.svg">
 
  <defs
 
     id="defs4326">
 
    <linearGradient
 
       id="linearGradient6747">
 
      <stop
 
         id="stop6749"
...
 
@@ -198,24 +198,24 @@
 
     pagecolor="#ffffff"
 
     bordercolor="#666666"
 
     borderopacity="1.0"
 
     inkscape:pageopacity="0.0"
 
     inkscape:pageshadow="2"
 
     inkscape:zoom="1.755"
 
     inkscape:cx="77.609054"
 
     inkscape:cy="88.326441"
 
     inkscape:cx="24.902502"
 
     inkscape:cy="65.534418"
 
     inkscape:document-units="px"
 
     inkscape:current-layer="layer1"
 
     showgrid="false"
 
     fit-margin-top="0"
 
     fit-margin-left="0"
 
     fit-margin-right="0"
 
     fit-margin-bottom="0"
 
     borderlayer="true"
 
     inkscape:window-width="1440"
 
     inkscape:window-height="803"
 
     inkscape:window-height="806"
 
     inkscape:window-x="0"
 
     inkscape:window-y="1"
 
     inkscape:window-maximized="1"
 
     inkscape:snap-page="true" />
 
  <metadata
 
     id="metadata4329">
...
 
@@ -233,31 +233,15 @@
 
     inkscape:label="Layer 1"
 
     inkscape:groupmode="layer"
 
     id="layer1"
 
     transform="translate(224.79828,58.616302)">
 
    <path
 
       inkscape:connector-curvature="0"
 
       style="fill:url(#linearGradient1478);fill-opacity:1;stroke:#4d4d4d;stroke-width:2.86982584;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.50980395"
 
       style="fill:url(#linearGradient1478);fill-opacity:1;stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
 
       d="M 26.319975,8.1684509 C 16.23566,8.3197369 8.0676302,13.914623 -1.0240814,23.006346 l -27.7767806,27.711751 57.10057,56.540053 20.77709,0 c 12.179209,0 22.076871,-9.39127 22.895827,-21.355541 l 0,-54.576017 C 67.750124,27.883811 63.552614,24.693069 59.444044,21.820293 45.606272,12.139027 35.217905,8.0349699 26.319975,8.1684509 Z M -90.856361,14.9372 c -9.641009,0.06509 -19.732399,2.901519 -29.655619,8.990624 -6.44634,3.942923 -138.46214,80.136106 -143.67001,83.961266 l 130.58667,-0.49452 c 12.71898,-0.0482 5.96268,-0.13642 18.68175,-0.13642 l 137.868226,0 L -31.159503,53.141757 -53.407375,30.893879 C -63.637369,20.663891 -76.765655,14.842093 -90.856361,14.9372 Z M 28.763816,29.30651 c 4.065372,-0.0396 8.119552,1.467353 11.192321,4.540156 6.123588,6.1236 6.040627,16.209442 -0.210761,22.460864 -6.229255,6.229256 -16.270018,6.26708 -22.393606,0.143492 -6.145538,-6.145549 -6.08798,-16.162125 0.141252,-22.391369 3.1257,-3.125711 7.205422,-4.713551 11.270794,-4.753143 z"
 
       id="path1948"
 
       inkscape:export-filename="/Users/chrisjrn/Desktop/nbp-logo-2"
 
       inkscape:export-xdpi="187.72"
 
       inkscape:export-ydpi="187.72"
 
       sodipodi:nodetypes="scccscccssccssccssssssss" />
 
    <rect
 
       style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
 
       id="rect4168"
 
       width="79.772079"
 
       height="72.36467"
 
       x="-394.02905"
 
       y="-63.082413" />
 
    <path
 
       sodipodi:nodetypes="scccscccssccssccssssssss"
 
       inkscape:export-ydpi="187.72"
 
       inkscape:export-xdpi="187.72"
 
       inkscape:export-filename="/Users/chrisjrn/Desktop/nbp-logo-2"
 
       id="path4170"
 
       d="M 26.319975,8.1684506 C 16.23566,8.3197366 8.0676304,13.914623 -1.0240816,23.006346 l -27.7767804,27.711751 57.10057,56.540053 20.77709,0 c 12.17921,0 22.07687,-9.391273 22.89583,-21.355541 l 0,-54.576017 c -4.2225,-3.442781 -8.42001,-6.633523 -12.52858,-9.506299 C 45.606272,12.139027 35.217905,8.0349696 26.319975,8.1684506 Z M -90.856361,14.9372 c -9.641009,0.06509 -19.732399,2.901519 -29.655619,8.990624 -6.44634,3.942923 -138.46214,80.136106 -143.67001,83.961266 l 130.58667,-0.49452 c 12.71898,-0.0482 5.96268,-0.13642 18.68175,-0.13642 l 137.868226,0 L -31.159503,53.141757 -53.407375,30.893879 C -63.637369,20.663891 -76.765655,14.842093 -90.856361,14.9372 Z M 28.763816,29.30651 c 4.065372,-0.0396 8.119552,1.467353 11.192321,4.540156 6.123588,6.1236 6.040627,16.209442 -0.210761,22.460864 -6.229255,6.229256 -16.270018,6.26708 -22.393606,0.143492 -6.145538,-6.145549 -6.08798,-16.162125 0.141252,-22.391369 3.1257,-3.125711 7.205422,-4.713551 11.270794,-4.753143 z"
 
       style="fill:#d9d9d9;fill-opacity:0.78431374;stroke:none;stroke-width:2.86982584;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.49803922"
 
       inkscape:connector-curvature="0" />
 
  </g>
 
</svg>
static/images/hills.svg
Show inline comments
...
 
@@ -198,48 +198,48 @@
 
     pagecolor="#ffffff"
 
     bordercolor="#666666"
 
     borderopacity="1.0"
 
     inkscape:pageopacity="0.0"
 
     inkscape:pageshadow="2"
 
     inkscape:zoom="1.755"
 
     inkscape:cx="123.1931"
 
     inkscape:cx="24.902502"
 
     inkscape:cy="65.534418"
 
     inkscape:document-units="px"
 
     inkscape:current-layer="layer1"
 
     showgrid="false"
 
     fit-margin-top="0"
 
     fit-margin-left="0"
 
     fit-margin-right="0"
 
     fit-margin-bottom="0"
 
     borderlayer="true"
 
     inkscape:window-width="1440"
 
     inkscape:window-height="803"
 
     inkscape:window-height="806"
 
     inkscape:window-x="0"
 
     inkscape:window-y="1"
 
     inkscape:window-maximized="1"
 
     inkscape:snap-page="true" />
 
  <metadata
 
     id="metadata4329">
 
    <rdf:RDF>
 
      <cc:Work
 
         rdf:about="">
 
        <dc:format>image/svg+xml</dc:format>
 
        <dc:type
 
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
 
        <dc:title></dc:title>
 
        <dc:title />
 
      </cc:Work>
 
    </rdf:RDF>
 
  </metadata>
 
  <g
 
     inkscape:label="Layer 1"
 
     inkscape:groupmode="layer"
 
     id="layer1"
 
     transform="translate(224.79828,58.616302)">
 
    <path
 
       inkscape:connector-curvature="0"
 
       style="fill:url(#linearGradient1478);fill-opacity:1;stroke:#4d4d4d;stroke-width:2.86982584;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
 
       style="fill:url(#linearGradient1478);fill-opacity:1;stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
 
       d="M 26.319975,8.1684509 C 16.23566,8.3197369 8.0676302,13.914623 -1.0240814,23.006346 l -27.7767806,27.711751 57.10057,56.540053 20.77709,0 c 12.179209,0 22.076871,-9.39127 22.895827,-21.355541 l 0,-54.576017 C 67.750124,27.883811 63.552614,24.693069 59.444044,21.820293 45.606272,12.139027 35.217905,8.0349699 26.319975,8.1684509 Z M -90.856361,14.9372 c -9.641009,0.06509 -19.732399,2.901519 -29.655619,8.990624 -6.44634,3.942923 -138.46214,80.136106 -143.67001,83.961266 l 130.58667,-0.49452 c 12.71898,-0.0482 5.96268,-0.13642 18.68175,-0.13642 l 137.868226,0 L -31.159503,53.141757 -53.407375,30.893879 C -63.637369,20.663891 -76.765655,14.842093 -90.856361,14.9372 Z M 28.763816,29.30651 c 4.065372,-0.0396 8.119552,1.467353 11.192321,4.540156 6.123588,6.1236 6.040627,16.209442 -0.210761,22.460864 -6.229255,6.229256 -16.270018,6.26708 -22.393606,0.143492 -6.145538,-6.145549 -6.08798,-16.162125 0.141252,-22.391369 3.1257,-3.125711 7.205422,-4.713551 11.270794,-4.753143 z"
 
       id="path1948"
 
       inkscape:export-filename="/Users/chrisjrn/Desktop/nbp-logo-2"
 
       inkscape:export-xdpi="187.72"
 
       inkscape:export-ydpi="187.72"
 
       sodipodi:nodetypes="scccscccssccssccssssssss" />
static/images/website-background.svg
Show inline comments
...
 
@@ -288,36 +288,36 @@
 
     pagecolor="#ffffff"
 
     bordercolor="#666666"
 
     borderopacity="1.0"
 
     inkscape:pageopacity="0.0"
 
     inkscape:pageshadow="2"
 
     inkscape:zoom="4.525"
 
     inkscape:cx="75.72802"
 
     inkscape:cy="232.19034"
 
     inkscape:cx="78.600948"
 
     inkscape:cy="108.43343"
 
     inkscape:document-units="px"
 
     inkscape:current-layer="layer1"
 
     showgrid="false"
 
     fit-margin-top="0"
 
     fit-margin-left="0"
 
     fit-margin-right="0"
 
     fit-margin-bottom="0"
 
     borderlayer="true"
 
     inkscape:window-width="1440"
 
     inkscape:window-height="801"
 
     inkscape:window-height="806"
 
     inkscape:window-x="0"
 
     inkscape:window-y="1"
 
     inkscape:window-maximized="1" />
 
  <metadata
 
     id="metadata7095">
 
    <rdf:RDF>
 
      <cc:Work
 
         rdf:about="">
 
        <dc:format>image/svg+xml</dc:format>
 
        <dc:type
 
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
 
        <dc:title></dc:title>
 
        <dc:title />
 
      </cc:Work>
 
    </rdf:RDF>
 
  </metadata>
 
  <g
 
     inkscape:label="Layer 1"
 
     inkscape:groupmode="layer"
static/scss/variables.scss
Show inline comments
...
 
@@ -7,12 +7,13 @@ $background-filter-transparent: change-color($background-filter, $alpha: 0.5);
 
/* TEXT */
 
$font-family-sans-serif:  'Montserrat', Arial, sans-serif;
 
$font-family-serif:       Georgia, "Times New Roman", Times, serif;
 
$font-family-monospace:   Menlo, Monaco, Consolas, "Courier New", monospace;
 
$font-size-base:          16px;
 
$headings-line-height: 1.0;
 
$text-color: #000;
 

	
 

	
 
// Navbar
 
$navbar-default-bg: $brand-primary;
 
$navbar-default-color: white;
 
$navbar-default-link-color: darken($navbar-default-color, 6.5%);
0 comments (0 inline, 0 general)