Changeset 527:652cc8d3f1a9 in documentViewer for zpt
- Timestamp:
- Apr 12, 2012, 12:27:37 PM (13 years ago)
- Branch:
- default
- Location:
- zpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/common_template.zpt
r526 r527 43 43 tal:condition="python:originalPage!=None"> (<span tal:replace="originalPage" /><span 44 44 tal:define="originalPageNorm pageinfo/pageNumberOrigNorm | nothing" tal:condition="python:originalPageNorm!=None"> [<span 45 tal:replace="originalPageNorm" />] 46 </span>) 45 tal:replace="originalPageNorm" />]</span>) 47 46 </span> <input type="submit" value="Go" /> of <span tal:replace="numPages" /> <a tal:condition="right" 48 47 tal:attributes="href python:here.getLink('pn',right)">></a> <span tal:condition="not:right">></span> <a -
zpt/layer_text_annotator.zpt
r526 r527 41 41 var devAnnotator = new Annotator(elem).addPlugin('Auth', { 42 42 //tokenUrl: 'http://annotateit.org/api/token' 43 tokenUrl : ' http://localhost:8080/test/annotator/token?user=casties'43 tokenUrl : 'template/token?user=anonymous' 44 44 //autoFetch: false 45 45 }).addPlugin('Permissions', { 46 user : ' casties',46 user : 'anonymous', 47 47 userString : function(user) { 48 48 if (user && user.name) { … … 58 58 } 59 59 }).addPlugin('Store', { 60 prefix : 'http://localhost:18080/AnnotationManager/annotator',61 //prefix: 'http://virtuoso.mpiwg-berlin.mpg.de:8080/AnnotationManager/annotator',60 //prefix : 'http://localhost:18080/AnnotationManager/annotator', 61 prefix: 'http://virtuoso.mpiwg-berlin.mpg.de:8080/AnnotationManager/annotator', 62 62 //prefix: 'http://annotateit.org/api', 63 63 annotationData : {
Note: See TracChangeset
for help on using the changeset viewer.