diff --git a/public/js/rueckmeldung_client.js b/public/js/rueckmeldung_client.js index 5eaf12a..693fb1f 100755 --- a/public/js/rueckmeldung_client.js +++ b/public/js/rueckmeldung_client.js @@ -27,4 +27,17 @@ var map = L.map('map', { // Icon setzen var marker = L.marker(new L.LatLng(0, 0), { icon: redIcon - }).addTo(map); \ No newline at end of file + }).addTo(map); + + + + +/* ########################### */ +/* ####### Rückmeldung ####### */ +/* ########################### */ + +$('#rueckmeldung').each(function(index) { + $(this).on("click", function(){ + $('#responseModal').modal('show'); + }); +}); \ No newline at end of file diff --git a/views/includes/rueckmeldung.pug b/views/includes/rueckmeldung.pug index 726fdb3..ed3e407 100755 --- a/views/includes/rueckmeldung.pug +++ b/views/includes/rueckmeldung.pug @@ -6,7 +6,6 @@ .align-items-center.justify-content-center.rounded.bg-light.text-info.p-3 #sondersignal.ion-md-apps.text-center .col-12 - //.pt-3_pt.ptr-3_ls.h-50 #map.rounded(style={height: '20em'}) .col-12.mt-2 #ortsdaten.d-flex.flex-column @@ -16,7 +15,24 @@ div.list-group-item.py-2 -Straße Hsnr- div.list-group-item.py-2.text-warning -Besonderheiten- .col-12.mt-2 - table.table.table-striped + h5.text-center.text-danger.font-weight-bold Alarmierte Einsatzmittel + div.d-flex.flex-wrap + div.d-flex.flex-fill.justify-content-between.align-items-center.rounded.bg-light.p-2.mb-2.mr-2 + div.pr-2 FL CB 00/00-00 + div.p-2.badge.badge-success 2 + div.d-flex.flex-fill.justify-content-between.align-items-center.rounded.bg-light.p-2.mb-2.mr-2 + div.pr-2 FL CB 12/00-00 + div.p-2.badge.badge-warning 3 + div.d-flex.flex-fill.justify-content-between.align-items-center.rounded.bg-light.p-2.mb-2.mr-2 + div.pr-2 FL CB T-Dienst + div.p-2.badge.badge-danger 4 + div.d-flex.flex-fill.justify-content-between.align-items-center.rounded.bg-light.p-2.mb-2.mr-2 + div.pr-2 KAT CB 00/00-00 + div.p-2.badge.badge-success 2 + div.d-flex.flex-fill.justify-content-between.align-items-center.rounded.bg-light.p-2.mb-2.mr-2 + div.pr-2 FL SPN 00/00-00 + div.p-2.badge.badge-info 1 + //table.table.table-striped tbody tr th @@ -42,6 +58,5 @@ div FL SPN 00/00-00 div.badge.badge-info 1 .col-12.mt-2 + div.border-top.my-3 button#rueckmeldung.btn.btn-danger.btn-lg.btn-block.ion-md-paper-plane(type='button') Rückmeldung senden -//button einsatzmrückmeldung -//dann modal mit der Rückmeldungsoption \ No newline at end of file