Webform module and config export
This commit is contained in:
parent
3e6a5cbed2
commit
0e15467384
1040 changed files with 117682 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation from webform wizard progress.
|
||||
*
|
||||
* Available variables:
|
||||
* - webform: A webform.
|
||||
* - pages: Array of wizard pages.
|
||||
* - current_page: Current wizard page.
|
||||
* - total_pages: Current wizard page.
|
||||
* - summary: Summary of progress.
|
||||
* - percentage: Percentage completed.
|
||||
* - bar: A progress bar.
|
||||
*
|
||||
* @see template_preprocess_webform_progress()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
{{ attach_library('webform/webform.progress') }}
|
||||
|
||||
<div class="webform-progress">
|
||||
|
||||
{{ bar }}
|
||||
|
||||
{% if summary or percentage %}
|
||||
<div class="webform-progress__status">
|
||||
{% if summary %}
|
||||
<span class="webform-progress__'summary">{{ summary }}</span>
|
||||
{% if percentage %}
|
||||
<span class="webform-progress__percentage">({{ percentage }})</span>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<span class="webform-progress__percentage">{{ percentage }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
Reference in a new issue