Commit 49b19df5 authored by Hippolyte Vergnol (Hive)'s avatar Hippolyte Vergnol (Hive)

Add Interface + Patient add

parents 80db948b 16dfb249
MIT License
Copyright (c) 2018 sr04
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# PyPrevention
It is a web application and api developped for doctors to watch their patients and know if somebody fell.
![admin view](images/admin_view.png)
![admin view](images/doctor_view.png)
## Installation
Run the virtual environment
......
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyPep8Inspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="W29" />
<option value="E501" />
<option value="W29" />
<option value="E501" />
<option value="W29" />
<option value="E501" />
</list>
</option>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7 (weezevent)" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/pyprevention.iml" filepath="$PROJECT_DIR$/.idea/pyprevention.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
</component>
</module>
\ No newline at end of file
This diff is collapsed.
......@@ -12,7 +12,7 @@
<h5 class="card-title">{{doctor.first_name}} {{doctor.last_name}}</h5>
<p class="card-text">Email : {{doctor.email}}</p>
<p class="card-text">Address : {{doctor.address}}</p>
<a href="#" class="btn btn-primary">Soigne moi fdp</a>
<a href="#" class="btn btn-primary">Voir la fiche</a>
</div>
</div>
</div>
......
......@@ -8,8 +8,7 @@ urlpatterns = [
path('api', views.api, name='api'),
path('test', views.test, name='test'),
path('logout', views.logout_view, name='logout'),
url(r'^accounts/login/$', views.login, name='login'),
url(r'^home/$', views.home, name='home'),
path('home', views.home, name='home'),
path('patient/new', views.patient_new, name='patient_new'),
path('doctor/new', views.doctor_new, name='doctor_new'),
path('raspi/new', views.raspi_new, name='raspi_new'),
......
Markdown is supported
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