Sacha Greif
b4064ffcb8
logo size tweaks; css tweaks
2015-08-26 10:30:13 +09:00
Sacha Greif
e6735b13bb
pass correct data context to menu item custom template
2015-08-24 11:15:33 +09:00
Sacha Greif
c93b3ab6fa
refactor menu component to pass container node objects instead of decorating item object
2015-08-24 11:05:13 +09:00
Sacha Greif
f087317400
hide expand/collapse controls when menu has no items
2015-08-24 10:21:25 +09:00
Sacha Greif
5fd39a03c0
add posts count to categories label
2015-08-22 18:19:09 +09:00
Sacha Greif
f9a6ad3cdd
add collapsible categories menu to post submit form
2015-08-22 16:58:09 +09:00
Sacha Greif
c174b208cf
do not use global for storing all menu items anymore; instead decorate each menu item with reference pointing back to all menu itemms
2015-08-22 09:45:34 +09:00
Sacha Greif
e0fe9fde65
make menu item custom template inherit helpers from menu item
2015-08-21 11:04:20 +09:00
Sacha Greif
01fa2db936
Menus refactoring
2015-08-21 10:20:48 +09:00
Sacha Greif
19eb88a805
using quick fit to make logo text responsive
2015-08-20 12:19:23 +09:00
Sacha Greif
653ba0668a
make nested menu items use global var to get root items
2015-08-20 10:20:10 +09:00
Sacha Greif
44f872cb1a
add explicit moduleData argument to modules; clean up module code
2015-08-16 17:36:40 +09:00
Sacha Greif
773aa026d2
adding moduleClass helper to modules
2015-08-16 17:34:54 +09:00
Sacha Greif
5ed51ef90f
add menuLabelTemplate and menuLabelData options to menu component
2015-08-15 11:42:32 +09:00
Sacha Greif
99ed0398c7
move user_menu.html and user_menu.js from telescope:core to telescope:users
2015-08-15 11:41:30 +09:00
Sacha Greif
e7f9154ef9
Merge pull request #1015 from johnthepink/fix-bootstrap-url
...
Fix Removing URL on Edit
2015-08-12 16:33:03 +09:00
Sacha Greif
c0040932a5
menu component label tweaks
2015-08-07 11:24:54 +09:00
Sacha Greif
e8d2ada7ee
add hierarchical category menu to admin categories page and autoform forms
2015-08-07 11:17:03 +09:00
Sacha Greif
fc7f77a2e9
style subcategories in mobile nav
2015-08-05 19:24:35 +09:00
Sacha Greif
7088b71760
working on hierarchical categories
2015-08-05 18:49:11 +09:00
Sacha Greif
089706dea6
history update; various tweaks
2015-08-03 20:03:06 +09:00
Sacha Greif
0bf28dd3b4
add "only" and "except" options to modules
2015-07-30 09:07:37 +09:00
Sacha Greif
975439cdd9
fix user not defined issue in user menu
2015-07-27 15:10:48 +09:00
Sacha Greif
b64945418d
set data context for post page inside post property, not on root
2015-07-22 15:06:45 +09:00
Sacha Greif
b02b5688b3
removing module template to simplify template structure
2015-07-20 10:11:55 +09:00
Sacha Greif
2d13f42c75
enable using template as menuLabel; icon tweaks
2015-07-16 12:03:15 +09:00
Sacha Greif
7fa932874b
use flexbox for top header layout
2015-07-15 15:26:25 +09:00
Sacha Greif
53fad7f3db
renamed "postsListTop" zone to "top"; removed footer template; added Telescope.debug.refresh() function; improved debugging
2015-07-15 12:33:06 +09:00
Sacha Greif
dc8a0fb1e2
make template highlighting code more flexible, tweak header layout; revert a couple changes
2015-07-15 10:06:44 +09:00
Sacha Greif
6c10a8e4df
renamed nav template to header; more template and CSS tweaks
2015-07-14 21:45:18 +09:00
Sacha Greif
793019297e
more work on debug package; started restructuring templates to wrap them all in an outer HTML element and avoid text nodes
2015-07-14 19:39:37 +09:00
Sacha Greif
66bf156169
working on debug package
2015-07-14 16:47:46 +09:00
Jeremy Shimko
8e3c5218da
allow hero modules to be full width of viewport
...
and constrain current internal hero modules back into the .content-wrapper max-width
2015-07-09 10:26:33 -04:00
Sacha Greif
ffe1cf3316
only add trailing slash to siteUrl, not other url fields
2015-06-25 12:03:10 +09:00
Sacha Greif
0c492e3012
added canonical link
2015-06-19 16:39:13 +09:00
Sacha Greif
8dba4c5c5c
only add trailing slash if URL contains only two slashes
2015-06-19 09:46:42 +09:00
John Pinkerton
e666e3a5cd
Add Extra CSS settings field. Fixes #949
2015-06-11 18:38:04 -04:00
John Pinkerton
62a2e5acbb
Return null if bootstrap-url is blank. Fixes #1012
2015-06-10 21:13:24 -04:00
Sacha Greif
bc77ce6204
enforcing better URL formatting for Site URL setting.
2015-06-05 12:01:50 +09:00
Sacha Greif
b793931649
split out menu item
2015-06-05 10:55:27 +09:00
Sacha Greif
29babb9a38
postListTop -> postsListTop; Telescope.utils.colorTable -> Telescope.colorElements.colorTable; reogranize menus code
2015-05-18 11:39:12 +09:00
Sacha Greif
60024af0d1
Telescope.menus -> Telescope.menuItems
2015-05-18 11:11:14 +09:00
Sacha Greif
b72ef6fd45
renaming posts templates
2015-05-18 10:30:08 +09:00
Sacha Greif
767d4b8178
template camelCase -> underscore
2015-05-18 10:00:41 +09:00
Sacha Greif
b62419ab69
Add debug view for template modules
2015-05-10 13:37:19 +09:00
Sacha Greif
09eb158e3e
clean up
2015-05-08 09:44:06 +09:00
Sacha Greif
80750f83ac
UI.registerHelper -> Template.registerHelper; fix logo
2015-05-02 11:45:25 +09:00
Maxime Quandalle
94c6121d91
Improve jsHint consistency
...
This commit touch a lot of lines of code with the goal to be more
rigorous about JavaScript code conventions defined in the `.jshintrc`.
Some modification:
* Add a list of used global symbols in the corresponding section of
`.jshintrc`
* Use local variables instead of global in a lot of places where the
keyword `var` was mistakenly forgotten
* Add missing semi-colons after instructions
* Add new lines at the end of files
* Remove trailing whitespaces
* Use newer name of some Meteor APIs, eg `addFiles` instead of
`add_files`
* Add missing `break` statements in `switch` blocks
* Use `===` instead of `==` and `!==` instead of `!=`
* Remove unused variables
This commit should also fix a few bugs due to this lack of rigor. One
example of that was the test `typeof navElements === "array"` that was
never true because in JavaScript, `typeof [] === "object"`, we
replaced this test by the `_.isArray` method provided by underscore.
It might also fix some potential collision related to global
variables.
There is still plenty of work until Telescope code base passes jsHint
validation, but at least this commit is a step in the right direction.
2015-05-01 18:38:27 +02:00
Sacha Greif
e0b9bf36b7
namespacing user roles
2015-04-27 17:14:07 +09:00
Sacha Greif
964f91aa88
refactoring menus API
2015-04-24 10:49:24 +09:00