From e26113d2db234047f7576e198f5d6281bc69215b Mon Sep 17 00:00:00 2001 From: Emruz Hossain Date: Sun, 27 Dec 2020 20:47:33 +0600 Subject: [PATCH] Add education-alt section --- layouts/partials/sections/education-alt.html | 108 +++++++++++++++++++ static/assets/css/sections/education.css | 9 +- 2 files changed, 113 insertions(+), 4 deletions(-) create mode 100644 layouts/partials/sections/education-alt.html diff --git a/layouts/partials/sections/education-alt.html b/layouts/partials/sections/education-alt.html new file mode 100644 index 0000000..b56adf7 --- /dev/null +++ b/layouts/partials/sections/education-alt.html @@ -0,0 +1,108 @@ +{{ $sectionID := replace (lower .section.name) " " "-" }} +{{ if .section.id }} +{{ $sectionID = .section.id }} +{{ end }} + +
+ {{ if not (.section.hideTitle) }} +

{{ .section.name }}

+ {{ end }} + +
+ + + {{ range .degrees}} + + + + + + + + {{ end }} + +
+
+
+ +
+
+
+
+
+
+
+ {{ if .institution.url }} +
{{ .institution.name }}
+ {{ else }} +
{{ .institution.name }}
+ {{ end }} +
+
{{ .timeframe }}
+
+
{{ .name }}
+ {{ if .grade }} +
{{ .grade.scale }}: {{ .grade.achieved }} out of {{ .grade.outOf }}
+ {{ end }} + {{ if .publications }} +
+
Publications
+ +
+ {{ end }} + {{ if .takenCourses }} +
+
Taken Courses
+ {{ if .takenCourses.showGrades }} + + + + + + + + {{ range $index,$course := .takenCourses.courses }} + + + + + + {{ end }} + +
Course NameTotal CreditObtained Credit
{{ $course.name }}{{ $course.outOf }}{{ $course.achieved }}
+ {{ else }} +
    + {{ range $index,$course := .takenCourses.courses }} +
  • {{ $course.name }}
  • + {{ end }} +
+ {{ end }} + +
+ {{ end }} + {{ if .extracurricularActivities }} +
+
Extracurricular Activities
+
    + {{ range .extracurricularActivities }} +
  • {{ . }}
  • + {{ end }} +
+
+ {{ end }} +
+
+
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/static/assets/css/sections/education.css b/static/assets/css/sections/education.css index 4a223e0..e095394 100644 --- a/static/assets/css/sections/education.css +++ b/static/assets/css/sections/education.css @@ -89,10 +89,11 @@ margin-bottom: 0; } -/* .education-section .taken-courses .show-more-btn { - padding-top: 0; - margin-left: 0.2rem; -} */ +/*============ Education Alter Template =============*/ +.education-alt .degree-info{ + border-right: 2px solid #248aaa; +} + /* ============= Device specific fixes ======= */