added open exercise

This commit is contained in:
ittnerpa60944 2019-06-12 15:28:50 +02:00
parent 494cbfdf5c
commit 828cbdf2be
3 changed files with 45 additions and 33 deletions

Binary file not shown.

View File

@ -0,0 +1,27 @@
class PatientList extends React.Component {
constructor(props) {
super(props);
this.state = {}
}
componentWillMount() {
this.getPatientList();
}
getPatientList() {
$.ajax({
}
render() {
return <div className="container">
<div className="cal-xs-12">
<span className="pull-right">
{this.currentDateString(this.props.format)}
</span>
</div>
</div>
}
}
ReactDOM.render(<PatientList />, document.getElementById('PatientList'));

View File

@ -3,43 +3,28 @@
Patientenverwaltung Patientenverwaltung
<span id="patient-name">Patientenname</span> <span id="patient-name">Patientenname</span>
</h2> </h2>
<script type="text/javascript">
$("#patient-name").html(patient.lastname())
</script>
</div> </div>
<div class="row"> <div class="row">
<h6 class="col-xs-6"> <h6 class="col-xs-6">
Geschlecht <p>Geschlecht:</p>
<p>Geburstdatum:</p>
<p>Wohnort:</p>
<p>Land:</p>
</h6> </h6>
<h6 class="col-xs-6" id="patient-gender"></h6>
<script type="text/javascript">
$("#patient-gender").html(patient.gender())
</script>
</div>
<div class="row">
<h6 class="col-xs-6"> <h6 class="col-xs-6">
Geburtsdatum <p id="patient-gender"></p>
<p id="patient-date"></p>
<p id="patient-home"></p>
<p id="patient-country"></p>
</h6> </h6>
<h6 class="col-xs-6" id="patient-date">Geburtsdatum</h6>
<script type="text/javascript">
$("#patient-date").html(patient.date())
</script>
</div>
<div class="row">
<h6 class="col-xs-6">
Wohnort:
</h6>
<h6 class="col-xs-6" id="patient-home">Patientenname</h6>
<script type="text/javascript">
$("#patient-home").html(patient.home())
</script>
</div>
<div class="row">
<h6 class="col-xs-6">
Land:
</h6>
<h6 class="col-xs-6" id="patient-country">Land:</h6>
<script type="text/javascript">
$("#patient-country").html(patient.country())
</script>
</div> </div>
<script type="text/javascript">
$("#patient-name").html(patient.lastname())
$("#patient-home").html(patient.home())
$("#patient-date").html(patient.date())
$("#patient-country").html(patient.country())
$("#patient-gender").html(patient.gender())
</script>