Changeset 619:79973dee60bd in documentViewer for zpt
- Timestamp:
- Nov 24, 2014, 1:40:00 PM (10 years ago)
- Branch:
- default
- Location:
- zpt/viewer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/viewer/layer_image_annotator.zpt
r616 r619 23 23 dlOpts.annotationTokenUrl='$annTokenUrl'; 24 24 dlOpts.annotationUser='$annUser'; 25 dlOpts.annotatorPlugins=['Auth','Permissions','Store','Markdown' ,'DigilibIntegrator'];25 dlOpts.annotatorPlugins=['Auth','Permissions','Store','Markdown']; 26 26 dlOpts.annotationPageUri='$annUrl'; 27 27 dlOpts.annotatorPluginSettings={'Store':{'annotationData':{'uri':'$annUrl','resource':'$resUrl'},'loadFromSearch':{'uri':'$annUrl'}}, -
zpt/viewer/layer_text_annotator.zpt
r615 r619 5 5 <metal:block metal:define-macro="html_head" tal:condition="python:'annotator' in viewLayers"> 6 6 <!-- annotator --> 7 <link rel="stylesheet" type="text/css"8 tal:attributes="href string:$rootUrl/template/annotator_files/css/style.css" />9 10 7 <link rel="stylesheet" type="text/css" 11 8 tal:attributes="href string:$rootUrl/template/annotator_files/css/annotator.css" /> 12 13 9 14 10 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/vendor/json2.js"></script> … … 19 15 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/range.js"></script> 20 16 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/annotator.js"></script> 21 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/locale/en/annotator.js"></script>22 23 24 17 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/widget.js"></script> 25 18 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/editor.js"></script> … … 32 25 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/plugin/markdown.js"></script> 33 26 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/plugin/unsupported.js"></script> 34 35 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/jquery.dateFormat.js"></script>36 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/jquery.slimscroll.js"></script>37 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/jquery-i18n-master/jquery.i18n.min.js"></script>38 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/annotator_files/lib/plugin/view_annotator.js"></script>39 40 41 27 <!-- <script tal:attributes="src string:$rootUrl/template/annotator_files/lib/plugin/filter.js"></script> --> 42 28 … … 59 45 $(document).ready(function() { 60 46 // annotator 61 62 63 jQuery.i18n.load(i18n_dict);64 47 var elem = $('div.pageContent').get(0); 65 48 var uri = annotatorPageUrl; … … 96 79 'uri' : uri 97 80 } 98 }).addPlugin('Tags').addPlugin('Markdown').addPlugin('AnnotatorViewer'); 99 100 $('#anotacions-uoc-panel').slimscroll({height: '100%'}); 81 }).addPlugin('Tags').addPlugin('Markdown'); 101 82 }); 102 83 // -->
Note: See TracChangeset
for help on using the changeset viewer.