mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-26 04:08:21 +01:00
update blogger
This commit is contained in:
parent
96fc36be9a
commit
008aa23103
@ -6,6 +6,7 @@ Blackend for my blog at https://blog.iohub.dev
|
|||||||
## Change logs
|
## Change logs
|
||||||
|
|
||||||
### v0.2.x-a
|
### v0.2.x-a
|
||||||
|
* Patch 5: Add user photo to portfolio
|
||||||
* Patch 4: Add package dependencies
|
* Patch 4: Add package dependencies
|
||||||
* Patch 3: Correct JSON text decoding
|
* Patch 3: Correct JSON text decoding
|
||||||
* Patch 2: Bug fix rendering content
|
* Patch 2: Bug fix rendering content
|
||||||
|
@ -6,6 +6,7 @@ Blackend for my blog at https://blog.iohub.dev
|
|||||||
## Change logs
|
## Change logs
|
||||||
|
|
||||||
### v0.2.x-a
|
### v0.2.x-a
|
||||||
|
* Patch 5: Add user photo to portfolio
|
||||||
* Patch 4: Add package dependencies
|
* Patch 4: Add package dependencies
|
||||||
* Patch 3: Correct JSON text decoding
|
* Patch 3: Correct JSON text decoding
|
||||||
* Patch 2: Bug fix rendering content
|
* Patch 2: Bug fix rendering content
|
||||||
|
File diff suppressed because one or more lines are too long
@ -6,7 +6,7 @@
|
|||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"email": "xsang.le@gmail.com"
|
"email": "xsang.le@gmail.com"
|
||||||
},
|
},
|
||||||
"version":"0.2.4-a",
|
"version":"0.2.5-a",
|
||||||
"category":"Internet",
|
"category":"Internet",
|
||||||
"iconclass":"fa fa-book",
|
"iconclass":"fa fa-book",
|
||||||
"dependencies": ["SimpleMDE@1.11.2-r","Katex@0.11.1-r"],
|
"dependencies": ["SimpleMDE@1.11.2-r","Katex@0.11.1-r"],
|
||||||
|
@ -24,6 +24,10 @@
|
|||||||
<afx-label text = "__(Url)" data-width= "70"></afx-label>
|
<afx-label text = "__(Url)" data-width= "70"></afx-label>
|
||||||
<input type = "text" name="url" input-class = "user-input"/>
|
<input type = "text" name="url" input-class = "user-input"/>
|
||||||
</afx-hbox>
|
</afx-hbox>
|
||||||
|
<afx-hbox data-height = "30">
|
||||||
|
<afx-label text = "__(Photo)" data-width= "70"></afx-label>
|
||||||
|
<input type = "text" name="photo" data-id="photo" readonly="readonly" input-class = "user-input"/>
|
||||||
|
</afx-hbox>
|
||||||
<afx-label data-height = "30" text = "__(Short biblio)"></afx-label>
|
<afx-label data-height = "30" text = "__(Short biblio)"></afx-label>
|
||||||
<textarea name="shortbiblio" input-class = "user-input"></textarea>
|
<textarea name="shortbiblio" input-class = "user-input"></textarea>
|
||||||
<afx-hbox data-height = "35">
|
<afx-hbox data-height = "35">
|
||||||
|
Binary file not shown.
@ -31,6 +31,17 @@ class Blogger extends this.OS.application.BaseApplication
|
|||||||
@bloglist = @find "blog-list"
|
@bloglist = @find "blog-list"
|
||||||
@seclist = @find "cv-sec-list"
|
@seclist = @find "cv-sec-list"
|
||||||
|
|
||||||
|
el = @find("photo")
|
||||||
|
$(el)
|
||||||
|
.click (e) =>
|
||||||
|
@openDialog("FileDialog", {
|
||||||
|
title: __("Select image file"),
|
||||||
|
mimes: ["image/.*"]
|
||||||
|
})
|
||||||
|
.then (d) =>
|
||||||
|
el.value = d.file.path
|
||||||
|
.catch (e) => @error __("Unable to get file"), e
|
||||||
|
|
||||||
@userdb = new @_api.DB("user")
|
@userdb = new @_api.DB("user")
|
||||||
@cvcatdb = new @_api.DB("cv_cat")
|
@cvcatdb = new @_api.DB("cv_cat")
|
||||||
@cvsecdb = new @_api.DB("cv_sections")
|
@cvsecdb = new @_api.DB("cv_sections")
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"email": "xsang.le@gmail.com"
|
"email": "xsang.le@gmail.com"
|
||||||
},
|
},
|
||||||
"version":"0.2.4-a",
|
"version":"0.2.5-a",
|
||||||
"category":"Internet",
|
"category":"Internet",
|
||||||
"iconclass":"fa fa-book",
|
"iconclass":"fa fa-book",
|
||||||
"dependencies": ["SimpleMDE@1.11.2-r","Katex@0.11.1-r"],
|
"dependencies": ["SimpleMDE@1.11.2-r","Katex@0.11.1-r"],
|
||||||
|
@ -24,6 +24,10 @@
|
|||||||
<afx-label text = "__(Url)" data-width= "70"></afx-label>
|
<afx-label text = "__(Url)" data-width= "70"></afx-label>
|
||||||
<input type = "text" name="url" input-class = "user-input"/>
|
<input type = "text" name="url" input-class = "user-input"/>
|
||||||
</afx-hbox>
|
</afx-hbox>
|
||||||
|
<afx-hbox data-height = "30">
|
||||||
|
<afx-label text = "__(Photo)" data-width= "70"></afx-label>
|
||||||
|
<input type = "text" name="photo" data-id="photo" readonly="readonly" input-class = "user-input"/>
|
||||||
|
</afx-hbox>
|
||||||
<afx-label data-height = "30" text = "__(Short biblio)"></afx-label>
|
<afx-label data-height = "30" text = "__(Short biblio)"></afx-label>
|
||||||
<textarea name="shortbiblio" input-class = "user-input"></textarea>
|
<textarea name="shortbiblio" input-class = "user-input"></textarea>
|
||||||
<afx-hbox data-height = "35">
|
<afx-hbox data-height = "35">
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Blogger/README.md",
|
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Blogger/README.md",
|
||||||
"category": "Internet",
|
"category": "Internet",
|
||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"version": "0.2.4-a",
|
"version": "0.2.5-a",
|
||||||
"dependencies": ["SimpleMDE@1.11.2-r","Katex@0.11.1-r"],"mimes":["none"],
|
"dependencies": ["SimpleMDE@1.11.2-r","Katex@0.11.1-r"],"mimes":["none"],
|
||||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Blogger/build/release/Blogger.zip"
|
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Blogger/build/release/Blogger.zip"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user