diff --git a/dj_backend_server/web/templates/index.html b/dj_backend_server/web/templates/index.html index 30ff0313..1fe07b66 100644 --- a/dj_backend_server/web/templates/index.html +++ b/dj_backend_server/web/templates/index.html @@ -16,41 +16,42 @@

{% trans "My chatbots" {% for bot in chatbots %} -
-
- - - {{ bot.name }} - - {{ bot.created_at }} - - - - -
- -
- Open - -
-
- {% endfor %} +
+ +
+
+
+ + + {{ bot.name }} + + {{ bot.created_at }} + + + + +
+ + + +
+
+ +
+ {% endfor %} -
- -
+
+
-
@@ -65,23 +66,23 @@

{% trans "Statistics of discussions in the last days

-
-
-
-
-
-
-
-

{% trans "Data Sources Added Over Time" %}

-
-
-
-
-
-
-
-
- +
+
+
+
+
+
+
+

{% trans "Data Sources Added Over Time" %}

+
+
+
+
+
+
+
+
+
@@ -113,12 +114,12 @@

{% trans "Data Sources Added Over Time" %}

if ($("#morris_discussion_counts").length) { Morris.Bar({ element: 'morris_discussion_counts', - barColors: ['#ebeef1', '#20b799'], + barColors: ['#f20d1d', '#0df2e2'], data: discussionCountsData, xkey: 'year', ykeys: ['value'], hideHover: 'auto', - gridLineColor: '#eef0f2', + gridLineColor: '#175ca1', resize: true, barSizeRatio: 0.4, labels: ['Discussions'] @@ -130,14 +131,14 @@

{% trans "Data Sources Added Over Time" %}

if ($("#morris_data_sources_counts").length) { Morris.Bar({ element: 'morris_data_sources_counts', - barColors: ['#ffad46', '#00b19d', '#ff5b5b'], + barColors: ['#f20d1d', '#00b19d', '#175ca1'], data: dataSourcesCountsData, xkey: 'date', ykeys: ['crawled_pages', 'pdf_data_sources', 'website_data_sources'], hideHover: 'auto', - gridLineColor: '#eef0f2', + gridLineColor: '#175ca1', resize: true, - barSizeRatio: 0.4, + barSizeRatio: 1, labels: ['Crawled Pages', 'PDF Data Sources', 'Website Data Sources'] }); } diff --git a/dj_backend_server/web/templates/layout/app.html b/dj_backend_server/web/templates/layout/app.html index 074f08a6..8e74d57c 100644 --- a/dj_backend_server/web/templates/layout/app.html +++ b/dj_backend_server/web/templates/layout/app.html @@ -20,6 +20,7 @@ + @@ -100,10 +101,10 @@ - + - + {% block scripts %}{% endblock %}