92 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			92 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0"?>
 | |
| <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 | |
| <window class="dialog" 
 | |
|     title="CASA" 
 | |
|     id="casawindow"
 | |
| 	  orient="vertical"
 | |
| 	  autostretch="always"
 | |
| 	  onload="setAttribs()"    
 | |
|     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 | |
| 
 | |
| 
 | |
|   
 | |
|   <script language="JavaScript" type="text/javascript" src="encode.js"></script>
 | |
|   <script language="JavaScript" type="text/javascript" src="casaOverlay.js"></script>
 | |
|   
 | |
|   <script>
 | |
|     var button = document.getElementById("ok");
 | |
|     button.addEventListener('command', closeWin, true);
 | |
| 
 | |
|     button = document.getElementById("notnow");
 | |
|     button.addEventListener('command', cancelWin, true);
 | |
|   </script>
 | |
| 
 | |
|   <!-- <radiogroup onclick="alert('test');">-->
 | |
|   
 | |
|   <vbox color="red" width="500">
 | |
|     <image src="chrome://casa/skin/casa-logo2.png" oncommand="displayAllSelectedAttribs()"/>
 | |
|     <separator class="thin"/>
 | |
|     <separator class="thin"/>
 | |
|     <hbox>
 | |
| 		<strong><label id="hostsite" value="This site"/>  </strong>
 | |
| 		<text id="hostsitetext" value="is requesting the following information." style="font-weight: bold;"/>		  
 | |
| 	</hbox>                                        
 | |
|     
 | |
|     <separator class="thin"/>
 | |
|     <groupbox align="center" orient="horizontal">
 | |
|       <hbox width="20">
 | |
|       <!--  This section commented out
 | |
|         <vbox>			  	        
 | |
|            <label control="your-name" value="Select persona to use:"/>  
 | |
| 
 | |
|           <listbox id="theList" rows="4">
 | |
| 	    		<listitem label="Local Persona (local_xml)" value="local_xml" selected="true"/>
 | |
| 				<listitem label="Enterprise Persona (novell_inc)" value="novell_inc" />
 | |
| 				<listitem label="Combined Persona" value="novell_inc+local_xml"/>
 | |
| 				<listitem label="CASA Persona (not implemented)" value="casa"/>				
 | |
| 		  </listbox>
 | |
|         </vbox>
 | |
|         -->
 | |
|         <vbox>
 | |
| 			<label control="attribs" value="Required:" /> 			
 | |
| 			<listbox id="attribList" rows="5" seltype="multiple" disabled="true">			
 | |
| 			</listbox>		  
 | |
|         </vbox>
 | |
|         <vbox>
 | |
| 			<label control="optionalAttribs" value="Optional:"/> 			
 | |
| 			<listbox id="attribListOptional" rows="5" seltype="multiple">			
 | |
| 			</listbox>
 | |
| 		  <button id="selectall" label="Select All" onclick="toogleAllAttribsOptional()"/>
 | |
|         </vbox>
 | |
|       </hbox>
 | |
|     </groupbox>
 | |
|   </vbox>
 | |
|   
 | |
|   <hbox>
 | |
| 	<label control="your-name" value="Context:"/>
 | |
|      <popupset>
 | |
| 		<popup id="clipmenu">
 | |
| 			 <menuitem label="Home Context" oncommand="setLocalPersona();"/>
 | |
| 			 <menuitem label="Work Context" oncommand="setEnterprisePersona();"/>
 | |
| 			 <menuitem label="Joined Context" oncommand="setCombinedPersona();"/>
 | |
| 			 <menuitem label="CASA Context" oncommand="setCasaPersona();"/>
 | |
| 		</popup>
 | |
| 	</popupset>
 | |
| 	<label id="curPersonaID" value="Current Context"/>
 | |
| 	<box context="clipmenu">
 | |
| 		<description value="(Right click here to change)"/>
 | |
| 	</box>  
 | |
|     
 | |
|     <spacer flex="1"/>
 | |
|     <!--
 | |
|     <button id="selectall" label="Show Selected" onclick="toogleAllSelectedAttribs()"/>
 | |
|     -->    
 | |
|     
 | |
|     <button id="bttnShowValues" label="Show Values" onclick="toogleShowHide()"/>
 | |
|     <button id="ok" label="Yes" onclick="processIA()"/>
 | |
|     <button id="notnow" label="No" onclick="cancelWin()"/>
 | |
|   </hbox>
 | |
| 
 | |
|   <spacer flex="1"/>
 | |
|   
 | |
| </window> |