mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-13 14:14:27 +02:00
add libpdfjs library
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
# Preview
|
||||
|
||||
Image and PDF file viewer for antOS
|
Binary file not shown.
Before Width: | Height: | Size: 7.5 KiB |
@ -1,36 +0,0 @@
|
||||
|
||||
|
||||
afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] div[data-id = "view"]
|
||||
{
|
||||
display: block;
|
||||
overflow:auto;
|
||||
background-image: url("bg.jpg");
|
||||
background-repeat: repeat;
|
||||
}
|
||||
|
||||
afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] afx-hbox[data-id = "statcontainer"]
|
||||
{
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #cbcbcb;
|
||||
}
|
||||
afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] afx-hbox[data-id = "statcontainer"] button,
|
||||
afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] afx-hbox[data-id = "statcontainer"] input
|
||||
{
|
||||
height: 24px;
|
||||
}
|
||||
afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] canvas{
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] div.pdf-page {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] div[data-id = "view"].image
|
||||
{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
File diff suppressed because one or more lines are too long
@ -1,13 +0,0 @@
|
||||
{
|
||||
"app":"Preview",
|
||||
"name":"Preview",
|
||||
"description":"Media files viewer",
|
||||
"info":{
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.0.7-a",
|
||||
"category":"Utils",
|
||||
"iconclass":"fa fa-eye",
|
||||
"mimes":["[^\/]*/.*pdf", "image/.*"]
|
||||
}
|
1
Preview/build/debug/pdf.worker.js
vendored
1
Preview/build/debug/pdf.worker.js
vendored
File diff suppressed because one or more lines are too long
@ -1,17 +0,0 @@
|
||||
<afx-app-window data-id = "preview-win" apptitle="Preview" width="600" height="400">
|
||||
<afx-vbox data-id = "container">
|
||||
<afx-hbox data-height = "25" data-id = "statcontainer" >
|
||||
<div data-width = "5" ></div>
|
||||
<afx-button data-width="20" iconclass="fa fa-chevron-left" data-id="btprev"></afx-button>
|
||||
<input type="text" data-width="30" data-id="txtpage" />
|
||||
<afx-button data-width="20" iconclass="fa fa-chevron-right" data-id="btnext"></afx-button>
|
||||
<div data-width = "5" ></div>
|
||||
<afx-button data-width="20" iconclass="fa fa-arrows-alt" data-id="btreset"></afx-button>
|
||||
<div data-width = "5" ></div>
|
||||
<afx-slider data-width="150" data-id="zoom" ></afx-slider>
|
||||
<div data-id = "status" style="text-align: right;"></div>
|
||||
<div data-width = "10" ></div>
|
||||
</afx-hbox>
|
||||
<div data-id="view" ></div>
|
||||
</afx-vbox>
|
||||
</afx-app-window>
|
Binary file not shown.
Reference in New Issue
Block a user