kurtjoy / DryVER-Web

1 stars 0 forks source link

basic form #18

Open kurtjoy opened 5 years ago

kurtjoy commented 5 years ago

In one of the tabs. Name / Event / Institution / discipline /Date . This will be used to populate data into a pdf report

kurtjoy commented 5 years ago

Basic form in the tools/reporting tab. For a Start it should have Programme (New Zealand, South Korea, USA, Italy, Germany, China) Event Number: Event Field Leader: Field Manager: Institution: Date of event (datepicker) Location: (Denton Hills, Wright Valley, Taylor Valley, Victoria Valley, McKelvey Valley) (should be multi choice check boxes?) Discipline (this could be a dropdown selector)

RamizSami commented 5 years ago

Thanks! I think for location, we should have dropdown rather than checkboxes. What do you think?

kurtjoy commented 5 years ago

@RamizSami Dropdown is fine if it can support multiple choices.

RamizSami commented 5 years ago

If it has to allow multiple choices then Checkbox is better I guess

RamizSami commented 5 years ago

image Added the form. For now, it saves the data in the database and is accessible via the Admin Panel. How are we going to use this data now? Also, when Clint makes a pull for this, he needs to run migrations and install new packages from the requirements.txt file.

kurtjoy commented 5 years ago

@RamizSami just asked clint for a pull with the above deps

kurtjoy commented 5 years ago

@RamizSami the idea (in my head) is that a user can query a location on the map using a point and click tool and the returned information can be used in conjunction with the user info from the forms to populate a PDF report. So what we need in the report is -the info from the form

The last few are a bit hard as well dont have data for them all yet. I think only the stream and the impact laters have fields with H/M/L classes as yet