Changeset:
e9ad88b317b2
https://sourceforge.net/p/mrbs/hg-code/ci/e9ad88b317b20d638ca0d3b779d310e77a718aa9
Author:
Campbell Morrison <[email protected]>
Date:
Sun Dec 04 17:50:38 2016 +0000
Log message:
Moved << and >> navigation symbols out of HTML and into CSS.
diffstat:
web/css/mrbs.css.php | 8 ++++++++
web/day.php | 10 +++++++---
web/month.php | 18 +++++++++---------
web/week.php | 12 ++++++------
4 files changed, 30 insertions(+), 18 deletions(-)
diffs (103 lines):
diff -r b54aa41d7d06 -r e9ad88b317b2 web/css/mrbs.css.php
--- a/web/css/mrbs.css.php Sun Dec 04 16:55:54 2016 +0000
+++ b/web/css/mrbs.css.php Sun Dec 04 17:50:38 2016 +0000
@@ -256,6 +256,14 @@
div.date_now {float: left; width: 33%; text-align: center}
div.date_after {float: right; width: 33%; text-align: right}
+.date_before a:before {
+ content: '<<\0000a0';
+}
+
+.date_after a:after {
+ content: '\0000a0>>';
+}
+
table.dwm_main {
float: left;
clear: both;
diff -r b54aa41d7d06 -r e9ad88b317b2 web/day.php
--- a/web/day.php Sun Dec 04 16:55:54 2016 +0000
+++ b/web/day.php Sun Dec 04 17:50:38 2016 +0000
@@ -91,14 +91,18 @@
$before_after_links_html = "
<div class=\"date_nav screenonly\">
<div class=\"date_before\">
- <a
href=\"day.php?year=$yy&month=$ym&day=$yd&area=$area$room_param\"><< ".
get_vocab("daybefore") ."
+ <a
href=\"day.php?year=$yy&month=$ym&day=$yd&area=$area$room_param\">"
.
+ get_vocab("daybefore") . "
</a>
</div>
<div class=\"date_now\">
- <a href=\"day.php?area=$area$room_param\">" . get_vocab("gototoday") .
"</a>
+ <a href=\"day.php?area=$area$room_param\">" .
+ get_vocab("gototoday") . "
+ </a>
</div>
<div class=\"date_after\">
- <a
href=\"day.php?year=$ty&month=$tm&day=$td&area=$area$room_param\">".
get_vocab("dayafter") . " >>
+ <a
href=\"day.php?year=$ty&month=$tm&day=$td&area=$area$room_param\">"
.
+ get_vocab("dayafter") . "
</a>
</div>
</div>\n";
diff -r b54aa41d7d06 -r e9ad88b317b2 web/month.php
--- a/web/month.php Sun Dec 04 16:55:54 2016 +0000
+++ b/web/month.php Sun Dec 04 17:50:38 2016 +0000
@@ -508,19 +508,19 @@
$before_after_links_html = "<div class=\"screenonly\">
<div class=\"date_nav\">
<div class=\"date_before\">
- <a
href=\"month.php?year=$yy&month=$ym&day=$yd&area=$area&room=$room\">
- << ".get_vocab("monthbefore")."
- </a>
+ <a
href=\"month.php?year=$yy&month=$ym&day=$yd&area=$area&room=$room\">"
.
+ get_vocab("monthbefore") . "
+ </a>
</div>
<div class=\"date_now\">
- <a
href=\"month.php?year=$cy&month=$cm&day=$cd&area=$area&room=$room\">
- ".get_vocab("gotothismonth")."
- </a>
+ <a
href=\"month.php?year=$cy&month=$cm&day=$cd&area=$area&room=$room\">"
.
+ get_vocab("gotothismonth") . "
+ </a>
</div>
<div class=\"date_after\">
- <a
href=\"month.php?year=$ty&month=$tm&day=$td&area=$area&room=$room\">
- ".get_vocab("monthafter")." >>
- </a>
+ <a
href=\"month.php?year=$ty&month=$tm&day=$td&area=$area&room=$room\">"
.
+ get_vocab("monthafter") . "
+ </a>
</div>
</div>
</div>
diff -r b54aa41d7d06 -r e9ad88b317b2 web/week.php
--- a/web/week.php Sun Dec 04 16:55:54 2016 +0000
+++ b/web/week.php Sun Dec 04 17:50:38 2016 +0000
@@ -83,18 +83,18 @@
<div class=\"screenonly\">
<div class=\"date_nav\">
<div class=\"date_before\">
- <a
href=\"week.php?year=$yy&month=$ym&day=$yd&area=$area&room=$room\">
- << ".get_vocab("weekbefore")."
+ <a
href=\"week.php?year=$yy&month=$ym&day=$yd&area=$area&room=$room\">"
.
+ get_vocab("weekbefore") . "
</a>
</div>
<div class=\"date_now\">
- <a href=\"week.php?area=$area&room=$room\">
- ".get_vocab("gotothisweek")."
+ <a href=\"week.php?area=$area&room=$room\">" .
+ get_vocab("gotothisweek") . "
</a>
</div>
<div class=\"date_after\">
- <a
href=\"week.php?year=$ty&month=$tm&day=$td&area=$area&room=$room\">
- ".get_vocab("weekafter")." >>
+ <a
href=\"week.php?year=$ty&month=$tm&day=$td&area=$area&room=$room\">"
.
+ get_vocab("weekafter") . "
</a>
</div>
</div>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits