diff --git a/static/img/code.jpg b/static/img/code.jpg new file mode 100644 index 00000000..93bc8c32 Binary files /dev/null and b/static/img/code.jpg differ diff --git a/templates/admin/library_report_full_detail.html b/templates/admin/library_report_full_detail.html index 75b889e8..7523111b 100644 --- a/templates/admin/library_report_full_detail.html +++ b/templates/admin/library_report_full_detail.html @@ -1,51 +1,60 @@ {% extends "admin/library_report_base.html" %} {% load humanize avatar_tags %} +{% load static %} {% block content %} - {% with bg_color='bg-gradient-to-tr from-[#7ac3e6]/50 to-[#d9b05e]/50' %} - +
-
-
-

Boost

-
{{ commit_count|intcomma }} in all releases across all {{ library_count }} libraries
-
-
-
- {% for author in top_contributors %} -
- {% avatar commitauthor=author %} -
-
- {{ author.name }} +
+

Boost

+
{{ commit_count|intcomma }} commits in all releases across all {{ library_count }} libraries
+
+
+
+
+
Top Contributors
+
+ {% for author in top_contributors %} +
+ {% avatar commitauthor=author %} +
+
+ {{ author.name }} +
+
{{ author.commit_count }}
-
({{ author.commit_count }})
-
- {% endfor %} + {% endfor %} +
-
-
-
-

Most Committed Libraries

-
+
+
+

Most Committed Libraries

+
-
+
+
+
+

Boost

+
-

Mailing List

-
There have been {{ mailinglist_total|intcomma }} Mailing List posts since the release of Version {{ first_version.display_name }}
+

Mailing List

+
There have been {{ mailinglist_total|intcomma }} Mailing List posts since the release of Version {{ first_version.display_name }}
+
+
-
+
Top Contributors
+
{% for item in mailinglist_counts %} -
+
{% avatar commitauthor=item %} -
-
+
+
{{ item.name }}
-
({{ item.total_count }})
+
({{ item.total_count }})
{% endfor %} @@ -54,31 +63,39 @@
+
+
+
{% for item in library_data %} -
-
-

{{ item.library.name }}

-
{{ item.library.description }}
+
+
+

Boost

-
-

There are {{ item.full_count.commit_count|intcomma }} commits across all releases

-
+ +
+ +
Top Contributors
-
+
{% for author in item.top_contributors %} -
+
{% avatar commitauthor=author %} -
-
+
+
{{ author.name }}
-
({{ author.commit_count }})
+
{{ author.commit_count }}
{% endfor %}
+
+

{{ item.library.name }}

+
{{ item.library.description }}
+

There are {{ item.full_count.commit_count|intcomma }} commits across all releases

+
{% endfor %}
@@ -90,13 +107,15 @@ data: [{% for library in top_libraries %}{{library.commit_count}}, {% endfor %}] }], chart: { - height: 300, + height: 400, + width: 400, type: 'bar', - foreColor: '#373d3f', + foreColor: '#cccccc', background: '#ffffff00', toolbar: { show: false, }, + }, plotOptions: { bar: { @@ -111,7 +130,7 @@ enabled: true, style: { fontSize: '11px', - colors: ["rgb(49, 74, 87)"], + colors: ["rgb(255, 255, 255)"], } }, xaxis: { @@ -138,10 +157,13 @@ show: true, } }, + colors: ["rgb(2, 132, 199)"], + tooltip: { + theme: 'dark', + }, }; // SS: putting this in the window object, a bit hacky, to be able to access it in the light/dark switcher - probably a better way const chart = new ApexCharts(document.querySelector("#top-committed-libraries-chart"), options); chart.render(); - {% endwith %} {% endblock content %}