File tree 4 files changed +15
-15
lines changed
4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 2
2
< span > < a href ="http://eo4geo.uji.es " target ="_blank " class ="btn btn-light-primary "> EO4GEO Tools</ a > </ span >
3
3
< span > < a href ="http://www.eo4geo.eu " target ="_blank " class ="btn btn-light-primary "> EO4GEO</ a > </ span >
4
4
< span class ="ml-auto ">
5
- <!-- <a href="assets/manual/OPT-Manual.pdf" target="_blank" class="btn">User Manual </a>
6
- -->
7
- < a class ="btn btn-light-primary " (click) ="releaseNotesModal.open() "> Release Notes v1.0</ a >
5
+ < a href ="https://eo4geo-uji.web.app/documentation/BAT.pdf " target ="_blank " class ="btn "> User Manual</ a >
6
+ < a class ="btn btn-light-primary " (click) ="releaseNotesModal.open() "> Release Notes v1.01</ a >
8
7
< a href ="
mailto:[email protected] ?subject=EO4GEO Tools Contact "
class ="
btn "
> Contact
</ a >
8
+ < a href ="http://www.eo4geo.eu/privacy-policy/ " target ="_blank " class ="btn btn-light-primary "> Privacy Policy</ a >
9
9
</ span >
10
10
< app-release-notes #releaseNotesModal > </ app-release-notes >
11
- </ app-footer >
11
+ </ app-footer >
Original file line number Diff line number Diff line change @@ -10,9 +10,14 @@ <h5 class="modal-title" id="releaseModalTitle">Release Notes</h5>
10
10
</ button >
11
11
</ div >
12
12
< div class ="modal-body ">
13
-
14
13
< br >
15
- < h4 > v1.0 - 2nd September 2020</ h4 >
14
+ < h4 > v1.01 - 2nd Dec. 2020</ h4 >
15
+ < ul >
16
+ < li > Linked User Manual and Privacy Policy</ li >
17
+ < li > Users can automatically join organizations</ li >
18
+ </ ul >
19
+ < br >
20
+ < h4 > v1.0 - 2nd Sept. 2020</ h4 >
16
21
< ul >
17
22
< li > Look and feel and usability as the other tools</ li >
18
23
< li > Annotate PDFs with Bok concepts</ li >
Original file line number Diff line number Diff line change @@ -12,13 +12,6 @@ <h5>You have limited functionality because you are not logged in. <a href="#" ro
12
12
Body of Knowledge is available - expected July 2020. Stay tuned! -->
13
13
</ h5 >
14
14
</ div >
15
- < div class ="text-center ">
16
- < h5 > Disclaimer: you are using a prototype release of the BoK Annotation Tool. This tool is currently under
17
- development
18
- and we are still experimenting with functionality and user interface. Bugs may occur. Thank you for your
19
- patience.
20
- </ h5 >
21
- </ div >
22
15
< div class ="card card-accent-primary ">
23
16
< div class ="card-header ">
24
17
< div class ="row ">
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ import * as jsPDF from 'jspdf';
22
22
23
23
// import * as jspdf from 'parse-pdf';
24
24
25
- import * as pdfjs from 'pdfjs-dist' ;
25
+ import * as pdfjs from 'pdfjs-dist/es5/build/pdf' ;
26
+ import { pdfjsworker } from 'pdfjs-dist/es5/build/pdf.worker.entry' ;
26
27
import { BokService } from '../../services/bok.service' ;
27
28
import { LoginComponent } from '../login/login.component' ;
28
29
import { OtherService } from '../../services/other.service' ;
@@ -251,6 +252,7 @@ export class NewannotationComponent implements OnInit {
251
252
}
252
253
253
254
uploadFile1 ( file ) {
255
+ pdfjs . GlobalWorkerOptions . workerSrc = pdfjsworker ;
254
256
const filePath = 'other/custom-' + encodeURI ( file . name ) ;
255
257
const task = this . storage . upload ( filePath , file ) ;
256
258
this . errorFile1 = false ;
@@ -262,7 +264,7 @@ export class NewannotationComponent implements OnInit {
262
264
const ref = this . storage . ref ( filePath ) ;
263
265
ref . getDownloadURL ( ) . subscribe ( url => {
264
266
// get pdf document from url
265
- pdfjs . getDocument ( url ) . then ( pdfDoc_ => {
267
+ pdfjs . getDocument ( url ) . promise . then ( pdfDoc_ => {
266
268
const pdfDoc = pdfDoc_ ;
267
269
// get metadata from pdf document
268
270
pdfDoc . getMetadata ( ) . then ( metadataObject => {
You can’t perform that action at this time.
0 commit comments