[static-web] No longer on gnome-grass for wgo
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [static-web] No longer on gnome-grass for wgo
- Date: Tue, 23 Mar 2021 16:04:26 +0000 (UTC)
commit 9a7dc1d60f50171ff9d4b2c408e660111005261e
Author: Andrea Veri <averi redhat com>
Date: Tue Mar 23 17:04:08 2021 +0100
No longer on gnome-grass for wgo
wiki.gnome.org/gnome-responsive/gnome-responsive.py | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/wiki.gnome.org/gnome-responsive/gnome-responsive.py
b/wiki.gnome.org/gnome-responsive/gnome-responsive.py
index c397b74..ac30798 100644
--- a/wiki.gnome.org/gnome-responsive/gnome-responsive.py
+++ b/wiki.gnome.org/gnome-responsive/gnome-responsive.py
@@ -10,7 +10,7 @@
Later is was rewritten for GNOME layout by Frederic Peters.
@copyright: 2005 by Nir Soffer, 2007 by Frederic Peters, 2013 by William Jon McCann
- @license: GNU GPL, see COPYING for details.
+ @license: GNU GPL, see COPYING for details.
"""
from MoinMoin.theme import ThemeBase
@@ -64,7 +64,7 @@ class Theme(ThemeBase):
def startPage(self):
""" Start page div with page language and direction
-
+
@rtype: unicode
@return: page div with language and direction attribtues
"""
@@ -122,7 +122,7 @@ class Theme(ThemeBase):
# Assemble html
html = u''.join(items)
return html
-
+
def title_with_separators2(self, d):
""" Assemble the title using slashes, not <ul>
@@ -156,7 +156,7 @@ class Theme(ThemeBase):
def header(self, d):
"""
Assemble page header
-
+
@param d: parameter dictionary
@rtype: string
@return: page header html
@@ -173,7 +173,7 @@ class Theme(ThemeBase):
<div id="global_domain_bar">
<div id="header_tabs">
<div id="user_tab" class="tab">
- <a class="gnome-navbar-brand" href="/"><img
src="https://www.gnome.org/wp-content/themes/gnome-grass/images/gnome-logo.svg"></a>
+ <a class="gnome-navbar-brand" href="/"><img
src="https://www.gnome.org/wp-content/uploads/2020/08/logo.png"></a>
''',
self.username(d).replace('<li>', '<li>%s</li>%s<li>' % (html_title, html_tabs), 1),
u'''
@@ -210,10 +210,10 @@ class Theme(ThemeBase):
return u'\n'.join(html)
else:
return u''
-
+
def footer(self, d, **keywords):
""" Assemble wiki footer
-
+
@param d: parameter dictionary
@keyword ...:...
@rtype: unicode
@@ -229,7 +229,7 @@ class Theme(ThemeBase):
# Post footer custom html
#self.emit_custom_html(self.cfg.page_footer2),
-
+
u'''
<!-- end of main content -->
@@ -269,7 +269,7 @@ class Theme(ThemeBase):
def execute(request):
""" Generate and return a theme object
-
+
@param request: the request object
@rtype: MoinTheme
@return: Theme object
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]