Combine ERB partials back into work_packages/index

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Strip most ERB from work_packages/index view

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Move work packages HTML to ng templates directory

Include with ng-include only until we have a routing solution in place

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Add styles to settings dropdown-menu

- added new styles to the dropdown menu
- added icons to menu items
Merge branch 'dev-angular' into feature/reorganise-wp-templates
Reformat openproject module dependencies array

Attempt to make the array "patch-friendlier".

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Reformat openproject.* module dependencies arrays

Attempt to make the arrays "patch-friendlier".

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Add AngularUI Router for client-side routing

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Create initial work package list/detail routing

Integrate angular-ui-router, adding nested template structure.
Add separate Rails layout that renders minimal "chrome" for Angular.

User Story # 7570

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Show both list/details buttons in toolbar

(requires styling - this should appear as a segmented control)

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Apply new styles to work packages table

Signed-off-by: Alex Coles <alex@alexbcoles.com>
[wip] Wire up info button to display wp details

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Add styles for headings h1 h2 h3 h4

- added styles for headlines h1, h2, h3, h4
WIP Made a basic sort dialog which is wired up to queries service set sortation.

Once the refactor is done and the wp table is wired directly to the query then hopefully this should update the sortation.
WIP wiring up initial filter values.
Wired up sorting modal to current query sortation.

Not yet updating table when sortation is changed.
Temp solution - moved sortation watcher to wp controller.

Also copied over available columns caching from columns branch.
Always have 3 sort elements in sort selection modal.
Moved modals back into dropdown directive...:>
Make work-packages router state abstract

Signed-off-by: Alex Coles <alex@alexbcoles.com>