Config: Initialize web-assets v2 forms component compilation for survey templates temporarily #96859
@ -285,6 +285,11 @@ PIPELINE = {
|
|||||||
'output_filename': 'css/main.css',
|
'output_filename': 'css/main.css',
|
||||||
'extra_context': {'media': 'screen,projection'},
|
'extra_context': {'media': 'screen,projection'},
|
||||||
},
|
},
|
||||||
|
'main-web-assets-v2-component-forms': {
|
||||||
|
'source_filenames': ('blender_fund_main/styles/main-web-assets-v2-component-forms.sass',),
|
||||||
|
'output_filename': 'css/main-web-assets-v2-component-forms.css',
|
||||||
|
'extra_context': {'media': 'screen,projection'},
|
||||||
|
},
|
||||||
'looper_admin': {
|
'looper_admin': {
|
||||||
'source_filenames': ('looper/styles/*.sass',),
|
'source_filenames': ('looper/styles/*.sass',),
|
||||||
'output_filename': 'css/looper_admin.css',
|
'output_filename': 'css/looper_admin.css',
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
$font-path: '../../assets/fonts'
|
||||||
|
@import '../../../../assets_shared_v2_component_forms/src/styles/main.sass'
|
@ -1,3 +1,7 @@
|
|||||||
|
{% block stylesheet_custom %}
|
||||||
|
{% stylesheet 'main-web-assets-v2-component-forms' %}
|
||||||
|
{% endblock stylesheet_custom %}
|
||||||
|
|
||||||
<h1>Survey</h1>
|
<h1>Survey</h1>
|
||||||
|
|
||||||
Hi {{ user.username }}!
|
Hi {{ user.username }}!
|
||||||
|
@ -35,7 +35,9 @@
|
|||||||
|
|
||||||
<script defer data-domain="fund.blender.org" src="https://analytics.blender.org/js/script.js"></script>
|
<script defer data-domain="fund.blender.org" src="https://analytics.blender.org/js/script.js"></script>
|
||||||
|
|
||||||
|
{% block stylesheet_custom %}
|
||||||
{% stylesheet 'main' %}
|
{% stylesheet 'main' %}
|
||||||
|
{% endblock stylesheet_custom %}
|
||||||
|
|
||||||
{% if settings.GOOGLE_ANALYTICS_TRACKING_ID %}
|
{% if settings.GOOGLE_ANALYTICS_TRACKING_ID %}
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ settings.GOOGLE_ANALYTICS_TRACKING_ID }}"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ settings.GOOGLE_ANALYTICS_TRACKING_ID }}"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user