Introducing setup_for_film functionality
It is now possible, only for user with admin capability, to setup a project as ‘film’. This action can be performed via CLI using ./manage.py cloud setup_for_film <project_url> or via the web interface in the Cloud settings area. Setting up a project for film creates a number of extension props under the ‘cloud’ key. Such properties are listed in the cloud_extension_props variable in setup.py. At this moment the functionality exists for a very specific purpose: improving the presentation of public Film projects in the Blender Cloud. It can be further extended to improve the presentation of Training and Libraries later on.
This commit is contained in:
21
src/templates/project_settings/cloud_layout.pug
Normal file
21
src/templates/project_settings/cloud_layout.pug
Normal file
@@ -0,0 +1,21 @@
|
||||
| {% extends 'projects/edit_layout.html' %}
|
||||
| {% set title = 'cloud' %}
|
||||
| {% block page_title %}Blender Cloud settings for {{ project.name }}{% endblock %}
|
||||
|
||||
| {% block head %}
|
||||
script(src="{{ url_for('static_attract', filename='assets/js/generated/tutti.min.js') }}")
|
||||
| {% endblock %}
|
||||
|
||||
| {% block project_context %}
|
||||
.container-fluid
|
||||
.row
|
||||
.col-md-12
|
||||
h5.pt-3 {{ self.page_title() }}
|
||||
|
||||
hr
|
||||
|
||||
#node-edit-container
|
||||
| {% block cloud_container %}
|
||||
| {% endblock cloud_container %}
|
||||
|
||||
| {% endblock project_context %}
|
Reference in New Issue
Block a user