Admin: paged user list with a dialog; creators manage famous people
- The user list pages (25 per page, with the total from the backend); roles, packages and single units are set in a dialog instead of in the row. - Creators may add, edit and publish famous people and rewrite their portraits (own regenerate route); they delete only their own. The rest of the admin stays closed to them; the header links them to their page. - No free-horoscope offer on the star sign and famous people lists. - .table-wrap is a containing block, so .sr-only text inside it no longer widens the page on phones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -160,6 +160,7 @@ pub fn router(state: Arc<AppState>) -> Router {
|
||||
get(celebrities::get_one).patch(celebrities::update).delete(celebrities::remove),
|
||||
)
|
||||
.route("/v1/admin/celebrities/{id}/analysis", post(celebrities::request_analysis))
|
||||
.route("/v1/admin/celebrities/{id}/analysis/regenerate", post(celebrities::regenerate_analysis))
|
||||
.route(
|
||||
"/v1/admin/celebrities/{id}/photo",
|
||||
axum::routing::put(celebrities::upload_photo)
|
||||
|
||||
Reference in New Issue
Block a user