Mercurial > kallithea
changeset 402:757c7eef0dcd
implemented gravatars into main bar.
Readme update
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 08 Aug 2010 13:05:56 +0200 |
parents | b1debb6c5a09 |
children | 0659a891d975 |
files | README.rst pylons_app/public/css/style.css pylons_app/templates/base/base.html |
diffstat | 3 files changed, 33 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/README.rst Sun Aug 08 02:40:10 2010 +0200 +++ b/README.rst Sun Aug 08 13:05:56 2010 +0200 @@ -14,23 +14,24 @@ - mercurial branch graph and yui-flot powered graphs - admin interface for performing user/permission managments as well as repository managment. -- Additionall settings for mercurial web, (hooks editable from admin - panel !) also paths,archive,remote messages +- Additional settings for mercurial web, (hooks editable from admin + panel !) also manage paths, archive, remote messages - backup scripts can do backup of whole app and send it over scp to desired location - setup project descriptions and info inside built in db for easy, non file-system operations - added cache with invalidation on push/repo managment for high performance and always upto date data. -- rss /atom feed customizable +- rss / atom feeds, gravatar support - based on pylons 1.0 / sqlalchemy 0.6 **Incoming** - code review based on hg-review (when it's stable) - git support (when vcs can handle it) +- full text search of source codes with indexing daemons using whoosh + (no external search servers required all in one application) +- manage hg ui() per repo, add hooks settings, per repo, and not globally - other cools stuff that i can figure out -- full text search of source codes -- manage hg ui() per repo, add hooks settings, per repo, and not globally .. note:: This software is still in beta mode. @@ -56,5 +57,5 @@ the app should be available at the 127.0.0.1:5000 - use admin account you created to login. - default permissions on each repository is read, and owner is admin. So remember - to update those. + to update these. \ No newline at end of file
--- a/pylons_app/public/css/style.css Sun Aug 08 02:40:10 2010 +0200 +++ b/pylons_app/public/css/style.css Sun Aug 08 13:05:56 2010 +0200 @@ -213,8 +213,15 @@ #header ul#logged-user li.first { - border-left: none; -} + border-left: none; + margin:-6px; +} +#header ul#logged-user li.first div.account +{ + padding-top: 4px; + float: left; +} + #header ul#logged-user li.last {
--- a/pylons_app/templates/base/base.html Sun Aug 08 02:40:10 2010 +0200 +++ b/pylons_app/templates/base/base.html Sun Aug 08 13:05:56 2010 +0200 @@ -17,7 +17,13 @@ <!-- user --> <ul id="logged-user"> <li class="first"> - ${h.link_to('%s %s (%s)'%(c.hg_app_user.name,c.hg_app_user.lastname,c.hg_app_user.username),h.url('admin_settings_my_account'))} + <div class="gravatar"> + <img alt="gravatar" src="${h.gravatar_url(c.hg_app_user.email,24)}" /> + </div> + <div class="account"> + ${h.link_to('%s %s'%(c.hg_app_user.name,c.hg_app_user.lastname),h.url('admin_settings_my_account'))}<br/> + ${h.link_to(c.hg_app_user.username,h.url('admin_settings_my_account'))} + </div> </li> <li class="last highlight">${h.link_to(u'Logout',h.url('logout_home'))}</li> </ul> @@ -192,7 +198,16 @@ <span>${_('Home')}</span> </a> </li> - + + <li> + <a title="${_('Search')}" href="${h.url('search')}"> + <span class="icon"> + <img src="/images/icons/search_16.png" alt="${_('Search')}" /> + </span> + <span>${_('Search')}</span> + </a> + </li> + %if h.HasPermissionAll('hg.admin')('access admin main page'): <li ${is_current('admin')}> <a title="${_('Admin')}" href="${h.url('admin_home')}">