From f7638221cadeaaef5ed4eaf376aa62433bb1f923 Mon Sep 17 00:00:00 2001 From: Rioting Pacifist Date: Tue, 10 Mar 2020 15:52:45 +0000 Subject: [PATCH] Add Project sections And keyword javascript * Projects within the experience section * Keywords and the ability to jump to them * Change behabior of profile menu when window is to short --- src/partials/experience.html | 14 ++++++++---- src/partials/head.html | 1 + src/partials/profile.html | 37 ++++++++++++++++++++++++++++++++ src/partials/style.html | 15 +++++++++++++ src/partials/top-script.html | 38 +++++++++++++++++++++++++++++++++ src/partials/work-projects.html | 27 +++++++++++++++++++++++ src/template-html.html | 2 +- 7 files changed, 129 insertions(+), 5 deletions(-) create mode 100644 src/partials/top-script.html create mode 100644 src/partials/work-projects.html diff --git a/src/partials/experience.html b/src/partials/experience.html index 5828732..1221a4b 100644 --- a/src/partials/experience.html +++ b/src/partials/experience.html @@ -12,10 +12,16 @@ {{#each r.employment.history}}
  • -

    {{{position}}}{{employer}}

    - {{> date}} - {{{summary}}} - {{> highlights}} +
    > + + {{{position}}}{{employer}} +
    {{> date}} + {{{summary}}} + {{> highlights}} +
    + {{#if description}}

    {{{description}}}

    {{/if}} + {{> work-projects}} +
  • {{/each}} diff --git a/src/partials/head.html b/src/partials/head.html index 8a54e35..14b576d 100644 --- a/src/partials/head.html +++ b/src/partials/head.html @@ -5,3 +5,4 @@ {{> style}} +{{> top-script}} diff --git a/src/partials/profile.html b/src/partials/profile.html index fbfcde6..0c7fae1 100644 --- a/src/partials/profile.html +++ b/src/partials/profile.html @@ -32,5 +32,42 @@ {{/each}} +
    + {{#if r.settings.links}} +
    +
    Other formats
    + {{#each r.settings.links.main}} + {{name}} + {{/each}} + {{#if r.settings.links.extra}} +
    + More + {{#each r.settings.links.extra}} + {{#group}}{{.}}:{{/group}} + {{#each links}} + {{#if name}} + {{name}} + {{else}} + {{.}} + {{/if}} + {{/each}}
    + {{/each}} +
    + {{/if}} +
    +
    + {{/if}} +
    +

    Expand / Collapse

    + {{#if r.tags}} +
    + Keywords + {{#each r.tags}} + {{this}} + {{/each}} +
    + {{/if}} +
    +
    diff --git a/src/partials/style.html b/src/partials/style.html index 5b95815..aa86994 100644 --- a/src/partials/style.html +++ b/src/partials/style.html @@ -722,6 +722,9 @@ details.detail > summary { list-style: none; } +.tag-list { + overflow:auto; +} img.logo { display: inline-block; @@ -732,4 +735,16 @@ img.logo { text-align: center; } +.label { + margin-bottom: 3px; +} + +.highlight { + background: LightGoldenrodYellow; + font-weight: bolder; +} + +.employer.highlight { + background: Cornsilk; +} diff --git a/src/partials/top-script.html b/src/partials/top-script.html new file mode 100644 index 0000000..470c631 --- /dev/null +++ b/src/partials/top-script.html @@ -0,0 +1,38 @@ + diff --git a/src/partials/work-projects.html b/src/partials/work-projects.html new file mode 100644 index 0000000..2e7440c --- /dev/null +++ b/src/partials/work-projects.html @@ -0,0 +1,27 @@ +{{#if projects}} +
    +
    +
    Projects
    +
      + {{#each projects}} +
    • +
      +
      + + {{#if customer}}{{customer}}, {{/if}}{{{name}}} + {{#if url}}

      {{url}}

      {{/if}} + {{#if summary}}{{{summary}}}{{/if}} + + {{#if keywords}}Keywords: {{#each keywords}} {{this}},{{/each}}
      {{/if}} + {{#if technologies}}Technologies: {{#each technologies}} {{this}},{{/each}}{{/if}} +
      +
      + {{#if description}}

      {{{description}}}

      {{/if}} +
      +
      +
    • + {{/each}} +
    +
    +
    +{{/if}} diff --git a/src/template-html.html b/src/template-html.html index 7a83306..b907fb2 100644 --- a/src/template-html.html +++ b/src/template-html.html @@ -3,7 +3,7 @@ {{> head}} - + {{> body}}