summaryrefslogtreecommitdiffstats
blob: 36f2a3184dae6e5e13d6d0e497ec0efb49369738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<f:view xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ice="http://www.icesoft.com/icefaces/component"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:pc="http://www.sungard.de/carnot/web/portal-plugin/portalcommon">

	<ice:outputDeclaration doctypeRoot="HTML"
		doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
		doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" />

	<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<ui:include src="/plugins/common/I18NInclude.xhtml" />
<script type="text/javascript"
	src="#{facesContext.externalContext.requestContextPath}/plugins/processportal/IppProcessPortal.js" />

<ice:outputStyle href="/plugins/common/css/nirvanaRime.css" />
<ice:outputStyle href="/plugins/common/css/nirvanaRime-override.css" />
<ice:outputStyle href="/plugins/common/css/nirvanaPortal.css" />
<ice:outputStyle href="/plugins/common/css/portalComponentStyle.css" />

<c:forEach items="#{ippPortalApp.skinFiles}" var="skinFile">
	<ice:outputStyle href="#{skinFile}" />
</c:forEach>

<script>
			function windowLoaded()
			{
				var iFrameId = #{activityDetailsBean.qaCodeIframeBean.qualityAssuranceCodesIframePopupId};

				if (iFrameId != '')
				{
					var advanceArgs = #{activityDetailsBean.qaCodeIframeBean.qualityAssuranceCodesIframePopupArgs};
					advanceArgs.width = document.documentElement.scrollWidth + 20;
					advanceArgs.height = document.documentElement.scrollHeight + 20;

					var firefox = false;
					if (parent.BridgeUtils)
					{
						firefox = parent.BridgeUtils.Util.isFF();
					}
					else
					{
						firefox = parent.ippPortalMain.InfinityBpm.Core.isFF();
					}

					if (firefox)
					{
						advanceArgs.anchorYAdjustment = advanceArgs.anchorYAdjustment - 17; 
					}

					if (parent.BridgeUtils)
					{
						parent.BridgeUtils.FrameManager.resizeAndReposition(iFrameId, advanceArgs);
					}
					else
					{
						parent.ippPortalMain.InfinityBpm.ProcessPortal.resizeAndRepositionContentFrame(iFrameId, advanceArgs);
					}
				}	
			}
		</script>
</head>
<body style="width: 100%; height: 100%; background-color: #F7F7F7;"
	onLoad="if(windowLoaded){windowLoaded()}">
	<ice:form>
		<ice:panelGroup>
			<ice:panelSeries
				value="#{activityDetailsBean.qaCodeIframeBean.qualityAssuranceCodes}"
				var="qaCode">
				<ice:panelGrid columns="1">
					<!-- Added to give same spacing -->
					<ice:panelGroup>
						<pc:automationTag value="auto-PP-QualityAssuranceCodes-ActionsOpen" />
						<ice:panelGrid columns="2">
							<ice:graphicImage
								value="/plugins/views-common/images/icons/wrench--exclamation.png" />
							<ice:outputText value="#{qaCode}"
								style="white-space: nowrap;" />
						</ice:panelGrid>
					</ice:panelGroup>
				</ice:panelGrid>
			</ice:panelSeries>
		</ice:panelGroup>
	</ice:form>
</body>
	</html>
</f:view>