diff --git a/src/style.css b/src/style.css index 70899da4b..3180a8798 100644 --- a/src/style.css +++ b/src/style.css @@ -72,7 +72,7 @@ a:hover { position: relative; } -.progress-bar-index { +.progress-bar { display: inline-block; color: white; height: 100%; diff --git a/templates/index.html.jinja b/templates/index.html.jinja index b36f7a8ff..904ed59a3 100644 --- a/templates/index.html.jinja +++ b/templates/index.html.jinja @@ -1,48 +1,49 @@ {% extends "base.html.jinja" %} {% block main %} -
-
- {% for project in completion_progress | sort(attribute='completion') | reverse %} -
-
-
-

{{ project.language.name }}

-
{{ project.translated_name }}
-

Completion: {{ '{:.2f}%'.format(project.completion) }}

-

30-day progress: {{ '{:.2f}%'.format(project.change) }}

-

- {% if project.built %} - View - • - {% endif %} - {% if project.contribution_link %} - Contribute - {% elif project.uses_platform %} - Contribute - {% else %} - Contribute - {% endif %} -

-
-
-
-
+
+
+ {% for project in completion_progress | sort(attribute='completion') | reverse %} +
+
+
+

{{ project.language.name }}

+
{{ project.translated_name }}
+

Completion: {{ '{:.2f}%'.format(project.completion) }}

+

30-day progress: {{ '{:.2f}%'.format(project.change) }}

+ +

+ {% if project.built %} + View + • + {% endif %} + {% if project.contribution_link %} + Contribute + {% elif project.uses_platform %} + Contribute + {% else %} + Contribute + {% endif %} +

+
+
- {% endfor %} +
-
+ {% endfor %} +
+
-

- Last updated {{ generation_time.strftime('on %A %-d %B %Y at %-H:%M:%S %Z') }} (in {{ duration // 60 }} minutes and {{ duration % 60 }} seconds).
- You can find the scripts used to generate this website on GitHub.
- You can download the data on this page in JSON format. -

+

+ Last updated {{ generation_time.strftime('on %A %-d %B %Y at %-H:%M:%S %Z') }} (in {{ duration // 60 }} minutes and {{ duration % 60 }} seconds).
+ You can find the scripts used to generate this website on GitHub.
+ You can download the data on this page in JSON format. +

{% endblock %} diff --git a/templates/metadata.html.jinja b/templates/metadata.html.jinja index 6e9064768..c66045c2f 100644 --- a/templates/metadata.html.jinja +++ b/templates/metadata.html.jinja @@ -2,31 +2,40 @@ {% block main %} - - - - - - - - - - -{% for project, metadata in metadata | sort(attribute='0.completion') | reverse %} - - - - - - - -{% endfor %} - + + + + + + + + + + + {% for project, metadata in metadata | sort(attribute='0.completion') | reverse %} + + + + + + + + {% endfor %} +
languagebranchlast updatedbuild warnings*lint failures
{{ project.language.name }} ({{ project.language.code }}){{ project.branch }}{{ metadata[2].strftime('%Y/%m/%d %T') if metadata[2] else '' }} - {% if project.completion %}{{ metadata[0] }}{% else %}{{ metadata[0] }}{% endif %} - - {% if project.completion %}{{ metadata[1] }}{% else %}{{ metadata[1] }}{% endif %} -
languagebranchlast updatedbuild warnings*lint failures
{{ project.language.name }} ({{ project.language.code }}){{ project.branch }}{{ metadata[2].strftime('%Y/%m/%d %T') if metadata[2] else '' }} + {% if project.completion %} + {{ metadata[0] }} + {% else %} + {{ metadata[0] }} + {% endif %} + + {% if project.completion %} + {{ metadata[1] }} + {% else %} + {{ metadata[1] }} + {% endif %} +
+

* number of Sphinx build process warnings

-

Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).

+

Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).

{% endblock %}