SQLiteDB: fix database select bug

This commit is contained in:
DanyLE
2023-02-20 18:06:10 +01:00
parent 04050f124f
commit c8ddd5ec6e
15 changed files with 1436 additions and 1498 deletions

View File

@ -1,30 +0,0 @@
<afx-app-window data-id = "blogger-cv-sec-win" apptitle="Porforlio section" width="450" height="400">
<afx-vbox padding="5">
<afx-hbox data-height = "30" >
<afx-label data-width= "70" text = "__(Title)"></afx-label>
<input type = "text" name="title" input-class = "user-input"></input>
</afx-hbox>
<afx-hbox data-height = "30" >
<afx-label text = "__(Subtitle)" data-width= "70"></afx-label>
<input type = "text" name="subtitle" input-class = "user-input"></input>
</afx-hbox>
<afx-hbox data-height = "30" >
<afx-label text = "__(Location)" data-width= "70"></afx-label>
<input type = "text" name="location" input-class = "user-input"></input>
</afx-hbox>
<afx-hbox data-height = "30" >
<afx-label text = "__(From)" data-width= "70"></afx-label>
<input type = "text" name="start" input-class = "user-input"></input>
<afx-label text = "To:" style="text-align:center;" data-width= "70"></afx-label>
<input type = "text" name="end" input-class = "user-input"></input>
</afx-hbox>
<afx-label data-height = "30" text = "Content" style = "margin-left:5px;"></afx-label>
<div data-id="editor-container">
<textarea name="content" data-id = "contentarea" ></textarea>
</div>
<div data-height = "35" style="text-align: right;">
<afx-switch data-id = "section-publish" data-width="30"></afx-switch>
<afx-button iconclass = "fa fa-save" data-id = "bt-cv-sec-save" text = "__(Save)"></afx-button>
</div>
</afx-vbox>
</afx-app-window>

File diff suppressed because one or more lines are too long

View File

@ -1,14 +1,101 @@
{
"app":"Blogger",
"name":"Blogging application",
"description":"Backend manager for blogging",
"info":{
"app": "Blogger",
"name": "Blogging application",
"description": "Backend manager for blogging",
"info": {
"author": "Xuan Sang LE",
"email": "xsang.le@gmail.com"
},
"version":"0.2.9-a",
"category":"Internet",
"iconclass":"fa fa-book",
"dependencies": ["SimpleMDE@2.18.0-r","Katex@0.11.1-r"],
"mimes":["none"]
"version": "0.2.9-a",
"category": "Internet",
"iconclass": "fa fa-book",
"dependencies": [
"SimpleMDE@2.18.0-r",
"Katex@0.11.1-r",
"SQLiteDB@0.1.0-a"
],
"mimes": [
"none"
],
"locales": {
"en_GB": {
"Pick a parent": "Pick a parent",
"Category name": "Category name",
"Ok": "Ok",
"Cancel": "Cancel",
"Title": "Title",
"Subtitle": "Subtitle",
"Location": "Location",
"From": "From",
"Save": "Save",
"Send": "Send",
"Please select a parent category": "Please select a parent category",
"Please enter category name": "Please enter category name",
"Parent can not be the category itself": "Parent can not be the category itself",
"Title or content must not be blank": "Title or content must not be blank",
"No email selected": "No email selected",
"Unable to send mail to: {0}": "Unable to send mail to: {0}",
"Error sending mail: {0}": "Error sending mail: {0}",
"Cannot fetch subscribers data: {0}": "Cannot fetch subscribers data: {0}",
"Open/create new database": "Open/create new database",
"Unable to init database file: {0}": "Unable to init database file: {0}",
"Select image file": "Select image file",
"Unable to get file": "Unable to get file",
"Add category": "Add category",
"cv-cat-add: {0}": "cv-cat-add: {0}",
"Edit category": "Edit category",
"cv-cat-edit: {0}": "cv-cat-edit: {0}",
"Delete category": "Delete category",
"Do you really want to delete: {0}?": "Do you really want to delete: {0}?",
"cv-cat-del: {0}": "cv-cat-del: {0}",
"Please select a category": "Please select a category",
"New section entry for {0}": "New section entry for {0}",
"cv-sec-add: {0}": "cv-sec-add: {0}",
"Please select a section to move": "Please select a section to move",
"Move to": "Move to",
"cv-sec-move: {0}": "cv-sec-move: {0}",
"Please select a section to edit": "Please select a section to edit",
"Modify section entry": "Modify section entry",
"cv-sec-edit: {0}": "cv-sec-edit: {0}",
"Cannot delete the section: {0}": "Cannot delete the section: {0}",
"New": "New",
"Cannot export file for embedding to text": "Cannot export file for embedding to text",
"Preview": "Preview",
"Send mail": "Send mail",
"No post selected": "No post selected",
"Emails sent": "Emails sent",
"Error sending mails: {0}": "Error sending mails: {0}",
"Cannot fetch the entry content": "Cannot fetch the entry content",
"Delete a post": "Delete a post",
"Do you really want to delete this post ?": "Do you really want to delete this post ?",
"Cannot fetch user data": "Cannot fetch user data",
"Full name must be entered": "Full name must be entered",
"User data updated": "User data updated",
"Cannot save user data": "Cannot save user data",
"Unable to load categories": "Unable to load categories",
"Found {0} sections": "Found {0} sections",
"Please insert a title in the text: beginning with heading": "Please insert a title in the text: beginning with heading",
"Please enter tags": "Please enter tags",
"Cannot save blog: {0}": "Cannot save blog: {0}",
"Cannot add new category": "Cannot add new category",
"Unable to fetch categories": "Unable to fetch categories",
"Cannot Edit category": "Cannot Edit category",
"Cannot save section: {0}": "Cannot save section: {0}",
"Cannot move section": "Cannot move section",
"Cannot delete the category: {0} [{1}]": "Cannot delete the category: {0} [{1}]",
"Cannot delete all content of: {0} [{1}]": "Cannot delete all content of: {0} [{1}]",
"No post found: {0}": "No post found: {0}",
"Created: {0}": "Created: {0}",
"Updated: {0}": "Updated: {0}",
"Full name": "Full name",
"Address": "Address",
"Phone": "Phone",
"Email": "Email",
"Url": "Url",
"Photo": "Photo",
"Short biblio": "Short biblio",
"Categories": "Categories",
"Tags": "Tags"
}
}
}

View File

@ -1,20 +0,0 @@
<afx-app-window data-id = "blogger-send-mail-win" apptitle="Send mail" width="500" height="400" resizable = "false">
<afx-hbox>
<afx-menu data-width="150" data-id="email-list"></afx-menu>
<afx-resizer data-width="3"></afx-resizer>
<div data-width="5"></div>
<afx-vbox >
<div data-height="5"></div>
<afx-label data-height="20" text = "__(Title)"></afx-label>
<input type = "text" data-height="20" name="title" data-id = "mail-title"></input>
<afx-label data-height = "20" text = "Content" ></afx-label>
<textarea name="content" data-id = "contentarea" ></textarea>
<div data-height="5"></div>
<afx-hbox data-height = "30">
<div></div>
<afx-button iconclass = "fa fa-paper-plane" data-id = "bt-sendmail" data-width="60" text = "__(Send)"></afx-button>
</afx-hbox>
</afx-vbox>
<div data-width="5"></div>
</afx-hbox>
</afx-app-window>