town_info_OLD.html 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. {% extends "base.html" %}
  2. {% block title %}{{tinfo.town.name}} | Town Information | Penobscot Bay Press {% endblock %}
  3. {% block description %}{{a.archivesectionchive.body|truncatewords:60}} {% endblock %}
  4. {% block flag_img_src %}{{MEDIA_URL}}images/headers/towninforound440.gif{% endblock %}
  5. {% block flag_descrip %}Looking for information about your town?<br/>Can't remember phone numbers for your town offices?{% endblock %}
  6. {% block content %}
  7. {% load markup typogrify humanize %}
  8. <div style="width:100%; margin:0; padding:0">
  9. <div class="main_content_left">
  10. <h2 class="sectionhead_wide">Town Information</h2>
  11. <div class="dirservhead" align="center" style="background-color:#99CCFF">
  12. <p><span class="dirservheader">{{tinfo.town.name}}</span><a class="return" href="{% url di-town-index %}"><br>
  13. Click here to choose another town.</a></p>
  14. </div>
  15. <div class="dirservhead" align="center"><a href="#contact" class="dirservlinks">Town Contact Information</a><span class="bullet">&bull;</span><a href="#municipal" class="dirservlinks">Municipal Information</a><br>
  16. <a href="#numbers" class="dirservlinks">{{tinfo.town.name}} by the Numbers</a><span class="bullet">&bull;</span><a href="#education" class="dirservlinks">Education<br>
  17. </a><a href="#emergency" class="dirservlinks">Emergency &amp; Public Services</a> <span class="bullet">&bull;</span><a href="#recreation" class="dirservlinks">Recreation</a> <br>
  18. <br>
  19. {% if tinfo.map %}<span class="dirservlinks"><a href="{{tinfo.map.url}}" target="_blank">{{tinfo.town.name}} Town Map</a></span>
  20. <br>
  21. <span class="kicker">Note: This file is in PDF format and require Adobe&reg; Reader&reg; software to load. For more information or to download Adobe&reg; Reader&reg; please visit <a href="http://www.adobe.com" target="_blank">www.adobe.com.</a> </span> {% endif %}
  22. <hr size="1">
  23. </div>
  24. <div style="float:left; width:48%; padding:4px">
  25. <p style="margin-top:0px; padding-top:0px"><span class="headline"><a name="contact" id="contact"></a>Town Contact Information</span><br>
  26. <a class="return" href="#top">Return to top</a> </p>
  27. <p>Town of {{tinfo.town.name}}, P. O. Box {{tinfo.po_box}}, {{tinfo.town}} {{tinfo.office.point.zip}}<br>
  28. <strong>Telephone: </strong> {{tinfo.office.phone}}
  29. {{tinfo.time_info|urlize|markdown|typogrify}}
  30. <hr size="1">
  31. <p style="margin-top:0px; padding-top:0px"><span class="headline"><a name="municipal" id="contact2"></a>Municipal Information</span><br>
  32. <a class="return" href="#top">Return to top</a> </p>
  33. <p class="dirservindexhead"><strong>Town Description</strong></p>
  34. {{tinfo.description|urlize|markdown|typogrify}}
  35. <p class="dirservindexhead">Town Officials</p>
  36. {{tinfo.officials|urlize|markdown|typogrify}}
  37. <p class="dirservindexhead">Tax Information</p>
  38. {{tinfo.tax_info|urlize|markdown|typogrify}}
  39. <p class="dirservindexhead">
  40. Town Ordinances</p>
  41. {{tinfo.town_ordinances|urlize|markdown|typogrify}}
  42. <p class="dirservindexhead">
  43. Permits</p>
  44. {{tinfo.permits|urlize|markdown|typogrify}}
  45. <p class="dirservindexhead">
  46. Post Offices</p>
  47. {{tinfo.post_offices|urlize|markdown|typogrify}}
  48. <hr size="1">
  49. </div>
  50. <div style="float:right; width:48%; padding:4px">
  51. <p style="margin-top:0px; padding-top:0px"><span class="headline"><a name="numbers" id="contact3"></a>{{tinfo.town.name}} by the Numbers</span><br>
  52. <a class="return" href="#top">Return to top</a> </p>
  53. <p class="dirservindexhead">Geographic Profile</p>
  54. <p>Total area: {{tinfo.total_area|intcomma}} acres ({{area_miles}} sq. mi.)<br>
  55. Land: {{tinfo.land_area|intcomma}} acres<br>
  56. Bog: {{tinfo.bog_area|intcomma}} acres<br>
  57. Flood: {{tinfo.flood_plain_area|intcomma}} acres<br>
  58. Inland water: {{tinfo.inland_water_area|intcomma}} acres<br>
  59. Shoreline: {{tinfo.shoreline|intcomma}} miles</p>
  60. <p class="dirservindexhead">Population</p>
  61. <p>
  62. {% for p in tinfo.populations.all %}
  63. {{p.year}}: {{p.population|intcomma}}{% if not forloop.last %}<br>{% endif %}
  64. {% endfor %}
  65. </p>
  66. <hr size="1">
  67. <p style="margin-top:0px; padding-top:0px"><span class="headline"><a name="education" id="contact4"></a>Education</span><br>
  68. <a class="return" href="#top">Return to top</a> </p>
  69. <p class="dirservindexhead">Education Contact Numbers</p>
  70. {{tinfo.edu_contact|urlize|markdown|typogrify}}
  71. <p><strong>Enrollment figures </strong><br>
  72. {{tinfo.enrollment|urlize|markdown|typogrify}}
  73. <hr size="1">
  74. <p style="margin-top:0px; padding-top:0px"><span class="headline"></span><span class="headline"><a name="emergency" id="contact5"></a>Emergency &amp; Public Services</span><br>
  75. <a class="return" href="#top">Return to top</a> </p>
  76. <p class="reddata">FOR ALL EMERGENCIES&#151;<br>
  77. FIRE, AMBULANCE &amp; POLICE&#151; CALL 911.</p>
  78. <p class="dirservindexhead">Trash &amp; Recycling</p>
  79. {{tinfo.trash_recycle_info|urlize|markdown|typogrify}}
  80. <p class="dirservindexhead">Public Restrooms</p>
  81. {{tinfo.public_restrooms|urlize|markdown|typogrify}}
  82. <p class="dirservindexhead">
  83. Fire Department</p>
  84. <p class="reddata">
  85. <strong>To report a fire: 911</strong></p>
  86. <p>
  87. {{tinfo.fire_dept_info|urlize|markdown|typogrify}}
  88. <hr size="1">
  89. <p style="margin-top:0px; padding-top:0px"><span class="headline"></span><span class="headline"><a name="recreation" id="contact6"></a>Recreation</span><br>
  90. <a class="return" href="#top">Return to top</a> </p>
  91. {% if tinfo.walking_trails %}
  92. <p class="dirservindexhead">Walking Trails</p>
  93. {{tinfo.walking_trails|urlize|markdown|typogrify}}
  94. {% endif %}
  95. {% if tinfo.public_landings %}
  96. <p class="dirservindexhead">
  97. Public Landings</p>
  98. {{tinfo.public_landings|urlize|markdown|typogrify}}
  99. {% endif %}
  100. {% if tinfo.cemetery_info %}
  101. <p class="dirservindexhead">
  102. Cemeteries</p>
  103. {{tinfo.cemetery_info|urlize|markdown|typogrify}}
  104. {% endif %}
  105. <hr size="1">
  106. </div>
  107. </div>
  108. </div>
  109. <div class="sidebar_right_media">
  110. <!-- Google AdSense BEGIN -->
  111. <div style="clear:both; text-align:center">
  112. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  113. <!-- Square ad for right of pages -->
  114. <ins class="adsbygoogle"
  115. style="display:inline-block;width:250px;height:250px"
  116. data-ad-client="ca-pub-7616595738812584"
  117. data-ad-slot="7790117357"></ins>
  118. <script>
  119. (adsbygoogle = window.adsbygoogle || []).push({});
  120. </script>
  121. </div>
  122. <!-- Google AdSense END -->
  123. <br>
  124. <!-- Google AdSense BEGIN -->
  125. <div style="clear:both; text-align:center">
  126. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  127. <!-- Square ad for right of pages -->
  128. <ins class="adsbygoogle"
  129. style="display:inline-block;width:250px;height:250px"
  130. data-ad-client="ca-pub-7616595738812584"
  131. data-ad-slot="7790117357"></ins>
  132. <script>
  133. (adsbygoogle = window.adsbygoogle || []).push({});
  134. </script>
  135. </div>
  136. <!-- Google AdSense END -->
  137. </div>
  138. <!-- AddThis Smart Layers BEGIN -->
  139. <!-- Go to http://www.addthis.com/get/smart-layers to customize -->
  140. <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=penbaypress"></script>
  141. <script type="text/javascript">
  142. addthis.layers({
  143. 'theme' : 'transparent',
  144. 'share' : {
  145. 'position' : 'right',
  146. 'services' : 'facebook,twitter,email,print,gmail,tumblr,more',
  147. }
  148. });
  149. </script>
  150. <!-- AddThis Smart Layers END -->
  151. {% endblock %}