{% if web is sameas false %} {% endif %} <{{ 'body' if web is sameas false else 'div' }} style="background-color:{{ config.body_color }};width:700px;margin-top:5px">
{% if web is sameas false %} {% else %} {% endif %}

{{ config.head_text }}

Inspection Notification

Magnitude {{ shakemap.event.magnitude }}

{{ shakemap.event.place }}

Number of Facilities Evaluated : {{ fac_details.all }}
High Impact : {{ fac_details.red }}
Moderate-High Impact : {{ fac_details.orange }}
Moderate Impact : {{ fac_details.yellow }}
Low Impact : {{ fac_details.green }}
No Impact : {{ fac_details.gray }}
{% if web is sameas false %} {% else %} {% endif %}

Impact Estimates:

{% for head in config.table_head %} {% if head.use == true %} {% endif %} {% endfor %} {% for fs in facility_shaking[0:200] %} {% for head in config.table_head %} {% if head.use == true %} {% if fs.facility.__dict__.get(head.name, False) %} {% elif head.name == 'inspection_priority' %} {% elif head.name == 'shaking_value' %} {% elif fs.facility.get_attribute(head.name) %} {% elif fs.get(head.name, False) %} {% else %} {% endif %} {% endif %} {% endfor %} {% endfor %}
{{ head.val }}
{{ fs.facility.__dict__[head.name] }}{{ fs.alert_level }}{{ fs[fs.metric.lower()] }}{{ fs[head.name] }}{{ fs[head.name] }}-

ShakeCast Server:

ShakeCast Web: {{ sc.server_dns }}

Software: {{ sc.software_version }}

{% if notification.group %}

Notification Group: {{ notification.group.name }}

{% endif %}

Reported by: {{ sc.server_name }}

Questions about ShakeCast? Contact Administrator at {{ config.admin_email }}.

{% if web is sameas false %} {% endif %}