Changeset 5530
- Timestamp:
- 08/06/14 15:47:14 (10 years ago)
- Location:
- VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main
- Files:
-
- 1 added
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/CreateVirtualCollectionWizard$GeneralStep.html
r5529 r5530 9 9 <div style="display: none" wicket:id="deleteKeywordDialog"></div> 10 10 <fieldset> 11 <div class="notes"> 12 <h4>Provide general information</h4> 13 <p> 14 Use the form to fill in the general information for this virtual collection. 15 Name and type are mandatory. It is highly recommended to write a short description, 16 add one or more keywords and select a purpose and a reproducibility indication. 17 </p> 18 <p class="last"> 19 Hover over the labels of the individual fields to get more information. 20 </p> 11 <div class="extrainfo"> 12 <a href="#" class="extrainfotoggle"><span>[info]</span></a> 13 <div class="notes"> 14 <h4>Provide general information</h4> 15 <p> 16 Use the form to fill in the general information for this virtual collection. 17 Name and type are mandatory. It is highly recommended to write a short description, 18 add one or more keywords and select a purpose and a reproducibility indication. 19 </p> 20 <p class="last"> 21 Hover over the labels of the individual fields to get more information. 22 </p> 23 </div> 21 24 </div> 22 25 <div class="required"> -
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/CreateVirtualCollectionWizard.java
r5529 r5530 66 66 67 67 private final static ResourceReference TOOLTIP_JAVASCRIPT_REFERENCE = 68 new JavascriptResourceReference(CreateVirtualCollectionWizard.class, " tooltips.js");68 new JavascriptResourceReference(CreateVirtualCollectionWizard.class, "wizardhelp.js"); 69 69 70 70 @Override -
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/wizardhelp.js
r5529 r5530 16 16 */ 17 17 18 /* jQuery script to activate tooltip on annotated labels */19 18 $(document).ready(function() { 19 /* activate tooltip on annotated labels */ 20 20 $(".tooltipparent").each(function() { 21 21 var tooltip = '#' + $(this).attr('id') + ' .tooltip'; … … 27 27 $(".tooltip", this).hide(); 28 28 }); 29 30 /* toggle extra help information*/ 31 $(".extrainfotoggle").click(function(event) { 32 event.preventDefault(); 33 $(this).parent(".extrainfo").children(".notes").slideToggle(); 34 }); 35 $(".extrainfo .notes").hide(); 36 $(".extrainfotoggle").qtip({ 37 content: 'Help', 38 show: 'mouseover', 39 hide: 'mouseout' 40 }); 29 41 }); -
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/webapp/css/vcr.css
r5529 r5530 262 262 } 263 263 264 form.wizard .extrainfo { 265 margin-left: 50px; 266 } 267 268 form.wizard .extrainfo a.extrainfotoggle { 269 display: inline-block; 270 float: right; 271 vertical-align: top; 272 width: 16px; 273 height: 16px; 274 background-image: url(about-128.png); /* from http://www.iconsdb.com/ */ 275 background-size: 16px 16px; 276 background-repeat: no-repeat; 277 } 278 279 form.wizard .extrainfo a.extrainfotoggle span { 280 display: none; 281 } 282 264 283 form.wizard div.notes { 265 float: right;266 width: 198px;284 display: inline-block; 285 width: 80%; 267 286 height: auto; 268 margin: 0 0 10px 10px;287 margin: 0 0 10px 70px; 269 288 padding: 5px; 270 289 border: 1px solid #666666;
Note: See TracChangeset
for help on using the changeset viewer.