Subversion Repositories DevTools

Rev

Rev 3931 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3931 Rev 3932
Line 31... Line 31...
31
'------------ Constants Declaration -----------
31
'------------ Constants Declaration -----------
32
'------------ Variable Init -------------------
32
'------------ Variable Init -------------------
33
parProj = QStrPar("proj_id")
33
parProj = QStrPar("proj_id")
34
 
34
 
35
'----------------------------------------------
35
'----------------------------------------------
36
 
-
 
-
 
36
' Create a chkbox and set its state
37
Function chkbox( value )
37
Function chkbox( value )
38
    chkbox = "<input type='checkbox' disabled"
38
    chkbox = "<input type='checkbox' disabled"
39
    If value Then chkbox = chkbox & " checked=yes"
39
    If value Then chkbox = chkbox & " checked=yes"
40
    chkbox = chkbox & "/>"
40
    chkbox = chkbox & "/>"
41
End Function
41
End Function
42
 
-
 
43
'----------------------------------------------
-
 
44
' Display the text (HTML allowed) as a tooltip
-
 
45
Function ToolTip(text)
-
 
46
    ToolTip = "<a href='#' class='tooltip'><img src='images/i_help.gif' style='height:12px;width:12px;border-width:0;'><span><i></i>"
-
 
47
    ToolTip = ToolTip & text
-
 
48
    ToolTip = ToolTip & "</span></a>"
-
 
49
End Function
-
 
50
 
-
 
51
%>
42
%>
52
<html>
43
<html>
53
<head>
44
<head>
54
<title>Release Manager</title>
45
<title>Release Manager</title>
55
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
46
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
56
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
47
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
57
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
48
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
58
<link rel="stylesheet" href="images/navigation.css" type="text/css">
49
<link rel="stylesheet" href="images/navigation.css" type="text/css">
59
<script language="JavaScript" src="images/common.js"></script>
50
<script language="JavaScript" src="images/common.js"></script>
-
 
51
<!-- TIPS -->
-
 
52
<script language="JavaScript" src="images/tipster.js"></script>
-
 
53
<script language="JavaScript" src="images/_help_tips.js"></script>
-
 
54
<!-- Local Java Script -->
60
<script language="JavaScript">
55
<script language="JavaScript">
61
// Refresh this page with the specified project
56
// Refresh this page with the specified project
62
function updatePage(proj_id){
57
function updatePage(proj_id){
63
    window.location.replace("members_my_access_details.asp?proj_id=" + proj_id);
58
    window.location.replace("members_my_access_details.asp?proj_id=" + proj_id);
64
}
59
}
65
</script>
60
</script>
66
<style type="text/css">
-
 
67
    /* a.tooltip {outline:none;text-decoration:none;border-bottom:dotted 1px blue;}*/
-
 
68
    a.tooltip strong {line-height:30px;}
-
 
69
    a.tooltip > span 
-
 
70
    {
-
 
71
	    width:200px;
-
 
72
	    padding: 10px 20px;
-
 
73
	    margin-top: 20px;
-
 
74
	    margin-left: -85px;
-
 
75
	    opacity: 0;
-
 
76
	    visibility: hidden;
-
 
77
	    z-index: 10;	   
-
 
78
	    position: absolute;
-
 
79
 
-
 
80
        font-family:tahoma,sans-serif;
-
 
81
        font-size:11px;
-
 
82
        font-style:normal;
-
 
83
        font-weight:normal;
-
 
84
        white-space: normal;
-
 
85
        text-align: left;
-
 
86
	   
-
 
87
	    -webkit-border-radius: 3px;
-
 
88
	    -moz-border-radius: 3px;
-
 
89
	    -o-border-radius: 3px;
-
 
90
	    border-radius: 3px;
-
 
91
	    
-
 
92
	    
-
 
93
        -webkit-box-shadow: 2px 2px 2px #999;
-
 
94
	    -moz-box-shadow: 2px 2px 2px #999;		
-
 
95
	    box-shadow: 2px 2px 2px #999;	    
-
 
96
	    
-
 
97
	    -webkit-transition-property:opacity, margin-top, visibility, margin-left;
-
 
98
	    -webkit-transition-duration:0.4s, 0.3s, 0.4s, 0.3s;  
-
 
99
	    -webkit-transition-timing-function: ease-in-out, ease-in-out, ease-in-out, ease-in-out;
-
 
100
	
-
 
101
	    -moz-transition-property:opacity, margin-top, visibility, margin-left;
-
 
102
	    -moz-transition-duration:0.4s, 0.3s, 0.4s, 0.3s;  
-
 
103
	    -moz-transition-timing-function: ease-in-out, ease-in-out, ease-in-out, ease-in-out;
-
 
104
	
-
 
105
	    -o-transition-property:opacity, margin-top, visibility, margin-left;
-
 
106
	    -o-transition-duration:0.4s, 0.3s, 0.4s, 0.3s;  
-
 
107
	    -o-transition-timing-function: ease-in-out, ease-in-out, ease-in-out, ease-in-out;
-
 
108
	
-
 
109
	    transition-property:opacity, margin-top, visibility, margin-left;
-
 
110
	    transition-duration:0.4s, 0.3s, 0.4s, 0.3s;  
-
 
111
	    transition-timing-function: ease-in-out, ease-in-out, ease-in-out, ease-in-out;
-
 
112
    }
-
 
113
    
-
 
114
	a.tooltip:hover > span
-
 
115
	{
-
 
116
		opacity: 1;
-
 
117
		text-decoration:none;
-
 
118
		visibility: visible;
-
 
119
		overflow: visible;
-
 
120
		margin-top:25px;
-
 
121
		display: inline;
-
 
122
		margin-left: -60px;		
-
 
123
	}
-
 
124
 
-
 
125
    /* Display the ^ as a part of the tooltip. Needs <i></i> */
-
 
126
	a.tooltip span i {
-
 
127
    
-
 
128
		width: 15px;
-
 
129
		height: 15px;
-
 
130
		margin-left: 20px;
-
 
131
		margin-top: -19px;
-
 
132
			
-
 
133
		display: block;
-
 
134
		position: absolute;
-
 
135
 
-
 
136
		-webkit-transform: rotate(-45deg);
-
 
137
		-moz-transform: rotate(-45deg);
-
 
138
		-o-transform: rotate(-45deg);
-
 
139
		transform: rotate(-45deg);
-
 
140
			
-
 
141
		-webkit-box-shadow: inset -1px 1px 0 #fff;
-
 
142
		-moz-box-shadow: inset 0 1px 0 #fff;
-
 
143
		-o-box-shadow: inset 0 1px 0 #fff;
-
 
144
		box-shadow: inset 0 1px 0 #fff;
-
 
145
			
-
 
146
		display: none\0/;
-
 
147
		*display: none;
-
 
148
	}
-
 
149
    
-
 
150
a.tooltip > span {
-
 
151
	color: #000000; 
-
 
152
 
-
 
153
	background: #FBF5E6;
-
 
154
	background: -moz-linear-gradient(top, #FBF5E6 0%, #FFFFFF 100%);
-
 
155
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FBF5E6), color-stop(100%,#FFFFFF));
-
 
156
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FBF5E6', endColorstr='#FFFFFF',GradientType=0 );
-
 
157
	    
-
 
158
	border: 1px solid #CFB57C;	     
-
 
159
}    
-
 
160
	  
-
 
161
a.tooltip span i {
-
 
162
	background: #FBF5E6;
-
 
163
	border-top: 1px solid #CFB57C;
-
 
164
	border-right: 1px solid #CFB57C;
-
 
165
}    
-
 
166
</style>
-
 
167
</head>
61
</head>
168
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
62
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
169
<!-- TIPS LAYERS -------------------------------------->
63
<!-- TIPS LAYERS -------------------------------------->
170
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
64
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
171
<!----------------------------------------------------->
65
<!----------------------------------------------------->
Line 220... Line 114...
220
                 </select>
114
                 </select>
221
          </td>
115
          </td>
222
          </table>
116
          </table>
223
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
117
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
224
                <tr background="images/bg_form_lightbluedark.gif" class="form_field" style="white-space:nowrap">
118
                <tr background="images/bg_form_lightbluedark.gif" class="form_field" style="white-space:nowrap">
225
                  <td><b>Action&nbsp;</b><%=ToolTip("The internal name of the access control")%></td>
119
                  <td><b>Action&nbsp;</b><%=Quick_Help("ad_action")%></td>
226
                  <td><b>Description</b><%=ToolTip("A description of the access control item")%></td>
120
                  <td><b>Description</b><%=Quick_Help("ad_description")%></td>
227
                  <td colspan=2 align="center"><b>Access</b><%=ToolTip("<h4>Project Independent Permissions</h4>These are the basic permissions before project specific control elements have been applied.")%></td>
121
                  <td colspan=2 align="center"><b>Access</b><%=Quick_Help("ad_access")%></td>
228
                  <td colspan=2 align="center"><b>Data</b><%=ToolTip("<h4>Project Specific Permissions</h4>These are the permissions after project-specfic control elements have been applied.")%></td>
122
                  <td colspan=2 align="center"><b>Data</b><%=Quick_Help("ad_data")%></td>
229
                </tr>
123
                </tr>
230
                <tr background="images/bg_form_lightbluedark.gif" class="form_field">
124
                <tr background="images/bg_form_lightbluedark.gif" class="form_field">
231
                  <td colspan=2></td>
125
                  <td colspan=2></td>
232
                  <td><b>Active</b><%=ToolTip("The associated action should be available.<br>Controls do not need to visible for an action to be available.")%></td>
126
                  <td><b>Active</b><%=Quick_Help("ad_active")%></td>
233
                  <td><b>Visible</b><%=ToolTip("The associated action may have a control button that is shown to the user.<br>If the action is not active then the action should not be available to the user.")%></td>
127
                  <td><b>Visible</b><%=Quick_Help("ad_visible")%></td>
234
                  <td><b>Active</b></td>
128
                  <td><b>Active</b></td>
235
                  <td><b>Visible</b></td>
129
                  <td><b>Visible</b></td>
236
                </tr>
130
                </tr>
237
				<%
131
				<%
238
                sqlQuery = "select obj_name, obj_description " &_
132
                sqlQuery = "select obj_name, obj_description " &_