Make static files optional, for new tailbone-integration project
This commit is contained in:
parent
64c8768314
commit
d409e1d088
|
@ -287,6 +287,25 @@
|
|||
</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()}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -114,6 +114,8 @@ class GenerateTailboneIntegrationProject(colander.MappingSchema):
|
|||
|
||||
python_name = colander.SchemaNode(colander.String())
|
||||
|
||||
has_static_files = colander.SchemaNode(colander.Boolean())
|
||||
|
||||
|
||||
class GenerateByjoveProject(colander.MappingSchema):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue