diff --git a/static/stats.html b/static/stats.html index c1e79ca..c574568 100644 --- a/static/stats.html +++ b/static/stats.html @@ -181,7 +181,7 @@ }
- + - -{% endblock %} +{% extends "./base.html" %} {% block page_css %}{% endblock %} {% block body %}

{{title}}

{{note}}

{{browser}}.

{{os}}.

{{device}}.

{{schedule}}0%

{% for key in thead %}{% endfor %}
{{key}}

{{summary}}

{% endblock %} {% block page_js %}{% endblock %} \ No newline at end of file diff --git a/views/base.html b/views/base.html index d2a1537..52943da 100644 --- a/views/base.html +++ b/views/base.html @@ -1,52 +1,5 @@ - - - - - - - - {{title}} - - - - - - - - - - - - - - - - - {%block page_css%} - {% endblock %} - - - - - {% block body %} - {% endblock %} - {% if serverData %} - - {% endif %} - - {%block page_js%} - {% endblock %} - - \ No newline at end of file + }{% endif %}{%block page_js%} {% endblock %} \ No newline at end of file diff --git a/views/index.html b/views/index.html index f6f0a25..8a5805e 100644 --- a/views/index.html +++ b/views/index.html @@ -1,75 +1 @@ -{% extends "./base.html" %} - -{% block page_css %} - - - -{% endblock %} - -{% block body %} -
-

{{title}}

-
-
-

{{grading.name}}

- -
- {% for feature in features %} - {% set featureId = feature.name|striptags|lower|replace("\s+", '-', 'g') %} -
-
- -

- {{ feature.name|safe }} -

-
-

{{ feature.description|safe }}

-
-
- {% for browser in browsers %} -
-

{{browser.aka or browser.name}}

-

{{browser.name}}

- {% if browser.mobile %} - m - {% endif %} - {% if feature[browser.id].supported %} -

- {% if feature[browser.id].supported == 0.5 %} - Somewhat supported - {% else %} - Supported - {% endif %} - {% if feature[browser.id].minVersion %} - since version {{ feature[browser.id].minVersion }} - {% endif %} -

- {% else %} -

No support

- {% endif %} -
- {% endfor %} -
- -
- {% endfor %} -{% endblock %} - -{% block page_js %} - - - -{% endblock %} +{% extends "./base.html" %} {% block page_css %}{% endblock %} {% block body %}

{{title}}

{{grading.name}}

{% for feature in features %} {% set featureId = feature.name|striptags|lower|replace("\s+", '-', 'g') %}

{{ feature.name|safe }}

{{ feature.description|safe }}

{% for browser in browsers %}

{{browser.aka or browser.name}}

{{browser.name}}

{% if browser.mobile %} m {% endif %} {% if feature[browser.id].supported %}

{% if feature[browser.id].supported == 0.5 %} Somewhat supported {% else %} Supported {% endif %} {% if feature[browser.id].minVersion %} since version {{ feature[browser.id].minVersion }} {% endif %}

{% else %}

No support

{% endif %}
{% endfor %}
{% endfor %} {% endblock %} {% block page_js %}{% endblock %} \ No newline at end of file