Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Add alert popup if the sessions are zero/empty. #16

Closed
akhileshthite opened this issue Jul 17, 2021 · 2 comments · Fixed by #17
Closed

Add alert popup if the sessions are zero/empty. #16

akhileshthite opened this issue Jul 17, 2021 · 2 comments · Fixed by #17
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@akhileshthite
Copy link
Owner

akhileshthite commented Jul 17, 2021

Is your feature request related to a problem? Please describe.

-> After submitting PIN & DATE if the sessions are empty then it displays nothing on the screen, check out the SS given below.

Screenshot 2021-07-17 at 8 36 05 PM

Row API json output:

Screenshot 2021-07-17 at 8 36 48 PM

Describe the solution you'd like...

-> Add simple alert popup saying "Sessions are currently unavailable, please try again after some time." if the sessions are zero/empty.

Approach to be followed:

-> Main code file is app.py,
eg:- if response['sessions'] == 0: flash("Alert message here.")
OR
-> You can try it using JavaScript,/static/main.js
-> Running of the project, git commands & all other information is given in the README.md of the project.

@akhileshthite akhileshthite added enhancement New feature or request good first issue Good for newcomers labels Jul 17, 2021
@tanvi355
Copy link
Contributor

Can I please try doing this? @akhileshthite

@akhileshthite
Copy link
Owner Author

Can I please try doing this? @akhileshthite

Yes! assigned.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants