• R/O
  • SSH
  • HTTPS

pworg: Commit


Commit MetaInfo

Revision10 (tree)
Time2021-10-01 20:53:00
Authormateuszviste

Log Message

improved styling of the jump menu

Change Summary

Incremental Difference

--- trunk/index.php (revision 9)
+++ trunk/index.php (revision 10)
@@ -262,7 +262,10 @@
262262 echo ' <div class="columntitle">GO TO DATE</div><br>' . "\n";
263263 echo ' <form action="./">' . "\n";
264264 echo ' <input required type="date" name="jumpto" value="' . day2formdate($today) . '">' . "\n";
265- echo ' <input class="button" type="submit" value="jump">' . "\n";
265+ echo ' <div class="toolscolumn">';
266+ echo ' <a class="button" href="?day=' . $day . '">cancel</a>';
267+ echo ' <input class="button" type="submit" value="jump">';
268+ echo " </div>\n";
266269 echo " </form>\n";
267270 echo "</div>\n";
268271 goto GAMEOVER;
@@ -341,7 +344,7 @@
341344 echo '<div class="column">' . "\n";
342345 echo ' <div class="columntitle">';
343346 echo '<a href="?day=' . ($day - 1) . '">&lt;&lt;</a>';
344-echo '<div class="datefield"><a href="?a=jmp">' . strftime('%d %b %Y<br>(%A)', $day * 86400) . '</a></div>';
347+echo '<div class="datefield"><a href="?a=jmp&amp;day=' . $day . '">' . strftime('%d %b %Y<br>(%A)', $day * 86400) . '</a></div>';
345348 echo '<a href="?day=' . ($day + 1) . '">&gt;&gt;</a>' . "</div>\n";
346349
347350 // display memos
Show on old repository browser