-
Notifications
You must be signed in to change notification settings - Fork 3
Use Cases Implementation
Each use case contains text and an image. The current implementation uses scripts written in jQuery to parse use case data from a CSV file and load images in a folder that are stored on the server. Then the scripts will fill the containers on Use Cases page (1 page), all sector (13 pages) and region (7 pages) pages, with the data (text) and images.
The CSV spreadsheet and the folder of images serve as the 'database' for all use cases. To edit/add new use cases to the spreadsheet, go to: https://docs.google.com/a/odenterprise.org/spreadsheets/d/1fl3CEvr152Z6g3q52C7KrgqVNKWBmxQS_sA8NNolfIE/edit?usp=sharing. Refer to the Use Case User Manual regarding how to update the spreadsheet.
This folder stores all the use case images that will be loaded by the scripts to fill in the containers.
This folder stores all the JS scripts for parsing data, loading images, and creating and filling the use case containers. It also contains the CSV file that stores all use case text data.
This folder stores all the scripts (7 scripts) for parsing data and creating use cases on all 7 region pages.
This folder stores all the scripts (13 scripts) for parsing data and creating use cases on all 13 sector pages.
This is a jQuery library used for parsing CSV data. This file needs to be stored in a shared library in the future.
This is the script for parsing data and creating containers, use cases, and URLs for use cases on the Use Cases page. (URL routing of use cases URLs can be found in html/survey/index.php file.)
This is the CSV file containing all the use case text data. Refer to the Use Case User Manual to learn about how to update this file.
-
Implementations
-
Deployment and Update