David
62b29ecb65
Make theme able to load custom javascript ( #1211 )
...
* Make theme able to load custom javascript
- Look for the field 'customScript' in editorTheme (settings.js)
- Add it to mustach context
- Load list on template side (index.mst)
* Add unit tests for customScripts
* Code review edits : generic behavior for theme.page.[css|scripts]
- Use the same way to share css and javascript files from a theme
- Allow string instead of array for theme.page.scripts
- Remove old customScript field
2017-04-10 15:46:44 +01:00
Nick O'Leary
0a96259ddf
Update copyright header for JS Foundation
2017-01-11 15:24:33 +00:00
Nick O'Leary
1c3a97a71a
Make red.min.js a reusable library
2016-11-03 14:34:37 +00:00
Nick O'Leary
49f72881f4
Disable palette editor if npm not found
2016-10-12 22:30:32 +01:00
Nick O'Leary
11656382a7
Allow palette-editor to be disabled via editorTheme
2016-08-10 20:15:17 +01:00
Nick O'Leary
78b1bf8f25
Merge branch '0.14.0'
2016-06-17 21:30:09 +01:00
Dave Conway-Jones
59b34c2b3f
Add timestamp as a default typedInput
...
and update Inject and change nodes to match,
and add some tests.
2016-04-18 14:38:36 +01:00
Nathanaël Lécaudé
7615743aa5
Update theme.js
2016-02-08 09:20:07 -05:00
Nick O'Leary
41f3b0c333
Fix variable leak in theme.js
2016-01-08 13:41:33 +00:00
Nick O'Leary
70f3e72a20
Move version number as title of NR logo
2016-01-08 13:36:49 +00:00
Nick O'Leary
f43738446e
WIP: separate runtime and api components
2016-01-06 17:01:11 +00:00
Nick O'Leary
d668d43a0a
Move to express 4.x
2015-10-02 21:27:31 +01:00
Nick O'Leary
0bef04ae0a
Set NODE_ENV in grunt dev task to serve non-minified assets
2015-05-11 20:24:15 +01:00
Nick O'Leary
1c1a85dcef
editorTheme: allow header logo/title to be a link
2015-04-22 14:03:42 +01:00
Nick O'Leary
8f16695f06
Add theme tests
2015-04-13 22:15:15 +01:00
Nick O'Leary
5af6ac3e80
Rename menu ids to be logically consistent
2015-04-13 16:48:38 +01:00
Nick O'Leary
0d557094b2
Move help customisation under menu settings
2015-04-13 15:32:11 +01:00
Nick O'Leary
a2aa78afd4
Add main menu customisation
2015-04-13 13:55:17 +01:00
Nick O'Leary
b0de8abb63
Customise help link label/url
2015-04-13 11:35:52 +01:00
Nick O'Leary
6ff540ed08
Customise login image
2015-04-13 10:37:30 +01:00
Nick O'Leary
2b8ed9850b
Pass deployButton and userMenu theme options to ui
2015-04-13 09:48:49 +01:00
Nick O'Leary
c9d2d301aa
Add editorTheme setting
2015-04-13 00:11:11 +01:00