diff --git a/app/app.js b/app/app.js index 0d9ad7f..20dfd9c 100644 --- a/app/app.js +++ b/app/app.js @@ -345,7 +345,7 @@ var app = new Vue({ startDate: "", endDate: "", summary: "", - highlights: [] + highlights: [""] }; }, @@ -363,7 +363,7 @@ var app = new Vue({ startDate: "", endDate: "", summary: "", - highlights: [] + highlights: [""] }; }, @@ -381,7 +381,7 @@ var app = new Vue({ startDate: "", endDate: "", gpa: "", - courses: [] + courses: [""] }; }, @@ -416,7 +416,7 @@ var app = new Vue({ return { name: "", level: "", - keywords: [] + keywords: [""] }; }, @@ -437,7 +437,7 @@ var app = new Vue({ { return { name: "", - keywords: [] + keywords: [""] }; }, diff --git a/components/section_basics.js b/components/section_basics.js index 94d81d3..69df715 100644 --- a/components/section_basics.js +++ b/components/section_basics.js @@ -73,7 +73,8 @@ var sectionBasicsComponent = { methods: { addProfile: function() { - + var item = this.$root.getDefaultBasicProfile(); + this.$root.sections.basics.profiles.push(item); } } }; \ No newline at end of file diff --git a/components/section_education.js b/components/section_education.js index 9c8335e..e083789 100644 --- a/components/section_education.js +++ b/components/section_education.js @@ -27,6 +27,11 @@ var sectionEducationComponent = { methods: { - + addCourse: function(index) + { + var item = this.$root.getDefaultEducationCourse(); + //console.log("addHighlight(" + index + ")", this.$root.sections.volunteer[index]); + this.$root.sections.education[index].courses.push(item); + } } }; \ No newline at end of file diff --git a/components/section_interests.js b/components/section_interests.js index ae6565f..7d06365 100644 --- a/components/section_interests.js +++ b/components/section_interests.js @@ -27,6 +27,11 @@ var sectionInterestsComponent = { methods: { - + addKeyword: function(index) + { + var item = this.$root.getDefaultInterestKeywoard(); + //console.log("addHighlight(" + index + ")", this.$root.sections.interests[index]); + this.$root.sections.interests[index].keywords.push(item); + } } }; \ No newline at end of file diff --git a/components/section_skills.js b/components/section_skills.js index 4e9de8f..91b69d7 100644 --- a/components/section_skills.js +++ b/components/section_skills.js @@ -27,6 +27,11 @@ var sectionSkillsComponent = { methods: { - + addKeyword: function(index) + { + var item = this.$root.getDefaultSkillKeywoard(); + //console.log("addHighlight(" + index + ")", this.$root.sections.volunteer[index]); + this.$root.sections.skills[index].keywords.push(item); + } } }; \ No newline at end of file diff --git a/components/section_volunteer.js b/components/section_volunteer.js index 679b1d2..43e752a 100644 --- a/components/section_volunteer.js +++ b/components/section_volunteer.js @@ -27,6 +27,11 @@ var sectionVolunteerComponent = { methods: { - + addHighlight: function(index) + { + var item = this.$root.getDefaulVolunteerHighlight(); + //console.log("addHighlight(" + index + ")", this.$root.sections.volunteer[index]); + this.$root.sections.volunteer[index].highlights.push(item); + } } }; \ No newline at end of file diff --git a/components/section_work.js b/components/section_work.js index 251e36c..e5b7633 100644 --- a/components/section_work.js +++ b/components/section_work.js @@ -27,6 +27,11 @@ var sectionWorkComponent = { methods: { - + addHighlight: function(index) + { + var item = this.$root.getDefaultWorkHighlight(); + console.log("addHighlight(" + index + ")", this.$root.sections.work[index]); + this.$root.sections.work[index].highlights.push(item); + } } }; \ No newline at end of file diff --git a/index.html b/index.html index 616ea76..cf03cdf 100644 --- a/index.html +++ b/index.html @@ -210,26 +210,24 @@
- + Name of the organisation you volunteered for.
- + Role or position title.
- + Company website.
- + Date you started work (full date or month and year)
- + End date (if not current).
- + Details of your work, responsibilities and achievements. And a little about the company.
- - - Name of the institution. -
-- - - Area of interest. -
-- - - Type of study. -
-- - - Date you started -
-- - - Date completed study. -
-- - - GPA -
++ + + Name of the institution. +
++ + + Area of interest. +
++ + + Type of study. +
++ + + Date you started +
++ + + Date completed study. +
++ + + GPA +
-- - - Name of the award. -
-- - - When the award was received -
-- - - Who gave the aware. -
-- - - Describe the award and circumstances. -
-+ + + Name of the award. +
++ + + When the award was received +
++ + + Who gave the aware. +
++ + + Describe the award and circumstances. +
- - - Name of the article. -
-- - - Name of the publication. -
-- - - When it was published (full date or month and year) -
-- - - Publication website. -
-- - - Details of the article. -
-+ + + Name of the article. +
++ + + Name of the publication. +
++ + + When it was published (full date or month and year) +
++ + + Publication website. +
++ + + Details of the article. +
- - - Name of a particular skill or a group of skills. -
-- - - Your level of experience. -
++ + + Name of a particular skill or a group of skills. +
++ + + Your level of experience. +
-- - - Name of the intest. -
++ + + Name of the intest. +
-