philomena/lib/philomena_web/templates/profile/_statistics.html.slime

53 lines
2.3 KiB
Text
Raw Normal View History

2019-12-05 14:55:49 +01:00
.block
2023-11-23 17:07:49 +01:00
.block__header: span Statistics (Last 90 Days)
2019-12-05 14:55:49 +01:00
.block__content
2023-11-23 17:07:49 +01:00
.statistics
.statistics__statistic
2024-06-03 23:07:10 +02:00
h5
| Uploads (
= number_with_delimiter(@user.uploads_count)
| )
.sparkline#js-upload-graph = sparkline_data(@statistics.uploads)
.slider__minmax
input#js-graph-slider type="dualrange" min="0" max="100" valuemin="0" valuemax="100" data-target="#js-upload-graph"
2023-11-23 17:07:49 +01:00
.statistics__statistic
2024-06-03 23:07:10 +02:00
h5
| Favorites (
= number_with_delimiter(@user.images_favourited_count)
| )
.sparkline#js-favorite-graph = sparkline_data(@statistics.images_favourited)
.slider__minmax
input#js-graph-slider type="dualrange" min="0" max="100" valuemin="0" valuemax="100" data-target="#js-favorite-graph"
2023-11-23 17:07:49 +01:00
.statistics__statistic
2024-06-03 23:07:10 +02:00
h5
| Comments (
= number_with_delimiter(@user.comments_posted_count)
| )
.sparkline#js-comment-graph = sparkline_data(@statistics.comments_posted)
.slider__minmax
input#js-graph-slider type="dualrange" min="0" max="100" valuemin="0" valuemax="100" data-target="#js-comment-graph"
2023-11-23 17:07:49 +01:00
.statistics__statistic
2024-06-03 23:07:10 +02:00
h5
| Votes (
= number_with_delimiter(@user.votes_cast_count)
| )
.sparkline#js-vote-graph = sparkline_data(@statistics.votes_cast)
.slider__minmax
input#js-graph-slider type="dualrange" min="0" max="100" valuemin="0" valuemax="100" data-target="#js-vote-graph"
2023-11-23 17:07:49 +01:00
.statistics__statistic
2024-06-03 23:07:10 +02:00
h5
| Metadata Updates (
= number_with_delimiter(@user.metadata_updates_count)
| )
.sparkline#js-metadata-graph = sparkline_data(@statistics.metadata_updates)
.slider__minmax
input#js-graph-slider type="dualrange" min="0" max="100" valuemin="0" valuemax="100" data-target="#js-metadata-graph"
2023-11-23 17:07:49 +01:00
.statistics__statistic
2024-06-03 23:07:10 +02:00
h5
| Forum Posts (
= number_with_delimiter(@user.forum_posts_count)
| )
.sparkline#js-post-graph = sparkline_data(@statistics.forum_posts)
.slider__minmax
input#js-graph-slider type="dualrange" min="0" max="100" valuemin="0" valuemax="100" data-target="#js-post-graph"