diff src/main/webapp/resources/components/ismi/refWidget.xhtml @ 88:8d93f3a0108f

More work on entering references.
author casties
date Thu, 06 Oct 2016 19:03:56 +0200
parents 954d6200336d
children 76d2dda8d4de
line wrap: on
line diff
--- a/src/main/webapp/resources/components/ismi/refWidget.xhtml	Thu Oct 06 18:01:59 2016 +0200
+++ b/src/main/webapp/resources/components/ismi/refWidget.xhtml	Thu Oct 06 19:03:56 2016 +0200
@@ -20,7 +20,6 @@
 		id="refArea">
 		
 		<h:panelGrid columns="1">
-			<h:outputText value="EndNote" />
 			<h:outputText value="References" />
 		</h:panelGrid>
 		
@@ -107,22 +106,29 @@
 					style="opacity: 0.1; height: 100px; left: 5px; top: 5px; bottom: -5px;">
 				</div>
 				<div class="rf-pp-hdr " style="cursor: default;">
-					<div class="rf-pp-hdr-cnt">EndNote Reference</div>
+					<div class="rf-pp-hdr-cnt">Bibliographical Reference</div>
 				</div>
 
 				<h:panelGrid columns="1" class="rf-pp-cnt-scrlr">
 					<h:panelGrid columns="1" class="rf-pp-cnt">
 
 						<h:panelGrid columns="2">
-							<h:outputLabel value="EndNote Id" />
-							<h:inputText value="#{cc.attrs.entityForm.endNoteRefTable.ref.endNoteId}" />
+						    <h:outputLabel value="ISMI Bibliography" />
+						    <h:outputLink value="https://ismi.mpiwg-berlin.mpg.de/drupal-ismi/search/biblio"
+                                    target="_blank">
+                                    Search Bibliography
+                            </h:outputLink>
+                            
+							<h:outputLabel value="Reference ID" />
+							<h:inputText value="#{cc.attrs.entityForm.endNoteRefTable.ref.endNoteId}" 
+							    size="50"/>
 
-							<h:outputLabel value="EndNote Content" />
+							<h:outputLabel value="Reference text (optional)" />
 							<h:inputTextarea
 								value="#{cc.attrs.entityForm.endNoteRefTable.ref.endNoteContent}"
-								rows="10" cols="50" />
+								rows="6" cols="50" />
 
-							<h:outputLabel value="Additional Information" />
+							<h:outputLabel value="Additional information" />
 							<h:inputTextarea
 								value="#{cc.attrs.entityForm.endNoteRefTable.ref.addInformation}"
 								rows="3" cols="50" />