-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple offering events #1282
Merged
Merged
Multiple offering events #1282
Changes from 200 commits
Commits
Show all changes
214 commits
Select commit
Hold shift + click to select a range
dcd7fac
made modificaitons to the event.py and events.py in models and logic …
vungc 36a97c6
html and js push
MImran2002 81724e3
modal toggle button created
MImran2002 37283b2
adding modal into the document
MImran2002 58e5a02
added new tests for isCustom and added isCustom in the lists
vungc 49a2bd9
updated functions to resolve isCustom not existing - not solved
vungc 8da1012
committing again
MImran2002 854b5f2
isCustom is passing in the tests, added isCustom in the dictionary in…
vungc a468a1d
tried to replicate the test for recurring events under test_deleteEve…
vungc 93d151b
have done most of the modal ui
MImran2002 698b696
Merge branch 'imran-annaTraining' of https://github.com/BCStudentSoft…
MImran2002 c941ced
morning push
MImran2002 469c169
commented off all the function and chnages
MImran2002 1b5ef08
copied functions from recurring events to apply to custom events
vungc 4382628
custom event modal
dixita9 5012037
figured out how to retrieve data from modal
dixita9 6f9d41c
created a loop to retriee the data from modal and store it in a list
vungc 76be445
custom toggle fixed
dixita9 80721a7
fixed the toggle buttons to show custom event headings or recurring e…
vungc eb5d02a
Save button mostly fixed
dixita9 0825911
datepicker shows up when calendar icon is clicked for clones, but onl…
vungc 2f49fb9
fixed the custom table display
dixita9 2ba7d62
Merge branch 'imran-annaTraining' of https://github.com/BCStudentSoft…
dixita9 a9b2d12
calendars on the modal are working now
vungc 352d0aa
custom toggle fixed
dixita9 7882022
custom toggle fixed
dixita9 f4cd2f8
trash icons are working; clicking on it will delete its corresponding…
vungc aecd78d
added event name in front end
dixita9 f1ccb17
custom table completed
dixita9 451e9dd
hidden input created
dixita9 f188cb8
added for loop in the routes to create dictioanries for each of the m…
vungc 1961404
chagned time displayed to be in 12hr format, cleaned up HTML and JS f…
vungc 52b88e2
tried to debug the dicitoanry in the routes, still work in progress
vungc 5e6e546
json error fixed
dixita9 7174329
data is saving to the databse
vungc a25977d
admin logs are working correctly now
dixita9 c4549d7
cleaned the debug statements in routes and modified the adminlog to d…
vungc 0cc1de2
flash messages appear after tojson is added back on base.html, save b…
vungc 168032c
modified customDict in routes to only update the different data
vungc b3e625d
changed the name of the custom events to multiple offering events
dixita9 fc9c1a9
added multiple offerings to some tests
dixita9 6b79ec5
added a test for saving multiple offering events
vungc 1161a39
tests for multiple offerings completed
dixita9 c0d4bcc
pulled from development
dixita9 87a1cfa
modified trash can button to be similar to the
JohnCox2211 e6c430b
merged changes
dixita9 dab7918
made modificaitons to the event.py and events.py in models and logic …
vungc 5f11a7b
html and js push
MImran2002 9fc5c07
modal toggle button created
MImran2002 7db26b1
adding modal into the document
MImran2002 9f04512
added new tests for isCustom and added isCustom in the lists
vungc c8ad996
updated functions to resolve isCustom not existing - not solved
vungc 81a6bf7
committing again
MImran2002 80217a8
have done most of the modal ui
MImran2002 a1f0240
isCustom is passing in the tests, added isCustom in the dictionary in…
vungc 7ab38d1
tried to replicate the test for recurring events under test_deleteEve…
vungc c32bd4c
morning push
MImran2002 9449dd6
commented off all the function and chnages
MImran2002 80048a1
copied functions from recurring events to apply to custom events
vungc e813adb
copied functions from recurring events to apply to custom events
vungc 42f5bf1
custom event modal
dixita9 0d5c516
figured out how to retrieve data from modal
dixita9 d533689
created a loop to retriee the data from modal and store it in a list
vungc c7a6598
custom toggle fixed
dixita9 fe23641
fixed the toggle buttons to show custom event headings or recurring e…
vungc 6a433ea
Save button mostly fixed
dixita9 e0381ab
fixed the custom table display
dixita9 5df4bab
datepicker shows up when calendar icon is clicked for clones, but onl…
vungc 7d5222a
custom toggle fixed
dixita9 b3bd61a
calendars on the modal are working now
vungc f72d0ab
trash icons are working; clicking on it will delete its corresponding…
vungc 0bdaa83
added event name in front end
dixita9 8e70823
custom table completed
dixita9 f718b9d
hidden input created
dixita9 98aa75e
added for loop in the routes to create dictioanries for each of the m…
vungc 11cdf06
chagned time displayed to be in 12hr format, cleaned up HTML and JS f…
vungc caf33df
tried to debug the dicitoanry in the routes, still work in progress
vungc 8c25dae
json error fixed
dixita9 ffd48ad
data is saving to the databse
vungc 8bf0e12
admin logs are working correctly now
dixita9 24c2940
cleaned the debug statements in routes and modified the adminlog to d…
vungc 5fbdacf
flash messages appear after tojson is added back on base.html, save b…
vungc d658073
modified customDict in routes to only update the different data
vungc 25c4095
changed the name of the custom events to multiple offering events
dixita9 3747274
added multiple offerings to some tests
dixita9 a9049fe
added a test for saving multiple offering events
vungc 2c140f6
tests for multiple offerings completed
dixita9 a1deee0
modified trash can button to be similar to the
JohnCox2211 f0bbae3
Formatted the add multiple event button to
JohnCox2211 8f4971b
Added css file for createEvent for button styling
JohnCox2211 d589ea0
html and js push
MImran2002 197cf33
modal toggle button created
MImran2002 b3ae4f7
adding modal into the document
MImran2002 edc4013
committing again
MImran2002 fbdcd9b
have done most of the modal ui
MImran2002 a1f05ac
morning push
MImran2002 2c7d144
commented off all the function and chnages
MImran2002 1473231
copied functions from recurring events to apply to custom events
vungc 67995d7
figured out how to retrieve data from modal
dixita9 0a83a0a
created a loop to retriee the data from modal and store it in a list
vungc 28cf415
fixed the toggle buttons to show custom event headings or recurring e…
vungc a5635fb
calendars on the modal are working now
vungc 8830986
trash icons are working; clicking on it will delete its corresponding…
vungc 119eef0
custom table completed
dixita9 c8f1497
chagned time displayed to be in 12hr format, cleaned up HTML and JS f…
vungc a267dba
tried to debug the dicitoanry in the routes, still work in progress
vungc 3129576
json error fixed
dixita9 d9feeba
flash messages appear after tojson is added back on base.html, save b…
vungc bfc315c
changed the name of the custom events to multiple offering events
dixita9 af24738
made logging functions consistent with those in
JohnCox2211 8c930c9
resovled merge issues
JohnCox2211 be93f67
resolved merge issues
JohnCox2211 ab5e470
no more errorr
JohnCox2211 b0e86f6
Added date type to the date entry for default
JohnCox2211 89ff2bf
end of day commit, working on default date picker
JohnCox2211 d8c4554
TRYING TO PULL
JohnCox2211 a1092bc
Merge branch 'development' of https://github.com/BCStudentSoftwareDev…
dixita9 1d21c2e
cleaned create event page
dixita9 3502b55
removed dupe divs
JohnCox2211 93701b8
cleaned create event page
dixita9 e66ca49
removed dupe divs
JohnCox2211 82300ec
added required tags in modal
JohnCox2211 2cb1dce
Added function to make modal fields required. Need
JohnCox2211 5510b16
merged
dixita9 5c0ce83
Added a lil text notifier in the modal to tell the
JohnCox2211 2c69f20
Merge branch 'multipleOfferingJohn' of https://github.com/BCStudentSo…
dixita9 dad7979
designed the message flash for modal
dixita9 d3f27a0
added comments for tomorrow's work
dixita9 be64f54
fixed required inputs in modal: event name
dixita9 2e20e5d
Corrected spelling and centered text for the
JohnCox2211 987f4f3
main page name transfers to modal, working on
JohnCox2211 f20b94a
User can no longer select recurring event and
JohnCox2211 49ba915
All fields now required in the event modal
JohnCox2211 a1f08be
fixed modal notifier formatting
JohnCox2211 46e6a82
add animation to the modal notifier
JohnCox2211 7f1c6ef
removed unused function
JohnCox2211 c9b21ab
date formating in process
dixita9 76fa436
Merge branch 'multipleOfferingJohn' of https://github.com/BCStudentSo…
dixita9 50ef0bd
date format for modal table fixed
dixita9 7c68b47
date formating in process
dixita9 dc4703c
date format for modal table fixed
dixita9 32ed432
commiting to pull changes
JohnCox2211 57ec63e
added function back that git deemed useless for
JohnCox2211 5cd4c82
modified toggle switch logic, still not working
JohnCox2211 f946393
muliple offering and recurring toggle cannot be toggled at the same …
dixita9 a091fc9
toggle fixed and branches merged
dixita9 2875770
removed unncessary lines of code from toggle code
dixita9 1f4c81a
date formating in process
dixita9 6edc142
date format for modal table fixed
dixita9 cd11c8f
muliple offering and recurring toggle cannot be toggled at the same …
dixita9 c841946
removed unncessary lines of code from toggle code
dixita9 e02e090
fixed the code that git broke again
JohnCox2211 4874918
date picker fixed
dixita9 214c27b
removed dupe function that git decided it wanted
JohnCox2211 09aa60f
Merge branch 'multipleOfferingJohn' of https://github.com/BCStudentSo…
dixita9 44a759f
fixed dte picker
dixita9 0f8387a
fixed duplicate code
dixita9 fe7af93
fixed merge issues
dixita9 49178e8
removed more dupes
JohnCox2211 064083d
fixed end date
dixita9 60598b4
corrected HTML date formatting for editing event
JohnCox2211 fd0e1da
removed unused code and updated comments in
JohnCox2211 865fae6
No more error with saving events due to the date
JohnCox2211 df1ea6c
Merge branch 'multipleOfferingJohn' of https://github.com/BCStudentSo…
dixita9 3417737
edit button created
dixita9 bcbb297
added background colors to the event tables and
JohnCox2211 55c94ff
merged branch changes
JohnCox2211 6225086
made the padding spacing in the modal better
JohnCox2211 53f1479
fixed the functionality of edit button
dixita9 4c471f9
fixed multi event table date formatting causing
JohnCox2211 74f6c7f
fixed the functionality of edit button
dixita9 bfc2582
merged branch changes
JohnCox2211 3ab34ab
removed dupe code
JohnCox2211 1f2f8cb
removed dupe code again
JohnCox2211 1ecee70
changed comment placing, changed recurring and
JohnCox2211 3f5b4a6
Updated specified default JS code to be JQuery.
JohnCox2211 3d746ad
split a variable that would hold recurring event
JohnCox2211 65ae61f
red border added to the modl inputs that are empty, edit modal button…
dixita9 6ab4871
fixed the functionality of edit button
dixita9 2068eca
red border added to the modl inputs that are empty, edit modal button…
dixita9 3e18265
added background colors to the event tables and
JohnCox2211 b8302d2
merged branch changes
JohnCox2211 184c6b9
fixed the functionality of edit button
dixita9 579699e
merged branch changes
JohnCox2211 5d16c59
removed dupe code again
JohnCox2211 9463406
changed comment placing, changed recurring and
JohnCox2211 36b11e5
merged working branches
JohnCox2211 ca03b73
edit modal issue fixed
dixita9 0746935
removed unused function
JohnCox2211 e8b1aab
fixed the functionality of edit button
dixita9 94c4d3e
red border added to the modl inputs that are empty, edit modal button…
dixita9 13b2131
added back parenthesis that git removed
JohnCox2211 e483f9a
corrected variable names
JohnCox2211 06cf28b
now use saved event dates instead of getting new
JohnCox2211 04469e3
updated formatting for date correction
JohnCox2211 8d765da
Demo commit
b312cdd
checked for end time after start time
dixita9 6d7e894
Merge branch 'multipleOfferingJohn' of https://github.com/BCStudentSo…
dixita9 3342728
working fine
dixita9 a11c277
added red border to start time and end time
dixita9 222937f
Merge branch 'development' of https://github.com/BCStudentSoftwareDev…
dixita9 cb80ccd
Merged with Development
dixita9 137a18d
datepicker fixed
dixita9 10be44e
fixed footer
dixita9 19d73aa
fixed footer
dixita9 e32e7e0
Solved merge conflicts
fbffdc1
Save button was not appearing due to an issue in HTML, fixed.
e123e55
Centred Headings for Optional and Must Select
804c99e
Fixed modal footer issue
d70a9b0
merge conflict resloved. Footer works as expected. Save and Cancel fu…
785a9e2
Merge branch 'development' into MultipleOfferingEvents
BrianRamsay 97b860e
Removed MultipleOffering id from delete function
3df0339
Merge branch 'MultipleOfferingEvents' of https://github.com/BCStudent…
5baf8c5
completed
dixita9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.addMultipleBtn{ | ||
border-radius: 5px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
.deleteRow{ | ||
border-radius: 5px; | ||
position:relative; | ||
top: 12px; | ||
} | ||
.invalidFeedback { | ||
display: none; | ||
color: #dc3545; | ||
font-size: 0.875rem; | ||
border: 1px solid darkred; | ||
padding: 0.75rem 1.25rem; | ||
margin-bottom: 10px; | ||
border-radius: 0.25rem; | ||
background-color: #f8d7da; | ||
margin-top: 25px; | ||
left: 50%; /* Position the header at 50% of the viewport width */ | ||
transform: translateX(-50%); | ||
text-align: center; | ||
position: fixed; | ||
z-index: 10; | ||
animation: flash 6s forwards; | ||
} | ||
|
||
@keyframes flash { | ||
0%, 89.9% { | ||
opacity: 1; | ||
} | ||
90%, 100% { | ||
opacity: 0; | ||
} | ||
} | ||
.border-red { | ||
border: 2px solid red; | ||
} | ||
.divStripes { | ||
background-color: #fff | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't handle the multiple offering case here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, that
append
happens in both cases, so we should make the conditional forisMultipleOffering
only be around the code that depends on the condition.