]> lifelog.hopto.org Git - LifeLog.git/commitdiff
css changes
authorwbudic <redacted>
Mon, 27 Aug 2018 03:36:36 +0000 (13:36 +1000)
committerwbudic <redacted>
Mon, 27 Aug 2018 03:36:36 +0000 (13:36 +1000)
htdocs/cgi-bin/.main.cgi.swp [new file with mode: 0644]
htdocs/cgi-bin/.remove.cgi.swp [new file with mode: 0644]
htdocs/cgi-bin/main.cgi
htdocs/cgi-bin/wsrc/.main.css.swp [new file with mode: 0644]
htdocs/cgi-bin/wsrc/main.css

diff --git a/htdocs/cgi-bin/.main.cgi.swp b/htdocs/cgi-bin/.main.cgi.swp
new file mode 100644 (file)
index 0000000..5be1ef3
Binary files /dev/null and b/htdocs/cgi-bin/.main.cgi.swp differ
diff --git a/htdocs/cgi-bin/.remove.cgi.swp b/htdocs/cgi-bin/.remove.cgi.swp
new file mode 100644 (file)
index 0000000..3dacd5a
Binary files /dev/null and b/htdocs/cgi-bin/.remove.cgi.swp differ
index 2aeceaa1d24bab440726f28e98e8be987eddd277..cdc994029c038cbfe258804a1173557573f760a1 100755 (executable)
@@ -43,7 +43,7 @@ if(!$sth->fetchrow_array()) {
                        CREATE TABLE LOG (
                          ID_CAT TINY NOT NULL,
                          DATE DATETIME  NOT NULL,
-                         LOG VCHAR(60) NOT NULL
+                         LOG VCHAR(128) NOT NULL
                                        );
                                                   
                        );
@@ -125,7 +125,7 @@ if($rv < 0) {
         my $dt = DateTime::Format::SQLite->parse_datetime( $row[2] );
 
                 $tbl = $tbl . '<tr class="tbl"><td>'. $dt->ymd . '</td>' . 
-                         "<td>" . $dt->hms . "</td>" . "<td>" . $row[3] . "</td>".
+                         "<td>" . $dt->hms . "</td>" . '<td class="log">' . $row[3] . "</td>".
                          "<td>" . $ct .
                          "</td><td><input name=\"chk\" type=\"checkbox\" value=\"".$row[0]."\"/> </td></tr>\n";
        $tbl_rc +=1;    
@@ -144,7 +144,7 @@ my  $frm = qq(
         <table class="entry"><tr>
                 <td>Date:</td><td><input type="text" name="date" value=") .$today->ymd ." ". $today->hms . qq("><button onclick="return setNow();">Now</button></td><td>Category:</td>
                 </tr>
-                <tr><td>Log:</td> <td><textarea name="log" rows="2" cols="40"></textarea></td>
+                <tr><td>Log:</td> <td><textarea name="log" rows="2" cols="60"></textarea></td>
                 <td>).$cats.qq(</td></tr>
                 <tr><td></td><td></td><td><input type="submit" value="Submit"></td>
        </tr></table>
diff --git a/htdocs/cgi-bin/wsrc/.main.css.swp b/htdocs/cgi-bin/wsrc/.main.css.swp
new file mode 100644 (file)
index 0000000..8273b3b
Binary files /dev/null and b/htdocs/cgi-bin/wsrc/.main.css.swp differ
index 5987fe08202bc1f67f8e0334323c2b4920dda6ef..a4246e2cc2bcf73fe74664b05f9ffb6db05f4fe4 100644 (file)
@@ -11,6 +11,7 @@ p {
 
 table {
            border-collapse: collapse;
+
 }
 
 table, th, td{
@@ -30,3 +31,12 @@ table, th, td{
        padding: 5px;
 }
 
+#log{
+       width:82px;
+       text-align: justify;
+        white-space: nowrap;
+        overflow: hidden;
+        text-overflow: ellipsis;
+}
+
+