Changeset 1517
- Timestamp:
- Jan 20, 2012, 11:01:16 AM (11 years ago)
- Location:
- extensions/net.sf.basedb.reggie/trunk/resources
- Files:
-
- 7 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/index.jsp
r1472 r1517 17 17 import="net.sf.basedb.clients.web.Base" 18 18 import="net.sf.basedb.clients.web.util.HTML" 19 import="net.sf.basedb.clients.web.extensions.ExtensionsControl" 19 20 import="net.sf.basedb.util.Values" 20 21 import="java.util.List" … … 26 27 final String ID = sc.getId(); 27 28 final float scale = Base.getScale(sc); 29 final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); 28 30 DbControl dc = null; 29 31 try … … 120 122 { 121 123 %> 122 <dt >124 <dt style="border-top: 1px solid #999999; padding-top: 4px;"> 123 125 <table border="0" cellspacing="0" cellpadding="0"> 124 126 <tr> … … 142 144 <table border="0" cellspacing="0" cellpadding="0"> 143 145 <tr> 144 <td><base:icon image="file.gif" style="padding-right: 4px;"/></td> 146 <td><base:icon image="<%=home + "/images/blood.png" %>" style="padding-right: 4px;"/></td> 147 <td><a href="bloodform.jsp?ID=<%=ID%>">Blood referral form registration wizard</a></td> 148 </tr> 149 </table> 150 </dt> 151 <dd> 152 <ul> 153 <li>Register new blood referral forms and patients. 154 <li>Update information for existing blood referral forms. 155 </ul> 156 </dd> 157 <% 158 } 159 if (isPatientCurator || isAdmin) 160 { 161 %> 162 <dt> 163 <table border="0" cellspacing="0" cellpadding="0"> 164 <tr> 165 <td><base:icon image="<%=home+"/images/consent.png" %>" style="padding-right: 4px;"/></td> 166 <td><a href="consentform.jsp?ID=<%=ID%>">Consent form registration wizard</a></td> 167 </tr> 168 </table> 169 </dt> 170 <dd> 171 <ul> 172 <li>Register consent forms. 173 </ul> 174 </dd> 175 <% 176 } 177 if (isPatientCurator || isAdmin) 178 { 179 %> 180 <dt> 181 <table border="0" cellspacing="0" cellpadding="0"> 182 <tr> 183 <td><base:icon image="<%=home+"/images/pdffile.png" %>" style="padding-right: 4px;"/></td> 145 184 <td><a href="refform.jsp?ID=<%=ID%>">Referral form registration wizard</a></td> 146 185 </tr> … … 154 193 <% 155 194 } 156 if (isPatientCurator || isAdmin)157 {158 %>159 <dt>160 <table border="0" cellspacing="0" cellpadding="0">161 <tr>162 <td><base:icon image="file.gif" style="padding-right: 4px;"/></td>163 <td><a href="consentform.jsp?ID=<%=ID%>">Consent form registration wizard</a></td>164 </tr>165 </table>166 </dt>167 <dd>168 <ul>169 <li>Register consent forms.170 </ul>171 </dd>172 <%173 }174 195 if (hasCreateSamplePermission) 175 196 { 176 197 %> 177 <dt >178 <table border="0" cellspacing="0" cellpadding="0"> 179 <tr> 180 <td><base:icon image=" file.gif" style="padding-right: 4px;"/></td>198 <dt style="border-top: 1px solid #999999; padding-top: 4px;"> 199 <table border="0" cellspacing="0" cellpadding="0"> 200 <tr> 201 <td><base:icon image="<%=home+"/images/specimen.png" %>" style="padding-right: 4px;"/></td> 181 202 <td><a href="specimentube.jsp?ID=<%=ID%>">Specimen tube registration wizard</a></td> 182 203 </tr> … … 197 218 <table border="0" cellspacing="0" cellpadding="0"> 198 219 <tr> 199 <td><base:icon image=" file.gif" style="padding-right: 4px;"/></td>220 <td><base:icon image="<%=home+"/images/partition.png" %>" style="padding-right: 4px;"/></td> 200 221 <td><a href="partitionform.jsp?ID=<%=ID%>">Partition registration wizard</a></td> 201 222 </tr>
Note: See TracChangeset
for help on using the changeset viewer.