Skip to content

Commit

Permalink
WIP: A few minor fixes
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/web/branches/beta-ctk@6645 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed May 19, 2011
1 parent 14770a8 commit e07aa2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Commits.py
Expand Up @@ -94,7 +94,7 @@ def __init__ (self, num=6):

self += content_box

self += CTK.Box({'class': 'bar3-bottom-link'}, CTK.RawHTML('<a href="http://svn.cherokee-project.com/log.php?repname=Cherokee&path=%2F&rev=6636&isdir=1" target="_blank">View Commits Log &raquo;</a>'))
self += CTK.Box({'class': 'bar3-bottom-link'}, CTK.RawHTML('<a href="http://svn.cherokee-project.com/log.php?repname=Cherokee&path=%2F&isdir=1" target="_blank">View Commits Log &raquo;</a>'))


#
Expand Down
19 changes: 3 additions & 16 deletions PageIndex.py
Expand Up @@ -50,19 +50,6 @@ def __init__ (self):

self += box

class Download_Box (CTK.Box):
def __init__ (self):
CTK.Box.__init__ (self, {'id': 'download-box'})

latest_version = Downloads.get_latest_version()
# Download
box = CTK.Box ({'id': 'download-msg'})
link = CTK.Link ("/downloads.html", props={'id': "download"})
link += CTK.RawHTML ("<span>Get Cherokee</span><br/>Download Cherokee %(latest_version)s"%(locals()))
box += link

self += box


class Highlights (CTK.Container):
H2 = "Features Highlights"
Expand Down Expand Up @@ -96,8 +83,8 @@ class Sidebox (CTK.Container):
'download': {
'icon': '/static/images/download.png',
'url': '/downloads.html',
'title': 'Download Cherokee Web Server',
'hint': 'LATEST'
'title': 'Download Cherokee %s'%(Downloads.get_latest_version()),
'hint': 'Fetch the latest version of Cherokee'
},
'documentation': {
'icon': '/static/images/documentation.png',
Expand All @@ -109,7 +96,7 @@ class Sidebox (CTK.Container):
'icon': '/static/images/contribute.png',
'url': '/contribute.html',
'title': 'Contribute to the project',
'hint': 'Help us to develop the greatest Web Server'
'hint': 'Help us to develop a better server!'
}
}

Expand Down

0 comments on commit e07aa2e

Please sign in to comment.