diff --git a/core/static/core/firasans/fonts/FiraSans-Black.ttf b/core/static/core/firasans/fonts/FiraSans-Black.ttf new file mode 100644 index 00000000..b40cf627 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-Black.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-BlackItalic.ttf b/core/static/core/firasans/fonts/FiraSans-BlackItalic.ttf new file mode 100644 index 00000000..30aa8062 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-BlackItalic.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-Bold.ttf b/core/static/core/firasans/fonts/FiraSans-Bold.ttf new file mode 100644 index 00000000..f5bf9bcf Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-Bold.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-BoldItalic.ttf b/core/static/core/firasans/fonts/FiraSans-BoldItalic.ttf new file mode 100644 index 00000000..7ac379f0 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-BoldItalic.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-ExtraBold.ttf b/core/static/core/firasans/fonts/FiraSans-ExtraBold.ttf new file mode 100644 index 00000000..f477455e Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-ExtraBold.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-ExtraBoldItalic.ttf b/core/static/core/firasans/fonts/FiraSans-ExtraBoldItalic.ttf new file mode 100644 index 00000000..31b74041 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-ExtraBoldItalic.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-ExtraLight.ttf b/core/static/core/firasans/fonts/FiraSans-ExtraLight.ttf new file mode 100644 index 00000000..faf1cfb8 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-ExtraLight.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-ExtraLightItalic.ttf b/core/static/core/firasans/fonts/FiraSans-ExtraLightItalic.ttf new file mode 100644 index 00000000..3b353223 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-ExtraLightItalic.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-Italic.ttf b/core/static/core/firasans/fonts/FiraSans-Italic.ttf new file mode 100644 index 00000000..f8d4e7ea Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-Italic.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-Light.ttf b/core/static/core/firasans/fonts/FiraSans-Light.ttf new file mode 100644 index 00000000..63be25f1 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-Light.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-LightItalic.ttf b/core/static/core/firasans/fonts/FiraSans-LightItalic.ttf new file mode 100644 index 00000000..ee8ba596 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-LightItalic.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-Medium.ttf b/core/static/core/firasans/fonts/FiraSans-Medium.ttf new file mode 100644 index 00000000..efa2e0cf Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-Medium.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-MediumItalic.ttf b/core/static/core/firasans/fonts/FiraSans-MediumItalic.ttf new file mode 100644 index 00000000..817ed641 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-MediumItalic.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-Regular.ttf b/core/static/core/firasans/fonts/FiraSans-Regular.ttf new file mode 100644 index 00000000..159ccfdb Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-Regular.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-SemiBold.ttf b/core/static/core/firasans/fonts/FiraSans-SemiBold.ttf new file mode 100644 index 00000000..535a6504 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-SemiBold.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-SemiBoldItalic.ttf b/core/static/core/firasans/fonts/FiraSans-SemiBoldItalic.ttf new file mode 100644 index 00000000..0d134e5a Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-SemiBoldItalic.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-Thin.ttf b/core/static/core/firasans/fonts/FiraSans-Thin.ttf new file mode 100644 index 00000000..162ea865 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-Thin.ttf differ diff --git a/core/static/core/firasans/fonts/FiraSans-ThinItalic.ttf b/core/static/core/firasans/fonts/FiraSans-ThinItalic.ttf new file mode 100644 index 00000000..6febc772 Binary files /dev/null and b/core/static/core/firasans/fonts/FiraSans-ThinItalic.ttf differ diff --git a/core/static/core/style.scss b/core/static/core/style.scss index bfd84785..f5270c72 100644 --- a/core/static/core/style.scss +++ b/core/static/core/style.scss @@ -1673,9 +1673,76 @@ label { .pedagogy { &.star_not_checked { - color : gray; + color : #f7f7f7; } &.star_checked { - color : orange; + color: #ea7900; } } + +#pedagogy { + font-family: "Fira Sans"; + color: #062f38; + background-color: #caf0ff; + .comment{ + background-color: #caf0ff; + max-width: 100%; + max-height: 200px; + overflow: hidden; + margin-bottom: 40px; + + .grade{ + height: 200px; + float: left; + text-align: left; + padding: 15px; + padding-right: 40px; + padding-top: 0px; + clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 20%, 75% 0); + background-color: #1bb9ea; + } + + .dif_grade{ + background-color: #1bb9ea; + color: #f0f0f0; + height: 200px; + float: left; + text-align: right; + padding: 15px; + padding-top: 0px; + } + + .author_info{ + background-color: #1bb9ea; + color: #f0f0f0; + text-align: center; + width: 50px; + padding: 5px; + margin: 0px; + float: left; + padding-right: 50px; + clip-path: polygon(0 0, 0 100%, 100% 100%, 75% 0); + } + .date_info{ + background-color: #1bb9ea; + color: #f0f0f0; + float: left; + text-align: center; + width : 34%; + padding: 5px; + margin: 0px; + } + + .text{ + height: 125px; + margin-top: 0px; + margin-right: 0px; + padding: 10px; + padding-left: 40px; + margin-bottom: 29px; + overflow: auto; + text-align: justify; + background-color: #caf0ff; + } + } +} \ No newline at end of file diff --git a/pedagogy/templates/pedagogy/uv_detail.jinja b/pedagogy/templates/pedagogy/uv_detail.jinja index 8d65c1a2..4861a050 100644 --- a/pedagogy/templates/pedagogy/uv_detail.jinja +++ b/pedagogy/templates/pedagogy/uv_detail.jinja @@ -6,47 +6,65 @@ {% endblock %} {% block content %} -
-{% trans %}Department: {% endtrans %}{{ object.department }}
-{{ object.objectives|markdown }}
-{{ object.program|markdown }}
-{{ object.skills|markdown }}
-{{ object.key_concepts|markdown }}
-{% trans %}UV manager: {% endtrans %}{{ object.manager }}
+{{ object.department }}
+{{ object.credit_type }}
+{{ object.semester }}
+{{ object.objectives|markdown }}
+{{ object.program|markdown }}
+{{ object.skills|markdown }}
+{{ object.key_concepts }}
+{% trans %}UV manager: {% endtrans %}{{ object.manager }}
-{{ display_star(object.grade_global_average) }}
-{{ display_star(object.grade_utility_average) }}
-{{ display_star(object.grade_interest_average) }}
-{{ display_star(object.grade_teaching_average) }}
-{{ display_star(object.grade_work_load_average) }}
+{{ display_star(object.grade_global_average) }}
+{{ display_star(object.grade_utility_average) }}
+{{ display_star(object.grade_interest_average) }}
+{{ display_star(object.grade_teaching_average) }}
+{{ display_star(object.grade_work_load_average) }}
- {% if object.comments.exists() %} -{{ display_star(comment.grade_global) }}
-{{ display_star(comment.grade_utility) }}
-{{ display_star(comment.grade_interest) }}
-{{ display_star(comment.grade_teaching) }}
-{{ display_star(comment.grade_work_load) }}
-{{ comment.comment|markdown }}
-{% trans %}Published: {% endtrans %}{{ comment.publish_date }}
-{% trans %}Author: {% endtrans %}{{ comment.author }}
- {% if user.is_owner(comment) %} - -{% trans %}Delete{% endtrans %}
- {% endif %} -{% trans %}Report{% endtrans %}
- {% if comment.is_reported %} -{% trans %}This comment has been reported{% endtrans %}
- {% endif %} - {% endfor %} - {% endif %} + {% if object.comments.exists() %} +
{% trans %}global grade{% endtrans %}
+{% trans %}utility grade{% endtrans %}
+{% trans %}interest grade{% endtrans %}
+{% trans %}teaching grade{% endtrans %}
+{% trans %}work_load grade{% endtrans %}
+{{ display_star(comment.grade_global) }}
+{{ display_star(comment.grade_utility) }}
+{{ display_star(comment.grade_interest) }}
+{{ display_star(comment.grade_teaching) }}
+{{ display_star(comment.grade_work_load) }}
+{{ comment.comment }}
+{{ comment.publish_date.strftime('%d/%m/%Y') }}
+{{ comment.author }}
-{% trans %}Leave comment{% endtrans %}
- + {# Warning, it's not displayed yet #} +{% trans %}Report{% endtrans %}
+ {% if comment.is_reported %} +{% trans %}This comment has been reported{% endtrans %}
+ {% endif %} + + {% if user.is_owner(comment) %} +{% trans %}Edit{% endtrans %}
+{% trans %}Delete{% endtrans %}
+ {% endif %} +