aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp')
-rw-r--r--id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp60
1 files changed, 35 insertions, 25 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp b/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
index 442420f36..4d9642130 100644
--- a/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
+++ b/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
@@ -6,10 +6,10 @@
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
- <link rel="stylesheet" type="text/css" href="css/index.css">
+ <link rel="stylesheet" type="text/css" href="../css/index.css">
<title><%=LanguageHelper.getGUIString("title", request) %></title>
- <script type="text/javascript" src="./js/common.js"></script>
- <script src="./js/jquery.js"></script>
+ <script type="text/javascript" src="../js/common.js"></script>
+ <script src="../js/jquery.js"></script>
</head>
@@ -30,18 +30,27 @@
<div id="list_area">
<h2><%=LanguageHelper.getGUIString("webpages.oaconfig.header", request) %></h2>
- <s:form namespace="/" method="POST" enctype="multipart/form-data">
+ <s:form namespace="/secure" method="POST" enctype="multipart/form-data">
<div class="oa_config_block">
+
+ <s:if test="authUser.isAdmin()">
+ <s:checkbox name="generalOA.Active"
+ value="%{generalOA.Active}"
+ labelposition="left"
+ key="webpages.oaconfig.general.isActive"
+ cssClass="checkbox">
+ </s:checkbox>
+ </s:if>
+
<s:textfield name="generalOA.identifier"
value="%{generalOA.identifier}"
labelposition="left"
key="webpages.oaconfig.general.identification"
cssClass="textfield_long">
</s:textfield>
-
-
+
<s:textfield name="generalOA.friendlyName"
value="%{generalOA.friendlyName}"
labelposition="left"
@@ -54,7 +63,8 @@
labelposition="left"
key="webpages.oaconfig.general.isbusinessservice"
cssClass="checkbox"
- onclick="oaBusinessService();">
+ onclick="oaBusinessService();"
+ id="OAisbusinessservice">
</s:checkbox>
</div>
@@ -78,8 +88,7 @@
key="webpages.oaconfig.general.target"
cssClass="textfield_short">
</s:textfield>
- <br>
- <br>
+
<s:textfield name="generalOA.targetFriendlyName"
value="%{generalOA.targetFriendlyName}"
labelposition="left"
@@ -155,10 +164,10 @@
labelposition="left"
key="webpages.oaconfig.sso.usesso"
cssClass="checkbox"
- onclick="oaSSOService();">
+ onclick="oaSSOService();"
+ id="OAuseSSO">
</s:checkbox>
- <br>
- <br>
+
<div id="sso_bock">
<s:if test="authUser.isAdmin()">
<s:checkbox name="ssoOA.showAuthDataFrame"
@@ -169,8 +178,7 @@
onclick="oaBusinessService();">
</s:checkbox>
</s:if>
- <br>
- <br>
+
<s:textfield name="ssoOA.singleLogOutURL"
value="%{ssoOA.singleLogOutURL}"
labelposition="left"
@@ -216,6 +224,7 @@
key="webpages.oaconfig.saml1.provideIdentityLink"
cssClass="checkbox">
</s:checkbox>
+ <br>
<s:checkbox name="saml1OA.provideCertificate"
value="%{saml1OA.provideCertificate}"
labelposition="left"
@@ -257,10 +266,9 @@
</s:textfield>
<s:label key="webpages.oaconfig.pvp2.certifcate.info" value="%{pvp2OA.certificateDN}"/>
- <br>
- <br>
+
<div id="pvp2_certificate_upload">
- <s:label key="webpages.oaconfig.pvp2.certifcate"/><s:file name="pvp2OA.fileUpload"></s:file>
+ <s:file name="pvp2OA.fileUpload" key="webpages.oaconfig.pvp2.certifcate" cssClass="textfield_long"></s:file>
</div>
</div>
</div>
@@ -275,16 +283,14 @@
key="webpages.oaconfig.general.aditional.iframe"
cssClass="checkbox">
</s:checkbox>
- <br>
- <br>
+
<s:checkbox name="generalOA.useUTC"
value="%{generalOA.useUTC}"
labelposition="left"
key="webpages.oaconfig.general.aditional.useUTC"
cssClass="checkbox">
</s:checkbox>
- <br>
- <br>
+
<%-- <s:checkbox name="generalOA.calculateHPI"
value="%{generalOA.calculateHPI}"
labelposition="left"
@@ -301,14 +307,18 @@
</div>
- <s:hidden name="generalOA.dbID"
- value="%{generalOA.dbID}"></s:hidden>
+<%-- <s:hidden name="generalOA.dbID"
+ value="%{generalOA.dbID}"></s:hidden> --%>
<div id="button_area">
- <s:submit key="webpages.edit.back" action="cancleandback"/>
+ <s:submit key="webpages.edit.back" action="cancleandbackOA"/>
+
+ <s:submit key="webpages.edit.save" action="saveOA"/>
- <s:submit key="webpages.edit.save" action="saveGeneral"/>
+ <s:if test="!isNewOA()">
+ <s:submit key="webpages.edit.delete" action="deleteOA"/>
+ </s:if>
</div>
</s:form>