Bootstrapped Plan Writing and Download pages (#88)
* DMPRoadmap/roadmap#issue567
* DMPRoadmap/roadmap#issue561

- Bootstrapped the Write Plan page accordions
- Rebased with latest from CDL-MVP

bootstrapped the phases accordion DMPRoadmap/roadmap#567

added es6 function to provide expand/collapse all functionality. bootstrapped several accordions DMPRoadmap/roadmap#567

finished Bootstrapping write plan accordions DMPRoadmap/roadmap#567

fixed linter issue DMPRoadmap/roadmap#issue567

fixed linter issue

* Bootstrapping and ES6 of the Plan Download page DMPRoadmap/roadmap#561.
- Renamed show_export.html.erb to download.html.erb (updated controller, policy, links and route)
- Renamed export_settings.js to download.js and dropped unused auto-save JS (no longer a part of wireframes)
- Bootstrapped page html

changed name of show_export to download to match UI terminology. Bootstrapped download page

Added ES6 JS for download page and made tweaks to the format

* DMPRoadmap/roadmap#562
edit phases using plan navigation layout

bootstrap plan progress. bootstrap sections header. added togglable section icons for expand/collapse

answers_controller returning a JSON with partial views rendered. Split question types in different partials. Started new answers/status.js

Rename view to edit_plan_answers.html.erb. Load tinymce through ES6 for question answers. Delete old status.js ES5. Added timeago to vendor

fixed broken test regarding answers_controller

* fixed linter issue with CRLF

* fixed tests broken by name change from show_export to download.
dev
1 parent a72ca6c commit 465f07e352fe4df819c914c757f4074e3a91f3a4
@Brian Riley Brian Riley authored on 12 Sep 2017
GitHub committed on 12 Sep 2017
Showing 33 changed files
View
app/controllers/answers_controller.rb
View
app/controllers/plans_controller.rb
View
app/controllers/settings/plans_controller.rb
View
app/policies/plan_policy.rb
View
app/views/answers/_new_edit.html.erb
View
app/views/answers/_status.html.erb
View
app/views/answers/update.js.erb 100644 → 0
View
app/views/layouts/_es5_scripts.html.erb
View
app/views/phases/_edit_plan_answers.html.erb 0 → 100644
View
app/views/phases/edit.html.erb
View
app/views/plans/_download.html.erb 100644 → 0
View
app/views/plans/_download_form.html.erb 0 → 100644
View
app/views/plans/_progress.html.erb
View
app/views/plans/download.html.erb 0 → 100644
View
app/views/plans/index.html.erb
View
app/views/plans/show_export.html.erb 100644 → 0
View
app/views/questions/_new_edit_question_option_based.html.erb 0 → 100644
View
app/views/questions/_new_edit_question_textarea.html.erb 0 → 100644
View
app/views/questions/_new_edit_question_textfield.html.erb 0 → 100644
View
app/views/sections/_progress.html.erb
View
app/views/shared/_plan_navigation.html.erb
View
config/routes.rb
View
lib/assets/javascripts/application.js
View
lib/assets/javascripts/views/answers/status.js
View
lib/assets/javascripts/views/phases/edit.js
View
lib/assets/javascripts/views/plans/download.js 0 → 100644
View
lib/assets/javascripts/views/plans/export_configure.js 100644 → 0
View
lib/assets/javascripts/views/plans/share.js
View
lib/assets/stylesheets/application.scss
View
lib/assets/webpack.config.js
View
test/functional/answers_controller_test.rb
View
test/functional/plans_controller_test.rb
View
test/integration/answer_locking_test.rb