Commit 79e10edf authored by Olav Håberg Dimmen's avatar Olav Håberg Dimmen
Browse files

Update README.md to include implementation of new features

parent a6322b68
Pipeline #115444 passed with stages
in 3 minutes and 17 seconds
......@@ -6,7 +6,18 @@ SecFit (Secure Fitness) is a hybrid mobile application for fitness logging.
### Task 1
#### Implementation and Testing of new features
#### Implementation of new features
##### Backend
A database table has been created for facilities. This includes all the documents in `backend/secfit/facilities/`. The data can be accessed through the Django REST Api, or by going to the django admininistrator page.
Some initial test data has also been added to `backend/secfit/seed.json`.
##### Frontend
We have added the page `facilities` to the navbar. This page shows an overview of multiple facilities. Paging has been implemented, so you can see a maximum of five facilities at one time. Paging menu buttons appear when appropriate.
- HTML file: `frontend/www/facilities.html`
- Associated script: `frontend/www/scripts/facilities.js`
We have also added the page `facility` to the site. This can be accessed by clicking a facility preview from the `facilities` page, or alternatively typing in the url `/facility/?id=x`, where x is the id of the facility.
- HTML file: `frontend/www/facility.html`
- Associated script: `frontend/www/scripts/facility.js`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment