diff --git a/Metronus-Project/metronus/templates/project/project_view.html b/Metronus-Project/metronus/templates/project/project_view.html index 9e7ca81..52ae028 100644 --- a/Metronus-Project/metronus/templates/project/project_view.html +++ b/Metronus-Project/metronus/templates/project/project_view.html @@ -13,11 +13,15 @@

{% trans 'project' %}: {{ project.name }}


-{% if project_manager != null %} -
-
+ + + {% if project_manager != null %} +
-
{% trans 'projectManager' %}
+
+

{% trans 'projectManager' %}

+
+
@@ -49,38 +53,39 @@

{{ project_manager.user.get_username }}

- - - -
- -{% endif %} - + {% endif %} + -
- -
-
-
-
{% trans 'departmentGraphs' %}
+
+ +
+
+
+

{% trans 'departmentGraphs' %}

-
-
-
-
+
+ +
+ +
+
+
-
-
-
-
+
+
-
+
+ + +
+ +
@@ -285,7 +290,17 @@

{{ department.name }}

defaultBackendData = backendData echartDonut2.setOption(fromData(backendData, 0)); } - }) + }); + + //Esto se encarga de hacer responsivo (más o menos) el chart + $(window).on('resize', function(){ + if(echartDonut != null && echartDonut != undefined){ + echartDonut.resize(); + } + if(echartDonut2 != null && echartDonut2 != undefined){ + echartDonut2.resize(); + } + }); //BARRAS