Commit Graph

25 Commits

Author SHA1 Message Date
8380270128 Fixes on buttons/dropdown layout 2018-09-07 14:55:27 +02:00
d347534fea Pug: Move navigation macro to blender-cloud 2018-09-06 12:19:28 +02:00
b4acfb89fa Layout: use bootstrap classes 2018-08-31 19:31:36 +02:00
a052e754f9 Button "Copy to clipboard" instead of "Add to description"
This allows the user to paste the code wherever they need. For example,
a blog post takes its contents from 'properties.content' and not from
the description field.

I also added an explanation for new attachment shortcode.
2018-04-03 10:59:20 +02:00
a7693aa78d Switch from macros to blocks for navigation menus
This affects the user and notifications menus. It happens for two reasons:
- the only argument passed to the macros was current_user, which is always available
- we want to enable overriding and adding items to the menus via extensions

At the moment only the user menu takes advantage of the base template, since the blender-cloud extension makes use of it, while notifications.pug does not need it yet.
2017-12-13 11:08:33 +01:00
9fdcfff4fc Direct users to renewal page on Store instead of /join
/join should only be used when someone can actually buy a new subscription.
/renew should be used when someone already has a subscription that needs
to be renewed.

Since url_for('cloud.xxxx') makes no sense in Pillar, I just hard-coded
/renew instead.
2017-12-06 14:39:30 +01:00
ce7754ffe4 Renaming IDs to classes 2017-11-24 19:34:58 +01:00
f13310d71b Menu: "Log in" instead of "Login and Explore" 2017-10-25 16:02:02 +02:00
e983d0756d Rename 'Log in' button to 'Log in and Explore' 2017-10-24 15:46:16 +02:00
b8153b5c9a Assets: Move details to its own file and share across assets
And new styling for the details as well
2017-09-04 19:13:38 +02:00
6a4f571b05 Organizations list styling 2017-08-31 16:35:31 +02:00
7890cd2622 Introducing settings blueprint
Now settings live in a dedicated space, the settings blueprint can be used by Pillar applications, and the templates can be extended or overridden. Moved subscription and email settings to the blender-cloud repository.
2017-08-30 23:10:28 +02:00
811236cff4 Migrate Jade to Pug template engine
Jade templates engine has been renamed to Pug.

We are using Pug already on the Blender Cloud repository, following is Flamenco and Attract
2017-08-30 14:04:15 +02:00
b9ae4396e5 Orgs: show "My Organizations" in the user's menu
This is shown only when the user is member of or administrator for one or
more organizations, otherwise it's hidden.
2017-08-24 14:28:18 +02:00
575a7ed1a7 Introduced role-based capability system.
It's still rather limited and hard-coded, but it works.
2017-08-18 14:47:42 +02:00
a19ad751a8 Removed obsolete file upload stuff. 2017-06-16 14:05:02 +02:00
df40560c5a Make notification and user menus a macro 2017-06-09 16:31:14 +02:00
a1dca29382 Quick fix for layout of attachments file upload 2016-11-04 11:05:19 +01:00
324d500edb Tweaks to style of file attachments 2016-11-02 19:42:44 +01:00
5ade876784 Labels for fields 2016-11-02 18:55:26 +01:00
738c20b36b Undertitle field labels 2016-11-02 18:51:51 +01:00
3c6642d879 Undertitle labels for checkboxes
Avoids ugly 'is_tileable' label on textures
2016-11-02 18:50:20 +01:00
4bd334e403 Add button to 'Add Attachment to Description' 2016-11-02 16:16:20 +01:00
eb1561136b Fix typo in attachments code 2016-11-02 11:42:23 +01:00
2c5dc34ea2 Introducing Pillar Framework
Refactor of pillar-server and pillar-web into a single python package. This
simplifies the overall architecture of pillar applications.

Special thanks @sybren and @venomgfx
2016-08-19 09:19:06 +02:00