Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
embl.org
html-sites
embl-jobs-pages
Commits
18c4d8ce
Commit
18c4d8ce
authored
Jan 15, 2021
by
Ken Hawkins
Browse files
Update components, use vf-stack
parent
710bb928
Pipeline
#122523
passed with stages
in 3 minutes and 8 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1106 additions
and
1789 deletions
+1106
-1789
package.json
package.json
+19
-19
src/site/_includes/filter/job-location.njk
src/site/_includes/filter/job-location.njk
+1
-18
src/site/_includes/layouts/base.njk
src/site/_includes/layouts/base.njk
+1
-1
src/site/partners/index.njk
src/site/partners/index.njk
+1
-5
src/site/position/index.njk
src/site/position/index.njk
+0
-2
yarn.lock
yarn.lock
+1084
-1744
No files found.
package.json
View file @
18c4d8ce
...
...
@@ -29,7 +29,7 @@
"
@node-sass/node-module-importer
"
:
"
1.2.3
"
,
"
@visual-framework/embl-breadcrumbs-lookup
"
:
"
2.0.1
"
,
"
@visual-framework/embl-conditional-edit
"
:
"
1.0.3
"
,
"
@visual-framework/embl-content-hub-loader
"
:
"
1.0.
7
"
,
"
@visual-framework/embl-content-hub-loader
"
:
"
1.0.
8
"
,
"
@visual-framework/embl-content-meta-properties
"
:
"
1.0.1
"
,
"
@visual-framework/embl-favicon
"
:
"
1.0.2
"
,
"
@visual-framework/embl-grid
"
:
"
2.1.0
"
,
...
...
@@ -42,40 +42,40 @@
"
@visual-framework/vf-breadcrumbs
"
:
"
2.0.1
"
,
"
@visual-framework/vf-card
"
:
"
2.3.3
"
,
"
@visual-framework/vf-card-container
"
:
"
3.0.2
"
,
"
@visual-framework/vf-cluster
"
:
"
^
1.0.1
"
,
"
@visual-framework/vf-cluster
"
:
"
1.0.1
"
,
"
@visual-framework/vf-code-example
"
:
"
1.2.0
"
,
"
@visual-framework/vf-config
"
:
"
1.0.1-alpha.0
"
,
"
@visual-framework/vf-content
"
:
"
1.3.
3
"
,
"
@visual-framework/vf-core
"
:
"
2.2.1
4
"
,
"
@visual-framework/vf-content
"
:
"
1.3.
5
"
,
"
@visual-framework/vf-core
"
:
"
2.2.1
6
"
,
"
@visual-framework/vf-design-tokens
"
:
"
3.1.0
"
,
"
@visual-framework/vf-divider
"
:
"
2.0.0
"
,
"
@visual-framework/vf-extensions
"
:
"
1.0.0-
alpha.9
"
,
"
@visual-framework/vf-extensions
"
:
"
1.0.0-
rc.0
"
,
"
@visual-framework/vf-favicon
"
:
"
1.0.2
"
,
"
@visual-framework/vf-font-plex-mono
"
:
"
1.1.
0
"
,
"
@visual-framework/vf-font-plex-sans
"
:
"
1.1.
0
"
,
"
@visual-framework/vf-font-plex-mono
"
:
"
1.1.
1
"
,
"
@visual-framework/vf-font-plex-sans
"
:
"
1.1.
1
"
,
"
@visual-framework/vf-footer
"
:
"
1.1.0
"
,
"
@visual-framework/vf-form__core
"
:
"
1.
0.5
"
,
"
@visual-framework/vf-global-header
"
:
"
3.
0.1
"
,
"
@visual-framework/vf-grid
"
:
"
1.
3
.0
"
,
"
@visual-framework/vf-form__core
"
:
"
1.
1.0
"
,
"
@visual-framework/vf-global-header
"
:
"
3.
1.0
"
,
"
@visual-framework/vf-grid
"
:
"
1.
4
.0
"
,
"
@visual-framework/vf-header
"
:
"
1.0.4
"
,
"
@visual-framework/vf-heading
"
:
"
1.0.0
"
,
"
@visual-framework/vf-hero
"
:
"
2.0.5
"
,
"
@visual-framework/vf-intro
"
:
"
1.4.
2
"
,
"
@visual-framework/vf-intro
"
:
"
1.4.
5
"
,
"
@visual-framework/vf-lede
"
:
"
1.0.1
"
,
"
@visual-framework/vf-link
"
:
"
1.0.3
"
,
"
@visual-framework/vf-link-list
"
:
"
1.3.
0
"
,
"
@visual-framework/vf-link-list
"
:
"
1.3.
1
"
,
"
@visual-framework/vf-logo
"
:
"
1.5.0
"
,
"
@visual-framework/vf-navigation
"
:
"
2.
1
.0
"
,
"
@visual-framework/vf-navigation
"
:
"
2.
2
.0
"
,
"
@visual-framework/vf-no-js
"
:
"
1.0.1
"
,
"
@visual-framework/vf-polyfill-js
"
:
"
1.0.0-alpha.1
"
,
"
@visual-framework/vf-sass-config
"
:
"
2.3.1
"
,
"
@visual-framework/vf-sass-utilities
"
:
"
1.0.1
"
,
"
@visual-framework/vf-search
"
:
"
1.2.0
"
,
"
@visual-framework/vf-section-header
"
:
"
1.3.
0
"
,
"
@visual-framework/vf-stack
"
:
"
^
2.0.0
"
,
"
@visual-framework/vf-summary
"
:
"
1.4.
0
"
,
"
@visual-framework/vf-section-header
"
:
"
1.3.
2
"
,
"
@visual-framework/vf-stack
"
:
"
2.0.0
"
,
"
@visual-framework/vf-summary
"
:
"
1.4.
1
"
,
"
@visual-framework/vf-summary-container
"
:
"
1.0.0
"
,
"
@visual-framework/vf-tabs
"
:
"
1.
1.2
"
,
"
@visual-framework/vf-tabs
"
:
"
1.
2.0
"
,
"
@visual-framework/vf-text
"
:
"
1.0.2
"
,
"
@visual-framework/vf-u-fullbleed
"
:
"
1.2.2
"
,
"
@visual-framework/vf-utility-classes
"
:
"
2.0.0
"
,
...
...
@@ -83,7 +83,7 @@
"
html-minifier
"
:
"
4.0.0
"
,
"
list-stream
"
:
"
2.0.0
"
,
"
lodash
"
:
"
4.17.20
"
,
"
ora
"
:
"
5.
1
.0
"
,
"
ora
"
:
"
5.
2
.0
"
,
"
require-dir
"
:
"
1.2.0
"
,
"
strip-js
"
:
"
1.2.0
"
},
...
...
@@ -93,6 +93,6 @@
"homepage"
:
"
https://github.com/visual-framework/vf-eleventy#readme
"
,
"keywords"
:
[],
"devDependencies"
:
{
"
@visual-framework/ebi-header-footer
"
:
"
1
.0.
3
"
"
@visual-framework/ebi-header-footer
"
:
"
2
.0.
0
"
}
}
src/site/_includes/filter/job-location.njk
View file @
18c4d8ce
...
...
@@ -8,26 +8,10 @@
'rome': 'Rome, Italy',
'EMBO': 'EMBO, Heidelberg, Germany'
} %}
<fieldset class="vf-form vf-form__fieldset | vf-stack vf
-stack--400
">
<fieldset class="vf-form vf-form__fieldset | vf-stack vf">
<style>
.vf-form__label {
display: grid;
font-size: 1rem;
grid-template-columns: auto 1fr;
margin-left: 2rem;
}
.vf-form__checkbox + .vf-form__label::before {
height: 1rem;
width: 1rem;
position: absolute;
left: -2rem;
top: .125rem !important;
}
.vf-form__item.vf-form__item--checkbox {
margin-bottom: 0 !important;
}
.vf-form__legend {
margin: 0 !important;
}
</style>
<legend class="vf-form__legend">Position location</legend>
...
...
@@ -51,7 +35,6 @@
value="{{ key }}"
>
<label for="checkbox-{{ loop.index }}" class="vf-form__label">{{ name }} ({{ counter }})</label>
</div>
{% endfor %}
{% endspaceless %}
...
...
src/site/_includes/layouts/base.njk
View file @
18c4d8ce
...
...
@@ -68,7 +68,7 @@
<!-- analytics -->
<meta
name=
"vf:page-type"
content=
"{{ meta.pagetype }}"
>
{# for analytics tracking #}
</head>
<body
class=
"vf-body {{ bodyClass }}"
>
<body
class=
"vf-body
vf-stack
{{ bodyClass }}"
>
<!-- embl global header -->
<link
rel=
"import"
href=
"https://www.embl.org/api/v1/pattern.html?filter-content-type=article&filter-id=574&pattern=node-body&source=contenthub"
data-target=
"self"
data-embl-js-content-hub-loader
>
...
...
src/site/partners/index.njk
View file @
18c4d8ce
...
...
@@ -23,7 +23,6 @@ embl_content_meta_properties:
expiry: never
---
{# Intro #}
{% render '@vf-intro', {
"vf_intro_badge": false,
...
...
@@ -36,13 +35,10 @@ embl_content_meta_properties:
]
} %}
<section class="embl-grid embl-grid--has-centered-content">
<div><!-- empty --></div>
<div class="vf-content">
<link rel="import" href="https://www.embl.org/api/v1/pattern.html?filter-content-type=article&filter-id=10866&pattern=node-body&source=contenthub" data-target="self" data-embl-js-content-hub-loader>
{# To make changes on this page you need to go to https://content.embl.org/node/10866 #}
{#- To make changes on this page you need to go to https://content.embl.org/node/10866 -#}
</div>
</section>
src/site/position/index.njk
View file @
18c4d8ce
...
...
@@ -80,8 +80,6 @@ embl_content_meta_properties:
{# | Job type | {{ pagination.items[0].field_jobs_type }} | #}
{# {{ pagination.items[0].field_jobs_group }} #}
{# {{ pagination.items[0].field_jobs_publish_date | safe }} #}
<div class="vf-u-display-none | used-for-search-index">
...
...
yarn.lock
View file @
18c4d8ce
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment