Add link back to top to sunday morning.
Patch by ninetydegrees.
diffs (28 lines):
diff -r 9444406f998f -r 896c5001775c
bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2 Tue Feb 22 23:48:44
2011 +0800
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2 Tue Feb 22 23:49:41
2011 +0800
@@ -242,6 +242,11 @@ function Page::print()
$this->print_module_section("two");
"""
</div><div style="clear:both;"></div>
+ <div id="footer">
+ """;
+ print safe """<div class="page-top"><a
href="#">$*text_page_top</a></div>""";
+ """
+ </div>
</div>
""";
$this->print_wrapper_end();
@@ -862,6 +867,12 @@ q { font-style: italic;
width: 95%;
}
+#footer {
+ font-size: .9em;
+ margin: 1em 0;
+ text-align: center;
+}
+
""";
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog