Skip to content
Snippets Groups Projects
Commit 0f93649f authored by Ghazi Triki's avatar Ghazi Triki
Browse files

Update UserInactivityWindow style.

parent 5b34f93d
No related branches found
No related tags found
No related merge requests found
......@@ -928,7 +928,7 @@ views|GuestItemRenderer {
/*
//------------------------------
// Item InactivityWarningWindow
// InactivityWarningWindow
//------------------------------
*/
......@@ -2013,6 +2013,17 @@ users|MoodMenu {
iconMoodNone : Embed(source="assets/swf/v2_skin.swf", symbol="Icon_User_Mood_None");
}
/*
//------------------------------
// UserInactivityWindow
//------------------------------
*/
views|UserInactivityWindow {
fontSize : 14;
headerHeight : 0;
}
/*
//------------------------------
// VideoDock
......
......@@ -27,8 +27,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
verticalScrollPolicy="off"
horizontalScrollPolicy="off"
horizontalAlign="center"
width="500"
styleName="inactivityWarningTextStyle"
minWidth="500"
creationComplete="onCreationComplete()">
<fx:Declarations>
......@@ -104,8 +103,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<common:AdvancedLabel text="{ResourceUtil.getInstance().getString('bbb.inactivityWarning.title')}"
styleName="titleWindowStyle"
width="{this.width - 40}" />
<mx:Text id="warningMessage" selectable="false" text="{}" styleName="inactivityWarningTextStyle"/>
<mx:Text id="warningMessage" selectable="false"/>
<mx:Button id="cancelButton" click="cancelButtonClicked()" visible="false" styleName="mainActionButton"/>
</mx:VBox>
</mx:TitleWindow>
\ No newline at end of file
......@@ -501,8 +501,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
}
private function handleUserInactivityAuditEvent(e:BBBEvent):void {
var inactivityWarning:UserInactivityAuditWindow = PopUpUtil.createModalPopUp(FlexGlobals.topLevelApplication as DisplayObject,
UserInactivityAuditWindow, true) as UserInactivityAuditWindow;
var inactivityWarning:UserInactivityWindow = PopUpUtil.createModalPopUp(FlexGlobals.topLevelApplication as DisplayObject,
UserInactivityWindow, true) as UserInactivityWindow;
inactivityWarning.duration = e.payload.duration;
}
......
......@@ -20,17 +20,16 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
-->
<mx:Panel xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mate="http://mate.asfusion.com/"
verticalScrollPolicy="off"
horizontalScrollPolicy="off"
horizontalAlign="center"
width="500"
height="120"
styleName="inactivityWarningTextStyle"
title="{ResourceUtil.getInstance().getString('bbb.userInactivityAudit.title')}"
creationComplete="onCreationComplete()">
<mx:TitleWindow xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mate="http://mate.asfusion.com/"
xmlns:common="org.bigbluebutton.common.*"
verticalScrollPolicy="off"
horizontalScrollPolicy="off"
horizontalAlign="center"
minWidth="500"
styleName="inactivityWarningTextStyle"
creationComplete="onCreationComplete()">
<fx:Script>
<![CDATA[
......@@ -92,7 +91,10 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
]]>
</fx:Script>
<mx:VBox width="100%" height="100%" paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5" horizontalAlign="center" verticalAlign="middle">
<mx:Text id="warningMessage" selectable="false" text="{ResourceUtil.getInstance().getString('bbb.userInactivityAudit.message')}" styleName="inactivityWarningTextStyle"/>
<mx:Button id="cancelButton" click="cancelButtonClicked()" visible="false" styleName="inactivityWarningWindowCancelButtonStyle"/>
<common:AdvancedLabel text="{ResourceUtil.getInstance().getString('bbb.userInactivityAudit.title')}"
styleName="titleWindowStyle"
width="{this.width - 40}" />
<mx:Text id="warningMessage" selectable="false" text="{ResourceUtil.getInstance().getString('bbb.userInactivityAudit.message')}"/>
<mx:Button id="cancelButton" click="cancelButtonClicked()" visible="false" styleName="mainActionButton"/>
</mx:VBox>
</mx:Panel>
\ No newline at end of file
</mx:TitleWindow>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment