]> lifelog.hopto.org Git - LifeLog.git/commitdiff
fix. layout
authorWill Budic <redacted>
Fri, 22 Sep 2023 14:12:05 +0000 (00:12 +1000)
committerWill Budic <redacted>
Fri, 22 Sep 2023 14:12:05 +0000 (00:12 +1000)
htdocs/cgi-bin/index.cnf
htdocs/cgi-bin/login_ctr.cgi
htdocs/cgi-bin/wsrc/feeds.js

index 176896db93929dea1aa2efa1e047cc6b0df9bc48..655f5cac6ec2df2df720786655ebe20e940cf64f 100644 (file)
@@ -281,7 +281,10 @@ function loadDocResult(content){
 
 >#>
  >div>
-
+<div<
+id:index-content
+class:content
+style:"height:100vh"
  <div<
     id:container
         <div<
@@ -300,6 +303,7 @@ function loadDocResult(content){
             >span>
             <div<
                 id:content
+                style="height:auto"
                 <*<PAGE_CONTENT>*>
             >div>
             <div<
@@ -337,6 +341,7 @@ function loadDocResult(content){
         >div>
  >div>
     <!<Page brought to you by HTMLIndexProcessorPlugin, from the PerlCNF project.>!>
+>div>
 >>PAGE>TREE>
 
 
index df5bbf1247be7e3950dd1deedbe4dafc393867ff..b558d3891dc00b39df97631953df5680d037bb46 100755 (executable)
@@ -100,7 +100,7 @@ try{
         <tr class="r0"><td colspan="2">Host -> <b>$hst</b></td><td><input type="submit" value="Login"/></td></tr>
         </table></form>
 HTML
-    print qq(<DIV class="content" style="height: 100dvh;">
+    print qq(<DIV class="content" style="height: 100dvh;display: flow-root;">
             <br>
             <div id="menu_page" style="margin-left: 85vw;"><span class="menu_head">Menu</span><hr>
                 <a class="ui-button ui-corner-all ui-widget" href="index.cgi">Index</a><hr>
@@ -118,7 +118,7 @@ HTML
                 <br>
             </div><a name="feed_top"/>
             <div id="feeds" class="rz" style="width:60% !important;visibility:hidden">RSS</div>
-            <a id="rss_anchor"</a>
+            <a id="rss_anchor"></a>
             </DIV>
           );
 
index c24e72c1ed73f4afbd68d3aaf0f64deef1313219..1e0ea9bf0b26d741ab78bb54e5606b9b726fcd65 100644 (file)
@@ -27,6 +27,7 @@ function fetchFeed(feed) {
 function displayFeeds(content){
     var pnl = $(ID);
     pnl.html(content);
+    $("#index-content").css("height",'100%');
     pnl.show();
     $(document).scrollTop( $("#rss_anchor").offset().top );
 }