Revision 5088
Added by daigle about 15 years ago
lib/style/skins/sanparks/changeAccess.jsp | ||
---|---|---|
1 |
<%@ page language="java" %> |
|
2 |
|
|
3 |
<% |
|
4 |
/* |
|
5 |
* '$RCSfile$' |
|
6 |
* Copyright: 2009 Regents of the University of California and the |
|
7 |
* National Center for Ecological Analysis and Synthesis |
|
8 |
* |
|
9 |
* '$Author: daigle $' |
|
10 |
* '$Date: 2008-07-06 21:25:34 -0700 (Sun, 06 Jul 2008) $' |
|
11 |
* '$Revision: 4080 $' |
|
12 |
* |
|
13 |
* This program is free software; you can redistribute it and/or modify |
|
14 |
* it under the terms of the GNU General Public License as published by |
|
15 |
* the Free Software Foundation; either version 2 of the License, or |
|
16 |
* (at your option) any later version. |
|
17 |
* |
|
18 |
* This program is distributed in the hope that it will be useful, |
|
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
* GNU General Public License for more details. |
|
22 |
* |
|
23 |
* You should have received a copy of the GNU General Public License |
|
24 |
* along with this program; if not, write to the Free Software |
|
25 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
26 |
*/ |
|
27 |
|
|
28 |
%> |
|
29 |
<%@ include file="settings.jsp"%> |
|
30 |
|
|
31 |
<html> |
|
32 |
<head> |
|
33 |
<title>Sanparks TPC Report Search</title> |
|
34 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/sanparks.css"/> |
|
35 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/sanparks-scheduled-jobs.css"/> |
|
36 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/header2.css"/> |
|
37 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/left-nav2.css"/> |
|
38 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/footer2.css"/> |
|
39 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_SKINS_URL%>/sanparks/sanparks.js"></script> |
|
40 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/branding.js"></script> |
|
41 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/prototype-1.5.1.1/prototype.js"></script> |
|
42 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/ajax-utils.js"></script> |
|
43 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/access.js"></script> |
|
44 |
</head> |
|
45 |
<body class="main-section" onload="getAccessSection('<%=SERVLET_URL%>','<%=request.getParameter("workflowid")%>','<%=request.getParameter("workflowname")%>','sanparks','access-info-content')"> |
|
46 |
<jsp:include page="header2.jsp"/> |
|
47 |
|
|
48 |
<!-- Main content --> |
|
49 |
<jsp:include page="left-nav2.jsp"/> |
|
50 |
<div class="content-section"> |
|
51 |
<div class="content-subsection" id="access-info-section"> |
|
52 |
<div class="content-subsection-header-emphasis">Workflow Summary</div> |
|
53 |
<div class="form-input-row" id="form-base-row"> |
|
54 |
<div class="summary-field" id='workflow-name-label' >Name: </div> |
|
55 |
<div class="summary-value" id='workflow-name-value' ><%=request.getParameter("workflowname")%></div> |
|
56 |
<br/> |
|
57 |
<div class="summary-field" id='workflow-lsid-label' >LSID: </div> |
|
58 |
<div class="summary-value" id='workflow-lsid-value' ><%=request.getParameter("workflowid")%></div> |
|
59 |
</div> |
|
60 |
</div> |
|
61 |
|
|
62 |
<div class="access-info-content" id="access-info-content"></div> |
|
63 |
</div> |
|
64 |
|
|
65 |
<!-- Footer Content --> |
|
66 |
<jsp:include page="footer2.jsp" /> |
|
67 |
</body> |
|
68 |
</html> |
lib/style/common/access.js | ||
---|---|---|
1 |
/* |
|
2 |
* '$RCSfile$' |
|
3 |
* Purpose: Basic funtions to support showing the schedule workflows |
|
4 |
* pages |
|
5 |
* Copyright: 2009 Regents of the University of California and the |
|
6 |
* National Center for Ecological Analysis and Synthesis |
|
7 |
* Authors: Michael Daigle |
|
8 |
* |
|
9 |
* '$Author: leinfelder $' |
|
10 |
* '$Date: 2008-06-17 13:16:32 -0700 (Tue, 17 Jun 2008) $' |
|
11 |
* '$Revision: 4006 $' |
|
12 |
* |
|
13 |
* This program is free software; you can redistribute it and/or modify |
|
14 |
* it under the terms of the GNU General Public License as published by |
|
15 |
* the Free Software Foundation; either version 2 of the License, or |
|
16 |
* (at your option) any later version. |
|
17 |
* |
|
18 |
* This program is distributed in the hope that it will be useful, |
|
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
* GNU General Public License for more details. |
|
22 |
* |
|
23 |
* You should have received a copy of the GNU General Public License |
|
24 |
* along with this program; if not, write to the Free Software |
|
25 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
26 |
*/ |
|
27 |
|
|
28 |
/* puts together the url to get the workflow section of a page given the workflow |
|
29 |
* id. |
|
30 |
* Params: |
|
31 |
* url - metacat url to hit |
|
32 |
* workflowId - get all runs for this id |
|
33 |
* workflowName - used for display purposes. |
|
34 |
* divId - the name of the div where the results should be put |
|
35 |
*/ |
|
36 |
function getAccessSection(url, workflowId, workflowname, qformat, divId) { |
|
37 |
var requestUrl = url + '?action=getaccesscontrol&docid=' + workflowId + |
|
38 |
"&workflowname=" + workflowname + '&qformat=' + qformat; |
|
39 |
//alert('getAccessSection - url: ' + requestUrl); |
|
40 |
var submitResults = submitUrlIntoDiv(requestUrl, divId); |
|
41 |
} |
|
42 |
|
|
43 |
function setPermission(formObj) { |
|
44 |
|
|
45 |
//alert("principal: " + formObj.principal.value); |
|
46 |
if ( formObj.principal.value == null || formObj.principal.value == "") { |
|
47 |
alert("you must provide a pricipal"); |
|
48 |
return; |
|
49 |
} |
|
50 |
|
|
51 |
var permission = ""; |
|
52 |
if (formObj.permission_read_checkbox.checked) { |
|
53 |
permission += "READ"; |
|
54 |
} |
|
55 |
if (formObj.permission_write_checkbox.checked) { |
|
56 |
if (permission.length > 0) { |
|
57 |
permission += "|"; |
|
58 |
} |
|
59 |
permission += "WRITE"; |
|
60 |
} |
|
61 |
if (formObj.permission_chmod_checkbox.checked) { |
|
62 |
if (permission.length > 0) { |
|
63 |
permission += "|"; |
|
64 |
} |
|
65 |
permission |= CHMOD; |
|
66 |
} |
|
67 |
if (formObj.permission_all_checkbox.checked) { |
|
68 |
if (permission.length > 0) { |
|
69 |
permission += "|"; |
|
70 |
} |
|
71 |
permission |= "ALL"; |
|
72 |
} |
|
73 |
//alert("permission: " + permission); |
|
74 |
formObj.permission.value = permission; |
|
75 |
|
|
76 |
if (permission == "") { |
|
77 |
alert("You must choose a permission value"); |
|
78 |
return; |
|
79 |
} |
|
80 |
} |
|
81 |
|
|
82 |
function doNothing() { |
|
83 |
} |
|
84 |
|
|
85 |
|
|
86 | 0 |
lib/style/common/accessInfo.xsl | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<!-- |
|
3 |
* '$RCSfile$' |
|
4 |
* Authors: Michael Daigle |
|
5 |
* Copyright: 2009 Regents of the University of California and the |
|
6 |
* National Center for Ecological Analysis and Synthesis |
|
7 |
* For Details: http://www.nceas.ucsb.edu/ |
|
8 |
* |
|
9 |
* '$Author: leinfelder $' |
|
10 |
* '$Date: 2009-04-02 14:20:05 -0800 (Thu, 02 Apr 2009) $' |
|
11 |
* '$Revision: 4893 $' |
|
12 |
* |
|
13 |
* This program is free software; you can redistribute it and/or modify |
|
14 |
* it under the terms of the GNU General Public License as published by |
|
15 |
* the Free Software Foundation; either version 2 of the License, or |
|
16 |
* (at your option) any later version. |
|
17 |
* |
|
18 |
* This program is distributed in the hope that it will be useful, |
|
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
* GNU General Public License for more details. |
|
22 |
* |
|
23 |
* You should have received a copy of the GNU General Public License |
|
24 |
* along with this program; if not, write to the Free Software |
|
25 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
26 |
* |
|
27 |
* This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to |
|
28 |
* convert an XML file showing the resultset of a query |
|
29 |
* into an HTML format suitable for rendering with modern web browsers. |
|
30 |
--> |
|
31 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
|
32 |
|
|
33 |
<xsl:output method="html" /> |
|
34 |
<xsl:param name="sessid" /> |
|
35 |
<xsl:param name="qformat">default</xsl:param> |
|
36 |
<xsl:param name="enableediting">false</xsl:param> |
|
37 |
<xsl:param name="contextURL" /> |
|
38 |
<xsl:param name="servletURL" /> |
|
39 |
<xsl:param name="workflowname" /> |
|
40 |
<xsl:param name="docid" /> |
|
41 |
|
|
42 |
<xsl:template match="/"> |
|
43 |
|
|
44 |
<div class="content-subsection"> |
|
45 |
<div class="content-subsection-header-emphasis">Access Rules</div> |
|
46 |
<div class="change-access-row"> |
|
47 |
<div class="col_label access_order_col">Access Order</div> |
|
48 |
<div class="col_label access_type_col">Access Type</div> |
|
49 |
<div class="col_label principal_col">Principal</div> |
|
50 |
<div class="col_label permissions_col">Permission</div> |
|
51 |
</div> |
|
52 |
<xsl:choose> |
|
53 |
<xsl:when test="acl/resource/@order = 'allowFirst'"> |
|
54 |
<xsl:for-each select="acl/resource/allow/principal"> |
|
55 |
<div class="access_info_text access_order_col">allowFirst</div> |
|
56 |
<div class="access_info_text access_type_col">allow </div> |
|
57 |
<div class="access_info_text principal_col"> |
|
58 |
<xsl:value-of select="."/> |
|
59 |
</div> |
|
60 |
<div class="permissions_col"> |
|
61 |
<xsl:for-each select="../permission"> |
|
62 |
<div class="permission_element"><xsl:value-of select="."/></div> |
|
63 |
</xsl:for-each> |
|
64 |
</div><br/> |
|
65 |
</xsl:for-each> |
|
66 |
<xsl:for-each select="acl/resource/deny/principal"> |
|
67 |
<div class="access_info_text access_order_col">allowFirst</div> |
|
68 |
<div class="access_info_text access_type_col">deny </div> |
|
69 |
<div class="access_info_text principal_col"> |
|
70 |
<xsl:value-of select="."/> |
|
71 |
</div> |
|
72 |
<div class="permissions_col"> |
|
73 |
<xsl:for-each select="../permission"> |
|
74 |
<div class="permission_element"><xsl:value-of select="."/></div> |
|
75 |
</xsl:for-each> |
|
76 |
</div> |
|
77 |
</xsl:for-each> |
|
78 |
</xsl:when> |
|
79 |
|
|
80 |
<xsl:when test="count(acl/resource/@order[denyFirst]) > 0"> |
|
81 |
<xsl:for-each select="acl/resource/allow/principal"> |
|
82 |
<div class="access_info_text access_order_col">denyFirst</div> |
|
83 |
<div class="access_info_text access_type_col">allow </div> |
|
84 |
<div class="access_info_text principal_col"> |
|
85 |
<xsl:value-of select="."/> |
|
86 |
</div> |
|
87 |
<div class="permissions_col"> |
|
88 |
<xsl:for-each select="../permission"> |
|
89 |
<div class="permission_element"><xsl:value-of select="."/></div> |
|
90 |
</xsl:for-each> |
|
91 |
</div> |
|
92 |
</xsl:for-each> |
|
93 |
<xsl:for-each select="acl/resource/deny/principal"> |
|
94 |
<div class="access_info_text access_order_col">denyFirst</div> |
|
95 |
<div class="access_info_text access_type_col">deny </div> |
|
96 |
<div class="access_info_text principal_col"> |
|
97 |
<xsl:value-of select="."/> |
|
98 |
</div> |
|
99 |
<div class="permissions_col"> |
|
100 |
<xsl:for-each select="../permission"> |
|
101 |
<div class="permission_element"><xsl:value-of select="."/></div> |
|
102 |
</xsl:for-each> |
|
103 |
</div> |
|
104 |
</xsl:for-each> |
|
105 |
</xsl:when> |
|
106 |
</xsl:choose> |
|
107 |
</div><br/> |
|
108 |
<div class="content-subsection"> |
|
109 |
<div class="content-subsection-header-emphasis">Add Access Rule</div> |
|
110 |
<div class="change-access-row"> |
|
111 |
<div class="col_label access_order_col">Access Order</div> |
|
112 |
<div class="col_label access_type_col">Access Type</div> |
|
113 |
<div class="col_label principal_col">Principal</div> |
|
114 |
<div class="col_label permissions_col">Permission</div> |
|
115 |
</div> |
|
116 |
|
|
117 |
<div class="change-access-row"> |
|
118 |
<form name="addAccess" action="{$servletURL}" id="addAccess" onsubmit="setPermission(this)"> |
|
119 |
<input name="action" value="setaccess" type="hidden" /> |
|
120 |
<input name="qformat" value="sanparks" type="hidden" /> |
|
121 |
<input name="forwardto" value="changeAccess.jsp" type="hidden" /> |
|
122 |
<input name="permission" id="permission" type="hidden" /> |
|
123 |
<input name="docid" value="{$docid}" type="hidden" /> |
|
124 |
<input name="workflowid" value="{$docid}" type="hidden" /> |
|
125 |
<input name="workflowname" value="{$workflowname}" type="hidden" /> |
|
126 |
|
|
127 |
<select class="access_order_col" name="permOrder" id="permOrder"> |
|
128 |
<option value="allowFirst">Allow First</option> |
|
129 |
<option value="denyFirst">Deny First</option> |
|
130 |
</select> |
|
131 |
<select class="access_type_col" name="permType" id="permType"> |
|
132 |
<option value="allow">Allow</option> |
|
133 |
<option value="deny">Deny</option> |
|
134 |
</select> |
|
135 |
<input class="principal_col" name="principal" id="principal" type="text" /> |
|
136 |
<div class="permissions_col"> |
|
137 |
<input type="checkbox" name="permission_read_checkbox" id="permission_read_checkbox">Read</input> |
|
138 |
<input type="checkbox" name="permission_write_checkbox" id="permission_write_checkbox">Write</input> |
|
139 |
<input type="checkbox" name="permission_chmod_checkbox" id="permission_chmod_checkbox">Chmod</input> |
|
140 |
<input type="checkbox" name="permission_all_checkbox" id="permission_all_checkbox">All</input> |
|
141 |
</div> |
|
142 |
|
|
143 |
<br/> |
|
144 |
<input class="access-submit-button" value="Add" type="submit"/> |
|
145 |
|
|
146 |
</form> |
|
147 |
</div> |
|
148 |
</div> |
|
149 |
|
|
150 |
</xsl:template> |
|
151 |
|
|
152 |
</xsl:stylesheet> |
|
153 | 0 |
lib/style/skins/sanparks/workflowAccess.jsp | ||
---|---|---|
1 |
<%@ page language="java" %> |
|
2 |
|
|
3 |
<% |
|
4 |
/* |
|
5 |
* '$RCSfile$' |
|
6 |
* Copyright: 2009 Regents of the University of California and the |
|
7 |
* National Center for Ecological Analysis and Synthesis |
|
8 |
* |
|
9 |
* '$Author: daigle $' |
|
10 |
* '$Date: 2008-07-06 21:25:34 -0700 (Sun, 06 Jul 2008) $' |
|
11 |
* '$Revision: 4080 $' |
|
12 |
* |
|
13 |
* This program is free software; you can redistribute it and/or modify |
|
14 |
* it under the terms of the GNU General Public License as published by |
|
15 |
* the Free Software Foundation; either version 2 of the License, or |
|
16 |
* (at your option) any later version. |
|
17 |
* |
|
18 |
* This program is distributed in the hope that it will be useful, |
|
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
* GNU General Public License for more details. |
|
22 |
* |
|
23 |
* You should have received a copy of the GNU General Public License |
|
24 |
* along with this program; if not, write to the Free Software |
|
25 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
26 |
*/ |
|
27 |
|
|
28 |
%> |
|
29 |
<%@ include file="settings.jsp"%> |
|
30 |
|
|
31 |
<html> |
|
32 |
<head> |
|
33 |
<title>Sanparks TPC Report Search</title> |
|
34 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/sanparks.css"/> |
|
35 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/sanparks-scheduled-jobs.css"/> |
|
36 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/header2.css"/> |
|
37 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/left-nav2.css"/> |
|
38 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/footer2.css"/> |
|
39 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_SKINS_URL%>/sanparks/sanparks.js"></script> |
|
40 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/branding.js"></script> |
|
41 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/prototype-1.5.1.1/prototype.js"></script> |
|
42 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/ajax-utils.js"></script> |
|
43 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_SKINS_URL%>/sanparks/workflowAccess.js"></script> |
|
44 |
</head> |
|
45 |
<body class="main-section" onload="getAccessSection('<%=SERVLET_URL%>','<%=request.getParameter("workflowid")%>','<%=request.getParameter("workflowname")%>','access-info-content')"> |
|
46 |
<jsp:include page="header2.jsp"/> |
|
47 |
|
|
48 |
<!-- Main content --> |
|
49 |
<jsp:include page="left-nav2.jsp"/> |
|
50 |
<div class="content-section"> |
|
51 |
<div class="content-subsection" id="access-info-section"> |
|
52 |
<div class="content-subsection-header">Workflow Summary</div> |
|
53 |
<div class="form-input-row" id="form-base-row"> |
|
54 |
<div class="summary-field" id='workflow-name-label' >Name: </div> |
|
55 |
<div class="summary-value" id='workflow-name-value' ><%=request.getParameter("workflowname")%></div> |
|
56 |
<br/> |
|
57 |
<div class="summary-field" id='workflow-lsid-label' >LSID: </div> |
|
58 |
<div class="summary-value" id='workflow-lsid-value' ><%=request.getParameter("workflowid")%></div> |
|
59 |
</div> |
|
60 |
</div> |
|
61 |
|
|
62 |
<div class="access-info-content" id="access-info-content"></div> |
|
63 |
</div> |
|
64 |
|
|
65 |
<!-- Footer Content --> |
|
66 |
<jsp:include page="footer2.jsp" /> |
|
67 |
</body> |
|
68 |
</html> |
|
0 | 69 |
lib/style/skins/sanparks/workflowAccess.xsl | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<!-- |
|
3 |
* '$RCSfile$' |
|
4 |
* Authors: Michael Daigle |
|
5 |
* Copyright: 2009 Regents of the University of California and the |
|
6 |
* National Center for Ecological Analysis and Synthesis |
|
7 |
* For Details: http://www.nceas.ucsb.edu/ |
|
8 |
* |
|
9 |
* '$Author: leinfelder $' |
|
10 |
* '$Date: 2009-04-02 14:20:05 -0800 (Thu, 02 Apr 2009) $' |
|
11 |
* '$Revision: 4893 $' |
|
12 |
* |
|
13 |
* This program is free software; you can redistribute it and/or modify |
|
14 |
* it under the terms of the GNU General Public License as published by |
|
15 |
* the Free Software Foundation; either version 2 of the License, or |
|
16 |
* (at your option) any later version. |
|
17 |
* |
|
18 |
* This program is distributed in the hope that it will be useful, |
|
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
* GNU General Public License for more details. |
|
22 |
* |
|
23 |
* You should have received a copy of the GNU General Public License |
|
24 |
* along with this program; if not, write to the Free Software |
|
25 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
26 |
* |
|
27 |
* This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to |
|
28 |
* convert an XML file showing the resultset of a query |
|
29 |
* into an HTML format suitable for rendering with modern web browsers. |
|
30 |
--> |
|
31 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
|
32 |
|
|
33 |
<xsl:output method="html" /> |
|
34 |
<xsl:param name="sessid" /> |
|
35 |
<xsl:param name="qformat">default</xsl:param> |
|
36 |
<xsl:param name="enableediting">false</xsl:param> |
|
37 |
<xsl:param name="contextURL" /> |
|
38 |
<xsl:param name="servletURL" /> |
|
39 |
<xsl:param name="workflowname" /> |
|
40 |
<xsl:param name="docid" /> |
|
41 |
|
|
42 |
<xsl:template match="/"> |
|
43 |
|
|
44 |
<div class="content-subsection"> |
|
45 |
<div class="content-subsection-header">Access Rules</div> |
|
46 |
<div class="row row-header" > |
|
47 |
<div class="col access_order_col">Access Order</div> |
|
48 |
<div class="col access_type_col">Access Type</div> |
|
49 |
<div class="col principal_col">Principal</div> |
|
50 |
<div class="col permissions_col">Permission</div> |
|
51 |
</div> |
|
52 |
<xsl:choose> |
|
53 |
<xsl:when test="acl/resource/@order = 'allowFirst'"> |
|
54 |
<xsl:for-each select="acl/resource/*/principal"> |
|
55 |
<div> |
|
56 |
<xsl:attribute name="class"> |
|
57 |
<xsl:choose> |
|
58 |
<xsl:when test="position() mod 2 = 1">row row-odd</xsl:when> |
|
59 |
<xsl:when test="position() mod 2 = 0">row row-even</xsl:when> |
|
60 |
</xsl:choose> |
|
61 |
</xsl:attribute> |
|
62 |
<div class="col access_order_col">allowFirst</div> |
|
63 |
<div class="col access_type_col"> |
|
64 |
<xsl:value-of select="local-name(../)" /> |
|
65 |
</div> |
|
66 |
<div class="col principal_col"> |
|
67 |
<xsl:value-of select="."/> |
|
68 |
</div> |
|
69 |
<div class="col permissions_col"> |
|
70 |
<xsl:for-each select="../permission"> |
|
71 |
<div class="permission_element"> |
|
72 |
<xsl:if test=". != 'all'"> |
|
73 |
<xsl:value-of select="."/> |
|
74 |
</xsl:if> |
|
75 |
</div> |
|
76 |
</xsl:for-each> |
|
77 |
</div> |
|
78 |
</div> |
|
79 |
</xsl:for-each> |
|
80 |
</xsl:when> |
|
81 |
|
|
82 |
<xsl:when test="acl/resource/@order = 'denyFirst'"> |
|
83 |
<xsl:for-each select="acl/resource/*/principal"> |
|
84 |
<div> |
|
85 |
<xsl:attribute name="class"> |
|
86 |
<xsl:choose> |
|
87 |
<xsl:when test="position() mod 2 = 1">row row-odd</xsl:when> |
|
88 |
<xsl:when test="position() mod 2 = 0">row row-even</xsl:when> |
|
89 |
</xsl:choose> |
|
90 |
</xsl:attribute> |
|
91 |
<div class="col access_order_col">denyFirst</div> |
|
92 |
<div class="col access_type_col"> |
|
93 |
<xsl:value-of select="local-name(../)" /> |
|
94 |
</div> |
|
95 |
<div class="col principal_col"> |
|
96 |
<xsl:value-of select="."/> |
|
97 |
</div> |
|
98 |
<div class="col permissions_col"> |
|
99 |
<xsl:for-each select="../permission"> |
|
100 |
<div class="permission_element"> |
|
101 |
<xsl:if test=". != 'all'"> |
|
102 |
<xsl:value-of select="."/> |
|
103 |
</xsl:if> |
|
104 |
</div> |
|
105 |
</xsl:for-each> |
|
106 |
</div> |
|
107 |
</div> |
|
108 |
</xsl:for-each> |
|
109 |
</xsl:when> |
|
110 |
</xsl:choose> |
|
111 |
</div><br/> |
|
112 |
<div class="content-subsection"> |
|
113 |
<div class="content-subsection-header">Add Access Rule</div> |
|
114 |
<div class="change-access-row"> |
|
115 |
<div class="col_label change_access_order_col">Access Order</div> |
|
116 |
<div class="col_label change_access_type_col">Access Type</div> |
|
117 |
<div class="col_label change_principal_col">Principal</div> |
|
118 |
<div class="col_label change_permissions_col">Permission</div> |
|
119 |
</div> |
|
120 |
|
|
121 |
<div class="change-access-row"> |
|
122 |
<form name="addAccess" action="{$servletURL}" id="addAccess" onsubmit="setPermission(this)"> |
|
123 |
<input name="action" value="setaccess" type="hidden" /> |
|
124 |
<input name="qformat" value="sanparks" type="hidden" /> |
|
125 |
<input name="forwardto" value="workflowAccess.jsp" type="hidden" /> |
|
126 |
<input name="permission" id="permission" type="hidden" /> |
|
127 |
<input name="docid" value="{$docid}" type="hidden" /> |
|
128 |
<input name="workflowid" value="{$docid}" type="hidden" /> |
|
129 |
<input name="workflowname" value="{$workflowname}" type="hidden" /> |
|
130 |
|
|
131 |
<xsl:choose> |
|
132 |
<xsl:when test="acl/resource/@order = 'allowFirst'"> |
|
133 |
<input name="permOrder" value="allowFirst" type="hidden" /> |
|
134 |
<div class="change_access_order_col access_info_text" name="permOrder" id="permOrder">allowFirst</div> |
|
135 |
</xsl:when> |
|
136 |
<xsl:when test="acl/resource/@order = 'denyFirst'"> |
|
137 |
<input name="permOrder" value="denyFirst" type="hidden" /> |
|
138 |
<div class="change_access_order_col access_info_text" name="permOrder" id="permOrder">denyFirst</div> |
|
139 |
</xsl:when> |
|
140 |
<xsl:otherwise> |
|
141 |
<select class="change_access_order_col" name="permOrder" id="permOrder"> |
|
142 |
<option value="allowFirst">Allow First</option> |
|
143 |
<option value="denyFirst">Deny First</option> |
|
144 |
</select> |
|
145 |
</xsl:otherwise> |
|
146 |
</xsl:choose> |
|
147 |
<select class="change_access_type_col" name="permType" id="permType"> |
|
148 |
<option value="allow">Allow</option> |
|
149 |
<option value="deny">Deny</option> |
|
150 |
</select> |
|
151 |
<input class="change_principal_col" name="principal" id="principal" type="text" /> |
|
152 |
<div class="change_permissions_col"> |
|
153 |
<input type="checkbox" name="permission_read_checkbox" id="permission_read_checkbox">Read</input> |
|
154 |
<input type="checkbox" name="permission_write_checkbox" id="permission_write_checkbox">Write</input> |
|
155 |
<input type="checkbox" name="permission_chmod_checkbox" id="permission_chmod_checkbox">Chmod</input> |
|
156 |
<!-- input type="checkbox" name="permission_all_checkbox" id="permission_all_checkbox">All</input --> |
|
157 |
</div> |
|
158 |
|
|
159 |
<br/> |
|
160 |
<input class="access-submit-button" value="Add" type="submit"/> |
|
161 |
|
|
162 |
</form> |
|
163 |
</div> |
|
164 |
</div> |
|
165 |
|
|
166 |
</xsl:template> |
|
167 |
|
|
168 |
</xsl:stylesheet> |
|
0 | 169 |
lib/style/skins/sanparks/sanparks-scheduled-jobs.css | ||
---|---|---|
50 | 50 |
.content-subsection-header { |
51 | 51 |
margin: 10px 0px 5px 0px; |
52 | 52 |
padding: 0px 0px 0px 0px; |
53 |
color: #7BB865;
|
|
53 |
color: #255333;
|
|
54 | 54 |
font-size: 16px; |
55 |
font-weight: bold; |
|
55 | 56 |
} |
56 | 57 |
|
57 | 58 |
.from-date-section { |
lib/style/skins/sanparks/workflowAccess.js | ||
---|---|---|
1 |
/* |
|
2 |
* '$RCSfile$' |
|
3 |
* Purpose: Basic funtions to support showing the schedule workflows |
|
4 |
* pages |
|
5 |
* Copyright: 2009 Regents of the University of California and the |
|
6 |
* National Center for Ecological Analysis and Synthesis |
|
7 |
* Authors: Michael Daigle |
|
8 |
* |
|
9 |
* '$Author: leinfelder $' |
|
10 |
* '$Date: 2008-06-17 13:16:32 -0700 (Tue, 17 Jun 2008) $' |
|
11 |
* '$Revision: 4006 $' |
|
12 |
* |
|
13 |
* This program is free software; you can redistribute it and/or modify |
|
14 |
* it under the terms of the GNU General Public License as published by |
|
15 |
* the Free Software Foundation; either version 2 of the License, or |
|
16 |
* (at your option) any later version. |
|
17 |
* |
|
18 |
* This program is distributed in the hope that it will be useful, |
|
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
* GNU General Public License for more details. |
|
22 |
* |
|
23 |
* You should have received a copy of the GNU General Public License |
|
24 |
* along with this program; if not, write to the Free Software |
|
25 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
26 |
*/ |
|
27 |
|
|
28 |
/* puts together the url to get the workflow section of a page given the workflow |
|
29 |
* id. |
|
30 |
* Params: |
|
31 |
* url - metacat url to hit |
|
32 |
* workflowId - get all runs for this id |
|
33 |
* workflowName - used for display purposes. |
|
34 |
* divId - the name of the div where the results should be put |
|
35 |
*/ |
|
36 |
function getAccessSection(url, workflowId, workflowname, divId) { |
|
37 |
var requestUrl = url + '?action=getaccesscontrol&docid=' + workflowId + |
|
38 |
"&workflowname=" + workflowname + '&qformat=sanparks'; |
|
39 |
//alert('getAccessSection - url: ' + requestUrl); |
|
40 |
var submitResults = submitUrlIntoDiv(requestUrl, divId); |
|
41 |
} |
|
42 |
|
|
43 |
function setPermission(formObj) { |
|
44 |
|
|
45 |
//alert("principal: " + formObj.principal.value); |
|
46 |
if ( formObj.principal.value == null || formObj.principal.value == "") { |
|
47 |
alert("you must provide a pricipal"); |
|
48 |
return; |
|
49 |
} |
|
50 |
|
|
51 |
var permission = ""; |
|
52 |
if (formObj.permission_read_checkbox.checked) { |
|
53 |
permission += "READ"; |
|
54 |
} |
|
55 |
if (formObj.permission_write_checkbox.checked) { |
|
56 |
if (permission.length > 0) { |
|
57 |
permission += "|"; |
|
58 |
} |
|
59 |
permission += "WRITE"; |
|
60 |
} |
|
61 |
if (formObj.permission_chmod_checkbox.checked) { |
|
62 |
if (permission.length > 0) { |
|
63 |
permission += "|"; |
|
64 |
} |
|
65 |
permission += "CHANGEPERMISSION"; |
|
66 |
} |
|
67 |
// if (formObj.permission_all_checkbox.checked) { |
|
68 |
// if (permission.length > 0) { |
|
69 |
// permission += "|"; |
|
70 |
// } |
|
71 |
// permission += "ALL"; |
|
72 |
// } |
|
73 |
//alert("permission: " + permission); |
|
74 |
formObj.permission.value = permission; |
|
75 |
|
|
76 |
if (permission == "") { |
|
77 |
alert("You must choose a permission value"); |
|
78 |
return; |
|
79 |
} |
|
80 |
} |
|
81 |
|
|
82 |
function doNothing() { |
|
83 |
} |
|
84 |
|
|
85 |
|
|
0 | 86 |
lib/style/skins/sanparks/sanparks.css | ||
---|---|---|
905 | 905 |
} |
906 | 906 |
|
907 | 907 |
.access_order_col { |
908 |
width: 90px; |
|
908 |
width: 95px; |
|
909 |
// margin-left: 10px; |
|
910 |
// display: inline; |
|
911 |
// float: left; |
|
912 |
} |
|
913 |
.access_type_col { |
|
914 |
width: 85px; |
|
915 |
// margin-left: 10px; |
|
916 |
// display: inline; |
|
917 |
// float: left; |
|
918 |
} |
|
919 |
|
|
920 |
.principal_col { |
|
921 |
width: 400px; |
|
922 |
// margin-left: 10px; |
|
923 |
// display: inline; |
|
924 |
// float: left; |
|
925 |
} |
|
926 |
|
|
927 |
.permissions_col { |
|
928 |
width: 234px; |
|
929 |
// margin-left: 10px; |
|
930 |
// display: inline; |
|
931 |
} |
|
932 |
|
|
933 |
.permission_element { |
|
934 |
display: inline; |
|
935 |
font-size: 14px; |
|
936 |
} |
|
937 |
|
|
938 |
.change_access_order_col { |
|
939 |
width: 95px; |
|
909 | 940 |
margin-left: 10px; |
910 | 941 |
display: inline; |
911 | 942 |
float: left; |
912 | 943 |
} |
913 |
.access_type_col { |
|
944 |
|
|
945 |
.change_access_type_col { |
|
914 | 946 |
width: 85px; |
915 | 947 |
margin-left: 10px; |
916 | 948 |
display: inline; |
917 | 949 |
float: left; |
918 | 950 |
} |
919 | 951 |
|
920 |
.principal_col { |
|
952 |
.change_principal_col {
|
|
921 | 953 |
width: 400px; |
922 | 954 |
margin-left: 10px; |
923 | 955 |
display: inline; |
924 | 956 |
float: left; |
925 | 957 |
} |
926 | 958 |
|
927 |
.permissions_col { |
|
928 |
width: 100px;
|
|
959 |
.change_permissions_col {
|
|
960 |
width: 234px;
|
|
929 | 961 |
margin-left: 10px; |
930 | 962 |
display: inline; |
931 | 963 |
} |
932 | 964 |
|
933 |
.permission_element { |
|
934 |
display: inline; |
|
935 |
font-size: 14px; |
|
936 |
} |
|
937 |
|
|
938 | 965 |
.access-submit-button { |
939 | 966 |
margin: 20px 0px 10px 300px; |
940 | 967 |
width: 150px; |
lib/style/skins/sanparks/sanparks.xml | ||
---|---|---|
25 | 25 |
<target publicid="-//W3C//HTML//EN">/style/skins/sanparks/knp-login.xsl</target> |
26 | 26 |
</doctype> |
27 | 27 |
<doctype publicid="-//NCEAS//getaccesscontrol//EN"> |
28 |
<target publicid="-//W3C//HTML//EN">/style/common/accessInfo.xsl</target>
|
|
28 |
<target publicid="-//W3C//HTML//EN">/style/skins/sanparks/workflowAccess.xsl</target>
|
|
29 | 29 |
</doctype> |
30 |
<doctype publicid="-//NCEAS//getaccesscontrol//EN"> |
|
31 |
<target publicid="-//W3C//HTML//EN">/style/common/accessInfo.xsl</target> |
|
32 |
</doctype> |
|
33 | 30 |
|
34 | 31 |
<!-- |
35 | 32 |
ARE THESE STILL NEEDED???????????? |
lib/style/skins/sanparks/scheduleWorkflowRun.jsp | ||
---|---|---|
1 | 1 |
<%@ page language="java" %> |
2 | 2 |
<%@ page import="java.util.TimeZone" %> |
3 |
<%@ page import="edu.ucsb.nceas.metacat.AccessControlInterface" %> |
|
3 |
<%@ page import="edu.ucsb.nceas.metacat.accesscontrol.AccessControlInterface" %>
|
|
4 | 4 |
<%@ page import="edu.ucsb.nceas.metacat.PermissionController" %> |
5 | 5 |
<%@ page import="edu.ucsb.nceas.utilities.LSIDUtil" %> |
6 | 6 |
<% |
... | ... | |
68 | 68 |
<% |
69 | 69 |
} |
70 | 70 |
%> |
71 |
<div class="content-subsection-header-emphasis">Workflow Summary</div>
|
|
71 |
<div class="content-subsection-header">Workflow Summary</div> |
|
72 | 72 |
<div class="form-input-row" id="form-base-row"> |
73 | 73 |
<div class="summary-field" id='workflow-name-label' >Name: </div> |
74 | 74 |
<% |
... | ... | |
84 | 84 |
if (request.getParameter("workflowid") != null) { |
85 | 85 |
%> |
86 | 86 |
<div class="summary-value" id='workflow-lsid-value' ><%=request.getParameter("workflowid")%></div> |
87 |
(<jsp:text><![CDATA[<a href=./changeAccess.jsp?workflowid=]]></jsp:text><jsp:expression>request.getParameter("workflowid")</jsp:expression><jsp:text><![CDATA[&workflowname=]]></jsp:text><jsp:expression>request.getParameter("workflowname")</jsp:expression><jsp:text><![CDATA[>Change Access Permissions</a>]]></jsp:text>) |
|
87 |
<% |
|
88 |
if (hasSchedulePermissions) { |
|
89 |
%> |
|
90 |
(<jsp:text><![CDATA[<a href=./workflowAccess.jsp?workflowid=]]></jsp:text><jsp:expression>request.getParameter("workflowid")</jsp:expression><jsp:text><![CDATA[&workflowname=]]></jsp:text><jsp:expression>request.getParameter("workflowname")</jsp:expression><jsp:text><![CDATA[>Change Access Permissions</a>]]></jsp:text>) |
|
88 | 91 |
|
89 | 92 |
<% |
93 |
} |
|
90 | 94 |
} |
91 | 95 |
%> |
92 | 96 |
</div> |
93 | 97 |
</div> |
94 | 98 |
<div class="content-subsection" id="schedule-section"> |
95 |
<div class="result-header-emphasis">Schedule Workflow </div>
|
|
99 |
<div class="content-subsection-header">Schedule Workflow </div>
|
|
96 | 100 |
<form action="<%=SERVLET_URL%>" name="workflowScheduler" id="workflowScheduler"> |
97 | 101 |
<input name="qformat" value="sanparks" type="hidden" /> |
98 | 102 |
<input name="action" value="scheduleWorkflow" type="hidden" /> |
... | ... | |
147 | 151 |
</form> |
148 | 152 |
</div> |
149 | 153 |
<div class="content-subsection" id="workflow-run-section"> |
150 |
<div class="result-header-emphasis">Workflow Run Schedule</div>
|
|
154 |
<div class="content-subsection-header">Workflow Run Schedule</div>
|
|
151 | 155 |
<div class="workflow-run-content" id="workflow-run-content"></div> |
152 | 156 |
</div> |
153 | 157 |
</div> |
lib/style/common/eml_xsl.css | ||
---|---|---|
1 |
/* |
|
2 |
* '$RCSfile: default.css,v $' |
|
3 |
* Purpose: Default style sheet for KNB project web pages |
|
4 |
* Using this stylesheet rather than placing styles directly in |
|
5 |
* the KNB web documents allows us to globally change the |
|
6 |
* formatting styles of the entire site in one easy place. |
|
7 |
* Copyright: 2000 Regents of the University of California and the |
|
8 |
* National Center for Ecological Analysis and Synthesis |
|
9 |
* Authors: Matt Jones |
|
10 |
* |
|
11 |
* '$Author: jones $' |
|
12 |
* '$Date: 2009/03/05 18:56:15 $' |
|
13 |
* '$Revision: 1.32 $' |
|
14 |
* |
|
15 |
* This program is free software; you can redistribute it and/or modify |
|
16 |
* it under the terms of the GNU General Public License as published by |
|
17 |
* the Free Software Foundation; either version 2 of the License, or |
|
18 |
* (at your option) any later version. |
|
19 |
* |
|
20 |
* This program is distributed in the hope that it will be useful, |
|
21 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
22 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
23 |
* GNU General Public License for more details. |
|
24 |
* |
|
25 |
* You should have received a copy of the GNU General Public License |
|
26 |
* along with this program; if not, write to the Free Software |
|
27 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
28 |
*/ |
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
/******************************************************************************/ |
|
33 |
/******************************************************************************/ |
|
34 |
/** COMMON : USED BY EML STYLESHEETS AND OTHER PAGES **/ |
|
35 |
/******************************************************************************/ |
|
36 |
/******************************************************************************/ |
|
37 |
|
|
38 |
/*** styles that override html tags ***/ |
|
39 |
|
|
40 |
body { |
|
41 |
padding: 0px; |
|
42 |
margin: 10px; |
|
43 |
color: #333333; |
|
44 |
background-color: #ffffff; |
|
45 |
font-weight: normal; |
|
46 |
font-size: 12px; |
|
47 |
font-family: Verdana,Arial,Helvetica,sans-serif; |
|
48 |
} |
|
49 |
|
|
50 |
a { |
|
51 |
color: #669933; |
|
52 |
font-weight: bold; |
|
53 |
font-size: 12px; |
|
54 |
text-decoration: none; |
|
55 |
text-align: left; |
|
56 |
} |
|
57 |
|
|
58 |
a:hover { |
|
59 |
color: #ff9933; |
|
60 |
text-decoration: underline; |
|
61 |
} |
|
62 |
|
|
63 |
h1 { |
|
64 |
font-size: 24px; |
|
65 |
font-family: Georgia, Times New Roman, Times, serif; |
|
66 |
text-align: center; |
|
67 |
} |
|
68 |
|
|
69 |
h2 { |
|
70 |
font-size: 20px; |
|
71 |
font-family: Georgia, Times New Roman, Times, serif; |
|
72 |
} |
|
73 |
|
|
74 |
h3 { |
|
75 |
font-size: 16px; |
|
76 |
font-family: Georgia, Times New Roman, Times, serif; |
|
77 |
text-align: center; |
|
78 |
} |
|
79 |
|
|
80 |
td { |
|
81 |
font-size: 12px; |
|
82 |
line-height: 1.5; |
|
83 |
} |
|
84 |
|
|
85 |
p { |
|
86 |
margin: 5px; |
|
87 |
} |
|
88 |
|
|
89 |
p + p { |
|
90 |
margin: 5px; |
|
91 |
text-indent: 2em; |
|
92 |
} |
|
93 |
|
|
94 |
p.label { |
|
95 |
color: #333333; |
|
96 |
font-weight: bold; |
|
97 |
} |
|
98 |
|
|
99 |
p.contact { |
|
100 |
color: #333333; |
|
101 |
padding: 1em; |
|
102 |
font-size: 0.75em; |
|
103 |
font-weight: normal; |
|
104 |
font-style: italic; |
|
105 |
} |
|
106 |
|
|
107 |
|
|
108 |
/*** custom styles ***/ |
|
109 |
|
|
110 |
#mainTableAligmentStyle { |
|
111 |
width: 100%; |
|
112 |
} |
|
113 |
|
|
114 |
.mainContainerTableStyle { |
|
115 |
width: 100%; |
|
116 |
} |
|
117 |
|
|
118 |
.title { |
|
119 |
font-family: Georgia, Times New Roman, Times, serif; |
|
120 |
color: #0247A8; |
|
121 |
font-size: 24px; |
|
122 |
font-weight: bold; |
|
123 |
} |
|
124 |
|
|
125 |
.subtitle { |
|
126 |
font-family: Verdana,Arial,Helvetica,sans-serif; |
|
127 |
font-size: 12px; |
|
128 |
font-weight: bold; |
|
129 |
color: #666666; |
|
130 |
margin-left: 3em; |
|
131 |
margin-top: 0.5em; |
|
132 |
margin-bottom: 2em; |
|
133 |
font-weight: normal; |
|
134 |
} |
|
135 |
|
|
136 |
.sectiontitle { |
|
137 |
font-family: Verdana,Arial,Helvetica,sans-serif; |
|
138 |
font-size: 12px; |
|
139 |
font-weight: bold; |
|
140 |
color: #666666; |
|
141 |
margin-top: 1em; |
|
142 |
margin-bottom: 0.25em; |
|
143 |
} |
|
144 |
|
|
145 |
.tabledefault { |
|
146 |
background: white; |
|
147 |
color: #555555; |
|
148 |
width: 100%; |
|
149 |
font-size: 12px; |
|
150 |
line-height: 1.2; |
|
151 |
left-padding: 5px; |
|
152 |
right-padding: 5px; |
|
153 |
} |
|
154 |
|
|
155 |
.tablehead { |
|
156 |
background-color: #B3D4FF; |
|
157 |
color: #0040A1; |
|
158 |
font-size: 14px; |
|
159 |
font-weight: bold; |
|
160 |
border-top: solid #ffffff 5px; |
|
161 |
border-bottom: solid #ffffff 2px; |
|
162 |
padding-left: 15%; |
|
163 |
padding-top: 0px; |
|
164 |
padding-bottom: 0px; |
|
165 |
} |
|
166 |
|
|
167 |
.roweven { |
|
168 |
background: white; |
|
169 |
} |
|
170 |
|
|
171 |
.rowodd { |
|
172 |
background: white; |
|
173 |
} |
|
174 |
|
|
175 |
.emphasis { |
|
176 |
color: red; |
|
177 |
} |
|
178 |
|
|
179 |
|
|
180 |
/******************************************************************************/ |
|
181 |
/******************************************************************************/ |
|
182 |
/** USED BY EML STYLESHEETS ONLY - NO OTHERS **/ |
|
183 |
/******************************************************************************/ |
|
184 |
/******************************************************************************/ |
|
185 |
|
|
186 |
.mainContainerTable { |
|
187 |
width: 750px; |
|
188 |
background-color: #ffffff; |
|
189 |
font-size: 12px; |
|
190 |
} |
|
191 |
|
|
192 |
.linkedHeaderStyle { |
|
193 |
background: #B2D2FE; |
|
194 |
border-top: solid #ffffff 5px; |
|
195 |
padding-left: 15%; |
|
196 |
text-align: left; |
|
197 |
font-weight: bold; |
|
198 |
} |
|
199 |
|
|
200 |
.highlight { |
|
201 |
background-color: #dddddd; |
|
202 |
font-size: 12px; |
|
203 |
border: solid #ffffff 1px; |
|
204 |
padding-right: 4px; |
|
205 |
text-align: right; |
|
206 |
|
|
207 |
} |
|
208 |
|
|
209 |
.highlightAttrib { |
|
210 |
background-color: #ffffff; |
|
211 |
font-size: 12px; |
|
212 |
text-align: center; |
|
213 |
border-bottom: solid #cccccc 2px; |
|
214 |
padding-left: 4px; |
|
215 |
|
|
216 |
} |
|
217 |
|
|
218 |
.searchresultsdivider { |
|
219 |
background-color: #dddddd; |
|
220 |
} |
|
221 |
|
|
222 |
|
|
223 |
.citation { |
|
224 |
color: black; |
|
225 |
background-color: #FFFFFF; |
|
226 |
font-size: 1.2em; |
|
227 |
padding-left: 10px; |
|
228 |
} |
|
229 |
|
|
230 |
.lsid { |
|
231 |
text-decoration: underline; |
|
232 |
} |
|
233 |
|
|
234 |
.secondCol { |
|
235 |
background-color: #ffffff; |
|
236 |
font-size: 12px; |
|
237 |
padding-left: 2px; |
|
238 |
padding-right: 2px; |
|
239 |
|
|
240 |
} |
|
241 |
|
|
242 |
.bordered { |
|
243 |
background-color: #ffffff; |
|
244 |
font-size: 12px; |
|
245 |
text-align: left; |
|
246 |
padding: 5px; |
|
247 |
border-bottom: solid #dddddd 1px; |
|
248 |
width: 350px; |
|
249 |
} |
|
250 |
|
|
251 |
.coleven { |
|
252 |
background-color: #ffffff; |
|
253 |
font-size: 12px; |
|
254 |
padding: 5px; |
|
255 |
text-align: left; |
|
256 |
border-bottom: solid #dddddd 1px; |
|
257 |
} |
|
258 |
|
|
259 |
.colodd { |
|
260 |
background-color: #ffffff; |
|
261 |
font-size: 12px; |
|
262 |
padding: 5px; |
|
263 |
text-align: left; |
|
264 |
border-bottom: solid #dddddd 1px; |
|
265 |
} |
|
266 |
.emptycolumn { |
|
267 |
width: 1px; |
|
268 |
border: 1px solid #ffffff; |
|
269 |
} |
|
270 |
|
|
271 |
.innercolodd { |
|
272 |
font-size: 10px; |
|
273 |
padding-left: 2px; |
|
274 |
padding-right: 2px; |
|
275 |
text-align: left; |
|
276 |
} |
|
277 |
|
|
278 |
.innercoleven { |
|
279 |
font-size: 10px; |
|
280 |
padding-left: 2px; |
|
281 |
padding-right: 2px; |
|
282 |
text-align: left; |
|
283 |
} |
|
284 |
|
|
285 |
|
|
286 |
/******************************************************************************/ |
|
287 |
/******************************************************************************/ |
|
288 |
/** USED BY OTHER PAGES ONLY - NOT EML STYLESHEETS **/ |
|
289 |
/******************************************************************************/ |
|
290 |
/******************************************************************************/ |
|
291 |
|
|
292 |
|
|
293 |
.tablepanel { |
|
294 |
background: #ffffff; |
|
295 |
color: #555555; |
|
296 |
font-size: 12px; |
|
297 |
left-padding: 5px; |
|
298 |
right-padding: 5px; |
|
299 |
} |
|
300 |
|
|
301 |
.tablehead2 { |
|
302 |
background: white; |
|
303 |
vertical-align: bottom; |
|
304 |
color: black; |
|
305 |
font-size: 1em; |
|
306 |
font-weight: bold; |
|
307 |
} |
|
308 |
|
|
309 |
.plaintext { |
|
310 |
color: #555555; |
|
311 |
font-weight: normal; |
|
312 |
font-size: 12px; |
|
313 |
} |
|
314 |
|
|
315 |
.boldtext { |
|
316 |
color: #333333; |
|
317 |
font-weight: bold; |
|
318 |
font-size: 12px; |
|
319 |
} |
|
320 |
|
|
321 |
.rowevenemphasis { |
|
322 |
background: #9ab3de; |
|
323 |
font-weight: bold; |
|
324 |
} |
|
325 |
|
|
326 |
.rowoddemphasis { |
|
327 |
background: #cccccc; |
|
328 |
font-weight: bold; |
|
329 |
} |
|
330 |
|
Also available in: Unified diff
Create workflow access pages