-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from fga-gpp-mds/devel
TS04-PatientPages
- Loading branch information
Showing
97 changed files
with
15,032 additions
and
56 deletions.
There are no files selected for viewing
4 changes: 0 additions & 4 deletions
4
medical_prescription/dashboard/templates/healthprofessional.html
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
medical_prescription/dashboardHealthProfessional/templates/healthprofessional.html
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,4 @@ | ||
{% extends "dashboardHealthProfessional/template.html" %} {% block content %} {% load staticfiles %} {% load static %} | ||
|
||
<p>Em breve!</p> | ||
{%endblock %} |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
medical_prescription/dashboard/urls.py → ...ption/dashboardHealthProfessional/urls.py
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
File renamed without changes.
Empty file.
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,3 @@ | ||
from django.contrib import admin | ||
|
||
# Register your models here. |
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,5 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class PatientDashboardConfig(AppConfig): | ||
name = 'patient_dashboard' |
Empty file.
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,3 @@ | ||
from django.db import models | ||
|
||
# Create your models here. |
4 changes: 4 additions & 0 deletions
4
medical_prescription/dashboardPatient/templates/patient_dashboard.html
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,4 @@ | ||
{% extends "dashboardPatient/template.html" %} {% block content %} {% load staticfiles %} {% load static %} | ||
|
||
<p>Em breve!</p> | ||
{%endblock %} |
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,3 @@ | ||
from django.test import TestCase | ||
|
||
# Create your tests here. |
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,9 @@ | ||
# Django | ||
from django.conf.urls import url | ||
from dashboardPatient.views import (home) | ||
|
||
|
||
urlpatterns = ( | ||
url(r'^patient/$', home, name='dashboard_hp'), | ||
|
||
) |
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,10 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.contrib.auth.decorators import login_required | ||
from django.shortcuts import render | ||
|
||
|
||
@login_required() | ||
def home(request): | ||
return render(request, 'patient_dashboard.html') |
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 |
---|---|---|
|
@@ -5,5 +5,4 @@ | |
|
||
|
||
def home(request): | ||
|
||
return render(request, 'landing.html') | ||
return render(request, 'landing.html') |
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
6 changes: 6 additions & 0 deletions
6
medical_prescription/static/dashboard_patient/css/bootstrap.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
65 changes: 65 additions & 0 deletions
65
medical_prescription/static/dashboard_patient/css/demo.css
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,65 @@ | ||
@media (min-width: 992px) { | ||
.typo-line { | ||
padding-left: 140px; | ||
margin-bottom: 40px; | ||
position: relative; | ||
} | ||
.typo-line .category { | ||
transform: translateY(-50%); | ||
top: 50%; | ||
left: 0px; | ||
position: absolute; | ||
} | ||
.sidebar .nav>li.active-pro { | ||
position: absolute; | ||
width: 100%; | ||
bottom: 10px; | ||
} | ||
} | ||
|
||
#map { | ||
position: relative; | ||
width: 100%; | ||
height: calc(100% - 60px); | ||
margin-top: 70px; | ||
} | ||
|
||
.places-buttons .btn { | ||
margin-bottom: 30px | ||
} | ||
|
||
.space-70 { | ||
height: 70px; | ||
display: block; | ||
} | ||
|
||
.tim-row { | ||
margin-bottom: 20px; | ||
} | ||
|
||
.tim-typo { | ||
padding-left: 25%; | ||
margin-bottom: 40px; | ||
position: relative; | ||
} | ||
|
||
.tim-typo .tim-note { | ||
bottom: 10px; | ||
color: #c0c1c2; | ||
display: block; | ||
font-weight: 400; | ||
font-size: 13px; | ||
line-height: 13px; | ||
left: 0; | ||
margin-left: 20px; | ||
position: absolute; | ||
width: 260px; | ||
} | ||
|
||
.tim-row { | ||
padding-top: 50px; | ||
} | ||
|
||
.tim-row h3 { | ||
margin-top: 0; | ||
} |
Oops, something went wrong.