]> lifelog.hopto.org Git - LifeLog.git/commitdiff
New onBodyLoadGeneric Impleneted, to button view feel.
authorWill Budic <redacted>
Fri, 31 Jan 2020 00:57:42 +0000 (11:57 +1100)
committerWill Budic <redacted>
Fri, 31 Jan 2020 00:57:42 +0000 (11:57 +1100)
dbLifeLog/main.cnf
htdocs/cgi-bin/config.cgi
htdocs/cgi-bin/wsrc/main.js

index 4e84d470ef2b44202a77fcd1df50077a2a5e0083..5686d79a0749d4640ff5d2ecd14c8847bee179c5 100644 (file)
@@ -3,7 +3,7 @@ This is the main configuration file for the LifeLog applications settings.
 https://github.com/wbudic/LifeLog
 This is an Open Source License project -> https://choosealicense.com/licenses/isc/
 Credential format:<<AUTO_LOGIN <{alias}/{password}> , dont enable here using AUTO_LOGIN option bellow, use config in app.
-<<AUTO_LOGIN<admin/admin>
+<<AUTO_LOGIN</>
 <<CONFIG<4>
 00|$RELEASE_VER = 1.7`LifeLog Application Version.
 01|$REC_LIMIT   = 25`Records shown per page.
index 4fce5408052c363f48e5bc7e7cfc431c126725a4..4b0b4d8833e6904eb3006f0153d83a27aca149ea 100755 (executable)
@@ -94,7 +94,7 @@ print qq(<div id="menu" title="To close this menu click on its heart, and wait."
 <hr>
 <a class="a_" href="stats.cgi">Stats</a><hr>
 <a class="a_" href="main.cgi">Log</a><hr>
-<font size="2"><b>Jump to Sections</b>
+<font size="2"><b>Jump to Sections</b><br>
 <a href="#top">Categories</a><br>
 <a href="#vars">System</a><br>
 <a href="#dbsets">DB Fix</a><br>
@@ -462,7 +462,7 @@ exit;
 sub getHeader {
 print $cgi->header(-expires=>"+6s", -charset=>"UTF-8");
 print $cgi->start_html(-title => "Personal Log", -BGCOLOR=>&Settings::bgcol,
-           -onload  => "loadedBody(false);",
+           -onload  => "onBodyLoadGeneric();",
             -style   => [
           { -type => 'text/css', -src => "wsrc/".&Settings::css },
           { -type => 'text/css', -src => 'wsrc/jquery-ui.css' },
index cb58867bea7452086d5df6316b8125f38889b49e..4cf0abbfc01f9edfb438db97d209baff639567f1 100644 (file)
@@ -20,10 +20,16 @@ var RTF_DOC_ORIG;
 var TIME_STAMP;
 var TIMEZONE;
 
+function onBodyLoadGeneric() {
+    $("input[type=submit], input[type=reset], .ui-widget-content, button, .a_").button();
+    $("#btn_save_doc").button();
+}
+
 function onBodyLoad(toggle, tz, today, expires, rs_cur) {
 
     TIMEZONE   = tz;
     TIME_STAMP = new Date(today);
+    onBodyLoadGeneric();
     if (toggle) {
         this.toggle("#div_srh", false);
     }
@@ -91,10 +97,6 @@ function onBodyLoad(toggle, tz, today, expires, rs_cur) {
     });
 
 
-    $("input[type=submit], input[type=reset], .ui-widget-content, button, .a_").button();
-    $("#btn_save_doc").button();
-
-
 
     $(window).scroll(function() {
         if (!MNU_SCROLLING) {