Skip to content

Commit 16ced58

Browse files
committed
Add splash screen
1 parent 23043d1 commit 16ced58

File tree

5 files changed

+133
-20
lines changed

5 files changed

+133
-20
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
# Docs View
22
Tizen web app for opening `pdf`, `txt` and `md`
3+
4+
Website with description [https://v1ack.github.io/pdfview/](https://v1ack.github.io/pdfview/)
5+
6+
7+

assets/index.html

Lines changed: 42 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,52 @@
11
<!DOCTYPE html>
22
<html>
3-
4-
<head>
5-
<meta charset="utf-8" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
7-
<meta name="description" content="Tizen Wearable Docs viewer by vlack" />
8-
<title>Docs View</title>
9-
<link rel="stylesheet" href="bundle.css">
10-
<style>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta
6+
name="viewport"
7+
content="width=device-width, initial-scale=1.0, user-scalable=no"
8+
/>
9+
<meta name="description" content="Tizen Wearable Docs viewer by vlack" />
10+
<title>Docs View</title>
11+
<link rel="stylesheet" href="bundle.css" />
12+
<style>
1113
body {
12-
margin: 0;
13-
color: white;
14-
background-color: black;
14+
margin: 0;
15+
color: white;
16+
background-color: black;
1517
}
1618

1719
::-webkit-scrollbar {
18-
display: none;
20+
display: none;
21+
}
22+
#loading-node > img {
23+
height: 160px;
24+
left: 100px;
25+
position: relative;
26+
top: 100px;
1927
}
20-
</style>
21-
<script defer src="bundle.js"></script>
22-
</head>
2328

24-
<body></body>
29+
#loading-node > p {
30+
font-size: 36px;
31+
position: relative;
32+
text-align: center;
33+
top: 70px;
34+
}
35+
</style>
36+
</head>
2537

38+
<body>
39+
<div id="loading-node">
40+
<img src="icon.png" alt="" />
41+
<p>Loading...</p>
42+
</div>
43+
</body>
44+
<script type="text/javascript">
45+
window.onload = function () {
46+
var script = document.createElement("script")
47+
script.src = "bundle.js"
48+
script.defer = true
49+
document.head.appendChild(script)
50+
}
51+
</script>
2652
</html>

descriptions.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Docs View pro
2+
3+
## En
4+
5+
### Docs View - pdf and txt on your watch
6+
7+
You can view your PDF, text TXT and markdown MD files on your watch!
8+
9+
This app is absolutely new version of PDFview
10+
11+
❗ Free demo version available, look for it in my account
12+
13+
How to:
14+
15+
You need to download free Android app on https://v1ack.github.io/pdfview/ for sending files or use any file manager to put your files to 'documents' folder
16+
17+
@ In case of any problems contact me via email (seller info)
18+
19+
`document` `pdf` `view` `file` `doc`
20+
21+
## Ru
22+
23+
### Docs View - pdf и txt на ваших часах
24+
25+
Открывайте PDF, текст TXT и markdown MD файлы на своих часах!
26+
27+
Это приложение - совершенно новая версия PDFview
28+
29+
❗ Вы можете попробовать бесплатную демо-версию приложения
30+
31+
Инструкция:
32+
33+
Вам необходимо скачать бесплатное Android приложение с https://v1ack.github.io/pdfview/ для передачи файлов. Или можно использовать любой сторонний файл-менеджер на часах чтобы поместить Ваши файлы в папку 'documents'
34+
35+
@ В случае проблем свяжитесь со мной по электронной почте (информация о продавце)
36+
37+
`документ` `pdf` `view` `file` `doc`
38+
39+
## Cn
40+
41+
### Docs View - pdf txt 视图
42+
43+
# Docs View demo
44+
45+
## En
46+
47+
### Docs View demo - pdf and txt on your watch
48+
49+
You can view your PDF, text TXT and markdown MD files on your watch!
50+
51+
⚠ In demo you can open only 3 different docs!
52+
53+
How to:
54+
55+
You need to download free Android app on https://v1ack.github.io/pdfview/ for sending files or use any file manager to put your files to 'documents' folder
56+
57+
@ In case of any problems contact me via email
58+
59+
`document` `pdf` `view` `file` `doc`
60+
61+
## Ru
62+
63+
### Docs View demo - pdf и txt на ваших часах
64+
65+
Открывайте PDF, текст TXT и markdown MD файлы на своих часах!
66+
67+
Это приложение - совершенно новая версия PDFview
68+
69+
⚠ В демонстрационной версии можно открыть только три различных файла
70+
71+
Инструкция:
72+
73+
Вам необходимо скачать бесплатное Android приложение с https://v1ack.github.io/pdfview/ для передачи файлов. Или можно использовать любой сторонний файл-менеджер на часах чтобы поместить Ваши файлы в папку 'documents'
74+
75+
@ В случае проблем свяжитесь со мной по электронной почте (информация о продавце)
76+
77+
`документ` `pdf` `view` `file` `doc`
78+
79+
## Cn
80+
81+
### Docs View demo - pdf txt 视图

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pdfview",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "pdf view app for tizen",
55
"main": "app.js",
66
"scripts": {
@@ -31,6 +31,7 @@
3131
"pdfjs-dist": "^2.7.570",
3232
"prettier": "^2.2.1",
3333
"prettier-plugin-svelte": "^2.2.0",
34+
"remarkable": "^2.0.1",
3435
"rollup": "^2.45.2",
3536
"rollup-plugin-css-only": "^3.1.0",
3637
"rollup-plugin-livereload": "^2.0.0",
@@ -41,9 +42,6 @@
4142
"svelte-loader": "^3.1.1",
4243
"svelte-preprocess": "^4.7.2"
4344
},
44-
"dependencies": {
45-
"remarkable": "^2.0.1"
46-
},
4745
"browserslist": [
4846
"chrome 50"
4947
],

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import App from "./App.svelte"
22

3+
let loading = document.getElementById("loading-node")
4+
loading.parentNode.removeChild(loading)
5+
36
const app = new App({
47
target: document.body,
58
})

0 commit comments

Comments
 (0)