ESI-FAR / INA-tool

A tool for visualising and analysing Institutional Statements
MIT License
2 stars 0 forks source link

2 Add alert to destroy session on upload #51

Closed ermannolocascio closed 4 months ago

ermannolocascio commented 5 months ago

Fixes #2

NB Destroying the session automatically on upload is not materially possible. The best way to handle this issue is to inform the user that, before uploading a new project (and if there is an existing session going on), he/she must destroy the previous session.

This is the best option at the moment as it does not involve further php. Everything is handled via Javascript. Precisely the code looks at the table and if the table is not empty (i.e. there is a session going on) we drop the alert message. E.g.

image