Make static files optional, for new tailbone-integration project

This commit is contained in:
Lance Edgar 2022-12-23 20:18:49 -06:00
parent 64c8768314
commit d409e1d088
2 changed files with 21 additions and 0 deletions

View file

@ -287,6 +287,25 @@
</div> </div>
</div> </div>
</div> </div>
<br />
<div class="card">
<header class="card-header">
<p class="card-header-title">Options</p>
</header>
<div class="card-content">
<div class="content">
<b-field horizontal label="Has Static Files"
message="Register a subfolder for static files (images etc.)">
<b-checkbox name="has_static_files"
v-model="tailbone_integration.has_static_files"
native-value="true">
</b-checkbox>
</b-field>
</div>
</div>
</div>
${h.end_form()} ${h.end_form()}
</div> </div>

View file

@ -114,6 +114,8 @@ class GenerateTailboneIntegrationProject(colander.MappingSchema):
python_name = colander.SchemaNode(colander.String()) python_name = colander.SchemaNode(colander.String())
has_static_files = colander.SchemaNode(colander.Boolean())
class GenerateByjoveProject(colander.MappingSchema): class GenerateByjoveProject(colander.MappingSchema):
""" """