diff options
Diffstat (limited to 'docs/routes.txt')
-rw-r--r-- | docs/routes.txt | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/docs/routes.txt b/docs/routes.txt new file mode 100644 index 0000000..c95a2c4 --- /dev/null +++ b/docs/routes.txt @@ -0,0 +1,111 @@ +# routes for site + +## main + +/ +/home +/tags +/tag/<tag.tag> +/about +/series +/series/<series_id> +(/artists +/artist/<artist_id> +/artist/<artist_id>/contact) +/contact +/works +/work/<work_id> +/license/<license> + +## admin + +/admin/login +/admin/login?token=<token> +login path, sign in with otp code sent to email + +### requires auth + +/admin +/admin/dashboard +links to: +- works +- series +- artists +- settings + +/admin/works +- lists works in library +- ability to jump into works edit +- select works on page to: + - delete + - add to series + - tag/untag + - edit license +- delete individual work +- add new work +(some kind of library view which can be adapted for different uses) + +/admin/work/new +- create new work to add to library +- form + +/admin/work/<work_id> +- work edit page +- option to delete work +- shows which series work is in +- shows which tags work is in +- form + +/admin/work/<work_id>/delete +- delete work + +/admin/series +- shows series tree structure +- ability to drag and reorder tree +- ability to delete series + - confirm if also delete works in series from library +- jump into series edit +- add new series + +/admin/series/new +- create new series +- form + +/admin/series/<series_id> +- series edit page +- can add works + - from library + - create new +- rearrange elements +- remove elements from series + - if deleting a child series, ask if also want to remove works within from library +- option to delete series + +/admin/series/<series_id>/delete +- delete series +- option to delete works within series + +/admin/artists +- if single user, redirects to your page +- else lists all users + +/admin/artist/new +- create new artist/user form + +/admin/artist/<artist_id> +- edit artist profile + +/admin/artist/<artist_id>/delete +- delete artist from db + +/admin/tags +- lists tags that have been created +- click into tag goes to /admin/works?tag=<tag.tag> + +/admin/licenses +- lists available licenses +- ability to add or delete licenses + +/admin/settings +- + |