more work on Admin. added FamFamFam icon set

This commit is contained in:
Doug Bell 2010-04-06 15:45:42 -05:00
parent 5e77a948ad
commit 64f7bd9365
1004 changed files with 129 additions and 10 deletions

View file

@ -0,0 +1,50 @@
#wrapper {
margin-left: 160px; /* move out of the adminbar's way */
}
#versionTag {
float: left;
width: 57%;
padding: 2px 1%;
border: 1px solid #339;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
line-height: 16px;
}
#user {
float: right;
width: 38%;
padding: 2px 1%;
border: 1px solid #339;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
line-height: 16px;
}
#locationBar {
height: 2em;
}
#tabs {
clear: both;
}
#wrapper .yui-content {
margin: 0; padding: 0;
}
#viewTab * {
margin: 0; padding: 0;
}
img.icon {
vertical-align: baseline;
}
a:link {
text-decoration: none;
}

25
www/extras/admin/admin.js Normal file
View file

@ -0,0 +1,25 @@
if ( typeof WebGUI == "undefined" ) {
WebGUI = {};
}
WebGUI.Admin = {};
WebGUI.Admin.LocationBar = (function(){
// Public stuff
return function (id) {
this.id = id;
var self = this;
// Private members
var _element = document.getElementById( self.id );
function _init () {
_element.appendChild( document.createTextNode( "Location Bar" ) );
}
_init();
};
})();