Config: Initialize web-assets v2 forms component compilation for survey templates temporarily #96859
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,6 +1,10 @@
|
||||
[submodule "assets_shared"]
|
||||
path = assets_shared
|
||||
url = https://projects.blender.org/infrastructure/web-assets.git
|
||||
[submodule "assets_shared_v2_component_forms"]
|
||||
branch = component-forms
|
||||
path = assets_shared_v2
|
||||
url = https://projects.blender.org/infrastructure/web-assets.git
|
||||
[submodule "donation-box"]
|
||||
path = donation-box
|
||||
url = https://projects.blender.org/infrastructure/devfund-donation-box.git
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 8839ec4de330d84ed68bfdbb27017ab4920e426b
|
||||
Subproject commit ca8eb5303b6974c2285a8637c93b5f26f41478f0
|
@ -285,6 +285,11 @@ PIPELINE = {
|
||||
'output_filename': 'css/main.css',
|
||||
'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': {
|
||||
'source_filenames': ('looper/styles/*.sass',),
|
||||
'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>
|
||||
|
||||
Hi {{ user.username }}!
|
||||
|
@ -35,7 +35,9 @@
|
||||
|
||||
<script defer data-domain="fund.blender.org" src="https://analytics.blender.org/js/script.js"></script>
|
||||
|
||||
{% block stylesheet_custom %}
|
||||
{% stylesheet 'main' %}
|
||||
{% endblock stylesheet_custom %}
|
||||
|
||||
{% if settings.GOOGLE_ANALYTICS_TRACKING_ID %}
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ settings.GOOGLE_ANALYTICS_TRACKING_ID }}"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user