for realsies this time:updated notes.md
This commit is contained in:
parent
9e85ccf04d
commit
163a457dac
30
notes.md
30
notes.md
@ -1,27 +1,23 @@
|
|||||||
# these are some notes
|
# these are some notes
|
||||||
|
|
||||||
from distribusi.cli import build_argparser
|
from distribusi.cli import build_argparser
|
||||||
from distribusi.distribusi import distribusify
|
# from distribusi.distribusi import distribusify
|
||||||
this way we should be able to run distribusi from code on a folder, or multiple folders.
|
Works!
|
||||||
|
|
||||||
# Shit! We need entire CRUD functionality.
|
# Shit! We need entire CRUD functionality.
|
||||||
|
Done!
|
||||||
## Create:
|
## Create:
|
||||||
There is a listing of the users distribusis. Purp
|
Done
|
||||||
There is a yellow button, giving you the new option.
|
|
||||||
|
|
||||||
### Uploading
|
### Uploading
|
||||||
User can select the distribusi and upload/update.
|
Done
|
||||||
|
|
||||||
User can upload based on $distribusiname field in db.
|
|
||||||
the zip file is changed to $distribusiname.
|
|
||||||
and a folder is made in the stash called $distribusiname
|
|
||||||
|
|
||||||
### CSS editing.
|
### CSS editing.
|
||||||
a user can edit CSS of a file in the folder called $distribusiname
|
a user can edit CSS of a file in the folder called $distribusiname
|
||||||
|
Todo: render the placeholder for html editor better.
|
||||||
|
|
||||||
### Theme selection
|
### Theme selection
|
||||||
a user can select a CSS file from a dropdown menu.
|
a user can select a CSS file from a radio menu
|
||||||
|
|
||||||
### Distribusi
|
### Distribusi
|
||||||
A flag in de DB is set to true and distribusi is run on the folder of the users
|
A flag in de DB is set to true and distribusi is run on the folder of the users
|
||||||
@ -29,16 +25,10 @@ called $distribusiname
|
|||||||
|
|
||||||
## Read:
|
## Read:
|
||||||
Based on flags set in the user DB the distribusi folders are set to visible.
|
Based on flags set in the user DB the distribusi folders are set to visible.
|
||||||
on the main index page there is a listing of distribusi sites.
|
|
||||||
|
|
||||||
## Update:
|
## Update:
|
||||||
Same as create, uploading just redoes the entire process.
|
Done
|
||||||
$distribusiname is overwritten.
|
|
||||||
|
|
||||||
CSS editing, and Theme selection is editing a single file in the folder.
|
|
||||||
$distribusiname stays the same
|
|
||||||
|
|
||||||
Distribusi button can only be reset when a new file is uploaded.
|
|
||||||
|
|
||||||
## Delete:
|
## Delete:
|
||||||
$distribusiname is deleted, files are removed, visible flag is set to false.
|
Done
|
||||||
|
Loading…
Reference in New Issue
Block a user