Commit Graph

248 Commits

Author SHA1 Message Date
36f31caf04 UI Landing: Show logo and watch url if any. 2019-04-03 16:59:25 +02:00
d54d5ec157 Use poster file as preview for film projects 2019-04-03 16:43:48 +02:00
4a180e3784 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.
2019-04-03 15:54:45 +02:00
6ac75c6a14 UI Production: use same header and opengraph as other collections. 2019-04-03 15:48:38 +02:00
4b7cc3f58e UI Libraries: Fix wrong URL for characters project. 2019-04-03 15:47:59 +02:00
cbbaf90002 Templates: Add opengraph to collections. 2019-04-03 15:43:53 +02:00
c5154240ca Cleanup. One line for block page_title. 2019-04-03 15:43:01 +02:00
1e62aff62c Cleanup: Unused mixin include. 2019-04-03 15:42:37 +02:00
b015cc8fa4 Cleanup: Remove URL from category_list_header component. 2019-04-03 15:33:04 +02:00
3be54da5c3 Cleanup: Remove unused components mixin. 2019-04-03 15:32:32 +02:00
5c1b94544a UI: Tweaks to descriptions in Learn. 2019-04-03 15:31:38 +02:00
1ed2a3937e UI: Tweaks to descriptions in Libraries. 2019-04-03 15:31:14 +02:00
80b69438ed UI: Tweaks to descriptions in Index Collection. 2019-04-03 15:30:46 +02:00
3f3112f272 Pug Components: category_list_item component.
Taken from Pillar. Used in Libraries, Training, etc.
2019-04-03 15:29:14 +02:00
29ff9609e7 UI Films: use variable for project URL.
Instead of building url_for() many times.
2019-04-03 15:03:18 +02:00
bd07a63acd Index Collection Template: Use header and opengraph macros. 2019-04-03 15:02:11 +02:00
9bf6c0fcb3 Templates: New template for films. 2019-04-03 13:04:25 +02:00
e03cf2f5da CSS: Include font-pillar as part of main.css 2019-04-03 13:01:08 +02:00
a67af63459 Template Libraries: Use header and opengraph macros. 2019-04-03 11:41:42 +02:00
362694f4b6 Template Learn: Use header and opengraph macros. 2019-04-03 11:41:33 +02:00
f8995fb657 Template Services: Use header and opengraph macros. 2019-04-03 11:39:11 +02:00
95762acf14 Templates: Introducing components.pug
For Blender Cloud specific components.

No need for them to be part of Pillar.
2019-04-03 11:38:27 +02:00
35a9986290 Templates: New macro for Opengraph.
To be used inside the opengraph block.

e.g
{% block og %}
  {{ opengraph(title, description, image, url) }}
{% endblock %}
2019-04-02 19:48:51 +02:00
e8c878d0f3 UI Blog: Light background color and border for edit bar.
Makes it stand out more especially when there is no image in the post.
2019-04-01 14:57:34 +02:00
fdf05d16de UI: Light background color for sidebar container. 2019-04-01 14:56:59 +02:00
49bffd108d UI Index Collection: Match style with Training and Libraries. 2019-04-01 12:33:47 +02:00
87c1eae1a6 UI Homepage: Replace 'film in production' with just Spring.
Since the film is no longer in production! We are done!
2019-04-01 12:32:49 +02:00
163aee6bbc UI Project: Show sidebar by default. 2019-03-29 15:46:43 +01:00
da955ce4af UI Landing: No need to set 'landing' as title.
Just use the default since project landing is the same as project home.
2019-03-29 15:37:46 +01:00
ad1a55c5d5 UI Landing: Use dark background only on project home landing page. 2019-03-29 15:37:46 +01:00
42215d2b02 UI Layout: New jinja block for adding custom classes to the body.
Usage: {% block bodyclasses %}custom-class-name{% endblock %}
2019-03-29 15:37:46 +01:00
039ab1ce70 UI Project sidebar: padding and border classes adjustment. 2019-03-28 21:12:24 +01:00
1bd1c6e5fd Merge branch 'master' into wip-breadcrumbs 2019-03-28 21:04:13 +01:00
353660c7ba UI Project: Sidebar toggle button. 2019-03-28 21:03:24 +01:00
b77f3aaa49 Breadcrumbs: clicking a breadcrumb now calls displayNode(nodeId)
Requires Pillar 1fd17303a53016c15f685deebda65bea8e71be90
2019-03-28 16:43:15 +01:00
50c0842e72 Breadcrumbs: Move from sidebar to project context.
Since we will be able to toggle the sidebar from the breadcrumbs.
2019-03-28 16:06:32 +01:00
6972e1662d Show breadcrumbs in project navigation
Requires Pillar 4499f911.
2019-03-28 12:41:57 +01:00
af6022c997 UI Services: Minor layout adjustments.
* Align all items to the left.
* Match header with Training and Libraries.
* Make images a link.
2019-03-27 16:00:19 +01:00
2fc1738e99 UI Libraries: Use single-column listing.
Uses component from components.pug
2019-03-27 16:00:19 +01:00
149013d64c UI Learn: Use single-column listing.
Uses component from components.pug
2019-03-27 16:00:19 +01:00
e13a1bff1b UI Navigation: Move Training after Films.
So we have categories listing grouped together (Training/Libraries/Services).
2019-03-27 16:00:19 +01:00
b417f25811 UI Homepage: Single-column layout. 2019-03-27 13:08:44 +01:00
269daa0d43 UI Navigation: Padding adjustment. 2019-03-27 12:55:08 +01:00
39516e63cc UI Navigation: Cleanup (adding comments). 2019-03-27 12:54:54 +01:00
84881743ef UI Navigation: Category title 'Open Projects' rename to 'Films' 2019-03-27 12:54:10 +01:00
e975492869 UI Navigation: Link to project category.
Without it, going from one project to another in the same category (like
going from Textures library to HDRI) is cumbersome, having to go always
through the homepage first.
2019-03-27 12:53:27 +01:00
78e1c728fa UI Landing: Cleanup 2019-03-27 12:36:39 +01:00
be18dfb985 UI Landing: Margin top of project description. 2019-03-27 12:35:58 +01:00
8797b18754 UI Landing: Cleanup, remove unused attribute. 2019-03-27 12:34:44 +01:00
727ba3fd58 UI Landing: Simplify javascript code for overlay. 2019-03-27 12:34:11 +01:00