From 658343a5462e12f39a47bd800ff9823eca6d950f Mon Sep 17 00:00:00 2001 From: toxic-johann <353904974@qq.com> Date: Sun, 7 Jan 2018 14:00:00 +0800 Subject: [PATCH] [build] update uc and quark data as they support push in China --- static/stats.html | 2 +- views/auto.html | 50 +------------------------------ views/base.html | 51 ++----------------------------- views/index.html | 76 +---------------------------------------------- 4 files changed, 5 insertions(+), 174 deletions(-) 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