Cosmetic changes

git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@714 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
Richard Alam 2008-11-12 18:30:44 +00:00
parent 87d9a8d187
commit f8a4a78017
6 changed files with 10 additions and 9 deletions

View File

@ -83,7 +83,7 @@ package org.bigbluebutton.main.view
shell.mdiCanvas.windowManager.remove(rwin as MDIWindow);
break;
case MainApplicationConstants.USER_LOGGED_IN:
shell.toolbar.loggedIn(notification.getBody().username);
shell.toolbar.loggedIn(notification.getBody().username, notification.getBody().room, notification.getBody().userrole);
break;
case MainApplicationConstants.USER_LOGGED_OUT:
shell.toolbar.visible = false;

View File

@ -6,8 +6,8 @@
import org.bigbluebutton.main.MainApplicationConstants;
import org.bigbluebutton.main.view.MainApplicationShellMediator;
public function loggedIn(name:String):void{
loggedInUserLbl.text = "You are logged in as " + name + ".";
public function loggedIn(name:String, room:String, role:String):void{
loggedInUserLbl.text = "You are logged in as " + name + " to " + room + " as " + role + ".";
this.visible = true;
}
@ -31,6 +31,7 @@
<!--<mx:Button id="webcamBtn" label="Open Webcam" visible="true" height="20" toolTip="Click to open webcam"/> -->
<mx:Label id="loggedInUserLbl" text="" visible="true"/>
<mx:Spacer width="100%"/>
<mx:LinkButton label="Help" click="navigateToURL(new URLRequest('http://present.carleton.ca/help/index.html'))"/>
<mx:Button label="Logout" id="btnLogout" toolTip="Log out" right="10" click="doLogout()"/>
</mx:ApplicationControlBar>

View File

@ -135,10 +135,10 @@ package org.bigbluebutton.modules.presentation.view
break;
case PresentModuleConstants.OPEN_PRESENT_WINDOW:
_presWin.height = 440;
_presWin.width = 430;
_presWin.width = 450;
_presWin.title = PresentationWindow.TITLE;
_presWin.showCloseButton = false;
_presWin.xPosition = 200;
_presWin.xPosition = 240;
_presWin.yPosition = 20;
facade.sendNotification(PresentModuleConstants.ADD_WINDOW, _presWin);
break;

View File

@ -62,7 +62,7 @@
<mx:ControlBar width="100%">
<mx:Button id="uploadPres" icon="{uploadIcon}" visible="false" width="20" height="20"
toolTip="Upload PDF Document" click="dispatchEvent(new Event(PresentationWindowMediator.OPEN_UPLOAD))"/>
toolTip="Upload PDF document for presentation." click="dispatchEvent(new Event(PresentationWindowMediator.OPEN_UPLOAD))"/>
<mx:Spacer width="50%"/>
<mx:Button id="backButton" icon="{backwardIcon}" visible="false" width="20" height="20"
toolTip="Previous slide." click="dispatchEvent(new Event(PresentationWindowMediator.PREVIOUS_SLIDE))"/>

View File

@ -114,8 +114,8 @@ package org.bigbluebutton.modules.viewers.view
_viewersWindow.height = 220;
_viewersWindow.title = "Viewers";
_viewersWindow.showCloseButton = false;
_viewersWindow.xPosition = 30;
_viewersWindow.yPosition = 30;
_viewersWindow.xPosition = 20;
_viewersWindow.yPosition = 20;
facade.sendNotification(ViewersModuleConstants.ADD_WINDOW, _viewersWindow);
}

View File

@ -64,7 +64,7 @@
<mx:DataGrid id="viewersGrid" dataProvider="{participants}" editable="false"
dragEnabled="false" itemClick="viewerSelectEvent(event);" width="100%" height="100%">
<mx:columns>
<mx:DataGridColumn dataField="role" headerText="Role" dataTipField="Role" editable="false" width="20"
<mx:DataGridColumn dataField="role" headerText="Role" dataTipField="Role" editable="false" width="35"
itemRenderer="org.bigbluebutton.modules.viewers.view.components.RoleItemRenderer"/>
<mx:DataGridColumn dataField="name" headerText="Name" editable="true" width="100"
itemRenderer="org.bigbluebutton.modules.viewers.view.components.NameItemRenderer"/>