[Jifty-commit] r1715 - in
jifty/trunk/plugins/ProfileBehaviour/share/web/static: css
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Jul 31 16:40:34 EDT 2006
Author: nelhage
Date: Mon Jul 31 16:40:34 2006
New Revision: 1715
Modified:
jifty/trunk/plugins/ProfileBehaviour/share/web/static/css/behaviour-profile.css
jifty/trunk/plugins/ProfileBehaviour/share/web/static/js/behaviour.js
Log:
Some Behaviour profiling UI fixes.
Modified: jifty/trunk/plugins/ProfileBehaviour/share/web/static/css/behaviour-profile.css
==============================================================================
--- jifty/trunk/plugins/ProfileBehaviour/share/web/static/css/behaviour-profile.css (original)
+++ jifty/trunk/plugins/ProfileBehaviour/share/web/static/css/behaviour-profile.css Mon Jul 31 16:40:34 2006
@@ -1,7 +1,7 @@
#behaviour-profile-data {
width: 90%;
height: 90%;
- position: absolute;
+ position: fixed;
left: 5%;
top: 5%;
background-color: white;
@@ -61,7 +61,7 @@
#show-behaviour-profile {
- position: absolute;
- left: 0;
+ position: fixed;
+ left: 0.5em;
bottom: 0;
}
Modified: jifty/trunk/plugins/ProfileBehaviour/share/web/static/js/behaviour.js
==============================================================================
--- jifty/trunk/plugins/ProfileBehaviour/share/web/static/js/behaviour.js (original)
+++ jifty/trunk/plugins/ProfileBehaviour/share/web/static/js/behaviour.js Mon Jul 31 16:40:34 2006
@@ -204,11 +204,13 @@
link.href = '/css/behaviour-profile.css';
head.appendChild(link);
- var open = this.createElement('a', null, '[Behaviour profile]');
+ var open = this.createElement('a', null, 'Behaviour profile');
open.id = 'show-behaviour-profile';
open.href ='#';
open.onclick = function() { Behaviour.toggleProfile() }
- document.getElementsByTagName('body')[0].appendChild(open);
+ var div = this.createElement('div');
+ div.appendChild(open);
+ document.getElementsByTagName('body')[0].appendChild(div);
},
toggleProfile: function () {
More information about the Jifty-commit
mailing list