Hi, I'd like to share a little trick that we did using the Analytics HTML feature. We used it to add a menubar to all Kallithea pages. Among other things we used it to add links to our "real" mercurial server, to our Buck Tracker and to the user“s watched repositories. To do so we simply set the Admin Settings / Global / Analytics HTML setting to:
<br><hr><br>If you have any problems with this server please contact <a href="mailto:[email protected]">the Administrator</a><br><br> <style type="text/css"> div.button { background: #577632; width: 100%; position:fixed; left:0px; top:0px; } a.button { font-weight: bold; } a.button:link { color: white; background: #577632;} a.button:visited { color: white; background: #577632;} a.button:hover { background: #57a957;} a.button:active { color: #000066; background: grey;} </style> <div class="button" style="position:absolute;left:300px;top:0px"> <table border="0" cellpading="0" cellspacing="0"> <tr><td> | <a href="http://mercurial-server" class="button">Mercurial</a> | <a href="http://bug-tracker" class="button"> Bug Tracker</a> | <a href="http://mercurial:5000/_admin/my_account/watched " class="button"> Watched Repos</a> </td><td align="right"> | <a href="http://mercurial-server/tortoisehg-installer.exe" class="button"> Install TortoiseHg</a> | </td> </tr></table> </div> I hope this can help other people. Cheers, Angel _______________________________________________ kallithea-general mailing list [email protected] http://lists.sfconservancy.org/mailman/listinfo/kallithea-general
