changeset 165:4f45bb113404

basic change of print.css to show interwiki:pagename, todo: make more prettier, maybe move to bottom of page imported from: moin--main--1.5--patch-167
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 30 Oct 2005 20:22:07 +0000
parents c6655cd44cef
children a5a8eaf67936
files MoinMoin/wikiutil.py wiki/htdocs/classic/css/print.css wiki/htdocs/modern/css/print.css wiki/htdocs/rightsidebar/css/print.css
diffstat 4 files changed, 103 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Sun Oct 30 18:02:50 2005 +0000
+++ b/MoinMoin/wikiutil.py	Sun Oct 30 20:22:07 2005 +0000
@@ -1304,6 +1304,7 @@
         d = {'title_text': text, 'title_link': None, 'page': page,}
         request.themedict = d
         output.append(theme.startPage())
+        output.append(theme.interwiki(d))      
         output.append(theme.title(d))      
 
     # In standard mode, emit theme.header
--- a/wiki/htdocs/classic/css/print.css	Sun Oct 30 18:02:50 2005 +0000
+++ b/wiki/htdocs/classic/css/print.css	Sun Oct 30 20:22:07 2005 +0000
@@ -46,3 +46,37 @@
 #header, #sidebar, #footer, #timings, #credits {
 	display: none;
 }
+
+#interwiki {
+    float: left;
+    margin: 0;
+    padding: 0;
+    font-size: 0.4em;
+}
+
+*[dir="rtl"] #interwiki {
+    float: right;
+}
+
+#interwiki :after {
+    content: ": ";
+}
+
+#pagelocation {
+    clear: right;
+    display: block;
+    margin: 0;
+    padding: 0;
+    font-size: 0.4em;
+}
+
+*[dir="rtl"] #pagelocation {
+    clear: left;
+}
+
+#pagelocation li {
+    display: inline;
+    padding: 0 0.3em;
+    margin: 0;
+}
+
--- a/wiki/htdocs/modern/css/print.css	Sun Oct 30 18:02:50 2005 +0000
+++ b/wiki/htdocs/modern/css/print.css	Sun Oct 30 20:22:07 2005 +0000
@@ -46,3 +46,37 @@
 #header, #sidebar, #footer, #timings, #credits {
 	display: none;
 }
+
+#interwiki {
+    float: left;
+    margin: 0;
+    padding: 0;
+    font-size: 0.4em;
+}
+
+*[dir="rtl"] #interwiki {
+    float: right;
+}
+
+#interwiki :after {
+    content: ": ";
+}
+
+#pagelocation {
+    clear: right;
+    display: block;
+    margin: 0;
+    padding: 0;
+    font-size: 0.4em;
+}
+
+*[dir="rtl"] #pagelocation {
+    clear: left;
+}
+
+#pagelocation li {
+    display: inline;
+    padding: 0 0.3em;
+    margin: 0;
+}
+
--- a/wiki/htdocs/rightsidebar/css/print.css	Sun Oct 30 18:02:50 2005 +0000
+++ b/wiki/htdocs/rightsidebar/css/print.css	Sun Oct 30 20:22:07 2005 +0000
@@ -46,3 +46,37 @@
 #header, #sidebar, #footer, #timings, #credits {
 	display: none;
 }
+
+#interwiki {
+    float: left;
+    margin: 0;
+    padding: 0;
+    font-size: 0.4em;
+}
+
+*[dir="rtl"] #interwiki {
+    float: right;
+}
+
+#interwiki :after {
+    content: ": ";
+}
+
+#pagelocation {
+    clear: right;
+    display: block;
+    margin: 0;
+    padding: 0;
+    font-size: 0.4em;
+}
+
+*[dir="rtl"] #pagelocation {
+    clear: left;
+}
+
+#pagelocation li {
+    display: inline;
+    padding: 0 0.3em;
+    margin: 0;
+}
+