]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Hover over log entriesimplemented.
authorWill Budicm <redacted>
Thu, 16 Jul 2020 01:39:01 +0000 (11:39 +1000)
committerWill Budicm <redacted>
Thu, 16 Jul 2020 01:39:01 +0000 (11:39 +1000)
Current Development Check List.md
htdocs/cgi-bin/wsrc/main.css
htdocs/cgi-bin/wsrc/main.js
htdocs/cgi-bin/wsrc/main_earth.css
htdocs/cgi-bin/wsrc/main_moon.css
htdocs/cgi-bin/wsrc/main_sun.css

index ff27e7f10ea32767638cd6ba2b688eb2a91d3549..bd8fcb41a20a9bbebe80e0b0ba389f593ab88bc6 100644 (file)
@@ -9,11 +9,10 @@ This version is not compatible in data structure to prior versions. Data migrati
 ### v.2.0 Encountered
 
 * Export to CVS button on selected logs.
-* Hover over log entries, to make more visible what log entry is being ticked on wider screens.
+* &#10004; Hover over log entries, to make more visible what log entry is being ticked on wider screens.
 * Multiple search views and their settings, should be preserved as last preset. Maybe even have name multiple ones in a dropdown.
 * Multiple category assignment to be enabled, where the first selected is the primary, others put in separate cross reference table.
 * Sub users list with passwords in config to be provided, with access and category, permissions settings. Default enabled permission is Event view category.
-* Provide Caddy webserver configuraton, instructions, if available to serve CGI.
 * &#10004; Implement gzip http page encoding compression of traffic.
 * &#10004; Autocompletion picks up long false words, in html and code type logs.
 
index f0ea7e89f87550a2dcdea5ccc5ab7ce9690ceeb3..1f8ad9ef2bdd02b2dbe1b9d5c0a42644da9ce292 100644 (file)
@@ -286,3 +286,6 @@ a:hover {
     color:crimson;
 }
 
+.hover{
+    background-color: #c0c9c9;
+}
\ No newline at end of file
index 608069017240d8beeb263a58b8297b32fc5c00d2..7754648fb53d3c546dd27b9c9509729db637b6a4 100644 (file)
@@ -281,11 +281,26 @@ function onBodyLoad(toggle, tz, today, expires, rs_cur) {
     setPageSessionTimer(expires);
 
 
-    $( function() {        
+    $(function() {        
         $( "#rs_keys, #rs_keys2" ).autocomplete({
             source: AUTOWORDS
             });
     });
+    var CHK_PREV;
+    $("#frm_log tr").mouseover(function(e){
+        var chk = $(e.target).find('input[name="chk"]');
+        if(!CHK_PREV.prop('checked')){        
+            CHK_PREV.closest("tr").removeClass("hover");
+        }
+        $(e.target.parentNode).closest("tr").addClass("hover");
+        CHK_PREV = chk;
+      return false;
+    }).mouseout(function(e) {
+        CHK_PREV = $(e.target).find('input[name="chk"]');
+        if(!CHK_PREV.prop('checked')){
+            $(e.target.parentNode).closest("tr").removeClass("hover");
+        }
+    });
 
     display("Log page is ready!");
 }
index 220fff918a1a496adf022c58451b8dcfc57d108e..9ea2cd7abf7e16a5e881a291b9530a2c451e6477 100644 (file)
@@ -280,4 +280,7 @@ a:link {
     font-weight: bold;
     color:lightsalmon;
     background-color: #26be54;
+}
+.hover{
+    background-color: #335757;
 }
\ No newline at end of file
index d78f012e09acf3ed3cb2bf5efde1b6cb517a2f43..a418c5e8780e2c73d27fe47c2ae7f631dabafb8e 100644 (file)
@@ -283,4 +283,7 @@ a:active {
     font-style: normal;
     font-weight: bold;
     color:khaki;
+}
+.hover{
+    background-color: #8d8d83;
 }
\ No newline at end of file
index bc5da1e0587bde4ad9a2d66211afb710985edb09..7162c43848c1622d490d0dc946ffcbfb31a5942d 100644 (file)
@@ -266,4 +266,8 @@ img {
  font-style: normal;
  font-weight: bold;
  color:crimson;
+}
+
+.hover{
+    background-color: #fffb00;
 }
\ No newline at end of file