diff --git a/code/code/.vs/MDT5/v15/.suo b/code/code/.vs/MDT5/v15/.suo index aa495dd..4c673ad 100644 Binary files a/code/code/.vs/MDT5/v15/.suo and b/code/code/.vs/MDT5/v15/.suo differ diff --git a/code/code/exercise08/app/scripts/Patientlist.js b/code/code/exercise08/app/scripts/Patientlist.js new file mode 100644 index 0000000..91eeef1 --- /dev/null +++ b/code/code/exercise08/app/scripts/Patientlist.js @@ -0,0 +1,27 @@ +class PatientList extends React.Component { + constructor(props) { + super(props); + + this.state = {} + } + + componentWillMount() { + this.getPatientList(); + } + + getPatientList() { + $.ajax({ + } + + render() { + return
+
+ + {this.currentDateString(this.props.format)} + +
+
+ } +} + +ReactDOM.render(, document.getElementById('PatientList')); diff --git a/code/code/exercise08/app/templates/PatientDetailsTemplate.html b/code/code/exercise08/app/templates/PatientDetailsTemplate.html index 8ae330e..39fdc20 100644 --- a/code/code/exercise08/app/templates/PatientDetailsTemplate.html +++ b/code/code/exercise08/app/templates/PatientDetailsTemplate.html @@ -3,43 +3,28 @@ Patientenverwaltung Patientenname -
- Geschlecht +

Geschlecht:

+

Geburstdatum:

+

Wohnort:

+

Land:

-
- -
-
- Geburtsdatum +

+

+

+

-
Geburtsdatum
- + +
-
-
- Wohnort: -
-
Patientenname
- -
-
-
- Land: -
-
Land:
- -
\ No newline at end of file + + \ No newline at end of file