codefortulsa / BPZAround.me

BPZAround.me alerts you when someone is building, planning, or zoning around you.
Apache License 2.0
4 stars 10 forks source link

Initial Markup for Home and About Pages #30

Closed paulstefanort closed 10 years ago

paulstefanort commented 10 years ago

(Deals with #27.)

These changes provide initial HTML for two of the pages.

Home Page

jwhitlock commented 10 years ago

@jdungan can you review and merge when ready?

It's too narrow at desktop resolutions:

Too tight at desktop

A full width column like .col-md-10 .col-md-offset-1 might work.

My pattern for blocks like this is:

{% block body_js -%}
    <!-- Scripts that everyone gets -->
    <script src="{{ static('vendor/jquery/jquery-1.11.1.min.js') }}"></script>
    <script src="{{ static('vendor/bootstrap-3.2.0-dist/js/bootstrap.min.js') }}"></script>
    {% body_extra_js %}{% endblock %}
{%- endblock body_js %}

This way, a template that includes the base template can:

Your route for the about page is exactly right.

jdungan commented 10 years ago

I would but my postgis install still is inop. I plan to be at the fablab around 10am tomorrow. First order of business is to fix my environ (any volunteers to help?). Then I can review.

John

On Aug 28, 2014, at 8:19 AM, John Whitlock notifications@github.com wrote:

@jdungan can you review and merge when ready?

It's too narrow at desktop resolutions:

A full width column like .col-md-10 .col-md-offset-1 might work.

My pattern for blocks like this is:

{% block body_js -%}

<script src="{{ static('vendor/jquery/jquery-1.11.1.min.js') }}"></script>
<script src="{{ static('vendor/bootstrap-3.2.0-dist/js/bootstrap.min.js') }}"></script>
{% body_extra_js %}{% endblock %}

{%- endblock body_js %} This way, a template that includes the base template can:

Replace all the JS by overriding body_js Just add some JS by overriding body_extra_js Your route for the about page is exactly right.

— Reply to this email directly or view it on GitHub.

jwhitlock commented 10 years ago

@jdungan since I'm the guy that messed it up, of course I'll help out. See you at 10 AM.

paulstefanort commented 10 years ago

@jwhitlock Thanks for the feedback! I see that I forgot to add the CSS classes for desktop browsers when I ported my original static HTML to Django templates. I had been using .col-md-6 and .col-md-offset-3.