Commit Graph

77 Commits

Author SHA1 Message Date
Francesco Siddi 368e3f6d40 Use high-res image for landing header 2018-05-07 15:25:10 +02:00
Francesco Siddi e9ec850d90 Styling: tweaks for mobile 2018-04-17 00:28:49 +02:00
Francesco Siddi 280d26801e Reduce scope of h2 styling 2018-04-16 20:36:23 +02:00
Francesco Siddi 6c285c078f Cleanup for landing page 2018-04-16 18:35:16 +02:00
Francesco Siddi debfc4e356 Layout tweaks for landing page 2018-04-16 17:30:34 +02:00
Francesco Siddi 541663ce0c Skip nodes with no image in landing gallery 2018-04-16 16:36:03 +02:00
Francesco Siddi 1fb044e7c1 Use macro for rendering secondary navigation 2018-04-16 16:24:00 +02:00
Francesco Siddi 4769e2e904 New landing page for Hero project 2018-04-16 14:38:08 +02:00
Sybren A. Stüvel cf99383b9c Only load clipboard.min.js when authenticated
This is used in the attachments form, which is only available to
authenticated users.
2018-04-03 11:28:13 +02:00
Sybren A. Stüvel 0259c5e0ec Add clipboard.min.js to layout
This is needed for the copy button on file asset uploading. Rather than
including it on all pages that could feature the file uploader it's now
loaded globally.
2018-03-29 17:34:22 +02:00
Pablo Vazquez df71738623 Nodes preview now uses typewatch and csrf_token 2018-03-28 23:38:09 +02:00
Sybren A. Stüvel 5f07c7ce17 Use new hashing of static file names.
Every time the docker image is rebuilt a random hash is chosen.

Requires Pillar d560f89704e3a6f4490df57712525048c469bed2 or newer.
2018-03-23 17:39:04 +01:00
Sybren A. Stüvel 11743c54e2 Fixed quarterly pricing + all pricing layout tweak 2018-03-07 15:12:36 +01:00
Pablo Vazquez 6b56df9e9c Welcome page additions
New projects: Hero, Spring, and Minecraft Animation Workshop!
2018-02-20 18:56:18 +01:00
Pablo Vazquez 5a4519659a Welcome page: typo in Quarterly
Thanks to Michael Glass @WebSmith for reporting!
2018-02-14 12:06:20 +01:00
Francesco Siddi 3bf1c3ea1b About: introducing team profiles
CSS should be refactored, probably in the page itself.
2018-02-12 00:32:12 +01:00
Sybren A. Stüvel 9e961580d3 Fix bad URL to store 2018-02-06 10:59:23 +01:00
Francesco Siddi 917417a8d5 Email: send link to homepage via login endpoint
This way we avoid displaying the welcome page if they are not
logged in.
2018-01-26 17:14:57 +01:00
Francesco Siddi 48fd9f401a Email: tweaks to welcome message layout and content
According to the discussion after commit c2518e9ae1.
2018-01-26 17:09:45 +01:00
Sybren A. Stüvel 7ba1c55609 Biling page: moved user classification logic from template → view code
This is the kind of stuff that's much easier expressed in Python than in
the template code.

API calls removed:
  - fetching the user isn't necessary, since we have
    pillar.auth.current_user anyway.
  - a call for each group the user is member of, since we only used it to
    check whether the user has demo access anyway.
2018-01-25 14:06:13 +01:00
Sybren A. Stüvel 33aa819040 Override Roles & Caps explanation with something more specific for Cloud 2018-01-25 14:06:13 +01:00
Sybren A. Stüvel 70f28074a0 Use Jinja2 inheritance to render user settings pages.
This requires Pillar e55d38261b36756a2850716a453c08c9ee6be9e2 or newer.
2018-01-25 14:06:13 +01:00
Sybren A. Stüvel 14d77da47a store.blender.org → EXTERNAL_SUBSCRIPTIONS_MANAGEMENT_SERVER
I've only done this on the billing page, because there it's important
for debugging purposes to know which URL was actually checked to obtain
the subscription expiry information.
2018-01-25 14:06:13 +01:00
Sybren A. Stüvel 0908a13519 Avoid error when Store cannot be reached. 2018-01-25 14:06:13 +01:00
Francesco Siddi 67ce16fc78 Limit video max-width in homepage blog list 2018-01-18 11:57:53 +01:00
Sybren A. Stüvel d00c32310b Update stats URL to the new Kibana dashboard. 2018-01-12 14:03:42 +01:00
Stephan preeker 5c26756626 remove algolia 2018-01-12 11:54:39 +01:00
Sybren A. Stüvel c2518e9ae1 Send welcome email to new Cloud subscribers 2017-12-21 15:26:23 +01:00
Sybren A. Stüvel b2cad0fb9a Fixed mistake in capability check 2017-12-19 10:51:59 +01:00
Francesco Siddi 8a4f6c3649 Switch from macros to blocks for navigation menus
For more informations see a7693aa78dcf0a0a77e113f34afa63fb4f615441 in pillar.git
2017-12-13 11:13:47 +01:00
Sybren A. Stüvel bff51e1e83 Added /renew endpoint to redirect to Blender Store renewal URL. 2017-12-06 14:36:02 +01:00
Sybren A. Stüvel 532bf60041 Obtain subscription info from Store.
This was in Pillar, and is now moved to Blender Cloud. It's used to obtain
the subscription expiration date from Blender Store.
2017-11-30 15:45:40 +01:00
Sybren A. Stüvel efc18c5628 Open "this user on" links in new tab 2017-11-29 14:09:13 +01:00
Sybren A. Stüvel 127e422775 Updated Blender ID link to the new Blender ID 2017-11-29 14:05:39 +01:00
Sybren A. Stüvel 59f4edf192 Moved 'This user on Blender Store/ID' links from Pillar to Blender Cloud 2017-11-29 13:59:12 +01:00
Pablo Vazquez 5ea47b6f8f Fix navbar-toggle not visible on mobile 2017-11-28 16:06:11 +01:00
Pablo Vazquez e27d8a3f08 Welcome: Replace all store URLs with variable
Also link Hjalti's video to actual video asset
2017-11-28 15:10:40 +01:00
Pablo Vazquez c6407b4f7a Welcome page: Fix links to the store
And make some titles links as well
2017-11-28 14:44:54 +01:00
Pablo Vazquez 71bdff82b3 Home: In Production section for ongoing projects 2017-11-27 10:39:34 +01:00
Pablo Vazquez 98f695c54b Home: In Production section for ongoing projects 2017-11-24 19:36:43 +01:00
Pablo Vazquez 30fe3e1360 Welcome page: Explore should go to cloud.blender.org when logged in
Pointed out by Dr. Sybren
2017-11-24 16:47:32 +01:00
Pablo Vazquez fd6c9ec02d Welcome page: Update prices 2017-11-23 18:31:57 +01:00
Pablo Vazquez 62dcd93584 Only load markdown.min.js if current_user has subscriber capabilities
Since commenting or node editing is the only place we use js markdown now.
2017-11-23 16:51:31 +01:00
Pablo Vazquez 8fc9529752 Homepage: Re-use render_blog_post macro to display posts
No need to have custom code when we have a nice little macro for it
2017-11-23 16:17:38 +01:00
Sybren A. Stüvel 59d165b6d0 Subscription refresh: refresh the page on a 403
A 403 indicates the session isn't valid any more, and a window reload will
fix that (either by automatically logging in via Blender ID or by
providing a login prompt).
2017-11-17 12:13:25 +01:00
Pablo Vazquez 08f56877ca Homepage: Small cleanup of classes and more space between posts
Also fix selectors for comments/assets
2017-11-10 17:35:19 +01:00
Pablo Vazquez 5be0f3baf0 Update cache for CSS/JS 2017-11-09 18:59:44 +01:00
Pablo Vazquez 8288b4eab1 New Homepage: Featuring more in the blog posts 2017-11-09 18:37:32 +01:00
Francesco Siddi 73a0de3157 Merge branch 'master' of git.blender.org:blender-cloud 2017-11-08 16:25:12 +01:00
Pablo Vazquez bcab6ac5b7 Stats files are no longer needed 2017-11-08 16:24:58 +01:00