-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
110 additions
and
20 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
@import 'react-forms'; | ||
@import 'select'; | ||
@import 'text-input'; | ||
@import 'tfa-form'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.tfa-entry-form { | ||
max-width: $content-width-max; | ||
|
||
.form-actions input { | ||
margin-bottom: $spacing-double; | ||
margin-top: $spacing; | ||
max-width: 280px; | ||
width: 100%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
templates/form/form--openid-connect-accounts-form.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div class="components components--computed"> | ||
{% embed "@hdbt/misc/component.twig" with | ||
{ | ||
component_classes: [ | ||
'component--connected-accounts-form-container', | ||
], | ||
} | ||
%} | ||
{% block component_content %} | ||
<form{{ attributes }}> | ||
{{ children }} | ||
</form> | ||
{% endblock component_content %} | ||
{% endembed %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div class="components components--computed"> | ||
{% embed "@hdbt/misc/component.twig" with | ||
{ | ||
component_classes: [ | ||
'component--tfa-form-container', | ||
], | ||
} | ||
%} | ||
{% block component_content %} | ||
<form{{ attributes }}> | ||
{{ children }} | ||
</form> | ||
{% endblock component_content %} | ||
{% endembed %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<article{{ attributes }}> | ||
{% if content %} | ||
<div class="components components--computed"> | ||
{% embed "@hdbt/misc/component.twig" with { component_classes: ['component--user-info-container'] } %} | ||
{% block component_content %} | ||
{% set link_title = "Hel.fi content producer's guide (in Finnish)"|t({}, {'context': 'User info page'}) %} | ||
{% set link_url = 'https://www.hel.fi/fi/paatoksenteko-ja-hallinto/sisallonhallinta' %} | ||
{% embed "@hdbt/misc/component.twig" with { component_classes: ['component--paragraph-text'] } %} | ||
{% block component_content %} | ||
<p>{{ "Welcome to the content management of hel.fi Drupal. You will find instructions in the"|t({}, {'context': 'User info page'}) }} {{ link(link_title, link_url) }}.</p> | ||
{% endblock component_content %} | ||
{% endembed %} | ||
{{- content -}} | ||
{% endblock component_content %} | ||
{% endembed %} | ||
</div> | ||
{% endif %} | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters