-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPlanning
67 lines (53 loc) · 2.23 KB
/
Planning
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
THIS IS A ROUGH OUTLINE AND DOES NOT INCLUDE EVERYTHING THAT WE WILL NEED!!!
================================================================================
Program flow:
================================================================================
Login Page
################################################################################
if(submit button is pressed){
if(user and password are valid){
login with django.auth application;
if(PERMISSIONS==VOLUNTEER){
set volunteer site layout; //I don't know how to specify different layouts like this
start on the "feed" page;
}
if(PERMISSIONS==ORGANIZER){
set organizer site layout; //I don't know how to specify different layouts like this
start on "organizer" page;
}
if(PERMISSIONS==ADMIN){
set admin site layout; //I don't know how to specify different layouts like this
}
if(PERMISSIONS==TEAM_LEADER){
set team leader site layout; //I don't know how to specify different layouts like this
}
}
}
Feed Page
################################################################################
get slots with the current volunteer's name associated with it;
for each slot:
Make a view with date, start/end time, Event name, Location and ORGANIZER;
Add this view in a vertical, linear layout
EventNeeds Page
################################################################################
get all events, sorted by priority;
for each event:
Make a view with Event name, Location and ORGANIZER
Add this view in a vertical, linear layout
SlotsByEventNeeds Page
################################################################################
Pass in an Event;
get all slots for that specific event, sorted by priority;
Display Event name at top of screen
for each slot:
Make a view with start time+date and end time+date
Add this view in a vertical, linear layout
SlotNeeds Page
################################################################################
get all slots, sorted by priority;
for each slot:
Make a view with Event name, Location, start/end time, date and ORGANIZER
Add this view in a vertical, linear layout
Calendar Page
################################################################################