소스 검색

RM context stamp UI fix

Vijayakrishnan 3 년 전
부모
커밋
c315d70a99

+ 3 - 0
public/css/style.css

@@ -1868,4 +1868,7 @@ form.non-interactive .form-content * {
 }
 table.dashboard-stats-table th {
     padding: 0.5rem 0.75rem
+}
+.min-height-500px {
+    min-height: 500px;
 }

+ 14 - 5
resources/views/app/practice-management/remote-monitoring-measurements.blade.php

@@ -1,4 +1,4 @@
-<div class="mcp-theme-1 px-3 py-2 border-top mt-3" id="remote-monitoring-measurements-{{$careMonth->id}}">
+<div class="mcp-theme-1 px-3 py-2 border-top mt-3 min-height-500px" id="remote-monitoring-measurements-{{$careMonth->id}}">
     <?php
     $stampAllEndPoint = '';
     if(count($measurements)) {
@@ -100,7 +100,7 @@
                                 @if($stampEndPoint)
                                     <div moe relative>
                                         <a href="#" start show>Stamp</a>
-                                        <form url="{{$stampEndPoint}}" right>
+                                        <form url="{{$stampEndPoint}}" right class="width-300px">
                                             <input type="hidden" name="uid" value="{{$measurement->uid}}">
                                             <p class="mb-1">Stamp this measurement?</p>
                                             <div class="mt-2 bg-light border p-2">
@@ -122,10 +122,19 @@
                                                 </div>
                                             </div>
                                             @if($measurement->mcp_pro_id !== $pro->id)
-                                                <label class="mb-2 d-flex align-items-baseline border border-info p-2 mt-2 bg-light width-300px">
-                                                    <input type="checkbox" class="mr-2" name="communicatedToPatient">
+                                                <div class="mb-2 border border-info p-2 mt-2 bg-light">
                                                     <span>I have had interactive communication with {{$measurement->name_first}} {{$measurement->name_last}} during this care month.</span>
-                                                </label>
+                                                    <div class="d-flex border-top mt-2">
+                                                        <label class="mt-2 mb-0 d-inline-flex align-items-center mr-3">
+                                                            <input type="radio" class="mr-2" name="communicatedToPatient" value="true">
+                                                            <span>Yes</span>
+                                                        </label>
+                                                        <label class="mt-2 mb-0 d-inline-flex align-items-center">
+                                                            <input type="radio" class="mr-2" name="communicatedToPatient" value="false" checked>
+                                                            <span>No</span>
+                                                        </label>
+                                                    </div>
+                                                </div>
                                             @else
                                                 <input type="hidden" name="communicatedToPatient" value="false">
                                             @endif

+ 3 - 3
resources/views/app/practice-management/remote-monitoring.blade.php

@@ -32,7 +32,7 @@
                 </select>
             </div>
             <div class="card-body p-0">
-                <table class="table table-sm table-condensed p-0 m-0">
+                <table class="table table-sm table-condensed table-hover p-0 m-0">
                     <thead class="bg-light">
                     <tr>
                         <th class="border-0">Patient</th>
@@ -89,8 +89,8 @@
                                 @elseif($iPatient->rme_pro_id === $pro->id)
                                     <?php $numUS = $iPatient->rm_num_measurements_not_stamped_by_rme; ?>
                                 @endif
-                                <span class="d-inline-block width-30px">{{$numUS}}</span>
-                                @if($numUS)
+                                <span class="d-inline-block width-30px">{{$numUS ?: '-'}}</span>
+                                @if($numUS || true)
                                     <a native target="_blank"
                                        open-in-stag-popup
                                        update-parent