@lexho111/plainblog 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blog_test_empty.db +0 -0
- package/blog_test_load.db +0 -0
- package/index.js +1 -28
- package/package.json +1 -1
- package/public/styles.min.css +2 -2
package/blog_test_empty.db
CHANGED
|
Binary file
|
package/blog_test_load.db
CHANGED
|
Binary file
|
package/index.js
CHANGED
|
@@ -1,32 +1,5 @@
|
|
|
1
1
|
import Blog from "./Blog.js";
|
|
2
2
|
import Article from "./Article.js";
|
|
3
|
-
import FileAdapter from "./model/FileAdapter.js";
|
|
4
|
-
import SqliteAdapter from "./model/SqliteAdapter.js";
|
|
5
|
-
import PostgresAdapter from "./model/PostgresAdapter.js";
|
|
6
|
-
import DataModel from "./model/DataModel.js";
|
|
7
|
-
import ArrayList from "./model/datastructures/ArrayList.js";
|
|
8
|
-
import FileList from "./model/datastructures/FileList.js";
|
|
9
|
-
import { BinarySearchTree } from "./model/datastructures/BinarySearchTree.js";
|
|
10
|
-
import {
|
|
11
|
-
generateTitle,
|
|
12
|
-
generateContent,
|
|
13
|
-
generateDateList,
|
|
14
|
-
} from "./utilities.js";
|
|
15
|
-
import { appendArticle } from "./model/FileModel.js";
|
|
16
3
|
|
|
17
|
-
export {
|
|
18
|
-
Blog,
|
|
19
|
-
Article,
|
|
20
|
-
FileAdapter,
|
|
21
|
-
SqliteAdapter,
|
|
22
|
-
PostgresAdapter,
|
|
23
|
-
DataModel,
|
|
24
|
-
ArrayList,
|
|
25
|
-
FileList,
|
|
26
|
-
BinarySearchTree,
|
|
27
|
-
generateTitle,
|
|
28
|
-
generateContent,
|
|
29
|
-
generateDateList,
|
|
30
|
-
appendArticle,
|
|
31
|
-
};
|
|
4
|
+
export { Blog, Article };
|
|
32
5
|
export default Blog;
|
package/package.json
CHANGED
package/public/styles.min.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
body{font-family:Arial
|
|
2
|
-
/* source-hash:
|
|
1
|
+
body{font-family:Arial,sans-serif}h1{color:#333}body{font-family:Arial;margin:0}nav{margin-top:10px}.box,h1,nav{margin-left:10px}.grid{border:0 solid #000;display:grid;gap:.25rem;grid-template-columns:1fr}.grid article{border:0 solid #ccc;border-radius:4px;min-width:0;overflow-wrap:break-word;padding:.25rem}.grid article h2{color:#353535;margin-bottom:5px}.grid article .datetime{color:#757575;margin:0}.grid article p{margin-bottom:0;margin-top:10px}article a,article a:visited,h1{color:#696969}nav a{color:#3b40c1;font-size:20px;text-decoration:underline}nav a:visited{color:#3b40c1;text-decoration-color:#3b40c1}#wrapper{max-width:500px;width:100%}.hide-image{display:none}@media screen and (max-width:1000px){*{font-size:4vw}#wrapper{box-sizing:border-box;max-width:100%;padding:0 10px;width:100%}}h2{margin-top:0}.buttons,h2{border:0 solid #000}.buttons{height:25px;margin-bottom:0;width:100%}.button{border:1px solid #000;cursor:pointer;float:left;height:19px;padding:2px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100px}.button:focus{outline:2px solid orange}.edit{background-color:blue}.delete{background-color:red}
|
|
2
|
+
/* source-hash: 22048a393d87cbbefd7a61fb300fff916360a30934da974ee2fd45739e446492 */
|