Added list item status
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
.anime-list
|
||||
vertical
|
||||
width 100%
|
||||
max-width 1100px
|
||||
max-width 1200px
|
||||
margin 0 auto
|
||||
|
||||
tr
|
||||
|
@ -5,6 +5,14 @@ component AnimeListItem(viewUser *arn.User, item *arn.AnimeListItem, anime *arn.
|
||||
|
||||
InputNumber("Episodes", float64(item.Episodes), "Episodes", "Number of episodes you watched", "0", arn.EpisodeCountMax(anime.EpisodeCount), "1")
|
||||
|
||||
label(for="Status") Status:
|
||||
select.widget-element.action(id="Status", value=item.Status, data-action="save", data-trigger="change")
|
||||
option(value=arn.AnimeListStatusWatching) Watching
|
||||
option(value=arn.AnimeListStatusCompleted) Completed
|
||||
option(value=arn.AnimeListStatusPlanned) Plan to watch
|
||||
option(value=arn.AnimeListStatusHold) On hold
|
||||
option(value=arn.AnimeListStatusDropped) Dropped
|
||||
|
||||
.anime-list-item-rating-edit
|
||||
InputNumber("Rating.Overall", item.Rating.Overall, "Overall", "Overall rating on a scale of 0 to 10", "0", "10", "0.1")
|
||||
InputNumber("Rating.Story", item.Rating.Story, "Story", "Story rating on a scale of 0 to 10", "0", "10", "0.1")
|
||||
|
@ -5,7 +5,7 @@ component NewThread(user *arn.User)
|
||||
|
||||
textarea#text.widget-element(placeholder="Content")
|
||||
|
||||
select#tag.widget-element
|
||||
select#tag.widget-element(value="general")
|
||||
option(value="general") General
|
||||
option(value="news") News
|
||||
option(value="anime") Anime
|
||||
|
Reference in New Issue
Block a user