|
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. |
|---|
|
|
| app/controllers/answers_controller.rb |
|---|
| app/controllers/plans_controller.rb |
|---|
| app/controllers/settings/plans_controller.rb |
|---|
| app/policies/plan_policy.rb |
|---|
| app/views/answers/_new_edit.html.erb |
|---|
| app/views/answers/_status.html.erb |
|---|
| app/views/answers/update.js.erb 100644 → 0 |
|---|
| app/views/layouts/_es5_scripts.html.erb |
|---|
| app/views/phases/_edit_plan_answers.html.erb 0 → 100644 |
|---|
| app/views/phases/edit.html.erb |
|---|
| app/views/plans/_download.html.erb 100644 → 0 |
|---|
| app/views/plans/_download_form.html.erb 0 → 100644 |
|---|
| app/views/plans/_progress.html.erb |
|---|
| app/views/plans/download.html.erb 0 → 100644 |
|---|
| app/views/plans/index.html.erb |
|---|
| app/views/plans/show_export.html.erb 100644 → 0 |
|---|
| app/views/questions/_new_edit_question_option_based.html.erb 0 → 100644 |
|---|
| app/views/questions/_new_edit_question_textarea.html.erb 0 → 100644 |
|---|
| app/views/questions/_new_edit_question_textfield.html.erb 0 → 100644 |
|---|
| app/views/sections/_progress.html.erb |
|---|
| app/views/shared/_plan_navigation.html.erb |
|---|
| config/routes.rb |
|---|
| lib/assets/javascripts/application.js |
|---|
| lib/assets/javascripts/views/answers/status.js |
|---|
| lib/assets/javascripts/views/phases/edit.js |
|---|
| lib/assets/javascripts/views/plans/download.js 0 → 100644 |
|---|
| lib/assets/javascripts/views/plans/export_configure.js 100644 → 0 |
|---|
| lib/assets/javascripts/views/plans/share.js |
|---|
| lib/assets/stylesheets/application.scss |
|---|
| lib/assets/webpack.config.js |
|---|
| test/functional/answers_controller_test.rb |
|---|
| test/functional/plans_controller_test.rb |
|---|
| test/integration/answer_locking_test.rb |
|---|