operations jobs.html - wydsodifficult/wydsodifficult.github.io GitHub Wiki
Operations Company Jobs
All employees are able to see this page
Access levels < 3 is able to add/delete/edit Jobs and View Inactive Jobs
Features
- Displays information specifically about jobs
- Allows level 3 access and lower to add/delete/edit jobs
- Inherits everything from Blank Template
Things with ID's
- "view-job-modal": The Main Modal to view a job (updated for every job)
- "viewJobModalTitle": Title of the view job modal
- "jobID": Hidden value for holding jobID
- "view-contact-count": A hidden field keeping count of how many contacts a job has
- "view-name-input": Name of the Job Viewed
- "view-number-input": Job # of the Job Viewed
- "view-location-input": Location of the Job Viewed
- "view-active-input": Toggle showing wether a job is Active or not
- "view-pm-name-input": Name of the PM for the Job Viewed
- "view-pm-contact-input": Contact Number of the PM for the Job Viewed
- "view-contractor-input": Contractor for the Job Viewed
- "view-modal-job-contacts": Div used to place Contractor Contacts for the Job Viewed
- "button-job-cancel": Button used to close the Job View Modal
- "button-job-delete": Button used to delete the Job Viewed
- "button-job-edit": Button used to Enable all inputs for the Job Viewed
- "button-job-save": Button used to Save the input data for the Job Viewed
- "button-add-job-div": Div that holds the button to Add a job (hides when button is clicked)
- "button-add-job": Button used to unhide "add-job-inputs" div
- "add-job-inputs": Hidden Div initially when page loaded
- "name-input": Add Job Name Input
- "number-input": Add Job Number Input
- "location-input": Add Job Location Input
- "active-input": Add Job Active Toggle Input
- "pm-name-input": Add Job Project Manager Name Input
- "pm-contact-input": Add Job Project Manager Contact Input
- "name-input": Add Job Contractor Name Input
- "name-input-0": Add Job Contractor Contact Name Input
- "number-input-0": Add Job Contractor Contact Number Input
- "button-add-job-contact": Button used to add another contractor contact
- "additional-contacts-header": Header for Additional Contacts
- "add-contacts": Div for Additional Contractor Contacts
- "loading": Loading shown when something is saving
- "button-add-job-cancel": Button used to Cancel adding a new job
- "button-add-job-confirm": Button used to Save inputs for a new job
- "button-switch-job-div": Div holding the button used to switch between active and inactive jobs (hidden for access level 4 and up)
- "job-count": Hidden field keeping count of how many jobs are shown