Procházet zdrojové kódy

Guest view style updates

Vijayakrishnan před 4 roky
rodič
revize
cc5b97ceab

+ 8 - 0
public/css/style.css

@@ -965,3 +965,11 @@ span.select2-container.select2-container--default.select2-container--open {
     width: 180px !important;
     min-width: 180px !important;
 }
+.guest-view button.add-shortcut {
+    display: none;
+}
+.guest-view .note-section,
+.guest-view .note-section:hover {
+    background: #fff !important;
+}
+

+ 3 - 3
resources/views/app/guest/section.blade.php

@@ -5,8 +5,8 @@ $canvasData = json_decode($patient->canvas_data, true);
 $shortcuts = "";
 $latestSectionTS = 0;
 ?>
-<div class="guest-view">
+<div class="guest-view mcp-theme-1">
     @include('app.patient.note.section')
     @include('app.patient.note.section_script')
-</div>  
-@endsection
+</div>
+@endsection

+ 3 - 10
resources/views/layouts/guest_template.blade.php

@@ -60,9 +60,9 @@
 
         <div class="collapse navbar-collapse" id="navBar">
             <ul class="navbar-nav mr-auto">
-               
+
             </ul>
-           
+
         </div>
 
         <a href="#" class="stag_rhs_toggle d-none d-md-block" title="Toggle Video Pane">
@@ -83,7 +83,7 @@
     <!-- script to handle history/back/forward for mc/xxx pages
     + all other JS initialization needed in fastLoaded pages  -->
     <script src="/js/find-event-handlers.js" type="application/javascript"></script>
-    
+
     <script>
         window.noMc = true;
     </script>
@@ -179,13 +179,6 @@
                 fastLoad('/patients/view/' + $(this).attr('data-target-uid'), true, false, false);
                 return false;
             });
-
-            window.setInterval(function() {
-                $.get('/current-work', function(_data) {
-                    $('.current-work').html(_data);
-                    initFastLoad($('.current-work'));
-                });
-            }, 15000); // once in 15 seconds
         });
     </script>
     <script>