Changeset 5920
- Timestamp:
- Jan 10, 2012, 10:41:59 AM (11 years ago)
- Location:
- trunk/www
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/include/scripts/main.js
r5917 r5920 576 576 this.controllers['FEATURE'] = { url:'lims/arraydesigns/features/index.jsp', width:750, height:500, popup:true, edit:false }; 577 577 this.controllers['ARRAYSLIDE'] = { url:'lims/arrayslides/index.jsp', width:750, height:500 }; 578 this.controllers['PLATEGEOMETRY'] = { url:'lims/geometries/index.jsp', width: 500, height:340 };578 this.controllers['PLATEGEOMETRY'] = { url:'lims/geometries/index.jsp', width:450, height:300 }; 579 579 this.controllers['PLATEMAPPING'] = { url:'lims/platemappings/index.jsp', width:600, height:400 }; 580 this.controllers['PLATE'] = { url:'lims/plates/index.jsp', width: 800, height:500 };581 this.controllers['WELL'] = { url:'lims/plates/wells/index.jsp', width: 800, height:500 };580 this.controllers['PLATE'] = { url:'lims/plates/index.jsp', width:750, height:500 }; 581 this.controllers['WELL'] = { url:'lims/plates/wells/index.jsp', width:750, height:500 }; 582 582 this.controllers['PLATEEVENT'] = { url:'lims/plates/events/index.jsp', width:600, height:400 }; 583 this.controllers['PLATETYPE'] = { url:'lims/platetypes/index.jsp', width: 500, height:340 };584 this.controllers['PLATEEVENTTYPE'] = { url:'lims/platetypes/eventtypes/index.jsp', width: 500, height:340 };583 this.controllers['PLATETYPE'] = { url:'lims/platetypes/index.jsp', width:450, height:300 }; 584 this.controllers['PLATEEVENTTYPE'] = { url:'lims/platetypes/eventtypes/index.jsp', width:450, height:300 }; 585 585 this.controllers['ANNOTATIONTYPE'] = { url:'admin/annotationtypes/index.jsp', width:540, height:420 }; 586 586 this.controllers['ANNOTATIONTYPECATEGORY'] = { url:'admin/annotationtypecategories/index.jsp', width:540, height:400 }; -
trunk/www/include/styles/popup.css
r5918 r5920 119 119 { 120 120 position:absolute; 121 bottom: 1 em;122 height: 3.5em;121 bottom: 1.5em; 122 height: 4em; 123 123 right: 1em; 124 124 width: 15em; 125 125 text-align: right; 126 126 font-style: italic; 127 font-size: 87.5%; 127 128 } 128 129 -
trunk/www/lims/geometries/edit_geometry.jsp
r5908 r5920 144 144 </base:head> 145 145 <base:body onload="init()"> 146 <p> 146 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 147 147 148 <form action="index.jsp?ID=<%=ID%>" method="post" name="geometry" onsubmit="return false;"> 148 149 <input type="hidden" name="cmd" value="UpdateItem"> 149 150 150 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>151 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*200)+"px;"%>"151 <t:tabcontrol id="settings" 152 subclass="content dialogtabcontrol" 152 153 position="bottom" remember="<%=geometry != null%>" 153 154 extensions="<%=invoker%>"> 154 155 <t:tab id="info" title="Plate geometry" validate="validatePlateGeometry()" helpid="plategeometry.edit"> 155 <table class="f orm" cellspacing=0>156 <table class="fullform input100 smaller"> 156 157 <tr> 157 <t d class="prompt">Name</td>158 <th>Name</th> 158 159 <td><input <%=requiredClazz%> type="text" name="name" 159 160 value="<%=HTML.encodeTags(geometry == null ? Values.getString(cc.getPropertyValue("name"), "New plate geometry") : geometry.getName())%>" 160 size="40" maxlength="<%=PlateGeometry.MAX_NAME_LENGTH%>"></td> 161 maxlength="<%=PlateGeometry.MAX_NAME_LENGTH%>"></td> 162 <td></td> 161 163 </tr> 162 164 <tr> 163 <t d class="prompt">Rows</td>165 <th>Rows</th> 164 166 <td> 165 167 <% … … 173 175 { 174 176 %> 175 <input <%=requiredClazz%> type="text" name="rows"177 <input class="unchangeable" type="text" name="rows" style="width: 15em;" 176 178 value="<%=cc.getPropertyValue("rows") == null ? "" : Values.getInt(cc.getPropertyValue("rows"))%>" 177 size="12" maxlength="10" onkeypress="return Numbers.integerOnly(event)"> 178 can't be changed later 179 maxlength="10" onkeypress="return Numbers.integerOnly(event)"> 179 180 <% 180 181 } 181 182 %> 182 183 </td> 184 <td></td> 183 185 </tr> 184 186 <tr> 185 <t d class="prompt">Columns</td>187 <th>Columns</th> 186 188 <td> 187 189 <% … … 195 197 { 196 198 %> 197 <input <%=requiredClazz%> type="text" name="columns"199 <input class="unchangeable" type="text" name="columns" style="width: 15em;" 198 200 value="<%=cc.getPropertyValue("columns") == null ? "" : Values.getInt(cc.getPropertyValue("columns"))%>" 199 size="12" maxlength="10" onkeypress="return Numbers.integerOnly(event)"> 200 can't be changed later 201 maxlength="10" onkeypress="return Numbers.integerOnly(event)"> 201 202 <% 202 203 } 203 204 %> 204 205 </td> 205 </tr> 206 <tr > 207 <td class="prompt">Description</td> 208 <td nowrap> 209 <textarea <%=clazz%> rows="4" cols="40" name="description" 206 <td></td> 207 </tr> 208 <tr class="dynamic"> 209 <th>Description</th> 210 <td> 211 <textarea <%=clazz%> rows="4" name="description" 210 212 ><%=HTML.encodeTags(geometry == null ? cc.getPropertyValue("description") : geometry.getDescription())%></textarea> 211 <a href="javascript:Main.zoom('Description', 'geometry', 'description')" 212 title="Edit in larger window"><base:icon image="zoom.png" /></a> 213 </td> 214 <td style="width: 20px;"> 215 <base:icon image="zoom.png" 216 onclick="Main.zoom('Description', 'geometry', 'description')" 217 tooltip="Edit in larger window" 218 /> 213 219 </td> 214 220 </tr> 215 221 </table> 216 <div align=right> <i><base:icon image="required.gif" /> = required information</i></div>217 222 </t:tab> 218 223 </t:tabcontrol> 219 220 <table align="center">221 <tr>222 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>223 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>224 </tr>225 </table>226 224 </form> 225 226 <div class="legend"> 227 <base:icon image="required.gif" /> = required information 228 <%if (geometry == null) {%><br> 229 <base:icon image="unchangeable.gif" /> = can't be changed later 230 <%}%> 231 </div> 232 233 <base:buttongroup subclass="dialogbuttons"> 234 <base:button onclick="saveSettings()" title="Save" /> 235 <base:button onclick="window.close()" title="Cancel" /> 236 </base:buttongroup> 227 237 </base:body> 228 238 </base:page> -
trunk/www/lims/platemappings/edit_mapping.jsp
r5908 r5920 178 178 </base:head> 179 179 <base:body onload="init()"> 180 < p>180 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 181 181 <form action="index.jsp?ID=<%=ID%>" method="post" name="mapping" onsubmit="return false;"> 182 182 <input type="hidden" name="cmd" value="UpdateItem"> 183 183 184 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>185 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*280)+"px;"%>"184 <t:tabcontrol id="settings" 185 subclass="content dialogtabcontrol" 186 186 position="bottom" remember="<%=mapping != null%>" 187 187 extensions="<%=invoker%>"> 188 188 <t:tab id="info" title="Plate mapping" validate="validatePlateMapping()" helpid="platemapping.edit"> 189 <table class="f orm" cellspacing=0>189 <table class="fullform input100 smaller"> 190 190 <tr> 191 <t d class="prompt">Name</td>191 <th>Name</th> 192 192 <td><input <%=requiredClazz%> type="text" name="name" 193 193 value="<%=HTML.encodeTags(mapping == null ? Values.getString(cc.getPropertyValue("name"), "New plate mapping") : mapping.getName())%>" 194 size="40" maxlength="<%=PlateMapping.MAX_NAME_LENGTH%>"></td> 195 </tr> 196 <tr > 197 <td class="prompt">Source plates</td> 194 maxlength="<%=PlateMapping.MAX_NAME_LENGTH%>"></td> 195 <td></td> 196 </tr> 197 <tr> 198 <th>Source plates</th> 198 199 <td> 199 200 <% … … 201 202 { 202 203 %> 203 <input <%=requiredClazz%> type="text" name="source_count" 204 <input <%=requiredClazz%> type="text" name="source_count" style="width: 15em;" 204 205 value="<%=Values.getInt(cc.getPropertyValue("sourceCount"), 1)%>" 205 size="12"maxlength="10" onkeypress="return Numbers.integerOnly(event)">206 maxlength="10" onkeypress="return Numbers.integerOnly(event)"> 206 207 plate(s) of 207 208 <select name="sourcegeometry_id" class="required"> … … 227 228 %> 228 229 </td> 229 </tr> 230 <tr > 231 <td class="prompt">Destination plates</td> 230 <td></td> 231 </tr> 232 <tr> 233 <th>Destination plates</th> 232 234 <td> 233 235 <% … … 235 237 { 236 238 %> 237 <input <%=requiredClazz%> type="text" name="destination_count" 239 <input <%=requiredClazz%> type="text" name="destination_count" style="width: 15em;" 238 240 value="<%=Values.getInt(cc.getPropertyValue("destinationCount"), 1)%>" 239 size="12"maxlength="10" onkeypress="return Numbers.integerOnly(event)">241 maxlength="10" onkeypress="return Numbers.integerOnly(event)"> 240 242 plate(s) of 241 243 <select name="destinationgeometry_id" class="required"> … … 261 263 %> 262 264 </td> 263 </tr> 264 <tr > 265 <td class="prompt">Image</td> 265 <td></td> 266 </tr> 267 <tr class="big"> 268 <th>Image</th> 266 269 <td> 267 270 <input <%=clazz%> type="text" name="image" 268 271 value="<%=HTML.encodeTags(mapping == null ? "" : mapping.getImage())%>" 269 size="40"maxlength="<%=PlateMapping.MAX_IMAGE_LENGTH%>"272 maxlength="<%=PlateMapping.MAX_IMAGE_LENGTH%>" 270 273 onBlur="updateImage()"> 271 274 <br><br> … … 279 282 <img id="mappingImage" src="../../images/platemappings/<%=src%>"> 280 283 </td> 281 </tr> 282 <tr > 283 <td class="prompt">Description</td> 284 <td nowrap> 285 <textarea <%=clazz%> rows="4" cols="40" name="description" 284 <td></td> 285 </tr> 286 <tr class="dynamic"> 287 <th>Description</th> 288 <td> 289 <textarea <%=clazz%> rows="6" name="description" 286 290 ><%=HTML.encodeTags(mapping == null ? cc.getPropertyValue("description") : mapping.getDescription())%></textarea> 287 <a href="javascript:Main.zoom('Description', 'mapping', 'description')" 288 title="Edit in larger window"><base:icon image="zoom.png" /></a> 291 </td> 292 <td style="width: 20px;"> 293 <base:icon image="zoom.png" 294 onclick="Main.zoom('Description', 'mapping', 'description')" 295 tooltip="Edit in larger window" 296 /> 289 297 </td> 290 298 </tr> 291 299 </table> 292 <div align=right> <i><base:icon image="required.gif" /> = required information</i></div>293 300 </t:tab> 294 301 </t:tabcontrol> 295 296 <table align="center">297 <tr>298 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>299 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>300 </tr>301 </table>302 302 </form> 303 304 <div class="legend"> 305 <base:icon image="required.gif" /> = required information 306 </div> 307 308 <base:buttongroup subclass="dialogbuttons"> 309 <base:button onclick="saveSettings()" title="Save" /> 310 <base:button onclick="window.close()" title="Cancel" /> 311 </base:buttongroup> 303 312 </base:body> 304 313 </base:page> -
trunk/www/lims/plates/edit_plate.jsp
r5908 r5920 211 211 </base:head> 212 212 <base:body onload="init()"> 213 < p>213 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 214 214 <form action="index.jsp?ID=<%=ID%>" method="post" name="plate" onsubmit="return false;"> 215 215 <input type="hidden" name="cmd" value="UpdateItem"> 216 216 217 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>218 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*370)+"px;"%>"217 <t:tabcontrol id="settings" 218 subclass="content dialogtabcontrol" 219 219 position="bottom" remember="<%=plate != null%>" switch="switchTab" 220 220 extensions="<%=invoker%>"> 221 221 <t:tab id="info" title="Plate" validate="validatePlate()" helpid="plate.edit"> 222 <table class="f orm" cellspacing=0>222 <table class="fullform input100 smaller"> 223 223 <tr> 224 <t d class="prompt">Name</td>224 <th>Name</th> 225 225 <td><input <%=requiredClazz%> type="text" name="name" 226 226 value="<%=HTML.encodeTags(plate == null ? Values.getString(cc.getPropertyValue("name"), "New plate") : plate.getName())%>" 227 size="40" maxlength="<%=Plate.MAX_NAME_LENGTH%>"></td> 227 maxlength="<%=Plate.MAX_NAME_LENGTH%>"></td> 228 <td></td> 228 229 </tr> 229 230 <tr> 230 <t d class="prompt">Barcode</td>231 <th>Barcode</th> 231 232 <td><input <%=clazz%> type="text" name="barcode" 232 233 value="<%=HTML.encodeTags(plate == null ? Values.getString(cc.getPropertyValue("barcode"), "") : plate.getBarcode())%>" 233 size="40" maxlength="<%=Plate.MAX_BARCODE_LENGTH%>"></td> 234 maxlength="<%=Plate.MAX_BARCODE_LENGTH%>"></td> 235 <td></td> 234 236 </tr> 235 237 <tr> 236 <t d class="prompt"><label for="destroyed">Destroyed</label></td>238 <th><label for="destroyed">Destroyed</label></th> 237 239 <td><input type="checkbox" name="destroyed" id="destroyed" value="1" 238 240 <%=(plate != null && plate.isDestroyed()) || (plate == null && Values.getBoolean(cc.getPropertyValue("destroyed"))) ? "checked" : ""%>> 239 241 </td> 242 <td></td> 240 243 </tr> 241 244 <tr> 242 <t d class="prompt">Plate type</td>245 <th>Plate type</th> 243 246 <td> 244 247 <% … … 252 255 { 253 256 %> 254 <table border="0" cellspacing="0" cellpadding="0">257 <table> 255 258 <tr> 256 259 <td> … … 276 279 %> 277 280 </select> 278 279 281 </td> 280 282 <td><base:button onclick="selectPlateTypeOnClick()" title="Select…" /></td> … … 285 287 %> 286 288 </td> 287 </tr> 288 <tr > 289 <td class="prompt">Description</td> 290 <td nowrap> 291 <textarea <%=clazz%> rows="4" cols="40" name="description" 289 <td></td> 290 </tr> 291 <tr class="dynamic"> 292 <th>Description</th> 293 <td> 294 <textarea <%=clazz%> rows="6" name="description" 292 295 ><%=HTML.encodeTags(plate == null ? cc.getPropertyValue("description") : plate.getDescription())%></textarea> 293 <a href="javascript:Main.zoom('Description', 'plate', 'description')"294 title="Edit in larger window"><base:icon image="zoom.png" /></a>295 296 </td> 297 <td style="width: 20px;"> 298 <base:icon image="zoom.png" 299 onclick="Main.zoom('Description', 'plate', 'description')" 300 tooltip="Edit in larger window" 301 /> 302 </td> 296 303 </tr> 297 304 </table> 298 <div align=right> <i><base:icon image="required.gif" /> = required information</i></div>299 305 </t:tab> 300 306 301 <t:tab id="annotations" title="Annotations" helpid="annotations.edit"> 302 <iframe name="annotations" id="idAnnotations" src="../../common/annotations/wait.jsp" 303 width="100%" height="<%=(int)(scale*370)%>" frameborder=0 vspace=0 hspace=0 304 marginwidth=0 marginheight=0 scrolling="auto" style="overflow: visible"></iframe> 305 </t:tab> 306 307 <t:tab id="inheritedAnnotations" title="Inherited annotations" helpid="annotations.edit.inherited"> 308 309 <iframe name="inheritedAnnotations" id="idInheritedAnnotations" src="../../common/annotations/wait.jsp" 310 width="100%" height="<%=(int)(scale*370)%>" frameborder=0 vspace=0 hspace=0 311 marginwidth=0 marginheight=0 scrolling="auto" style="overflow: visible"></iframe> 312 </t:tab> 307 <t:tab id="annotations" title="Annotations" helpid="annotations.edit"><iframe 308 name="annotations" id="idAnnotations" src="../../common/annotations/wait.jsp" 309 style="width: 100%; height: 100%;"></iframe></t:tab> 310 311 <t:tab id="inheritedAnnotations" title="Inherited annotations" 312 helpid="annotations.edit.inherited"><iframe 313 name="inheritedAnnotations" id="idInheritedAnnotations" src="../../common/annotations/wait.jsp" 314 style="width: 100%; height: 100%;"></iframe></t:tab> 315 313 316 </t:tabcontrol> 314 315 <table align="center">316 <tr>317 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>318 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>319 </tr>320 </table>321 317 </form> 318 319 <div class="legend"> 320 <base:icon image="required.gif" /> = required information 321 </div> 322 323 <base:buttongroup subclass="dialogbuttons"> 324 <base:button onclick="saveSettings()" title="Save" /> 325 <base:button onclick="window.close()" title="Cancel" /> 326 </base:buttongroup> 322 327 </base:body> 323 328 </base:page> -
trunk/www/lims/plates/events/edit_event.jsp
r5908 r5920 281 281 </base:head> 282 282 <base:body onload="init()"> 283 < p>283 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 284 284 <form action="index.jsp?ID=<%=ID%>" method="post" name="event" onsubmit="return false;"> 285 285 <input type="hidden" name="cmd" value="UpdateItem"> 286 286 <input type="hidden" name="plate_id" value="<%=plateId%>"> 287 287 288 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>289 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*250)+"px;"%>"288 <t:tabcontrol id="settings" 289 subclass="content dialogtabcontrol" 290 290 position="bottom" remember="<%=event != null%>" 291 291 extensions="<%=invoker%>"> 292 292 <t:tab id="info" title="Event" validate="validateEvent()" helpid="plateevent.edit"> 293 <table class="f orm" cellspacing=0>293 <table class="fullform input100 smaller"> 294 294 <tr> 295 <t d class="prompt">Event type</td>295 <th>Event type</th> 296 296 <td> 297 297 <% … … 319 319 %> 320 320 </td> 321 <td></td> 321 322 </tr> 322 323 <tr> 323 <t d class="prompt">Event date</td>324 <th>Event date</th> 324 325 <td> 325 <table border="0" cellspacing="0" cellpadding="0">326 <table> 326 327 <tr> 327 328 <td> … … 329 330 value="<%=dateFormatter.format(eventDate == null ? new Date() : eventDate)%>" 330 331 size="20" maxlength="20" title="Enter date in format: <%=htmlDateFormat%>"> 331 332 332 </td> 333 333 <td> … … 342 342 </table> 343 343 </td> 344 <td></td> 344 345 </tr> 345 346 <tr> 346 <t d class="prompt">Entry date</td>347 <th>Entry date</th> 347 348 <td><%=dateFormatter.format(event == null ? new Date() : event.getEntryDate())%></td> 349 <td></td> 348 350 </tr> 349 351 <tr> 350 <t d class="prompt">Protocol</td>352 <th>Protocol</th> 351 353 <td> 352 354 <base:select … … 361 363 /> 362 364 </td> 365 <td></td> 363 366 </tr> 364 367 <tr> 365 <t d class="prompt">Hardware</td>368 <th>Hardware</th> 366 369 <td> 367 370 <base:select … … 376 379 /> 377 380 </td> 378 </tr> 379 <tr > 380 <td class="prompt">Comment</td> 381 <td nowrap> 382 <textarea <%=clazz%> rows="4" cols="40" 381 <td></td> 382 </tr> 383 <tr class="dynamic"> 384 <th>Comment</th> 385 <td> 386 <textarea <%=clazz%> rows="6" 383 387 name="comment" ><%=HTML.encodeTags(event == null ? cc.getPropertyValue("comment") : event.getComment())%></textarea> 384 <a href="javascript:Main.zoom('Comment', 'event', 'comment')" title="Edit in larger window"><base:icon image="zoom.png" /></a> 388 </td> 389 <td style="width: 20px;"> 390 <base:icon image="zoom.png" 391 onclick="Main.zoom('Comment', 'event', 'comment')" 392 tooltip="Edit in larger window" 393 /> 385 394 </td> 386 395 </tr> 387 396 </table> 388 <div align=right> <i><base:icon image="required.gif" /> = required information</i></div>389 397 </t:tab> 390 398 </t:tabcontrol> 391 392 <table align="center">393 <tr>394 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>395 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>396 </tr>397 </table>398 399 </form> 400 401 <div class="legend"> 402 <base:icon image="required.gif" /> = required information 403 </div> 404 405 <base:buttongroup subclass="dialogbuttons"> 406 <base:button onclick="saveSettings()" title="Save" /> 407 <base:button onclick="window.close()" title="Cancel" /> 408 </base:buttongroup> 399 409 </base:body> 400 410 </base:page> -
trunk/www/lims/plates/merge_plates.jsp
r5426 r5920 136 136 </base:head> 137 137 <base:body> 138 < p>138 <h1><%=title%> <base:help helpid="plates.merge.1" /></h1> 139 139 <form action="merge_plates_2.jsp?ID=<%=ID%>" method="post" name="merge" onsubmit="return false;"> 140 140 141 <h3 class="docked"><%=title%> <base:help helpid="plates.merge.1" /></h3> 142 <div class="boxed" style="<%="height: "+(int)(scale*280)+"px;"%>"> 143 <table class="form" cellspacing=0> 141 <div class="content bottomborder"> 142 <table class="fullform input100 smaller"> 144 143 <tr> 145 <t d class="prompt">Plate mapping</td>144 <th>Plate mapping</th> 146 145 <td> 147 146 <base:select … … 157 156 </tr> 158 157 <tr> 159 <t d class="prompt">Name</td>158 <th>Name</td> 160 159 <td><input <%=requiredClazz%> type="text" name="name" value="New plate" 161 size="40"maxlength="<%=Plate.MAX_NAME_LENGTH%>"></td>160 maxlength="<%=Plate.MAX_NAME_LENGTH%>"></td> 162 161 </tr> 163 162 <tr> 164 <t d class="prompt">Plate type</td>163 <th>Plate type</th> 165 164 <td> 166 165 <base:select … … 175 174 </td> 176 175 </tr> 176 <tr class="dynamic"> 177 <th></th> 178 <td></td> 179 </tr> 177 180 </table> 178 181 </div> 179 180 <table align="center">181 <tr>182 <td width="50%"><base:button onclick="nextStep()" title="Next" /></td>183 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>184 </tr>185 </table>186 187 182 </form> 183 <div class="legend"> 184 <base:icon image="required.gif" /> = required information 185 </div> 186 187 <base:buttongroup subclass="dialogbuttons"> 188 <base:button onclick="nextStep()" title="Next" /> 189 <base:button onclick="window.close()" title="Cancel" /> 190 </base:buttongroup> 191 188 192 </base:body> 189 193 </base:page> -
trunk/www/lims/plates/merge_plates_2.jsp
r5906 r5920 123 123 </base:head> 124 124 <base:body> 125 <p> 125 <h1><%=title%> <base:help helpid="plates.merge.2" /></h1> 126 126 127 <form action="index.jsp?ID=<%=ID%>" method="post" name="merge" onsubmit="return false;"> 127 128 <input type="hidden" name="cmd" value="MergePlates"> … … 129 130 <input type="hidden" name="platetype_id" value="<%=plateTypeId%>"> 130 131 131 <h3 class="docked"><%=title%> <base:help helpid="plates.merge.2" /></h3> 132 <div class="boxed" style="<%="height: "+(int)(scale*280)+"px;"%>"> 133 <table class="form" cellspacing=0> 134 <tr > 135 <td class="prompt">Plate mapping</td> 136 <td><%=HTML.encodeTags(plateMapping.getName())%> 132 <div class="content bottomborder"> 133 <table class="fullform input100 smaller"> 134 <tr> 135 <th>Plate mapping</th> 136 <td> 137 <table><tr> 138 <td><%=HTML.encodeTags(plateMapping.getName())%></td> 137 139 <% 138 140 if (plateMapping.getImage() != null) 139 141 { 140 142 %> 141 <br> 142 <img src="../../images/platemappings/<%=plateMapping.getImage()%>"> 143 <td><img src="../../images/platemappings/<%=plateMapping.getImage()%>"></td> 143 144 <% 144 145 } 145 146 %> 147 </tr></table> 146 148 </td> 147 149 </tr> 148 150 <tr> 149 <t d class="prompt">Name</td>151 <th>Name</th> 150 152 <td><input <%=requiredClazz%> type="text" name="name" value="<%=HTML.encodeTags(request.getParameter("name"))%>" 151 size="40"maxlength="<%=Plate.MAX_NAME_LENGTH%>"></td>153 maxlength="<%=Plate.MAX_NAME_LENGTH%>"></td> 152 154 </tr> 153 155 <tr> 154 <t d class="prompt">Plate type</td>156 <th>Plate type</th> 155 157 <td><%=HTML.encodeTags(plateType.getName())%></td> 156 158 </tr> 157 <tr >158 <t d class="prompt">Plates</td>159 <tr class="big"> 160 <th>Plates</th> 159 161 <td> 160 161 <table> 162 <tr > 163 <td> 164 <base:button 165 onclick="Forms.moveListOptions(document.forms['merge'].plates, false)" 166 title="<img src='../../images/move_up.png' alt='' style='vertical-align: middle;'>" 167 tooltip="Move up" 168 /><p> 169 <base:button 170 onclick="Forms.moveListOptions(document.forms['merge'].plates, true)" 171 title="<img src='../../images/move_down.png' alt='' style='vertical-align: middle;'>" 172 tooltip="Move down" 173 /> 162 <table> 163 <tr> 164 <td style="padding: 5px;"> 165 <base:buttongroup vertical="true"> 166 <base:button 167 onclick="Forms.moveListOptions(document.forms['merge'].plates, false)" 168 image="move_up.png" 169 tooltip="Move up" 170 subclass="square" 171 /> 172 <base:button 173 onclick="Forms.moveListOptions(document.forms['merge'].plates, true)" 174 image="move_down.png" 175 tooltip="Move down" 176 subclass="square" 177 /> 178 </base:buttongroup> 174 179 </td> 175 180 <td> 176 181 <select name="plates" size="<%=plateMapping.getSourceCount()%>" multiple 177 style="width: 15em;" >182 style="width: 15em;" class="required"> 178 183 </select> 179 184 <input type="hidden" name="mergePlates"> 180 185 </td> 181 186 <td> 182 <table width="150"> 183 <tr><td><base:button 184 onclick="addPlatesOnClick()" 185 title="Add plates..." 186 tooltip="Add plates to be used" 187 /></td></tr> 188 <tr><td><base:button 189 onclick="removePlatesOnClick()" 190 title="Remove" 191 tooltip="Remove the selected plates" 192 /></td></tr> 193 </table> 187 <base:buttongroup vertical="true"> 188 <base:button 189 subclass="leftaligned" 190 style="width: 14em;" 191 onclick="addPlatesOnClick()" 192 title="Add plates…" 193 tooltip="Add plates to be used" 194 /> 195 <base:button 196 subclass="leftaligned" 197 style="width: 14em;" 198 onclick="removePlatesOnClick()" 199 title="Remove" 200 tooltip="Remove the selected plates" 201 /> 202 </base:buttongroup> 194 203 </td> 195 204 </tr> … … 197 206 </td> 198 207 </tr> 208 <tr class="dynamic"> 209 <th></th> 210 <td></td> 211 </tr> 199 212 </table> 200 213 </div> 201 202 <table align="center">203 <tr>204 <td width="50%"><base:button onclick="mergePlates()" title="Merge" /></td>205 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>206 </tr>207 </table>208 209 214 </form> 215 216 <div class="legend"> 217 <base:icon image="required.gif" /> = required information 218 </div> 219 220 <base:buttongroup subclass="dialogbuttons"> 221 <base:button onclick="mergePlates()" title="Merge" image="gonext.png"/> 222 <base:button onclick="window.close()" title="Cancel" /> 223 </base:buttongroup> 224 210 225 </base:body> 211 226 </base:page> -
trunk/www/lims/plates/wells/edit_well.jsp
r5498 r5920 31 31 import="net.sf.basedb.core.Plate" 32 32 import="net.sf.basedb.core.PermissionDeniedException" 33 import="net.sf.basedb.core.Reporter" 33 34 import="net.sf.basedb.core.data.ReporterData" 34 35 import="net.sf.basedb.core.BaseException" … … 60 61 Plate plate = well.getPlate(); 61 62 ReporterData reporter = well.getReporter(); 63 if (reporter != null) reporter = Reporter.getById(dc, reporter.getId()); 62 64 WellCoordinateFormatter rowFormatter = new WellCoordinateFormatter(true); 63 65 WellCoordinateFormatter columnFormatter = new WellCoordinateFormatter(false); 64 66 65 title = "Edit well -- [" + rowFormatter.format(well.getRow()) + ", " + columnFormatter.format(well.getColumn()) + "] on plate " + HTML.encodeTags(plate.getName());67 title = "Edit well -- " + HTML.encodeTags(plate.getName()) + " [" + rowFormatter.format(well.getRow()) + columnFormatter.format(well.getColumn()) + "]"; 66 68 67 69 final String clazz = "class=\"text\""; … … 134 136 </base:head> 135 137 <base:body> 136 < p>138 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 137 139 <form action="index.jsp?ID=<%=ID%>" method="post" name="well" onsubmit="return false;"> 138 140 <input type="hidden" name="cmd" value="UpdateItem"> 139 141 <input type="hidden" name="plate_id" value="<%=plateId%>"> 140 142 141 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>142 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*370)+"px;"%>"143 <t:tabcontrol id="settings" 144 subclass="content dialogtabcontrol" 143 145 position="bottom" switch="switchTab" 144 146 extensions="<%=invoker%>"> 145 147 <t:tab id="info" title="Well" validate="validateWell()" helpid="well.edit"> 146 <table class="f orm" cellspacing=0>148 <table class="fullform input100 outlined"> 147 149 <tr> 148 <t d class="prompt">Plate</td>150 <th>Plate</th> 149 151 <td><%=HTML.encodeTags(plate.getName())%></td> 150 152 </tr> 151 153 <tr> 152 <t d class="prompt">Coordinate</td>153 <td> [<%=rowFormatter.format(well.getRow())%>, <%=columnFormatter.format(well.getColumn())%>]</td>154 <th>Coordinate</th> 155 <td><%=rowFormatter.format(well.getRow())%><%=columnFormatter.format(well.getColumn())%></td> 154 156 </tr> 155 157 <tr> 156 <t d class="prompt">Reporter name</td>158 <th>Reporter name</th> 157 159 <td><%=reporter == null ? "<i>- none -</i>" : HTML.encodeTags(reporter.getName())%></td> 158 160 </tr> 159 161 <tr> 160 <t d class="prompt">Reporter External ID</td>162 <th>Reporter External ID</th> 161 163 <td><%=reporter == null ? "<i>- none -</i>" : HTML.encodeTags(reporter.getExternalId())%></td> 162 164 </tr> 165 <tr class="dynamic"> 166 <th></th> 167 <td></td> 168 </tr> 163 169 </table> 164 <div align=right> <i><base:icon image="required.gif" /> = required information</i></div>165 170 </t:tab> 166 171 167 <t:tab id="annotations" title="Annotations" helpid="annotations.edit"> 168 <iframe name="annotations" id="idAnnotations" src="../../../common/annotations/wait.jsp" 169 width="100%" height="<%=(int)(scale*370)%>" frameborder=0 vspace=0 hspace=0 170 marginwidth=0 marginheight=0 scrolling="auto" style="overflow: visible"></iframe> 171 </t:tab> 172 <t:tab id="annotations" title="Annotations" helpid="annotations.edit"><iframe 173 name="annotations" id="idAnnotations" src="../../../common/annotations/wait.jsp" 174 style="width: 100%; height: 100%;"></iframe></t:tab> 172 175 173 <t:tab id="inheritedAnnotations" title="Inherited annotations" helpid="annotations.edit.inherited"> 174 175 <iframe name="inheritedAnnotations" id="idInheritedAnnotations" src="../../../common/annotations/wait.jsp" 176 width="100%" height="<%=(int)(scale*370)%>" frameborder=0 vspace=0 hspace=0 177 marginwidth=0 marginheight=0 scrolling="auto" style="overflow: visible"></iframe> 178 </t:tab> 176 <t:tab id="inheritedAnnotations" title="Inherited annotations" 177 helpid="annotations.edit.inherited"><iframe 178 name="inheritedAnnotations" id="idInheritedAnnotations" src="../../../common/annotations/wait.jsp" 179 style="width: 100%; height: 100%;"></iframe></t:tab> 179 180 </t:tabcontrol> 181 </form> 180 182 181 <table align="center"> 182 <tr> 183 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td> 184 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td> 185 </tr> 186 </table> 187 </form> 183 <base:buttongroup subclass="dialogbuttons"> 184 <base:button onclick="saveSettings()" title="Save" /> 185 <base:button onclick="window.close()" title="Cancel" /> 186 </base:buttongroup> 188 187 </base:body> 189 188 </base:page> -
trunk/www/lims/plates/wells/view_well.jsp
r5910 r5920 85 85 final Well well = Well.getById(dc, itemId); 86 86 final Plate plate = well.getPlate(); 87 finalReporterData reporter = well.getReporter();87 ReporterData reporter = well.getReporter(); 88 88 final int plateId = plate.getId(); 89 89 … … 113 113 } 114 114 115 boolean readCurrentReporterType = true; 116 ReporterType currentReporterType = null; 117 if (reporter != null) 118 { 119 reporter = Reporter.getById(dc, reporter.getId()); 120 try 121 { 122 currentReporterType = Reporter.getReporterType(dc, reporter); 123 } 124 catch (PermissionDeniedException ex) 125 { 126 readCurrentReporterType = false; 127 } 128 } 129 115 130 final boolean writePermission = well.hasPermission(Permission.WRITE); 116 131 final boolean deletePermission = well.hasPermission(Permission.DELETE); … … 140 155 title="<%=HTML.encodeTags(plate.getName())%>" 141 156 href="<%="index.jsp?ID="+ID+"&plate_id="+plateId%>" /> 142 <p:pathelement title="<%="Well: ["+rowFormatter.format(well.getRow())+", "+columnFormatter.format(well.getColumn())+"]"%>" />157 <p:pathelement title="<%="Well: "+rowFormatter.format(well.getRow())+columnFormatter.format(well.getColumn())%>" /> 143 158 </p:path> 144 159 … … 234 249 else 235 250 { 236 boolean readCurrentReporterType = true;237 ReporterType currentReporterType = null;238 try239 {240 currentReporterType = Reporter.getReporterType(dc, reporter);241 }242 catch (PermissionDeniedException ex)243 {244 readCurrentReporterType = false;245 }246 251 %> 247 252 <table border="0" cellspacing="0" cellpadding="0"> -
trunk/www/lims/platetypes/edit_platetype.jsp
r5908 r5920 157 157 </base:head> 158 158 <base:body onload="init()"> 159 < p>159 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 160 160 <form action="index.jsp?ID=<%=ID%>" method="post" name="platetype" onsubmit="return false;"> 161 161 <input type="hidden" name="cmd" value="UpdateItem"> 162 162 163 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>164 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*160)+"px;"%>"163 <t:tabcontrol id="settings" 164 subclass="content dialogtabcontrol" 165 165 position="bottom" remember="<%=plateType != null%>" 166 166 extensions="<%=invoker%>"> 167 167 <t:tab id="info" title="Plate type" validate="validatePlateType()" helpid="platetype.edit"> 168 <table class="f orm" cellspacing=0>168 <table class="fullform input100 smaller"> 169 169 <tr> 170 <t d class="prompt">Name</td>170 <th>Name</th> 171 171 <td><input <%=requiredClazz%> type="text" name="name" 172 172 value="<%=HTML.encodeTags(plateType == null ? Values.getString(cc.getPropertyValue("name"), "New plate type") : plateType.getName())%>" 173 size="40" maxlength="<%=PlateType.MAX_NAME_LENGTH%>"></td> 173 maxlength="<%=PlateType.MAX_NAME_LENGTH%>"></td> 174 <td></td> 174 175 </tr> 175 176 <tr> 176 <t d class="prompt">Geometry</td>177 <th>Geometry</th> 177 178 <td> 178 179 <% … … 180 181 { 181 182 %> 182 <select name="plategeometry_id" class=" required">183 <select name="plategeometry_id" class="unchangeable"> 183 184 <% 184 185 for (PlateGeometry pg : plateGeometries) … … 191 192 %> 192 193 </select> 193 can't be changed later194 194 <% 195 195 } … … 202 202 %> 203 203 </td> 204 <td></td> 204 205 </tr> 205 206 207 208 <tr > 209 <td class="prompt">Description</td> 210 <td nowrap> 211 <textarea <%=clazz%> rows="4" cols="40" name="description" 206 <tr class="dynamic"> 207 <th>Description</th> 208 <td> 209 <textarea <%=clazz%> rows="4" name="description" 212 210 ><%=HTML.encodeTags(plateType == null ? cc.getPropertyValue("description") : plateType.getDescription())%></textarea> 213 <a href="javascript:Main.zoom('Description', 'platetype', 'description')" 214 title="Edit in larger window"><base:icon image="zoom.png" /></a> 211 </td> 212 <td style="width: 20px;"> 213 <base:icon image="zoom.png" 214 onclick="Main.zoom('Description', 'platetype', 'description')" 215 tooltip="Edit in larger window" 216 /> 215 217 </td> 216 218 </tr> 217 219 </table> 218 <div align=right> <i><base:icon image="required.gif" /> = required information</i></div>219 220 </t:tab> 220 221 </t:tabcontrol> 221 222 <table align="center">223 <tr>224 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>225 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>226 </tr>227 </table>228 222 </form> 223 224 <div class="legend"> 225 <base:icon image="required.gif" /> = required information 226 <%if (plateType == null) {%><br> 227 <base:icon image="unchangeable.gif" /> = can't be changed later 228 <%}%> 229 </div> 230 231 <base:buttongroup subclass="dialogbuttons"> 232 <base:button onclick="saveSettings()" title="Save" /> 233 <base:button onclick="window.close()" title="Cancel" /> 234 </base:buttongroup> 229 235 </base:body> 230 236 </base:page> -
trunk/www/lims/platetypes/eventtypes/edit_eventtype.jsp
r5908 r5920 188 188 </base:head> 189 189 <base:body onload="init()"> 190 <p> 190 <h1><%=title%> <base:help tabcontrol="settings" /></h1> 191 191 192 <form action="index.jsp?ID=<%=ID%>" method="post" name="eventtype" onsubmit="return false;"> 192 193 <input type="hidden" name="cmd" value="UpdateItem"> 193 194 <input type="hidden" name="platetype_id" value="<%=plateTypeId%>"> 194 195 195 < h3 class="docked"><%=title%> <base:help tabcontrol="settings" /></h3>196 <t:tabcontrol id="settings" contentstyle="<%="height: "+(int)(scale*200)+"px;"%>"196 <t:tabcontrol id="settings" 197 subclass="content dialogtabcontrol" 197 198 position="bottom" remember="<%=eventType != null%>" 198 199 extensions="<%=invoker%>"> 199 200 <t:tab id="info" title="Event type" validate="validateEventType()" helpid="plateeventtype.edit"> 200 <table class="f orm" cellspacing=0>201 <table class="fullform input100 smaller"> 201 202 <tr> 202 <t d class="prompt">Name</td>203 <th>Name</th> 203 204 <td><input <%=requiredClazz%> type="text" name="name" 204 205 value="<%=HTML.encodeTags(eventType == null ? Values.getString(cc.getPropertyValue("name"), "New event type") : eventType.getName())%>" 205 size="40" maxlength="<%=PlateEventType.MAX_NAME_LENGTH%>"></td> 206 maxlength="<%=PlateEventType.MAX_NAME_LENGTH%>"></td> 207 <td></td> 206 208 </tr> 207 209 <tr> 208 <t d class="prompt">Ordinal</td>209 <td><input <%=requiredClazz%> type="text" name="ordinal" 210 <th>Ordinal</th> 211 <td><input <%=requiredClazz%> type="text" name="ordinal" style="width: 15em;" 210 212 value="<%=eventType == null ? Values.getInt(cc.getPropertyValue("ordinal"), maxOrdinal+1) : eventType.getOrdinal()%>" 211 size="12" maxlength="10" onkeypress="return Numbers.integerOnly(event)"></td> 213 maxlength="10" onkeypress="return Numbers.integerOnly(event)"></td> 214 <td></td> 212 215 </tr> 213 216 <tr> 214 <t d class="prompt">Protocol type</td>217 <th>Protocol type</th> 215 218 <td> 216 219 <base:select … … 225 228 /> 226 229 </td> 227 </tr>228 229 <tr >230 <t d class="prompt">Description</td>231 <td nowrap>232 <textarea <%=clazz%> rows="4" cols="40"name="description"230 <td></td> 231 </tr> 232 <tr class="dynamic"> 233 <th>Description</th> 234 <td> 235 <textarea <%=clazz%> rows="4" name="description" 233 236 ><%=HTML.encodeTags(eventType == null ? cc.getPropertyValue("description") : eventType.getDescription())%></textarea> 234 <a href="javascript:Main.zoom('Description', 'eventtype', 'description')"235 title="Edit in larger window"><base:icon image="zoom.png" /></a>236 237 </td> 238 <td style="width: 20px;"> 239 <base:icon image="zoom.png" 240 onclick="Main.zoom('Description', 'eventtype', 'description')" 241 tooltip="Edit in larger window" 242 /> 243 </td> 237 244 </tr> 238 245 </table> 239 <div align=right> <i><base:icon image="required.gif" /> = required information</i></div>240 246 </t:tab> 241 247 </t:tabcontrol> 242 243 <table align="center">244 <tr>245 <td width="50%"><base:button onclick="saveSettings()" title="Save" /></td>246 <td width="50%"><base:button onclick="window.close()" title="Cancel" /></td>247 </tr>248 </table>249 248 </form> 249 250 <div class="legend"> 251 <base:icon image="required.gif" /> = required information 252 </div> 253 254 <base:buttongroup subclass="dialogbuttons"> 255 <base:button onclick="saveSettings()" title="Save" /> 256 <base:button onclick="window.close()" title="Cancel" /> 257 </base:buttongroup> 250 258 </base:body> 251 259 </base:page>
Note: See TracChangeset
for help on using the changeset viewer.